/* ===== CSS Variables ===== */
:root {
    /* Colors (Same as original) */
    --primary: #ffffff;
    --secondary: #f8fafc;
    --tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --navy: #1e3a8a;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --blue-lighter: #60a5fa;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);

    /* Typography */
    --font-inter: 'Inter', sans-serif;
    --font-playfair: 'Playfair Display', serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px var(--shadow);
    --shadow-md: 0 4px 20px var(--shadow);
    --shadow-lg: 0 8px 40px var(--shadow);
    --shadow-xl: 0 15px 60px var(--shadow);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-inter);
    color: var(--text-primary);
    background: var(--primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-playfair);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid var(--border);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-sm);
}

.loader-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.logo-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text {
    color: var(--text-primary);
    margin-left: 2px;
}

.nav-menu {
    display: none;
    gap: var(--space-lg);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    transition: all var(--transition-base);
    padding: var(--space-xs);
    position: relative;
}

.nav-link i {
    font-size: 1.25rem;
    margin-bottom: 4px;
    transition: all var(--transition-base);
}

.nav-link.active,
.nav-link:hover {
    color: var(--blue);
}

.nav-link.active i,
.nav-link:hover i {
    color: var(--blue);
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.nav-cta {
    display: none;
}

.cta-button {
    background: var(--gradient);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-base);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-toggle.active .hamburger {
    background: transparent;
}

.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
    display: none;
    flex-direction: column;
    gap: var(--space-md);
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.mobile-nav-link i {
    width: 20px;
    color: var(--text-secondary);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    background: var(--secondary);
    color: var(--blue);
}

.mobile-nav-link.active i,
.mobile-nav-link:hover i {
    color: var(--blue);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .nav-cta {
        display: block;
    }

    .mobile-toggle {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) var(--space-md);
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(3, 3, 3, 0.664) 100%),
        url('https://designmaster.ae/wp-content/uploads/2025/02/3D-wall-panels-textured-stone-decorative-tiles-feature-wall-DesignMaster-Interior-design-and-Fit-Out-Dubai.jpg') center/cover no-repeat;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: rgba(251, 191, 36, 0.2);
    color: var(--accent-light);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
}

.hero-title-line {
    display: block;
}

.hero-title .highlight {
    color: var(--accent-light);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0.8;
    animation: float 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--accent-light));
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding-top: var(--space-xl);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

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

    .hero-stats {
        gap: var(--space-lg);
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===== Button Styles ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Services Section ===== */
/* ===== Services Grid - 2 cards per row on desktop ===== */
.services-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

/* Mobile: 1 card per row */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Desktop: 2 cards per row */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

/* ===== Service Card - Consistent Height ===== */
.service-card {
    background: var(--primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card-inner {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--blue);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    line-height: 1.3;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    flex-grow: 1;
    min-height: 80px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.service-features span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--secondary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--accent);
    font-size: 0.75rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

/* ===== Fixed Image Size ===== */
.service-image {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 767px) {
    .service-card {
        min-height: 400px;
    }

    .service-image {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
}

@media (min-width: 1024px) {
    .service-card {
        min-height: 500px;
    }

    .service-image {
        height: 240px;
        min-height: 240px;
        max-height: 100%;
    }
}

/* ===== Fix for uneven content ===== */
.service-card:nth-child(3) .service-description,
.service-card:nth-child(4) .service-description {
    min-height: 60px;
}

/* ===== Badge styling ===== */
.service-badge {
    background: var(--gradient-accent);
    color: var(--text-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Service Link ===== */
.service-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: var(--space-sm);
}

/* ===== Ensure equal heights in each row ===== */
.services-grid {
    align-items: stretch;
}

.service-card {
    height: auto;
}

/* ===== Top border accent ===== */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    z-index: 1;
}

/* ===== Card 1 - Interior Fitouts ===== */
.service-card[data-service="fitouts"]::before {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

/* ===== Card 2 - MEP Services ===== */
.service-card[data-service="mep"]::before {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

/* ===== Card 3 - Digital Solutions ===== */
.service-card[data-service="digital"]::before {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

/* ===== Card 4 - Uniforms ===== */
.service-card[data-service="uniforms"]::before {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* ===== Process Timeline ===== */
.process-timeline {
    margin-top: var(--space-2xl);
}

.timeline-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: 1.75rem;
    color: var(--text-primary);
}

.timeline {
    display: grid;
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: var(--primary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-step {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .timeline-item {
        margin: 0;
        /* Remove any margin if present */
    }
}

@media (min-width: 1024px) {
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-item:nth-child(n) {
        transform: none;
    }

    .timeline-item:hover:nth-child(n) {
        transform: translateY(-5px);
    }
}

/* ===== Gallery Section ===== */
/* ===== Gallery Section ===== */
.gallery {
    padding: var(--space-2xl) 0;
    background: var(--primary);
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--secondary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-base);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient);
    color: white;
}

.filter-btn i {
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    height: 300px;
    transition: all var(--transition-base);
    /* Ensure items don't stretch in flex/grid */
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    /* Ensure image fills container properly */
    flex: 1;
    min-height: 0;
    /* Prevents flex item from overflowing */
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    padding: var(--space-lg);
    color: white;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-category {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--text-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.gallery-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.gallery-description {
    font-size: 0.875rem;
    opacity: 0.9;
}

.gallery-load-more {
    text-align: center;
}

/* Full Gallery Page Specific */
.full-gallery-grid .gallery-item {
    height: 280px;
}

/* Mobile View - Center Alignment */
@media (max-width: 767px) {
    .gallery-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center items horizontally */
        gap: var(--space-lg);
    }

    .gallery-item {
        width: 100%;
        max-width: 400px;
        /* Maximum width for mobile */
        height: 300px;
        margin: 0 auto;
        /* Center the item */
    }

    /* Full gallery page mobile */
    .full-gallery-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
    }

    .full-gallery-grid .gallery-item {
        width: 100%;
        max-width: 400px;
        height: 280px;
        margin: 0 auto;
    }

    /* Gallery filter buttons center alignment */
    .gallery-filter {
        justify-content: center;
    }
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        /* Center items in grid */
    }

    .gallery-item {
        width: 100%;
        max-width: 350px;
        /* Limit width for better centering */
        height: 300px;
    }

    /* Full gallery page tablet */
    .full-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .full-gallery-grid .gallery-item {
        width: 100%;
        max-width: 320px;
        height: 280px;
    }
}

/* Desktop View */
@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-items: stretch;
        /* Let items stretch to fill grid */
    }

    .gallery-item {
        width: 100%;
        height: 300px;
    }

    /* Full gallery page desktop */
    .full-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        justify-items: stretch;
    }

    .full-gallery-grid .gallery-item {
        width: 100%;
        height: 280px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .gallery-item {
        height: 250px;
        max-width: 350px;
    }

    .full-gallery-grid .gallery-item {
        height: 220px;
        max-width: 350px;
    }

    /* Make filter buttons more mobile-friendly */
    .filter-btn {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.875rem;
    }

    .filter-btn span {
        display: none;
        /* Hide text on very small screens */
    }

    .filter-btn i {
        margin: 0;
        font-size: 1rem;
    }
}

/* Ensure images maintain proper aspect ratio */
.gallery-item img {
    object-fit: cover;
    object-position: center;
    /* Center the image within the container */
}

/* ===== Stats Section ===== */
.stats-section {
    padding: var(--space-2xl) 0;
    background: var(--gradient);
    color: white;
}

.stats-grid {
    display: grid;
    gap: var(--space-xl);
}

.stat-card-large {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    transition: all var(--transition-base);
}

.stat-card-large:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 2rem;
}

.stat-number-large {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label-large {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    opacity: 0.9;
}

.stat-description {
    font-size: 0.875rem;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== About Section ===== */
.about {
    padding: var(--space-2xl) 0;
    background: var(--secondary);
}

.about-grid {
    display: grid;
    gap: var(--space-xl);
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: var(--space-lg);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--blue);
    font-size: 1.25rem;
}

.feature-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.about-map {
    position: relative;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

#map {
    height: 400px;
    width: 100%;
}

.map-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-top: 4px solid var(--accent);
}

.map-info h4 {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.map-info h4 i {
    color: var(--accent);
}

.map-info p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
}

.map-directions {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: var(--space-sm);
}

.map-directions:hover {
    gap: var(--space-sm);
}

.map-info-below {
    background: var(--primary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-md);
    box-shadow: var(--shadow-md);
}

.map-info-below h4 {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.map-info-below h4 i {
    color: var(--accent);
}

.map-info-below p {
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-size: 0.95rem;
}


@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* ===== Testimonials ===== */
.testimonials {
    padding: var(--space-2xl) 0;
    background: var(--primary);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-base);
}

.testimonial-item {
    min-width: 100%;
    padding: var(--space-xl);
    background: var(--secondary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 2px solid var(--navy);

}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-2px);
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--tertiary) 100%);
}

.contact-grid {
    display: grid;
    gap: var(--space-xl);
}

.contact-form {
    background: var(--primary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    font-weight: 500;
}

.form-group label i {
    color: var(--text-secondary);
    width: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-inter);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--primary);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-focus {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width var(--transition-base);
}

.form-group input:focus~.form-focus,
.form-group select:focus~.form-focus,
.form-group textarea:focus~.form-focus {
    width: 100%;
}

.submit-btn {
    position: relative;
    overflow: hidden;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    transition: transform var(--transition-base);
    animation: spin 1s linear infinite;
}

.submit-btn.loading .btn-loader {
    transform: translate(-50%, -50%) scale(1);
}

.form-success {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
}

.form-success.show {
    display: flex;
}

.form-success i {
    font-size: 1.5rem;
}

.contact-info {
    display: grid;
    gap: var(--space-lg);
}

.info-card {
    background: var(--primary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--blue);
    font-size: 1.25rem;
}

.info-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.social-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.social-link:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-newsletter h4 {
    font-size: 1.125rem;
    color: white;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.newsletter-form {
    display: flex;
    gap: var(--space-xs);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 50px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-form button:hover {
    background: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== Fancybox Customization ===== */
.fancybox__container {
    --fancybox-bg: rgba(15, 23, 42, 0.95);
}

.fancybox__toolbar {
    padding: var(--space-md);
}

.fancybox__nav button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fancybox__nav button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.fancybox__nav button svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.fancybox__caption {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive Utilities ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .stat-number-large {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .filter-btn span {
        display: none;
    }

    .filter-btn i {
        margin: 0;
    }
}

/* ===== Gallery Page Specific Styles ===== */
.full-gallery {
    padding-top: 120px;
    padding-bottom: var(--space-2xl);
    background: var(--primary);
}

.full-gallery-grid {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 640px) {
    .full-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .full-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .full-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Back to home section */
.back-to-home-section {
    text-align: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--tertiary) 100%);
}

/* Add these styles to your CSS file */

/* Form buttons container */
.form-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

/* WhatsApp button specific style */
.btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #22c35a 0%, #0e7c6f 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Form feedback message */
.form-feedback {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
    font-size: 0.95rem;
}

.form-feedback i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.form-feedback.success {
    display: flex;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-feedback.error {
    display: flex;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-feedback.info {
    display: flex;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Form error messages */
.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 4px;
    display: none;
}

/* Shake animation for errors */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Button loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Responsive form buttons */
@media (max-width: 768px) {
    .form-buttons {
        flex-direction: column;
    }

    .form-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Logo Image Styles - Fixed Sizing */
.logo-image {
    height: 35px;
    /* Good default height for navbar */
    width: auto;
    object-fit: contain;
    display: block;
}

/* Specific styles for navbar logo */
.nav-logo .logo-image {
    height: 35px;
    max-width: 150px;
    /* Prevents logo from being too wide */
}

/* Specific styles for footer logo */
.footer-logo .logo-image {
    height: 40px;
    /* Slightly larger in footer */
    max-width: 180px;
    filter: brightness(0) invert(1);
    /* Makes white logo for dark footer */
}

/* If logo is horizontal/landscape orientation, adjust width */
.logo-image.horizontal-logo {
    height: 40px;
    width: 120px;
    /* Fixed width for horizontal logos */
    max-width: 120px;
}

/* If logo is vertical/portrait orientation, adjust height */
.logo-image.vertical-logo {
    height: 50px;
    width: 50px;
    /* Fixed width for square/vertical logos */
}

/* Logo container adjustments */
.nav-logo {
    display: flex;
    align-items: center;
    min-width: 120px;
    /* Ensures space for logo */
}

.footer-logo {
    display: flex;
    align-items: center;
    min-width: 130px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-logo .logo-image {
        height: 30px;
        max-width: 120px;
    }

    .footer-logo .logo-image {
        height: 35px;
        max-width: 150px;
    }

    .nav-logo {
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .nav-logo .logo-image {
        height: 25px;
        max-width: 100px;
    }

    .footer-logo .logo-image {
        height: 30px;
        max-width: 130px;
    }

    .nav-logo {
        min-width: 80px;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) var(--space-md);
    margin-top: 70px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: opacity 1.2s ease, transform 1.2s ease, visibility 1.2s;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.slide.fading {
    opacity: 0;
    transform: scale(0.95);
}


.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.15);
    transition: transform 8s ease-out;
}

.slide.active .slide-image {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.92) 0%,
            rgba(3, 3, 3, 0.85) 50%,
            rgba(15, 23, 42, 0.88) 100%);
    z-index: 1;
}

/* Hero content positioning */
.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    padding: 0 var(--space-md);
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease, visibility 1s;
    padding: 0 var(--space-md);
}

.slide.active .slide-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.slide.fading .slide-content {
    opacity: 0;
    transform: translateY(-30px);
}

.slide-content-inner {
    max-width: 900px;
    text-align: center;
    padding: var(--space-xl);
}

.slide-tag {
    display: inline-block;
    background: rgba(251, 191, 36, 0.25);
    color: var(--accent-light);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    text-transform: uppercase;
}

.slide-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
    /* line-height: 1.1; */
}

.slide-title .highlight {
    color: var(--accent-light);
    position: relative;
    display: inline-block;
}

.slide-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    border-radius: 2px;
}

.slide-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Slide indicators */
.slide-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
    opacity: 0.9;
}

.slide-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.slide-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-light);
    transition: left 4.8s linear;
}

.slide-indicator.active {
    background: rgba(251, 191, 36, 0.3);
    transform: scale(1.3);
}

.slide-indicator.active::after {
    left: 0%;
}

.slide-indicator:hover {
    background: var(--accent-light);
    transform: scale(1.2);
}

/* Slide progress bar */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    z-index: 3;
}


.slide.active .progress-bar {
    width: 100%;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Hero buttons container */
.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}


.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom,
            transparent,
            var(--accent-light) 50%,
            transparent);
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem !important; /* Smaller font for mobile */
        line-height: 1.2 !important;
        margin-bottom: var(--space-md) !important;
    }
    
    .slide-description {
        font-size: 1rem !important;
        padding: 0 !important;
        line-height: 1.5 !important;
        margin-bottom: var(--space-lg) !important;
    }

    .slide-tag {
        font-size: 0.75rem !important;
        padding: 8px 16px !important;
        margin-bottom: var(--space-md) !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: var(--space-sm) !important;
        margin-bottom: var(--space-xl) !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: var(--space-sm) var(--space-md) !important;
        font-size: 0.875rem !important;
    }
    
    .hero-buttons .btn i {
        font-size: 0.875rem !important;
    }
    .slide-content-inner {
        padding: var(--space-md) !important;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.75rem !important;
    }
    
    .slide-description {
        font-size: 0.9rem !important;
    }

    .hero-buttons .btn {
        max-width: 250px !important;
        padding: 10px 16px !important;
    }

    .slide-content-inner {
        padding: var(--space-sm) !important;
    }
}

.hero,
.slider-container,
.slide,
.slide-image {
    overflow: hidden !important;
}

.slide:not(.loaded) .slide-image {
    filter: blur(10px);
    transform: scale(1.2);
}

.slide.loaded .slide-image {
    filter: blur(0);
    transition: filter 0.5s ease, transform 8s ease-out;
}
/* Adjust mobile navigation for better touch targets */
@media (max-width: 767px) {
    .mobile-nav-link {
        padding: 16px 20px !important; /* Larger touch targets */
        font-size: 1rem !important; /* Larger text */
    }
    
    .mobile-nav-link i {
        font-size: 1.25rem !important; /* Larger icons */
        width: 24px !important; /* More space for icons */
    }
    
    /* Make sure mobile nav is easily accessible */
    .mobile-nav {
        padding: var(--space-sm) !important;
    }
    
    /* Increase spacing between mobile nav items */
    .mobile-nav {
        gap: 8px !important;
    }
}
/* ===== Designer Footer ===== */
.designer-footer {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.designer-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.designer-footer a {
    color: white;
    text-decoration: none;
    font-weight: bolder;
    /* transition: color var(--transition-base); */
}

.designer-footer a:hover {
    color: white;
    text-decoration: underline;
}

.designer-footer small {
    display: block;
    color: rgb(255, 255, 255);
    font-size: 0.75rem;
    margin-top: 4px;
}
/* Fix Leaflet map z-index issue */
.map-container {
    position: relative;
    z-index: 1; /* Lower than navbar */
}

/* Ensure navbar stays on top */
.navbar {
    z-index: 1000 !important; /* Ensure navbar stays on top */
    position: fixed !important;
}

/* Fix for Leaflet map tiles */
.leaflet-container {
    z-index: 1 !important; /* Lower z-index for map */
    position: relative;
}

/* Fix for map popups and controls */
.leaflet-top,
.leaflet-bottom {
    z-index: 2 !important; /* Slightly higher than map but lower than navbar */
}

/* If you have a specific map ID */
#map {
    z-index: 1 !important;
}

/* Fix for any map layers or overlays */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-marker-pane,
.leaflet-tooltip-pane,
.leaflet-popup-pane {
    z-index: auto !important; /* Let parent control z-index */
}

/* Specific fix for markers if needed */
.leaflet-marker-icon {
    z-index: 100 !important; /* Markers should be above map but below navbar */
}

/* Fix for interactive elements */
.leaflet-interactive {
    z-index: auto !important;
}
#map {
    height: 400px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
}

.leaflet-container {
    height: 100% !important;
    width: 100% !important;
    border-radius: var(--radius-lg) !important;
}

.leaflet-marker-icon {
    z-index: 1000 !important;
}