/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; 
    color: #111827; 
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: none;
    overflow-x: hidden;
}

/* ========================================== */
/* 1. PRELOADER ANIMATION (EXACTLY 6.5s)      */
/* ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111827;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    pointer-events: auto; /* Ensures clicks are captured during load and freed afterwards */
}

.custom-spinner {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border: 6px solid rgba(13, 110, 253, 0.15);
    border-top: 6px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.progress-bar-container {
    width: 260px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background-color: #0d6efd;
    animation: fillProgress 6.5s linear forwards;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Custom Cursor Styling */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 99999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor.hover-active {
    width: 45px;
    height: 45px;
    background-color: rgba(13, 110, 253, 0.3);
    border-color: transparent;
}

/* Topbar Styling */
.top-bar {
    background-color: #111827;
    color: #d1d5db;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Glassmorphism Navbar */
.glass-navbar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-navbar .nav-link {
    color: #111827 !important;
    transition: color 0.3s ease;
}

.glass-navbar .nav-link:hover {
    color: #0d6efd !important; 
}

/* Moving Marquee Container */
.marquee-container {
    margin-top: 115px;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 1000;
    position: relative;
}

.marquee-text {
    display: inline-block;
    animation: marqueeAnimation 25s linear infinite;
}

@keyframes marqueeAnimation {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Hero Section & Slideshow */
.hero-section {
    position: relative;
    min-height: calc(100vh - 115px);
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 50px;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; 
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Hero Slider Controls */
.hero-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 50px;
    pointer-events: none;
}

.hero-arrow {
    pointer-events: auto;
    background: rgba(255,255,255,0.7);
    color: #111827;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-arrow:hover {
    background: #0d6efd;
    color: #fff;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(17, 24, 39, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #0d6efd;
    transform: scale(1.3);
}

/* Hero Social Links */
.hero-social-links {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-social-links a {
    color: #111827;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(5px);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-social-links a:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateX(-5px);
}

/* ========================================== */
/* 2. LIVE VISITOR COUNTER STYLES             */
/* ========================================== */
.visitor-avatars {
    display: flex;
    align-items: center;
}

.avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -15px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.avatar-img:first-child {
    margin-left: 0;
}

.avatar-more {
    background-color: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.live-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* ========================================== */
/* 3. 5-STAR REVIEWS & COMMENTS STYLES        */
/* ========================================== */
.review-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important;
}

/* UI Accents */
.text-primary { color: #0d6efd !important; }
.bg-primary { background-color: #0d6efd !important; }
.btn-primary { background-color: #0d6efd; border-color: #0d6efd; }
.btn-primary:hover { background-color: #0a58ca; border-color: #0a58ca; }

.service-card, .portfolio-item, .gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.portfolio-item img, .gallery-item img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img, .gallery-item:hover img {
    transform: scale(1.06);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    background-color: #20ba5a;
}

footer { background-color: #111827 !important; }