/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary-dark: #0a192f;      /* Sleek Dark Navy */
    --color-primary-navy: #112240;      /* Dark Navy Tint */
    --color-primary-light: #233554;     /* Medium Navy Accent */
    --color-secondary-blue: #0066cc;    /* Professional Ocean Blue */
    --color-secondary-hover: #0052a3;   /* Darker Blue for Hover */
    --color-accent-cyan: #00e5ff;       /* Cooling Cyan for Highlights */
    --color-bg-light: #f4f7fa;          /* Neutral Light Background */
    --color-card-bg: #ffffff;           /* Clean Card Background */
    
    /* Text Colors */
    --color-text-dark: #1e293b;         /* Dark Slate for Readability */
    --color-text-muted: #64748b;        /* Muted Gray for Secondary Text */
    --color-text-light: #f8fafc;        /* Off-white for Dark Backgrounds */
    
    /* Status Colors */
    --color-whatsapp: #25d366;          /* Official WhatsApp Green */
    --color-whatsapp-hover: #20ba5a;
    --color-phone: #3b82f6;
    --color-phone-hover: #2563eb;
    --color-danger: #ef4444;
    --color-star: #fbbf24;              /* Golden Yellow for Reviews */
    
    /* Fonts */
    --font-headers: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
    --font-body: 'Almarai', 'Tajawal', sans-serif;
    
    /* Layout Variables */
    --header-height: 80px;
    --header-height-shrink: 70px;
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(10, 25, 47, 0.08);
    --shadow-lg: 0 16px 40px rgba(10, 25, 47, 0.12);
    --shadow-glow: 0 0 15px rgba(0, 229, 255, 0.4);
    --shadow-whatsapp: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

iframe {
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.direction-ltr {
    direction: ltr;
    display: inline-block;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-white { color: var(--color-text-light); }
.text-white-50 { color: rgba(248, 250, 252, 0.7); }
.text-secondary { color: var(--color-secondary-blue); }
.text-danger { color: var(--color-danger); }
.mt-4 { margin-top: 1.5rem; }
.bg-secondary { background-color: var(--color-secondary-blue); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-headers);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-medium);
    text-align: center;
    white-space: nowrap;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-md);
}

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

.btn-primary:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.btn-secondary {
    background-color: var(--color-accent-cyan);
    color: var(--color-primary-dark);
}

.btn-secondary:hover {
    background-color: #00c8e0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

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

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-whatsapp);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    z-index: 1010;
    transition: var(--transition-medium);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Shrink header on scroll */
.main-header.shrink {
    height: var(--header-height-shrink);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo styling */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-medium);
}

.main-header.shrink .logo-img {
    height: 40px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background-color: var(--color-secondary-blue);
    color: white;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.15);
}

.logo-icon i:first-child {
    animation: spinSlow 8s linear infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-headers);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    line-height: 1.2;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary-blue);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-family: var(--font-headers);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-secondary-blue);
    transition: var(--transition-medium);
    border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hamburger menu button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary-dark);
    border-radius: 2px;
    transition: var(--transition-medium);
}

/* Hamburger Active Transform */
.hamburger-menu.active span:first-child {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:last-child {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 90px;
    background: linear-gradient(180deg, #f4f9ff 0%, #e8f3ff 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 102, 204, 0.07);
    border: 1px solid rgba(0, 102, 204, 0.15);
    color: var(--color-secondary-blue);
    padding: 6px 16px;
    border-radius: var(--border-radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-title-main {
    font-family: var(--font-headers);
    font-size: 3.8rem;
    font-weight: 850;
    color: var(--color-primary-dark);
    line-height: 1.15;
}

.hero-title-sub {
    font-family: var(--font-headers);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-secondary-blue);
    line-height: 1.3;
    white-space: normal;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 30px;
    color: var(--color-text-muted);
    max-width: 700px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    width: 100%;
}

/* Slider Wrapper */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    background-color: white;
    border: 8px solid white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 40px;
    z-index: 2;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;
    transform: scale(1.04);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Features list at the bottom */
.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature-item .feat-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(0, 102, 204, 0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary-blue);
    font-size: 1rem;
}

.hero-feature-item .feat-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* Wave Curve Shape */
.wave-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.wave-shape svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

/* ==========================================================================
   SERVICES CATEGORIES SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-secondary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.title-line {
    width: 70px;
    height: 4px;
    background-color: var(--color-secondary-blue);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-desc-top {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

/* Category Blocks */
.category-block {
    margin-bottom: 70px;
}

.category-block:last-child {
    margin-bottom: 0;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(16, 37, 66, 0.08);
    padding-bottom: 20px;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 204, 0.08);
    color: var(--color-secondary-blue);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition-medium);
}

.category-block:hover .category-icon-wrapper {
    background-color: var(--color-secondary-blue);
    color: white;
    transform: scale(1.05);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 750;
    color: var(--color-primary-dark);
}

.category-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

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

.service-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-secondary-blue);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
}

.service-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-secondary-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    color: var(--color-secondary-hover);
}

.service-link i {
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(-4px);
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-us-section {
    padding: 100px 0;
    background-color: var(--color-primary-dark);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--color-primary-navy);
    border-radius: var(--border-radius-md);
    padding: 35px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-primary-light);
    border-color: var(--color-accent-cyan);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background-color: rgba(0, 229, 255, 0.1);
    color: var(--color-accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ==========================================================================
   EXPERIENCE COUNTER SECTION
   ========================================================================== */
.counter-section {
    padding: 60px 0;
    background-color: var(--color-secondary-blue);
    color: white;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.counter-item {
    padding: 20px;
}

.counter-icon {
    font-size: 2.2rem;
    color: var(--color-accent-cyan);
    margin-bottom: 12px;
    opacity: 0.9;
}

.counter-number-wrapper {
    font-family: var(--font-headers);
    font-size: 2.6rem;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    margin-bottom: 8px;
}

.counter-number-text {
    font-size: 2.4rem;
    font-weight: 800;
}

.counter-plus {
    color: var(--color-accent-cyan);
}

.counter-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   ABOUT COMPANY SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-title {
    margin-top: 10px;
}

.about-text-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary-blue);
    margin-bottom: 18px;
}

.about-text-main {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.highlight-item i {
    font-size: 1.2rem;
}

.about-image-wrapper {
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}

.about-image {
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.about-image-decoration {
    position: absolute;
    top: 30px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 6px solid var(--color-secondary-blue);
    border-radius: var(--border-radius-lg);
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--color-primary-dark);
    color: white;
    padding: 20px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    border-right: 4px solid var(--color-accent-cyan);
}

.experience-badge .exp-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent-cyan);
    line-height: 1;
}

.experience-badge .exp-lbl {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
}

/* ==========================================================================
   GOOGLE REVIEWS SECTION
   ========================================================================== */
.reviews-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

/* Write a Review Button */
.write-review-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-write-review {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: white;
    color: var(--color-primary-dark);
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: var(--border-radius-xl);
    border: 1.5px solid rgba(16, 37, 66, 0.08);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-write-review:hover {
    transform: translateY(-3px);
    border-color: var(--color-secondary-blue);
    box-shadow: var(--shadow-md);
    color: var(--color-secondary-blue);
}

.google-g-logo {
    width: 20px;
    height: 20px;
}

/* Reviews Viewport with Mask */
.reviews-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Mask to fade edges smoothly */
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

/* Marquee Track */
.reviews-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marqueeLeftToRight 35s linear infinite;
}

/* Pause scroll animation on hover */
.reviews-marquee-track:hover {
    animation-play-state: paused;
}

/* Review Card V2 */
.review-card-v2 {
    width: 360px;
    background-color: white;
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(16, 37, 66, 0.05);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-medium);
}

/* Hover highlights */
.review-card-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 204, 0.4);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.06);
}

/* Middle highlighted card (matching screenshot green border) */
.review-card-v2.highlighted-card {
    border-color: rgba(37, 211, 102, 0.55);
}

.review-card-v2.highlighted-card:hover {
    border-color: var(--color-whatsapp);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.08);
}

/* Header inside card */
.card-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-rating-v2 {
    display: flex;
    gap: 4px;
    color: var(--color-star);
    font-size: 1.05rem;
}

.card-google-logo img {
    width: 22px;
    height: 22px;
    display: block;
}

/* Review text */
.card-review-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Footer details */
.card-footer-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(16, 37, 66, 0.06);
}

.card-user-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.card-user-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.card-user-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Marquee Animation (Left to Right) */
@keyframes marqueeLeftToRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background-color: white;
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid rgba(16, 37, 66, 0.08);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: var(--color-bg-light);
    transition: var(--transition-medium);
}

.faq-item.active {
    border-color: var(--color-secondary-blue);
    background-color: white;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
    font-family: var(--font-headers);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.faq-question span {
    pointer-events: none;
}

.faq-icon-arrow {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-secondary-blue);
    transition: var(--transition-medium);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(45deg);
    background-color: var(--color-secondary-blue);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 28px 22px;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   CALL TO ACTION (CTA) SECTION
   ========================================================================== */
.cta-section {
    padding: 100px 0;
    position: relative;
    background-image: url('assets/hero_hvac.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.92) 20%, rgba(0, 102, 204, 0.8) 100%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

/* Info Cards block */
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-items-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 102, 204, 0.08);
    color: var(--color-secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.info-card-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-card-text a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-secondary-blue);
}

.info-card-text a:hover {
    color: var(--color-secondary-hover);
}

.map-embed-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 4px solid white;
}

/* Form Styles */
.contact-form-block {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid rgba(16, 37, 66, 0.12);
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition-fast);
    background-color: var(--color-bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-secondary-blue);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23112240' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 14px;
    padding-left: 40px;
}

.form-status {
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    margin-top: 5px;
    border-radius: var(--border-radius-sm);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-medium);
}

.form-status.success {
    padding: 12px;
    background-color: rgba(37, 211, 102, 0.12);
    color: var(--color-whatsapp-hover);
    max-height: 100px;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.form-status.error {
    padding: 12px;
    background-color: rgba(239, 68, 110, 0.12);
    color: var(--color-danger);
    max-height: 100px;
    border: 1px solid rgba(239, 68, 110, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    line-height: 1.25;
}

.footer-logo-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-cyan);
    letter-spacing: 0.5px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-socials a:hover {
    background-color: var(--color-secondary-blue);
    border-color: var(--color-secondary-blue);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.15rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 3px;
    background-color: var(--color-secondary-blue);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-accent-cyan);
    padding-right: 5px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-list .icon {
    font-size: 1rem;
    color: var(--color-accent-cyan);
    margin-top: 3px;
}

.footer-contact-list a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list a:hover {
    color: var(--color-accent-cyan);
}

.footer-bottom {
    background-color: #061121;
    padding: 25px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* ==========================================================================
   FLOATING ACTIONS
   ========================================================================== */
.floating-left-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-left-container .floating-tooltip {
    right: auto;
    left: 70px;
    transform: translateX(-10px);
}

.floating-left-container .floating-btn:hover .floating-tooltip {
    transform: translateX(0);
}

.floating-right-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition-medium);
    border: none;
    outline: none;
    position: relative;
}

.floating-whatsapp {
    background-color: var(--color-whatsapp);
    animation: pulseWhatsapp 2.5s infinite;
}

.floating-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.1);
}

.floating-phone {
    background-color: var(--color-phone);
}

.floating-phone:hover {
    background-color: var(--color-phone-hover);
    transform: scale(1.1);
}

.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--color-primary-dark);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 0.95;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    opacity: 1;
    background-color: var(--color-secondary-blue);
}

/* Floating Tooltip */
.floating-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--color-primary-dark);
    color: white;
    font-family: var(--font-headers);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
    pointer-events: none;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   ANIMATIONS & DYNAMIC MICRO-EFFECTS
   ========================================================================== */
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(0, 229, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes pulseWhatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.animate-bounce {
    animation: bounce 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Active Scroll Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE FIRST RESPONSIVENESS)
   ========================================================================== */

/* Up to Tablet width (max 991px) */
@media (max-width: 991px) {
    /* Header & Mobile Layout Tweaks */
    .header-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .logo-text {
        max-width: 180px;
    }
    
    .logo-title {
        white-space: normal;
        font-size: 0.95rem;
        line-height: 1.25;
    }
    
    .logo-subtitle {
        white-space: normal;
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .btn-lang-toggle {
        padding: 6px 12px;
        gap: 6px;
        font-size: 0.85rem;
    }
    
    .header-actions {
        gap: 10px;
        flex-shrink: 0;
    }

    .nav-menu.active .nav-link.active {
        color: var(--color-secondary-blue);
        font-weight: 700;
        border-right: 3px solid var(--color-secondary-blue);
        padding-right: 10px;
    }

    html[dir="ltr"] .nav-menu.active .nav-link.active {
        border-right: none;
        border-left: 3px solid var(--color-secondary-blue);
        padding-left: 10px;
        padding-right: 0;
    }

    /* Navbar Collapse */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        z-index: 1005;
        padding: 100px 30px 40px;
        box-shadow: -5px 0 25px rgba(0,0,0,0.08);
        transition: var(--transition-medium);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 12px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(10, 25, 47, 0.6);
        z-index: 1004;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-medium);
        backdrop-filter: blur(2px);
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .btn-call-header {
        display: none; /* Hide top header CTA button to avoid clutter */
    }
    
    /* Layout Adaptations */
    .hero-title-main {
        font-size: 2.8rem;
    }
    
    .hero-title-sub {
        font-size: 1.3rem;
    }
    
    .hero-slider-wrapper {
        height: 350px;
        max-width: 650px;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrapper {
        order: -1; /* Display image above text on smaller viewports */
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-image {
        height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

/* Up to Mobile width (max 767px) */
@media (max-width: 767px) {
    html {
        font-size: 15px;
    }
    
    .header-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        max-width: 150px;
    }
    
    .logo-title {
        font-size: 0.9rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .btn-lang-toggle {
        padding: 6px 10px;
        gap: 4px;
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding-top: calc(var(--header-height) + 30px);
        padding-bottom: 60px;
    }
    
    .hero-title-main {
        font-size: 2.2rem;
    }
    
    .hero-title-sub {
        font-size: 1.05rem;
    }

    .hero-slider-wrapper {
        height: 250px;
        border-width: 5px;
        margin-bottom: 25px;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-image {
        height: 180px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 25px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 18px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .info-items-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-block {
        padding: 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-right-container {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-left-container {
        bottom: 20px;
        left: 20px;
    }
    
    .scroll-to-top {
        bottom: 85px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .floating-tooltip {
        display: none; /* Hide tooltips on mobile since hover is not persistent */
    }
}

/* ==========================================================================
   LANGUAGE TOGGLE BUTTON & LTR OVERRIDES
   ========================================================================== */
.btn-lang-toggle {
    background-color: transparent;
    border: 1.5px solid rgba(16, 37, 66, 0.15);
    color: var(--color-primary-dark);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-headers);
    transition: var(--transition-fast);
}

.btn-lang-toggle:hover {
    background-color: var(--color-secondary-blue);
    border-color: var(--color-secondary-blue);
    color: white;
}

/* LTR Base Font Overrides */
html[dir="ltr"] {
    --font-headers: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Extremely small viewports (e.g., iPhone SE / 320px wide) */
@media (max-width: 360px) {
    .btn-lang-toggle span {
        display: none; /* Hide toggle text, leaving only the globe icon */
    }
    
    .logo-text {
        max-width: 125px;
    }
    
    .logo-title {
        font-size: 0.85rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }

    .hero-title-main {
        font-size: 1.8rem;
    }

    .hero-title-sub {
        font-size: 0.9rem;
    }

    .hero-slider-wrapper {
        height: 180px;
        border-width: 4px;
        margin-bottom: 20px;
    }
}

/* LTR Layout Overrides */
html[dir="ltr"] .logo-text,
html[dir="ltr"] .footer-logo-text {
    text-align: left;
}

html[dir="ltr"] .form-group select {
    background-position: right 15px center;
    padding-left: 16px;
    padding-right: 40px;
}

/* LTR Service Cards Arrow Animation Flipping */
html[dir="ltr"] .service-link i {
    transform: scaleX(-1);
}

html[dir="ltr"] .service-link:hover i {
    transform: scaleX(-1) translateX(-4px);
}

/* LTR Hero CTA Button Arrow Animation Flipping */
html[dir="ltr"] .hero-actions .btn-outline i {
    transform: scaleX(-1);
}

html[dir="ltr"] .hero-actions .btn-outline:hover i {
    transform: scaleX(-1) translateX(-4px);
}

/* LTR Navigation Drawer Layout */
@media (max-width: 991px) {
    html[dir="ltr"] .nav-menu {
        right: auto;
        left: -100%;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.08);
    }
    
    html[dir="ltr"] .nav-menu.active {
        right: auto;
        left: 0;
    }
}

/* ==========================================================================
   OUR WORK GALLERY SECTION & LIGHTBOX
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background-color: var(--color-bg-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
    backdrop-filter: blur(2px);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.6);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 25, 47, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 2010;
    line-height: 1;
    transition: color 0.2s ease;
}

.gallery-modal-close:hover {
    color: var(--color-accent-cyan);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2010;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
}

.gallery-modal-nav:hover {
    background: var(--color-secondary-blue);
    color: white;
}

.gallery-modal-nav.prev {
    right: 30px;
}

.gallery-modal-nav.next {
    left: 30px;
}

/* Gallery Responsive Breakpoints */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-modal-nav.prev {
        right: 15px;
    }
    
    .gallery-modal-nav.next {
        left: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

