/* GLOBALS: Fix Horizontal Scrolling (Mobile White Space Bug) */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
}
/* -------------------------------------------------------------------------- */
/*                                CSS VARIABLES                               */
/* -------------------------------------------------------------------------- */
:root {
    /* Color Palette - Indian Aesthetic */
    --color-bg: #FDFBF7;         /* Sandstone / Cream */
    --color-surface: #F4EFE6;    /* Chai / Warm earthy beige */
    --color-text: #2C241B;       /* Deep earthy charcoal/brown */
    --color-text-muted: #6B5E53; /* Medium brown for subtitles */
    --color-accent: #C68A36;     /* Saffron Gold / Indian Brass */
    --color-accent-hover: #9C4135; /* Terracotta / Henna red */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------- */
/*                            INDIAN AESTHETIC UTILS                          */
/* -------------------------------------------------------------------------- */
.jaali-bg {
    position: relative;
    z-index: 1;
}
.jaali-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23C68A36' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}
.arch-frame {
    border-radius: 50% 50% 0 0 / 20% 20% 0 0;
    border: 2px solid rgba(198, 138, 54, 0.3);
    padding: 10px;
    background: var(--color-bg);
}
.indian-divider {
    width: 100%;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='20' viewBox='0 0 80 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 10L30 0h20L40 10zM0 10l10-10H0v10zm80 0l-10-10h10v10zM0 10l10 10H0V10zm80 0l-10 10h10V10zM40 10l10 10H30l10-10z' fill='%23C68A36' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    margin: 40px 0;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: var(--color-surface);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}
.gallery-item-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

/* -------------------------------------------------------------------------- */
/*                                RESET & BASE                                */
/* -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto; /* Default cursor visible */
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-padding {
    padding: 120px 0;
}

/* Typography Classes */
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.section-paragraph {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.text-center {
    text-align: center;
}

/* -------------------------------------------------------------------------- */
/*                                CUSTOM CURSOR                               */
/* -------------------------------------------------------------------------- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(198, 138, 54, 0.5); /* Saffron Gold border */
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Cursor states when hovering links */
.cursor.hover {
    width: 0;
    height: 0;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(198, 138, 54, 0.1);
    border-color: var(--color-accent);
    backdrop-filter: blur(2px);
}

/* -------------------------------------------------------------------------- */
/*                                NAVIGATION                                  */
/* -------------------------------------------------------------------------- */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 20px 5%;
    background: rgba(252, 251, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.navbar.scrolled .logo {
    color: var(--color-accent);
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
    color: rgba(255,255,255,0.85);
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger .line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    position: absolute;
    transition: var(--transition-smooth);
}

.navbar.scrolled .hamburger .line {
    background-color: var(--color-text);
}

.hamburger .line:nth-child(1) { top: 0; }
.hamburger .line:nth-child(2) { bottom: 0; }

/* -------------------------------------------------------------------------- */
/*                                HERO SECTION                                */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                                HERO SECTION                                */
/* -------------------------------------------------------------------------- */
.hero {
    height: 100svh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 10%;
    padding-right: 5%;
    padding-bottom: 120px;
    overflow: hidden;
}



.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05); /* Slight zoom for parallax */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    max-width: 700px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    }

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 4.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero-title span {
    font-style: italic;
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-accent);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* White text for button on dark hero video background */
.hero-content .cta-button {
    color: #ffffff;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.cta-button:hover {
    color: #ffffff;
    border-color: var(--color-accent);
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: var(--color-text);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* -------------------------------------------------------------------------- */
/*                                NEW SECTIONS                                */
/* -------------------------------------------------------------------------- */
.subtitle-gold {
    color: var(--color-accent);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.guarantees-grid {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    padding: 40px 30px;
    border: 1px solid rgba(0,0,0,0.05);
    background: rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-10px);
}

.service-number {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.link-arrow {
    display: inline-block;
    margin-top: 20px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.link-arrow span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.link-arrow:hover span {
    transform: translateX(10px);
}

.process-section {
    background-color: var(--color-bg);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.process-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

.step-dot {
    width: 20px;
    height: 20px;
    background: var(--color-bg);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.process-step:hover .step-dot {
    background: var(--color-accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.process-step h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* -------------------------------------------------------------------------- */
/*                                SPLIT LAYOUT                                */
/* -------------------------------------------------------------------------- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.signature {
    font-family: 'Great Vibes', cursive, var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-top: 2rem;
    font-style: italic;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.image-wrapper img {
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* -------------------------------------------------------------------------- */
/*                                PORTFOLIO GRID                              */
/* -------------------------------------------------------------------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* Staggered layout for grid */
.portfolio-grid .portfolio-item:nth-child(even) {
    margin-top: 100px;
}

.portfolio-item {
    position: relative;
    cursor: pointer;
}

.portfolio-image-wrapper {
    overflow: hidden;
    position: relative;
}

.portfolio-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    transition: background 0.4s ease;
}

.portfolio-item:hover .portfolio-image-wrapper::after {
    background: rgba(0,0,0,0);
}

.portfolio-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    margin-top: 20px;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-info h3 {
    color: var(--color-accent);
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-all-container {
    text-align: center;
    margin-top: 80px;
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid rgba(0,0,0,0.2);
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* -------------------------------------------------------------------------- */
/*                                QUOTE SECTION                               */
/* -------------------------------------------------------------------------- */
.quote-section {
    background-color: var(--color-surface);
    padding: 150px 0;
    text-align: center;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

blockquote {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 30px;
}

cite {
    font-size: 1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: normal;
}

/* -------------------------------------------------------------------------- */
/*                                CONTACT SECTION                             */
/* -------------------------------------------------------------------------- */
.contact-details {
    margin-top: 40px;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item .label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.detail-item a, .detail-item p {
    font-size: 1.2rem;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: var(--color-accent);
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding: 15px 0;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-accent);
}

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    background-color: var(--color-surface);
    color: var(--color-text);
}

.submit-btn {
    width: 100%;
    cursor: none; /* Keep custom cursor working */
}

/* -------------------------------------------------------------------------- */
/*                                FOOTER                                      */
/* -------------------------------------------------------------------------- */
.footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--color-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 30px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* -------------------------------------------------------------------------- */
/*                                RESPONSIVE                                  */
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid .portfolio-item:nth-child(even) {
        margin-top: 0;
    }
    
    .portfolio-item img {
        height: 500px;
    }
    
    .cursor, .cursor-follower {
        display: none; /* Disable custom cursor on mobile/tablets */
    }
    
    body {
        cursor: auto;
    }
    
    .submit-btn {
        cursor: pointer;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        padding-right: 5%;
        align-items: center;
        text-align: center;
    }

    background-color: var(--color-surface);
    padding: 150px 0;
    text-align: center;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

blockquote {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 30px;
}

cite {
    font-size: 1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: normal;
}

/* -------------------------------------------------------------------------- */
/*                                CONTACT SECTION                             */
/* -------------------------------------------------------------------------- */
.contact-details {
    margin-top: 40px;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item .label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.detail-item a, .detail-item p {
    font-size: 1.2rem;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: var(--color-accent);
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding: 15px 0;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-accent);
}

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    background-color: var(--color-surface);
    color: var(--color-text);
}

.submit-btn {
    width: 100%;
    cursor: none; /* Keep custom cursor working */
}

/* -------------------------------------------------------------------------- */
/*                                FOOTER                                      */
/* -------------------------------------------------------------------------- */
.footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--color-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 30px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* -------------------------------------------------------------------------- */
/*                                RESPONSIVE                                  */
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid .portfolio-item:nth-child(even) {
        margin-top: 0;
    }
    
    .portfolio-item img {
        height: 500px;
    }
    
    .cursor, .cursor-follower {
        display: none; /* Disable custom cursor on mobile/tablets */
    }
    
    body {
        cursor: auto;
    }
    
    .submit-btn {
        cursor: pointer;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .process-timeline {
        flex-direction: column;
        gap: 50px;
        text-align: left;
    }

    .process-timeline::before {
        width: 1px;
        height: 100%;
        left: 9px;
        top: 0;
    }

    .process-step {
        padding-left: 40px;
    }

    .step-dot {
        position: absolute;
        left: 0;
        top: 0;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 20px 5%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100svh;
        width: 100%;
        background: rgba(252, 251, 250, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
    }

    .nav-links .nav-link {
        font-family: var(--font-heading);
        font-size: 2.5rem;
        text-transform: none;
        letter-spacing: 0;
        color: var(--color-text);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-links.nav-active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.nav-active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.nav-active .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.nav-active .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.nav-active .nav-link:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.nav-active .nav-link:nth-child(5) { transition-delay: 0.5s; }

    .hamburger {
        display: block;
        z-index: 100;
        width: 35px;
        height: 22px;
    }

    .hamburger .line {
        height: 2px;
        background-color: var(--color-accent);
    }

    /* Hamburger Animation */
    .hamburger.toggle .line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
        background-color: var(--color-text);
    }
    .hamburger.toggle .line:nth-child(2) {
        transform: translateY(-10px) rotate(-45deg);
        background-color: var(--color-text);
    }

    .hero {
        height: 100svh;
        padding-left: 5%;
        padding-right: 5%;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 4.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 18px 20px;
    }

    .section-padding {
        padding: 80px 0;
    }

    /* Guarantees Section Mobile Fix */
    .guarantees-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Kept 2x2 grid for all mobile */
    
    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ======================================================
   RESPONSIVE HERO VIDEO SWITCHING
   Desktop = Hero Video.mp4
   Mobile  = Hero VIdeo Mobile.mp4
   ====================================================== */

/* By default, desktop video visible, mobile video hidden behind */
.hero-video-desktop {
    opacity: 1;
    z-index: 1;
}
.hero-video-mobile {
    opacity: 0;
    z-index: 0;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

/* On mobile (max 768px), flip visibility */
@media (max-width: 768px) {
    .hero-video-desktop {
        opacity: 0;
        z-index: 0;
    }
    .hero-video-mobile {
        opacity: 1;
        z-index: 1;
    }
}












/* -------------------------------------------------------------------------- */
/*                                NEW COMPONENTS                              */
/* -------------------------------------------------------------------------- */
/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background-color: var(--color-surface);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.stat-item {
    text-align: center;
}
.stat-item h3 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 2.5rem;
    margin-bottom: 5px;
}
.stat-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mega Menu */
.dropdown {
    position: relative;
}
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg);
    border: 1px solid rgba(198, 138, 54, 0.3);
    border-radius: 8px;
    padding: 30px;
    width: max-content;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
}
.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}
.mega-menu-column h4 {
    color: var(--color-accent);
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.mega-menu-column a {
    display: block;
    color: var(--color-text);
    padding: 8px 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
}
.mega-menu-column a::after {
    display: none;
}
.mega-menu-column a:hover {
    color: var(--color-accent);
}

/* Design Ideas Grid */
.design-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.design-idea-card {
    text-align: center;
    cursor: pointer;
}
.design-idea-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
    border: 3px solid rgba(198, 138, 54, 0.2);
    padding: 5px;
}
.design-idea-card:hover .design-idea-img {
    transform: scale(1.05);
    border-color: var(--color-accent);
}

/* Product Detail Block */
.product-detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.product-detail-block:nth-child(even) {
    direction: rtl;
}
.product-detail-block:nth-child(even) > * {
    direction: ltr;
}

/* Why Choose Us */
.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.why-card {
    background: var(--color-surface);
    padding: 40px 30px;
    border: 1px solid rgba(198, 138, 54, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}
.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}
.why-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.testimonial-card {
    background: var(--color-surface);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(198, 138, 54, 0.1);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.2;
}

/* Footer Expansion */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-column ul li a:hover {
    color: var(--color-accent);
}

/* -------------------------------------------------------------------------- */
/*                        NEW COMPONENTS RESPONSIVE                           */
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
    .stats-bar {
        flex-wrap: wrap;
        gap: 30px;
    }
    .stat-item {
        width: 40%;
    }
    
    .mega-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        grid-template-columns: 1fr;
        padding: 15px;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--color-accent);
        border-radius: 0;
        gap: 15px;
        display: none;
    }
    
    /* When dropdown is active/hovered on mobile */
    .dropdown:hover .mega-menu,
    .dropdown:focus-within .mega-menu {
        display: grid;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .product-detail-block {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .product-detail-block:nth-child(even) {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .stat-item {
        width: 100%;
    }
    .design-ideas-grid {
        grid-template-columns: 1fr 1fr;
    }
    .why-choose-us-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 20px;
    }
    .estimate-container {
        padding: 30px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/*                                BRAND PARTNERS                              */
/* -------------------------------------------------------------------------- */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}
.brand-item {
    background: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 150px;
    height: 80px;
    user-select: none;
}
.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
@media screen and (max-width: 768px) {
    .brands-grid {
        gap: 20px;
    }
    .brand-item {
        min-width: 120px;
        padding: 10px 20px;
        height: 70px;
    }
}

/* -------------------------------------------------------------------------- */
/*                                MARQUEE ANIMATION                           */
/* -------------------------------------------------------------------------- */
.brands-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin-top: 50px;
    padding: 20px 0;
}

.brands-marquee-container::before,
.brands-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.brands-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--color-surface), transparent);
}

.brands-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--color-surface), transparent);
}

.brands-marquee {
    display: inline-flex;
    gap: 40px;
    animation: scrollMarquee 30s linear infinite;
}

.brands-marquee:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); } /* Shift by exactly half the content plus half the gap */
}

/* -------------------------------------------------------------------------- */
/*                        PRODUCT DETAIL BLOCK RESPONSIVE                     */
/* -------------------------------------------------------------------------- */
.product-detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-detail-block.reverse-layout {
    direction: rtl;
}

.product-detail-block.reverse-layout .product-text {
    direction: ltr;
}

@media screen and (max-width: 992px) {
    .product-detail-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-detail-block.reverse-layout {
        direction: ltr; /* Reset direction on mobile so it stacks logically */
    }
}

/* -------------------------------------------------------------------------- */
/*                                CHATBOT WIDGET                              */
/* -------------------------------------------------------------------------- */
.chat-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

.chat-toggle-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--color-surface);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--color-accent);
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.chat-toggle-btn img.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    background-color: #4CAF50;
    border-radius: 50%;
    border: 3px solid #fff;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    pointer-events: none;
}

.chat-window.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background-color: var(--color-surface);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.chat-header img.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-header-info h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin: 0 0 3px 0;
    font-size: 1.1rem;
}

.chat-header-info p {
    color: #4CAF50;
    font-size: 0.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-close-btn {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #faf9f7;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-bubble.bot {
    background-color: #fff;
    color: var(--color-text);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.chat-bubble.user {
    background-color: var(--color-text);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.chat-option-btn {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-text);
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.chat-option-btn:hover {
    background-color: var(--color-accent);
    color: #fff;
}

.chat-input-area {
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
    font-family: var(--font-body);
}

.chat-input-area input:focus {
    border-color: var(--color-accent);
}

.chat-send-btn {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-send-btn:hover {
    transform: scale(1.05);
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 5px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: #ccc;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@media screen and (max-width: 576px) {
    .chat-widget-container {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        height: 450px;
        bottom: 70px;
        right: 0;
    }
}

/* ===== FLOATING BUTTONS ===== */
.float-call, .float-whatsapp, .float-youtube {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
    text-decoration: none;
}

  
  .float-whatsapp, .float-youtube { position: fixed; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; z-index: 9999; transition: transform 0.3s ease; text-decoration: none; }
.float-whatsapp { background: #25D366; bottom: 140px; right: 20px; }
.float-youtube { background: #FF0000; bottom: 80px; right: 20px; }
.float-call:hover, .float-whatsapp:hover, .float-youtube:hover { transform: scale(1.15); }
.fy-icon { width: 22px; height: 22px; fill: #ffffff; display: block; }

/* ===== WHY CHOOSE US - FEATURE CARDS ===== */
.why-choose-us {
  background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}
.feature-card {
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #f0e8d8;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: #f39c12;
  box-shadow: 0 12px 35px rgba(243,156,18,0.2);
}
.feature-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f39c12, #ff6b6b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: #fff;
  transition: transform 0.3s ease;
}
.feature-card:hover .icon {
  transform: rotate(10deg) scale(1.1);
}
.feature-card h5 {
  color: #2c3e50;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== GOOGLE REVIEWS ===== */
.google-logo { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.google-logo .g  { color: #4285F4; }
.google-logo .o1 { color: #EA4335; }
.google-logo .o2 { color: #FBBC05; }
.google-logo .g2 { color: #4285F4; }
.google-logo .l  { color: #34A853; }
.google-logo .e  { color: #EA4335; }
.rating-display .score { font-size: 3.5rem; font-weight: 800; color: #2c3e50; display: block; line-height: 1; }
.rating-display .stars { color: #f39c12; font-size: 1.8rem; margin: 6px 0; }
.rating-display .subtext { color: #888; font-size: 0.9rem; }
.google-review-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #4285F4, #34A853);
  color: #fff !important;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.google-review-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(66,133,244,0.3); }
.google-reviews .divider {
  width: 2px;
  background: linear-gradient(to bottom, transparent, #f39c12, transparent);
  height: 100%;
  min-height: 200px;
}
.review-item { padding: 20px 10px; }
.review-item .name { font-size: 1.2rem; font-weight: 700; color: #2c3e50; margin-bottom: 12px; }
.review-item .desc { color: #555; font-size: 0.95rem; line-height: 1.8; font-style: italic; }

/* ===== OUR PRODUCTS ===== */
.gallery-section {
  background: #fdfbf7;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}
.gallery-item {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  background: #fff;
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(243,156,18,0.15);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  padding: 25px 20px 20px;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.gallery-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item .overlay h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f39c12;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gallery-item .overlay p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
  color: #e0e0e0;
}

/* Base state label (visible before hover) */
.gallery-item::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background: rgba(255,255,255,0.95);
  color: #2c3e50;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  border-top: 3px solid #f39c12;
  transition: opacity 0.4s ease;
}
.gallery-item:hover::after {
  opacity: 0;
  pointer-events: none;
}

/* ===== PREMIUM CHATBOT ===== */
.chatbot-container {
    position: fixed;
    bottom: 90px;
    left: 25px;
    width: 350px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.05);
}
.chatbot-header {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}
.chatbot-title strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}
.online-status {
    font-size: 0.75rem;
    color: #2ecc71;
    display: flex;
    align-items: center;
    gap: 5px;
}
.online-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #2ecc71;
}
.close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.chatbot-body {
    padding: 20px;
    max-height: 280px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-message {
    padding: 12px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 85%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.bot-msg {
    background: #fff;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.user-msg {
    background: #f39c12;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chatbot-footer {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #eee;
}
.chat-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}
.chat-input:focus {
    border-color: #f39c12;
}
.chat-submit-btn {
    width: 100%;
    padding: 10px;
    background: #f39c12;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.chat-submit-btn:hover {
    background: #e67e22;
}
.chatbot-toggle-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatBtn 3s infinite ease-in-out;
}
.chatbot-toggle-btn:hover {
    transform: scale(1.1);
}
@keyframes floatBtn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Mobile Responsive */


/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 15px;
    background: #fff;
    border-radius: 15px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    width: fit-content;
}
.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #888;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.fade-in-msg {
    animation: fadeInMsg 0.4s ease forwards;
}
@keyframes fadeInMsg {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-submit-icon {
    background: #f39c12;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.3s;
}
.chat-submit-icon:hover {
    background: #e67e22;
}


/* Proper Mobile Optimization for Chatbot */
@media (max-width: 576px) {
    .chatbot-container {
        max-width: 90vw;
        width: 350px;
        left: 5vw;
        right: auto;
        bottom: 95px;
        max-height: 75vh;
        z-index: 1000000;
    }
    .chatbot-body {
        max-height: 50vh; /* Leave room for keyboard */
    }
    .chatbot-toggle-btn {
        left: 20px;
        bottom: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        z-index: 999999;
    }
}
/* Proper Mobile Menu Styling */
@media (max-width: 991px) {

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background: rgba(44, 62, 80, 0.98);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        text-align: center;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
        z-index: 9999;
        margin-top: 10px;
    }
    .navbar-nav {
        flex-direction: column !important;
    }
    .navbar-nav .nav-link {
        color: #fff !important;
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .navbar-nav .nav-link:hover {
        color: #f39c12 !important;
    }
    .navbar-toggler {
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.5);
    }
    .navbar-toggler-icon {
        filter: invert(1); /* makes the hamburger icon white */
    }
}
/* Premium Stats Section */
.stats-card {
    background: #fff;
    padding: 35px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.15); /* Glow effect */
    border-color: rgba(243, 156, 18, 0.3);
}

.stats-card i {
    font-size: 3rem;
    color: #f39c12; /* Brand Gold */
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.stats-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.stats-card h3 {
    font-size: 2.4rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 800;
}

.stats-card p {
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .stats-card {
        padding: 25px 15px;
    }
    .stats-card i {
        font-size: 2.2rem;
    }
    .stats-card h3 {
        font-size: 1.8rem;
    }
    .stats-card p {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}
/* ==========================================================================
   MOBILE OPTIMIZATIONS (ADDED PER CLIENT FEEDBACK)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* 1. Typography Scaling */
    html {
        font-size: 14px !important;
    }
    .display-1 { font-size: 2.5rem !important; }
    .display-2 { font-size: 2.2rem !important; }
    .display-3 { font-size: 2rem !important; }
    .display-4 { font-size: 1.8rem !important; }
    
    h1, .h1 { font-size: 2rem !important; }
    h2, .h2 { font-size: 1.75rem !important; }
    h3, .h3 { font-size: 1.5rem !important; }
    
    .section-heading { font-size: 2rem !important; margin-bottom: 1rem !important; }
    .section-paragraph { font-size: 1rem !important; }
    
    p.lead { font-size: 1.1rem !important; }

    /* 2. Padding & Spacing Reductions */
    .section-padding { padding: 60px 0 !important; }
    .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .my-5 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }
    .mt-5 { margin-top: 2rem !important; }
    
    .gallery-section { padding: 50px 0 !important; }
    
    /* Hero Section Fixes */
    .hero, header[style*="min-height"], section[style*="min-height"] {
        min-height: 50vh !important;
        height: auto !important;
        padding-top: 100px !important; 
        padding-bottom: 50px !important;
    }
    
    /* 3. Image Sizing */
    .gallery-item img {
        height: 220px !important; /* Shrink images */
    }
    
    .card-img-top {
        height: 200px !important;
        object-fit: cover !important;
    }

    /* 4. Button Sizes */
    .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    .btn-lg {
        padding: 12px 25px !important;
        font-size: 1rem !important;
    }
    
    /* 5. Misc Layout fixes */
    .container {
        width: 95% !important;
    }
}




