/* ==========================================================================
   Scrollbar Customization
   ========================================================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #080b09; /* Matches splash background */
}

::-webkit-scrollbar-thumb {
    background: rgba(42, 155, 94, 0.4);
    border-radius: 10px;
    border: 2px solid #080b09; /* Creates a padding effect */
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(42, 155, 94, 0.4) #080b09;
}

/* ==========================================================================
   Event Timer Styles
   ========================================================================== */
.event-timer-container {
    margin: 80px auto 0;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: inline-block;
    min-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.event-name {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(42, 155, 94, 0.3);
}

.timer-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.timer-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    font-weight: 400;
}

/* ==========================================================================
   Portfolio Modal Styles
   ========================================================================== */
.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.portfolio-modal.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.pm-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
}

.pm-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
}

.pm-close:hover {
    background: var(--color-primary);
    transform: rotate(90deg);
}

.pm-content {
    background: #151616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.pm-flex-layout {
    display: flex;
    flex-direction: row;
    min-height: 600px;
}

.pm-gallery-side {
    flex: 0 0 450px;
    background: #000;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.pm-gallery-main {
    width: 100%;
    height: 600px; /* Fixed height for consistency */
    background: #000;
    overflow: hidden;
}

.pm-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Matches the portfolio-card image style */
}

.pm-thumbnails {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.4);
    scrollbar-width: none;
}

.pm-thumbnails::-webkit-scrollbar {
    display: none;
}

.pm-thumb {
    width: 70px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.pm-thumb.active, .pm-thumb:hover {
    opacity: 1;
    border-color: var(--color-primary);
}

.pm-info-side {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pm-details h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    line-height: 1.2;
}

.pm-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.pm-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.meta-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.meta-value {
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

@media (max-width: 992px) {
    .pm-flex-layout {
        flex-direction: column;
    }
    .pm-gallery-side {
        flex: none;
        width: 100%;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .pm-gallery-main {
        height: 450px;
    }
    .pm-info-side {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .pm-container {
        margin: 20px auto;
    }
    .pm-gallery-main {
        height: 350px;
    }
    .pm-details h2 {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   CSS Variables & Global Settings
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-primary: #2A9B5E;
    --color-secondary: #AEE69D;
    --color-dark: #363636;
    --color-light: #ffffff;

    /* Layout & Spacing */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --header-height: 130px;

    /* Override browser blue with brand green globally */
    accent-color: #2A9B5E;
}

/* Custom Font Definition if user provides the file later. 
   Using Almarai from Google Fonts as a highly elegant fallback */
@font-face {
    font-family: 'alarabiya';
    src: local('alarabiya');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   Splash Screen
   ========================================================================== */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    /* Semi-transparent frosted glass background */
    background: rgba(8, 11, 9, 0.55);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Logo wrapper */
.splash-logo-wrap {
    position: relative;
    display: grid;
    place-items: center; /* Centers everything in the grid */
    width: 200px;
    height: 200px;
}

/* Common styles for both layers to ensure perfect alignment */
.splash-logo-base, .splash-logo-fill {
    grid-area: 1 / 1; /* Occupy the same grid cell */
    width: 150px;
    height: 150px;
    -webkit-mask-image: url('assets/logo.png');
    mask-image: url('assets/logo.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Base layer — dim/desaturated logo */
.splash-logo-base {
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.08); /* Dim translucent base */
    animation: splashLogoIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Fill layer — green tinted, clips from bottom upward */
.splash-logo-fill {
    z-index: 3;
    background-color: var(--color-primary);
    /* Clean green glow */
    filter: drop-shadow(0 0 15px rgba(42, 155, 94, 0.5));
    /* Start clipped (hidden) from the top, animate to fully revealed */
    clip-path: inset(100% 0 0 0);
    animation: splashLogoIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both,
               splashFillUp 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

@keyframes splashLogoIn {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes splashFillUp {
    from { clip-path: inset(100% 0 0 0); }
    to   { clip-path: inset(0%   0 0 0); }
}

/* Pulsing rings */
.splash-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(42, 155, 94, 0.3);
    animation: splashRing 2s ease-in-out infinite;
}

.splash-ring-2 {
    border-color: rgba(174, 230, 157, 0.15);
    animation-delay: 0.6s;
    animation-duration: 2.6s;
}

@keyframes splashRing {
    0%   { transform: scale(0.7);  opacity: 0.9; }
    50%  { transform: scale(1.2);  opacity: 0.1; }
    100% { transform: scale(0.7);  opacity: 0.9; }
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed header */
}

body {
    font-family: 'alarabiya', 'Almarai', sans-serif;
    color: var(--color-light);
    background-color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* ==========================================================================
   Header & Navigation (Transparent to Solid on scroll)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    transition: var(--transition-smooth);
    border-bottom: none;
}

.main-header.scrolled {
    background: transparent;
    box-shadow: none;
    height: 100px;
    border-bottom: none;
}

/* Hide header when scrolling down, show when scrolling up */
.main-header.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-header {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), var(--transition-smooth);
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Needed for absolute centering of nav */
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 110px; /* Adjust as needed */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    transform-origin: right center; /* Keeps logo anchored in RTL */
}

.main-header.scrolled .logo-img {
    transform: scale(0.7); /* Scale down to fit in the 100px scrolled header */
}

/* Navigation Links - Absolutely centered on desktop */
.navbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar .nav-links {
    display: flex;
    gap: 35px;
}

.nav-links li a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-light);
    position: relative;
    padding: 5px 0;
    transition: var(--transition-smooth);
    opacity: 0.85;
}

.nav-links li a:hover,
.nav-links li a.active {
    opacity: 1;
    color: var(--color-secondary);
}

/* Underline Animation for links */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* RTL starts right */
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-smooth);
    border: 2px solid var(--color-primary);
    display: inline-block;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(42, 155, 94, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-light);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-smooth);
    border: 2px solid var(--color-light);
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.btn-primary.large, .btn-outline.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Partners Strip (Transparent, Between Hero & About)
   ========================================================================== */
.partners-strip {
    width: 100%;
    overflow: hidden;
    background: #151616;
    padding: 22px 0;
    margin: 0;
    position: relative;
    z-index: 5;
    direction: ltr; /* Force LTR so logos always start from left edge in RTL doc */
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 35px;
    width: max-content;
    will-change: transform;
    direction: ltr; /* Match parent LTR so flex starts from left */
}

.partner-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    opacity: 0.55;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    user-select: none;
    pointer-events: none;
}

.partner-logo.original-color {
    filter: none; /* Keep original color */
    opacity: 0.9;  /* Slightly more visible for colored logos */
}

.partner-label-svg {
    opacity: 0.55 !important; /* Match other logos opacity */
    filter: brightness(0) invert(1) !important; /* Make it white like other logos */
    display: inline-block;
    vertical-align: middle;
    width: 140px; /* Fixed width to match SVG attribute */
    height: 44px;
}

.partner-label-svg text {
    fill: white !important; /* Force text to be white */
}

/* No keyframes needed — JS controls the loop */

/* ==========================================================================
   Hero Section (Video Background)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: -2px; /* Fix fractional pixel white line bug on some mobile browsers */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Reduced scale for better performance and added will-change */
    transform: scale(1.1);
    transform-origin: center;
    will-change: transform;
    z-index: 1;
}

.section-fade {
    position: absolute;
    bottom: -2px; /* Pulled slightly down to ensure it overlaps perfectly */
    left: 0;
    width: 100%;
    height: 255px;
    background: linear-gradient(to bottom, transparent 0%, #151616 100%);
    z-index: 2; /* Needs to be above the video, below content if any */
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    /* Added text shadow so text remains readable without the dark overlay */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h2 .highlight {
    color: var(--color-primary);
    text-shadow: 0 0 25px rgba(42, 155, 94, 0.4);
}

.highlight-text {
    color: var(--color-primary);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* ==========================================================================
   Animations & Loading States
   ========================================================================== */
.reveal-text {
    animation: revealUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes revealUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Button Loading State */
.contact-btn.btn-loading {
    pointer-events: none;
    opacity: 0.8;
    position: relative;
    cursor: wait;
}

.contact-btn.btn-loading svg,
.contact-btn.btn-loading span {
    visibility: hidden;
    opacity: 0;
}

.btn-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.8s linear infinite;
}

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

/* Success State for Buttons */
.contact-btn.btn-success {
    background-color: #1a7a46 !important;
    border-color: #1a7a46 !important;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.5s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   About Section - Alternative Modern Design
   ========================================================================== */
.about-modern {
    padding: 80px 0 100px; /* Remove top padding — strip is directly above */
    /* Ultra-premium deep gradient background with transition to next section */
    background: radial-gradient(circle at 100% 0%, #252826 0%, #171818 40%, #111111 100%),
                linear-gradient(to bottom, transparent 80%, #111111 100%);
    position: relative;
    overflow: hidden;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Elegant ambient glow (Right Side) */
.about-modern::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(42, 155, 94, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Elegant ambient glow (Left Side) */
.about-modern::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(174, 230, 157, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.modern-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.modern-split {
    display: flex;
    flex-direction: row; /* Side-by-side design */
    justify-content: center; /* Tightly packed in the middle of screen */
    align-items: center; /* Vertically centered relative to each other */
    gap: 80px;
}

.modern-text-col {
    flex: 0 1 700px; /* Give it a controlled max size so centering works perfectly */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Return to right alignment */
    gap: 70px;
}

.text-block {
    position: relative;
    padding-right: 40px; /* Space for accent line */
    display: block;
}

/* Vertical Accent Line */
.block-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    margin-bottom: 0;
    background: linear-gradient(to bottom, var(--color-primary), rgba(42, 155, 94, 0));
    border-radius: 5px;
}

.modern-title {
    font-size: 2.5rem; /* Reduced from 3.5rem */
    font-weight: 800;
    color: var(--color-light);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.modern-desc {
    font-size: 1.1rem; 
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    max-width: 100%;
    text-align: justify; /* Normal paragraph alignment */
}

/* Stats Column */
.modern-stats-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-glass-panel {
    width: max-content;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; 
    padding: 30px 40px; 
    display: flex;
    flex-direction: column; /* Vertical layout for stats */
    gap: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    align-items: center; /* Center items inside the panel */
}

.modern-stat {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align number and label */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Return to bottom borders */
    border-left: none;
    padding-bottom: 20px;
    padding-left: 0;
    width: 100%; /* Full width for consistent centering */
}

.modern-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.m-number {
    font-size: 2.8rem; /* Reduced from 5rem */
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 8px; /* Reduced spacing */
    font-family: 'Arial', sans-serif;
    text-shadow: 0 5px 15px rgba(174, 230, 157, 0.2);
}

.m-label {
    font-size: 1.1rem; /* Reduced from 1.4rem */
    font-weight: 700;
    color: var(--color-light);
    letter-spacing: 1px;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1.0s; }
.delay-6 { transition-delay: 1.2s; }

.section-subtitle {
    max-width: 800px;
    margin: 30px auto 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-weight: 300;
}

/* ==========================================================================
   Services Full Section (خدماتنا)
   ========================================================================== */
.services-full-section {
    min-height: 100vh;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #111111 0%, transparent 10%, transparent 90%, #111111 100%),
                radial-gradient(circle at 100% 0%, #1a201c 0%, #111414 50%, #0d0d0d 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 40px;
    width: 100%;
}

.service-full-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.s-icon-wrap {
    width: 220px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.s-icon {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.s-icon-1 { background-image: url('assets/s1.svg'); } /* التواصل الداخلي - شكل الدوامة البسيطة */
.s-icon-2 { background-image: url('assets/s2.svg'); } /* الفعاليات والتجارب - شكل رقم 8 */
.s-icon-3 { background-image: url('assets/s3.svg'); } /* المؤتمرات و المعارض - شكل البوابة */
.s-icon-4 { background-image: url('assets/s4.svg'); } /* الحلول التقنية - شكل المربعات المتطايرة */
.s-icon-5 { background-image: url('assets/s5.svg'); } /* الشراكات الإستراتيجية - شكل اللانهاية */
.s-icon-6 { background-image: url('assets/s6.svg'); } /* هدايا الشركات - شكل الدوائر المتداخلة */

.s-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-light);
    margin: 0;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .services-full-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }
}

@media screen and (max-width: 768px) {
    .services-full-section {
        min-height: auto;
        padding: 80px 0;
    }
    .services-full-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .s-icon-wrap {
        width: 140px;
        height: 110px;
    }
    .s-title {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   Uniqueness Section
   ========================================================================== */
.uniqueness-section {
    min-height: 100vh;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    /* Deep gradient with smooth top and bottom blending */
    background: linear-gradient(to bottom, #111111 0%, transparent 10%, transparent 90%, #111111 100%),
                radial-gradient(circle at 0% 100%, #252826 0%, #171818 40%, #111111 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ambient glows matching services section style */
.uniqueness-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(42, 155, 94, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.uniqueness-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(174, 230, 157, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.uniqueness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.uniqueness-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: auto;
}

.u-icon-wrap {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 180px;
    background: transparent;
    border: none;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
}

.q-icon {
    width: 100%;
    height: 100%;
    background-image: url('assets/q.svg');
    background-size: 500% 100%;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 10px rgba(42, 155, 94, 0.4));
}

.icon-mountain { background-position: 0% 0; }
.icon-circles  { background-position: 25% 0; }
.icon-flow     { background-position: 50% 0; }
.icon-door     { background-position: 75% 0; }
.icon-plant    { background-position: 100% 0; }

.u-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-light);
}

.u-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    max-width: 100%;
}

@media screen and (max-width: 1024px) {
    .u-icon-wrap {
        width: 160px;
        height: 160px;
    }
}

@media screen and (max-width: 768px) {
    .u-icon-wrap {
        width: 140px;
        height: 140px;
    }
}

/* Uniqueness Section (تفردنا) Text Styling */
.tfrdna-text-desktop {
    display: block;
}
.tfrdna-text-mobile {
    display: none;
}

/* Uniqueness Section (تفردنا) Image Styling */
.tfrdna-image {
    max-width: 42%;
    width: 42%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(42, 155, 94, 0.3));
    margin-top: 0px;
}

@media screen and (max-width: 1024px) {
    .tfrdna-image {
        max-width: 49%;
        width: 49%;
        padding: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    .tfrdna-text-desktop {
        display: none;
    }
    .tfrdna-text-mobile {
        display: block;
    }
    .tfrdna-image {
        max-width: 90%;
        width: 90%;
        padding: 0 10px;
        margin-top: 10px;
    }
}

/* ==========================================================================
   Portfolio / Our Work Section (Infinite Marquee)
   ========================================================================== */
.portfolio-section {
    padding: 60px 0 120px 0; /* Reduced top padding from 150px to 60px to decrease distance */
    /* Deep elegant transition with smooth top blending */
    background: linear-gradient(to bottom, #111111 0%, transparent 15%),
                linear-gradient(-45deg, #0a0a0a, #151f18, #0a0a0a, #0e1812);
    background-size: 400% 400%;
    animation: portfolioBgShift 20s ease infinite;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* Moving animated mesh gradient glow */
.portfolio-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(42, 155, 94, 0.04) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    animation: portfolioGlowOrb 18s infinite alternate ease-in-out;
}

.portfolio-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(174, 230, 157, 0.02) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    animation: portfolioGlowOrbReverse 22s infinite alternate ease-in-out;
}

@keyframes portfolioBgShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes portfolioGlowOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15%, 15%) scale(1.2); }
}

@keyframes portfolioGlowOrbReverse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-15%, -15%) scale(1.3); }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-light);
    margin-bottom: 15px;
}

.title-line {
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    margin: 0 auto;
    border-radius: 5px;
}

.portfolio-marquee-container {
    width: 100vw;
    overflow: hidden; /* JS will handle translate */
    position: relative;
    padding: 40px 0;
}

.portfolio-track {
    display: flex;
    gap: 40px;
    width: max-content;
    padding: 0 20px;
    transform: translateX(0);
    cursor: grab;
    will-change: transform;
}

.portfolio-track:active {
    cursor: grabbing;
}

.portfolio-card {
    width: 340px; 
    height: 450px; 
    border-radius: 18px; 
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    flex-shrink: 0;
    user-select: none; /* Prevent text selection while dragging */
    -webkit-user-drag: none;
}

.p-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none; /* Prevent browser native image dragging */
    user-select: none;
    -webkit-user-drag: none;
}

.portfolio-card:hover .p-img {
    transform: scale(1.1);
}

.p-content {
    position: absolute;
    bottom: 0; /* Moved back down to bottom */
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
    padding: 60px 20px 25px; /* Increased top padding for better gradient */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.portfolio-card:hover .p-content {
    transform: translateY(0);
}

.p-client {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.p-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-light);
    margin-bottom: 12px;
    line-height: 1.2;
}

.p-desc {
    display: none;
}

.p-view {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 1; /* Always visible */
    transform: translateX(0); /* Always in position */
    transition: gap 0.3s ease;
}

.portfolio-card:hover .p-view {
    gap: 12px; /* Slight movement on hover to indicate interactivity */
}

/* ==========================================================================
   Solutions Section (Modern Minimalist)
   ========================================================================== */
.services-section {
    min-height: 100vh;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    /* Deep gradient matching the Values section */
    background: linear-gradient(to bottom, #111111 0%, transparent 10%, transparent 90%, #111111 100%),
                radial-gradient(circle at 0% 100%, #252826 0%, #171818 40%, #111111 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ambient glows */
.services-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(42, 155, 94, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(174, 230, 157, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 0 20px;
    width: 100%;
}

.svc-modern-item {
    text-align: center;
    padding: 0 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Vertical Separators - Adjusted for RTL balance */
.svc-modern-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(42, 155, 94, 0.4), transparent);
}

.svc-modern-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 3.5rem; /* Ensures all titles start description at same level */
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-modern-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 400;
}

@media screen and (max-width: 1024px) {
    .services-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    .svc-modern-item:nth-child(even)::after {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .services-section {
        padding: 80px 0;
    }
    .services-modern-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .svc-modern-item {
        width: 100%;
        padding: 0 20px;
    }
    .svc-modern-item::after {
        display: none !important;
    }
    .svc-modern-item:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 1px;
        background: rgba(42, 155, 94, 0.3);
    }
    .svc-modern-title {
        min-height: auto;
    }
}

/* Extra scroll-reveal delays */
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.55s; }

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    /* Smooth top blending to transition from previous sections */
    background: linear-gradient(to bottom, #111111 0%, transparent 10%),
                radial-gradient(circle at 50% 0%, #1a201c 0%, #111414 50%, #0d0d0d 100%);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -5%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 155, 94, 0.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Outer glass container for the entire contact block */
.contact-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 28px;
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 1;
    /* Subtle green glow on top edge */
    box-shadow: 0 0 0 1px rgba(42, 155, 94, 0.06) inset,
                0 40px 80px rgba(0, 0, 0, 0.35);
}

/* Two-column layout inside the card */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Info column */
.contact-tagline {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-light);
    line-height: 1.5;
    margin-bottom: 45px;
    opacity: 0.9;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ci-icon {
    width: 46px;
    height: 46px;
    background: rgba(42, 155, 94, 0.1);
    border: 1px solid rgba(42, 155, 94, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .ci-icon {
    background: rgba(42, 155, 94, 0.18);
    transform: scale(1.08);
}

.ci-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ci-label {
    font-size: 0.78rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.ci-value {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

/* Google Map Card */
.map-container {
    margin-top: 30px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(42, 155, 94, 0.15);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 16px 16px 0 0;
    filter: saturate(0.7) brightness(0.9);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: saturate(0.9) brightness(1);
}

.map-open-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: rgba(42, 155, 94, 0.08);
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 16px;
    text-decoration: none;
    border-top: 1px solid rgba(42, 155, 94, 0.12);
    transition: background 0.25s ease, color 0.25s ease;
    letter-spacing: 0.3px;
}

.map-open-link:hover {
    background: rgba(42, 155, 94, 0.15);
    color: var(--color-light);
}

/* ==========================================================================
   Contact Tabs System
   ========================================================================== */
.contact-forms-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
}

.contact-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 14px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--color-light);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(42, 155, 94, 0.3);
}

.tab-pane {
    display: none;
    animation: tabFadeIn 0.4s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-header {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.pane-header h3 {
    font-size: 1.4rem;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.pane-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.radio-group {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.radio-card {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rc-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.rc-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.radio-card input:checked + .rc-content {
    background: rgba(42, 155, 94, 0.1);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(42, 155, 94, 0.15);
}

.radio-card input:checked + .rc-content .rc-label {
    color: var(--color-primary);
}

.radio-card:hover .rc-content {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.file-upload-label:hover {
    border-color: var(--color-primary);
    background: rgba(42, 155, 94, 0.04);
    color: var(--color-light);
}

.extra-details-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.extra-details-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-secondary);
}

.extra-details-toggle i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.extra-details-toggle.active i {
    transform: rotate(45deg);
    color: #ff4d4d;
}

.extra-details-content {
    display: none;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Increased from 8px for better breathing room */
}

.form-group label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7); /* Slightly brighter for readability */
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px; /* Extra small margin just in case gap isn't enough */
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--color-light);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
    resize: none;
    min-height: 52px; /* Ensure consistent height across all input types */
    box-sizing: border-box;
}

/* Specific fix for date inputs to match height */
.form-group input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    min-height: 52px;
    height: 52px; /* Force height */
}

@media screen and (max-width: 768px) {
    .form-group input[type="date"] {
        min-height: 48px;
        height: 48px;
    }
}

/* Specific spacing for extra details to prevent clumping */
.extra-details-content .form-group {
    margin-bottom: 10px;
}

.extra-details-content .form-row {
    gap: 25px; /* More space between horizontal pairs */
}

/* Hide native selects — replaced by custom dropdowns via JS */
.form-group select,
.modal-form select {
    display: none !important;
}

/* ==========================================================================
   Custom Dropdown
   ========================================================================== */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: border-color 0.3s ease, background 0.3s ease;
    text-align: right;
    user-select: none;
    box-sizing: border-box;
    min-height: 52px; /* Match standard inputs */
}

.custom-select-trigger.has-value {
    color: var(--color-light);
}

.custom-select-trigger .cs-arrow {
    width: 8px;
    height: 8px;
    border-left: 2px solid rgba(255,255,255,0.35);
    border-bottom: 2px solid rgba(255,255,255,0.35);
    transform: rotate(-45deg) translateY(-2px);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.custom-select-wrapper.open .custom-select-trigger .cs-arrow {
    transform: rotate(135deg) translateY(-2px);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: rgba(42, 155, 94, 0.5);
    background: rgba(42, 155, 94, 0.04);
}

.custom-select-options {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #1b201c;
    border: 1px solid rgba(42, 155, 94, 0.2);
    border-radius: 12px;
    overflow: hidden;
    z-index: 500;
    max-height: 230px;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.custom-select-options::-webkit-scrollbar { width: 4px; }
.custom-select-options::-webkit-scrollbar-track { background: transparent; }
.custom-select-options::-webkit-scrollbar-thumb { background: rgba(42,155,94,0.3); border-radius: 10px; }

.custom-select-wrapper.open .custom-select-options {
    display: block;
    animation: csSlideIn 0.18s ease;
}

@keyframes csSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.custom-select-options li {
    padding: 11px 18px;
    cursor: pointer;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.15s, color 0.15s;
    text-align: right;
}

.custom-select-options li:hover {
    background: rgba(42, 155, 94, 0.12);
    color: var(--color-secondary);
}

.custom-select-options li.cs-selected {
    background: rgba(42, 155, 94, 0.12);
    color: var(--color-secondary);
    font-weight: 600;
}

/* field-error on wrapper trigger */
.custom-select-wrapper.field-error .custom-select-trigger {
    border-color: rgba(220, 70, 70, 0.55) !important;
    background: rgba(220, 70, 70, 0.04) !important;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;           /* Left side of screen */
    z-index: 8000;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55),
                0 4px 12px rgba(0, 0, 0, 0.3);
    animation: none;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37,211,102,0.4); }
    50%       { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37,211,102,0); }
}

/* Tooltip */
.wa-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a1e1b;
    color: #fff;
    font-size: 0.8rem;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    font-family: inherit;
}

.wa-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #1a1e1b;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* Submit button */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-primary);
    color: var(--color-light);
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.35s ease;
    align-self: flex-start;
    margin-top: 6px;
}

.contact-btn:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    box-shadow: 0 10px 30px rgba(42, 155, 94, 0.3);
    transform: translateY(-2px);
}

.contact-btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Required asterisk */
.req {
    color: var(--color-primary);
    margin-right: 2px;
}

/* Field hint text */
.field-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
    display: block;
}

/* Zoom notice badge */
.zoom-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(42, 155, 94, 0.08);
    border: 1px solid rgba(42, 155, 94, 0.2);
    border-radius: 50px;
    padding: 10px 22px;
    margin-top: 20px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    color: var(--color-secondary);
}

.zoom-notice strong {
    color: var(--color-secondary);
}

.zoom-notice svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Date validation error */
.date-error {
    background: rgba(220, 50, 50, 0.1);
    border: 1px solid rgba(220, 50, 50, 0.25);
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.88rem;
    color: #ff8080;
    margin-top: -5px;
}

/* Custom Select Option Red for Booked Slots */
#bf-time option:disabled {
    color: #ff4d4d !important;
    background-color: rgba(255, 77, 77, 0.1);
    font-weight: bold;
}

/* For Custom Select UI (if exists) */
.cs-disabled {
    color: #ff4d4d !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    background-color: rgba(255, 77, 77, 0.05);
}

.teams-success-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(70, 78, 184, 0.1);
    color: #464EB8;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 15px;
    border: 1px solid rgba(70, 78, 184, 0.2);
}

.success-message-v2 {
    text-align: center;
    padding: 40px 20px;
}

.sm-icon {
    width: 80px;
    height: 80px;
    background: rgba(42, 155, 94, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Inline per-field error message */
/* --- Custom Wahaj Alert Modal --- */
#alert-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#alert-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

#alert-modal .confirm-modal {
    background: #111413;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

#alert-modal.active .confirm-modal {
    transform: scale(1);
}

#alert-modal .modal-icon {
    font-size: 4.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

#alert-modal h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 800;
}

#alert-modal p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1rem;
}

#alert-modal .btn-modal-confirm {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(42, 155, 94, 0.2);
}

#alert-modal .btn-modal-confirm:hover {
    background: #238550;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(42, 155, 94, 0.3);
}

/* Success/Error/Warning icon colors */
#alert-modal.error .modal-icon { color: #ff4d4d; }
#alert-modal.success .modal-icon { color: #2ecc71; }
#alert-modal.warning .modal-icon { color: #f1c40f; }
#alert-modal.info .modal-icon { color: var(--color-primary); }

.inline-error {
    display: none;
    font-size: 0.78rem;
    color: #ff7070;
    margin-top: 5px;
    padding-right: 4px;
    animation: errorShake 0.3s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-5px); }
    75%       { transform: translateX(5px); }
}

/* Input/select/textarea border turns red when invalid */
.field-error {
    border-color: rgba(220, 70, 70, 0.55) !important;
    background: rgba(220, 70, 70, 0.04) !important;
    box-shadow: 0 0 0 2px rgba(220, 70, 70, 0.1);
}

/* Date input color fix for dark theme */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.4);
    cursor: pointer;
}

/* ==========================================================================
   Jobs Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #1a1e1b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 44px;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(42, 155, 94, 0.06) inset;
    transform: translateY(30px);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.open .modal-box {
    transform: translateY(0);
}

/* Custom scrollbar inside modal */
.modal-box::-webkit-scrollbar { width: 5px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(42,155,94,0.25); border-radius: 10px; }

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 16px;
}

.modal-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--color-light);
    margin-bottom: 5px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
}

.modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(220, 60, 60, 0.15);
    border-color: rgba(220, 60, 60, 0.3);
    color: #ff7070;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Radio button group */
.radio-group {
    display: flex;
    gap: 12px;
    padding-top: 4px;
}

.radio-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 16px;
    transition: all 0.25s ease;
    flex: 1;
    justify-content: center;
}

.radio-btn:has(input:checked) {
    background: rgba(42, 155, 94, 0.12);
    border-color: rgba(42, 155, 94, 0.4);
    color: var(--color-secondary);
}

.radio-btn input[type="radio"] {
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
}

/* File upload styled label */
.file-upload-label {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.file-upload-label:hover {
    border-color: rgba(42, 155, 94, 0.4);
    background: rgba(42, 155, 94, 0.05);
    color: var(--color-secondary);
}

.file-upload-label.has-file {
    border-color: rgba(42, 155, 94, 0.4);
    color: var(--color-secondary);
    border-style: solid;
}

/* Optional badge */
.optional-badge {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px 9px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    margin-right: 6px;
    vertical-align: middle;
}

/* Impact Quote Style */
.impact-quote {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.3;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .impact-quote {
        font-size: 1.4rem;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .impact-quote {
        font-size: 1.1rem;
        white-space: nowrap;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   Simple Footer
   ========================================================================== */
.simple-footer {
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent 0%, #111111 20%),
                radial-gradient(circle at 50% 0%, #1a201c 0%, #111414 50%, #0d0d0d 100%);
    z-index: 10;
}

.simple-footer::before {
    content: '';
    position: absolute;
    top: -20%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 155, 94, 0.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.simple-footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Hidden menu toggle by default */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 32px;
    height: 3px;
    background-color: var(--color-light);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

.menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media screen and (max-width: 1024px) {
    /* Header & Mobile Menu */
    .menu-toggle {
        display: flex; /* Show hamburger */
        margin-right: auto; /* Push heavily to the left corner */
    }

    /* Reset absolute centering of navbar for mobile */
    .navbar {
        position: static;
        left: auto;
        transform: none;
    }

    .navbar .nav-links {
        position: fixed;
        inset: 0;                      /* Cover entire screen */
        width: 100%;
        height: 100vh;
        background: rgba(10, 13, 11, 0.82); /* Semi-transparent dark */
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column;
        justify-content: center;       /* Vertically centered */
        align-items: center;           /* Horizontally centered */
        padding-top: 0;
        gap: 40px;
        opacity: 0;
        pointer-events: none;
        transform: scale(1.04);
        transition: opacity 0.35s ease, transform 0.35s ease;
        z-index: 1000;
        left: 0;
        top: 0;
    }

    .navbar .nav-links li a {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }

    .navbar .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: scale(1);
    }

    /* About Section Tablets */
    .modern-split {
        flex-direction: column; /* Stack vertically on tablet */
        gap: 60px;
    }
    
    .modern-text-col {
        flex: auto;
        width: 100%;
        align-items: center;
    }
    
    .text-block {
        text-align: center;
        padding-right: 0;
    }
    
    .block-accent {
        position: relative;
        top: auto;
        right: auto;
        width: 60px;
        height: 4px;
        margin-bottom: 20px;
        background: var(--color-primary);
    }
    
    .modern-desc {
        text-align: justify;
    }
    
    /* Stats become a row on tablets for better space usage, if stacked under text */
    .stats-glass-panel {
        flex-direction: row; 
        width: 100%;
        justify-content: space-around;
        padding: 40px 20px;
        gap: 20px;
    }
    
    .modern-stat {
        border-bottom: none;
        border-left: 1px solid rgba(255,255,255,0.05); /* Separator */
        padding-bottom: 0;
        padding-left: 20px;
        align-items: center;
        flex: 1;
    }
    
    .modern-stat:last-child {
        border-left: none;
        padding-left: 0;
    }

    /* Services Tablet */
    .services-minimal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-card {
        padding: 40px;
        margin: 0 20px;
    }
    
    .contact-wrapper {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    /* Header Container Padding */
    .header-container { padding: 0 20px; }

    /* Hero Section */
    .hero-content h2 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .scroll-indicator { display: none; } /* Remove scroll mouse on mobile */
    .hero-buttons { 
        flex-direction: column; 
        width: 100%;
    }
    .hero-buttons a { 
        width: 100%; 
        text-align: center;
    }

    /* About Section Mobile */
    .modern-split {
        display: flex;
        flex-direction: column;
    }
    
    /* Make stats appear ABOVE vision/mission text on mobile */
    .modern-stats-col { order: 1; margin-bottom: -20px; }
    .modern-text-col  { order: 2; }
    
    .modern-title { font-size: 2.2rem; }
    
    /* Stats horizontal layout on mobile */
    .stats-glass-panel {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
        padding: 20px 10px;
    }
    
    .modern-stat {
        border-left: 1px solid rgba(255,255,255,0.05); /* Restore separator for horizontal */
        padding-left: 10px;
        border-bottom: none; /* No vertical stacking */
        padding-bottom: 0;
        align-items: center;
        flex: 1 1 0; /* Forces all cards to be exactly equal in width */
        text-align: center;
        min-width: 0; /* Prevents overflow pushing the flex items */
    }
    
    .modern-stat:last-child {
        border-left: none;
        padding-left: 0;
    }
    
    /* Fit fonts so horizontal layout works on phone screens */
    .m-number { 
        font-size: 1.4rem; 
        margin-bottom: 5px; 
    }
    .m-label { 
        font-size: 0.8rem; /* Slightly smaller to guarantee fit */
        white-space: nowrap; /* Forces text to stay on one line */
    }

    /* Portfolio Mobile */
    .section-title { font-size: 2.8rem; }
    .portfolio-card { 
        width: 220px;  /* Slightly wider to allow text to fit */
        height: 300px; 
        border-radius: 12px;
    }
    .portfolio-card .p-content { 
        padding: 40px 15px 15px; /* Squeeze padding so text fits */
        transform: translateY(0); /* Always show on mobile (no hover needed) */
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.9) 60%, transparent 100%);
    }
    .p-title { 
        font-size: 1rem; 
        margin-bottom: 5px; 
        line-height: 1.2;
    }
    .p-client { 
        font-size: 0.65rem; 
        margin-bottom: 3px; 
    }
    .p-desc { 
        font-size: 0.75rem; 
        margin-top: 5px; 
        opacity: 1; /* Always visible on mobile */
        max-height: 200px; /* Remove height restriction */
        line-height: 1.4;
    }

    /* Services Stacked Boxes Mobile */
    .services-stack-wrapper {
        padding: 0 20px;
    }
    .svc-box {
        padding: 28px 25px;
        gap: 18px;
        margin-top: -18px; /* Less overlap on mobile */
        border-radius: 14px;
    }
    .svc-number {
        font-size: 2rem;
        min-width: 40px;
    }
    .svc-text h3 {
        font-size: 1.1rem;
    }
    .svc-text p {
        font-size: 0.85rem;
    }
    .services-section {
        padding: 80px 0 100px;
    }

    /* Uniqueness Mobile */
    .uniqueness-section {
        min-height: auto;
        padding: 80px 0;
    }
    .uniqueness-section .section-subtitle {
        font-size: 1rem;
        padding: 0 25px;
        margin-top: 15px;
    }
    .uniqueness-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets/mobile */
        gap: 15px;
        padding: 0 20px;
        margin-top: 40px;
    }
    
    @media (max-width: 480px) {
        .uniqueness-grid {
            grid-template-columns: 1fr; /* 1 column on very small phones */
        }
        .uniqueness-card {
            min-height: auto;
        }
    }

    .uniqueness-card {
        padding: 30px 20px;
        aspect-ratio: auto; /* Remove perfect square to avoid content overflow */
        min-height: 240px;
        border-radius: 12px;
    }
    .u-icon-wrap {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    .u-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    .u-desc {
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 100%;
    }

    /* Contact Mobile */
    .contact-card {
        padding: 25px 15px;
        border-radius: 18px;
        margin: 0 10px;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    /* Form appears FIRST on mobile */
    .contact-forms-container {
        order: -1;
        padding: 15px 10px;
    }
    .contact-info {
        order: 1;
    }
    .contact-tabs {
        display: flex;
        justify-content: center !important;
        gap: 8px;
        margin-bottom: 25px;
        padding: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .contact-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }
    .tab-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex: 0 0 auto;
    }
    .custom-select-options {
        max-height: 200px;
    }
    .pane-header {
        text-align: center;
        margin-bottom: 25px;
    }
    .pane-header h3 {
        font-size: 1.2rem;
    }
    .pane-header p {
        font-size: 0.8rem;
    }
    .form-row {
        grid-template-columns: 1fr; /* Stack all pairs vertically */
        gap: 15px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea,
    .custom-select-trigger {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    .form-group label {
        font-size: 0.82rem;
    }
    .radio-group {
        gap: 15px;
        flex-wrap: wrap;
    }
    .file-upload-label {
        padding: 15px;
        font-size: 0.85rem;
    }
    .contact-tagline {
        font-size: 1.1rem;
        margin-bottom: 25px;
        text-align: center;
    }
    .contact-items {
        gap: 20px;
    }
    .contact-item {
        background: rgba(255, 255, 255, 0.02);
        padding: 12px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.04);
    }
    .ci-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .ci-value {
        font-size: 0.9rem;
        word-break: break-word;
    }
    .map-container {
        margin-top: 25px;
        height: 250px;
    }
    .map-container iframe {
        height: 200px;
    }
    .contact-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
        justify-content: center;
    }
    .contact-section {
        padding: 60px 0 80px;
    }
    .zoom-notice {
        font-size: 0.78rem;
        padding: 8px 14px;
        border-radius: 30px;
        text-align: right;
    }
}

/* ==========================================================================
   Flatpickr & Booking Enhancements
   ========================================================================== */
.flatpickr-calendar {
    background: #0a1f14 !important; /* Deep Dark Green background for the whole calendar */
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
    font-family: 'Almarai', sans-serif !important;
    color: #ffffff !important;
}

.flatpickr-months {
    background: var(--color-primary) !important; /* Brand Green for the header */
    border-radius: 4px 4px 0 0;
}

.flatpickr-month {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    fill: #ffffff !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: #ffffff !important;
    background: var(--color-primary) !important;
}

.flatpickr-weekdays {
    background: var(--color-primary) !important; /* Brand Green for weekdays header */
}

.flatpickr-weekday {
    color: #ffffff !important; /* White text for weekdays */
    background: var(--color-primary) !important;
    font-weight: bold !important;
}

.flatpickr-innerContainer {
    background: #0a1f14 !important; /* Deep Dark Green for the dates container */
}

.flatpickr-days {
    background: #0a1f14 !important;
}

.flatpickr-day {
    color: #ffffff !important;
    border-radius: 8px !important;
    background: transparent !important;
}

.flatpickr-day:hover {
    background: rgba(42, 155, 94, 0.3) !important;
}

.flatpickr-day.today {
    border-color: var(--color-secondary) !important;
    color: var(--color-secondary) !important;
    font-weight: bold !important;
}

.flatpickr-day.selected {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

.flatpickr-day.disabled, 
.flatpickr-day.disabled:hover {
    color: rgba(255, 255, 255, 0.15) !important;
    background: transparent !important;
}

.flatpickr-prev-month, .flatpickr-next-month {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.flatpickr-prev-month svg, 
.flatpickr-next-month svg {
    fill: #ffffff !important;
}

/* Custom Dropdown Disabled State (Booked Slots) */
.custom-select-options li.cs-disabled {
    color: #8b0000 !important; /* Dark Red */
    background: rgba(139, 0, 0, 0.05) !important;
    cursor: not-allowed !important;
    font-weight: bold;
    pointer-events: none; /* Prevent clicking */
}

.custom-select-options li.cs-disabled:hover {
    background: rgba(139, 0, 0, 0.08) !important;
}

/* Native select disabled option fallback */
#bf-time option:disabled {
    color: #8b0000 !important;
    background-color: rgba(139, 0, 0, 0.1) !important;
    font-weight: bold;
}

#bf-time option {
    background-color: #151616;
    color: #fff;
}

/* Form hint styling */
.field-hint {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    margin-bottom: 10px;
}

#date-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}
