/* ========================================
   PREMIUM LOADER ANIMATION STYLES
========================================= */

/* Loader Wrapper - Full Screen Overlay */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00204a 0%, #002a5c 50%, #00356e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Loader Content Container */
.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    animation: loaderFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animated Logo Container */
.loader-logo {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoFloat 3s ease-in-out infinite;
}

.loader-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(250, 207, 57, 0.5));
    animation: logoPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Rotating Rings Around Logo */
.loader-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 3px solid transparent;
    border-top-color: #facf39;
    border-right-color: #facf39;
    border-radius: 50%;
    animation: ringRotate 1.5s linear infinite;
    box-shadow: 0 0 20px rgba(250, 207, 57, 0.3);
}

.loader-ring-2 {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px solid transparent;
    border-bottom-color: #f9d96a;
    border-left-color: #f9d96a;
    border-radius: 50%;
    animation: ringRotateReverse 2s linear infinite;
    box-shadow: 0 0 15px rgba(250, 207, 57, 0.2);
}

/* Loading Text */
.loader-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: textFadeIn 1s ease-out 0.3s backwards;
}

.loader-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #facf39 50%, #f9c307 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    margin: 0;
    animation: titleShine 3s ease-in-out infinite;
}

.loader-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    margin: 0;
    animation: subtitleFade 2s ease-in-out infinite;
}

/* Progress Bar Container */
.loader-progress {
    width: 280px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: progressFadeIn 1s ease-out 0.5s backwards;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #facf39 0%, #f9d96a 50%, #facf39 100%);
    background-size: 200% 100%;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(250, 207, 57, 0.6),
        0 0 30px rgba(250, 207, 57, 0.3);
    animation: progressBarFill 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards,
        progressBarShine 1.5s linear infinite;
    transition: width 0.3s ease-out;
}

/* Percentage Display */
.loader-percentage {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #facf39;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(250, 207, 57, 0.4);
    animation: percentageFadeIn 1s ease-out 0.7s backwards;
    min-height: 2rem;
}

/* ========================================
   LOADER ANIMATIONS
========================================= */

@keyframes loaderFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

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

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 40px rgba(250, 207, 57, 0.5));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 15px 50px rgba(250, 207, 57, 0.7));
    }
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ringRotateReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleShine {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes subtitleFade {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

@keyframes progressFadeIn {
    from {
        opacity: 0;
        transform: scaleX(0.8);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes progressBarFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

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

    100% {
        background-position: 200% 50%;
    }
}

@keyframes percentageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .loader-logo {
        width: 140px;
        height: 140px;
    }

    .loader-logo-img {
        width: 90px;
        height: 90px;
    }

    .loader-ring {
        width: 130px;
        height: 130px;
    }

    .loader-ring-2 {
        width: 110px;
        height: 110px;
    }

    .loader-progress {
        width: 240px;
    }
}

@media (max-width: 480px) {
    .loader-logo {
        width: 120px;
        height: 120px;
    }

    .loader-logo-img {
        width: 75px;
        height: 75px;
    }

    .loader-ring {
        width: 110px;
        height: 110px;
    }

    .loader-ring-2 {
        width: 95px;
        height: 95px;
    }

    .loader-progress {
        width: 200px;
    }

    .loader-content {
        gap: 2rem;
    }
}

/* ========================================
   END LOADER ANIMATION STYLES
========================================= */

/* Ultra-Professional CSS Framework */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color System */
    --primary-dark-blue: #00204a;
    --secondary-dark-blue: #002a5c;
    --tertiary-dark-blue: #00356e;
    --accent-gold: #facf39;
    --accent-gold-light: #f9d96a;
    --accent-gold-dark: #f9c307;
    --accent-orange: #ff6b35;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Professional Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-dark-blue) 50%, var(--tertiary-dark-blue) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 32, 74, 0.95) 0%, rgba(0, 42, 92, 0.90) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    --gradient-testimonial: linear-gradient(145deg, rgba(0, 53, 110, 0.8) 0%, rgba(0, 42, 92, 0.9) 100%);

    /* Premium Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 10px 40px rgba(250, 207, 57, 0.3);
    --shadow-testimonial: 0 15px 35px rgba(0, 32, 74, 0.4);

    /* Typography Scale */
    --text-xs: clamp(0.75rem, 1vw, 0.875rem);
    --text-sm: clamp(0.875rem, 1.2vw, 1rem);
    --text-base: clamp(1rem, 1.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 2vw, 1.25rem);
    --text-xl: clamp(1.25rem, 2.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 3vw, 2rem);
    --text-3xl: clamp(2rem, 4vw, 2.5rem);
    --text-4xl: clamp(2.5rem, 5vw, 3.5rem);
    --text-5xl: clamp(3.5rem, 6vw, 4.5rem);
    --text-6xl: clamp(4.5rem, 8vw, 6rem);

    /* Spacing System */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    overscroll-behavior: none;
    /* Prevent pull-to-refresh and bounce */
}

body {
    font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--white);
    background: var(--primary-dark-blue);
    overflow-x: hidden;
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight on mobile */
    overscroll-behavior-y: contain;
    /* Prevent scroll chaining */
}

/* Container System */
.container {
    max-width: 1200px;
    /* Adjusted for more white space */
    margin: 0 auto;
    padding: 0 var(--space-8);
    /* Increased padding for more white space */
}

.container-narrow {
    max-width: 1000px;
    /* Adjusted for more white space */
    margin: 0 auto;
    padding: 0 var(--space-8);
    /* Increased padding for more white space */
}

/* Premium Typography */
.display-1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    /* Adjusted for better spacing */
    letter-spacing: -0.02em;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--accent-gold);
}

.display-2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--accent-gold);
}

.heading-1 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--accent-gold);
}

.heading-2 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 500;
    line-height: 1.3;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--accent-gold);
}

.heading-3 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.4;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--accent-gold);
}

.text-lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    font-weight: 400;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.text-body {
    font-size: clamp(0.9rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    font-weight: 400;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.text-small {
    font-size: var(--text-sm);
    line-height: 1.5;
    font-weight: 400;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

/* Professional Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    background: rgba(0, 32, 74, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    z-index: 1000;
    padding: 18px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(250, 207, 57, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: navSlideDown 0.8s ease-out 0.3s both;
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.navbar-scrolled {
    top: 10px;
    padding: 14px 30px;
    background: rgba(0, 32, 74, 0.85);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(250, 207, 57, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar-left-content {
    position: absolute;
    left: 30px;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-logo {
    height: 45px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 6px rgba(250, 207, 57, 0.2));
    cursor: pointer;
}

.navbar-logo:hover {
    transform: scale(1.08) rotate(5deg);
    filter: drop-shadow(0 3px 10px rgba(250, 207, 57, 0.35));
}

.navbar-scrolled .navbar-logo {
    height: 38px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(250, 207, 57, 0.25),
            rgba(250, 207, 57, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 4px rgba(250, 207, 57, 0.4);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(250, 207, 57, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a:active {
    transform: translateY(-1px);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    position: absolute;
    right: 30px;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    box-shadow: 0 2px 5px rgba(250, 207, 57, 0.3);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        width: 90%;
        padding: 15px 20px;
    }

    .navbar-left-content {
        position: static;
        left: auto;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 90%;
        max-width: 450px;
        max-height: 70vh;
        /* Prevent overflow on small screens */
        overflow-y: auto;
        /* Allow scrolling if needed */
        background: rgba(0, 32, 74, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        gap: 6px;
        padding: 20px 12px;
        border-radius: 20px;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5),
            0 5px 15px rgba(250, 207, 57, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 999;
        margin: 0;
        list-style: none;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateX(-50%) translateY(0);
    }

    .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.4;
        white-space: normal;
        /* Allow text wrapping on small screens */
        border-radius: 12px;
        margin: 0;
        transition: all 0.3s ease;
        color: rgba(255, 255, 255, 0.95);
    }

    .nav-links a:hover {
        transform: scale(1.05);
        background: rgba(250, 207, 57, 0.15);
        color: var(--accent-gold);
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-scrolled .navbar-logo {
        height: 35px;
    }
}

/* Extra Small Devices - iPhone SE, iPhone 5/5s, etc. (≤375px) */
@media (max-width: 375px) {
    .nav-links {
        width: 92%;
        max-width: 340px;
        top: 70px;
        padding: 15px 10px;
        gap: 4px;
        max-height: 75vh;
    }

    .nav-links a {
        padding: 12px 15px;
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .navbar-logo {
        height: 35px;
    }

    .hamburger {
        width: 28px;
        height: 22px;
    }

    .hamburger span {
        height: 2.5px;
    }
}

/* Ultra Small Devices - iPhone SE 1st Gen (≤320px) */
@media (max-width: 320px) {
    .nav-links {
        width: 94%;
        max-width: 300px;
        top: 65px;
        padding: 12px 8px;
        gap: 3px;
    }

    .nav-links a {
        padding: 10px 12px;
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .navbar {
        padding: 12px 15px;
    }

    .navbar-logo {
        height: 32px;
    }
}

/* Hero Section - Ultra Premium */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    /* Space for fixed navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(250, 207, 57, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(250, 207, 57, 0.08) 0%, transparent 50%);
    animation: heroBackground 15s ease-in-out infinite alternate;
}

@keyframes heroBackground {
    0% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: scale(1.05) rotate(0.5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    /* Adjusted for more white space */
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-4);
    /* Added padding for white space */
}

/* Enhanced Logo Section (removed from hero, now in navbar) */
.hero-logo {
    display: none;
    /* Hide hero logo */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-6);
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.2), rgba(250, 207, 57, 0.1));
    border: 2px solid rgba(250, 207, 57, 0.4);
    border-radius: 50px;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: var(--space-12);
    backdrop-filter: blur(20px) saturate(180%);
    animation: fadeInUp 1s ease-out 0.2s both, pulse 3s ease-in-out 2s infinite;
    box-shadow: 0 8px 32px rgba(250, 207, 57, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-title {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-12);
    /* Increased spacing below title */
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.1;
    /* Adjusted for better spacing */
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    /* Slightly bigger */
}

.hero-subtitle {
    color: var(--gray-300);
    margin-bottom: var(--space-12);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-10);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-dark-blue);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(250, 207, 57, 0.4),
        0 5px 15px rgba(250, 207, 57, 0.2);
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(250, 207, 57, 0.5),
        0 8px 20px rgba(250, 207, 57, 0.3);
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:active {
    transform: translateY(-2px) scale(1.01);
    transition: all 0.1s ease;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: var(--text-2xl);
    color: var(--accent-gold);
}

/* Hero VSL Video Styles */
/* Old container hidden */
.hero-video-container {
    display: none;
}

/* Laptop Container Styles */
.laptop-container {
    position: relative;
    width: 120%;
    max-width: 1300px;
    /* Reduced max-width to match scale better */
    margin: 2rem auto;
    display: block;
    direction: ltr;
    /* Ensure ltr for positioning if needed, though mostly visual */
}

.laptop-wrapper {
    position: relative;
    width: 250%;
    /* No padding-top trick here, rely on image natural aspect ratio */
}

.laptop-frame {
    display: block;
    width: 0%;
    height: auto;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

/* Screen positioning - manually calibrated */

/* Arrow Styling - Adjusted for RTL */
.hero-arrow {
    position: absolute;
    top: -15%;
    left: 35px;
    /* Visually left */
    width: 120px;
    transform: rotate(-90deg);
    z-index: 20;
    transform: scale(4.50);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* Mobile adjustments */
@media (max-width: 1100px) {
    .hero-arrow {
        left: -40px;
        width: 80px;
    }
}

@media (max-width: 768px) {
    .laptop-container {
        max-width: 100%;
    }

    .hero-arrow {
        display: none;
    }
}

/* Typography Spacing Fixes */
.hero-title {
    line-height: 1.5 !important;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}



.hero-subtitle {
    margin-bottom: 3.5rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: contain;
    background: #000;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);

    /* Don't cover the bottom controls area */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 3;
}

.hero-video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.hero-play-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-play-button:hover {
    transform: scale(1.15);
}

.hero-play-button:active {
    transform: scale(1.05);
}

.play-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 15px rgba(250, 207, 57, 0.5));
    transition: all 0.3s ease;
}



.play-circle {
    transition: all 0.3s ease;
}

.play-triangle {
    transition: all 0.3s ease;
}

.hero-play-button:hover .play-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 20px rgba(250, 207, 57, 0.7));
}

.hero-pause-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    z-index: 4;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-pause-button:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.hero-pause-button:active {
    transform: translate(-50%, -50%) scale(1.05);
}

.pause-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 15px rgba(250, 207, 57, 0.5));
    transition: all 0.3s ease;
}

.pause-circle {
    transition: all 0.3s ease;
}

.pause-bar {
    transition: all 0.3s ease;
}

.hero-pause-button:hover .pause-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 20px rgba(250, 207, 57, 0.7));
}

/* Section Base Styles */
.section {
    padding: var(--space-32) 0;
    position: relative;
}

.section-dark {
    background: var(--secondary-dark-blue);
}

.section-darker {
    background: var(--tertiary-dark-blue);
}

.section-light {
    background: var(--gray-50);
    color: var(--gray-900);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.15), rgba(250, 207, 57, 0.08));
    border: 1px solid rgba(250, 207, 57, 0.3);
    border-radius: 50px;
    font-size: clamp(0.875rem, 1.2vw, 0.95rem);
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: var(--space-8);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(250, 207, 57, 0.2);
    transition: all 0.3s ease;
}

.section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 207, 57, 0.3);
    border-color: rgba(250, 207, 57, 0.5);
}

.section-title {
    margin-bottom: var(--space-4);
    color: var(--accent-gold);
}

.section-subtitle {
    color: var(--gray-400);
    max-width: 700px;
    margin: 0 auto;
}

/* Enhanced Pain Points Section */
.pain-points {
    background: var(--gradient-primary);
    position: relative;
}

.pain-points::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(250, 207, 57, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    animation: sectionBackground 20s ease-in-out infinite alternate;
}

@keyframes sectionBackground {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.pain-card {
    background: rgba(0, 42, 92, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: var(--space-10);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pain-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 207, 57, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pain-card:hover::after {
    opacity: 1;
}

.pain-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(250, 207, 57, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(250, 207, 57, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(0, 42, 92, 0.6);
}

.pain-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-gold);
}

.pain-card:hover .pain-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--shadow-2xl), var(--shadow-gold);
}

.pain-icon i {
    font-size: var(--text-3xl);
    color: var(--primary-dark-blue);
}

/* Enhanced Value Proposition Section */
.value-prop {
    background: var(--secondary-dark-blue);
    position: relative;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.value-item {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-8);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-xl), 0 15px 40px rgba(250, 207, 57, 0.15);
}

.value-item i {
    font-size: var(--text-4xl);
    color: var(--accent-gold);
    margin-bottom: var(--space-4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Professional Portfolio Carousel Section */
.portfolio-section {
    background: var(--secondary-dark-blue);
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(250, 207, 57, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
    animation: sectionBackground 20s ease-in-out infinite alternate;
}

.portfolio-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: var(--space-16) auto 0;
    padding: 0 70px;
    /* Reduced from 100px - arrows closer to video */
    z-index: 1;
    touch-action: manipulation;
    /* Better touch handling, prevent zoom and auto-scroll */
}

.portfolio-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.portfolio-track {
    display: flex;
    direction: ltr;
    /* Consistent left-to-right slide arrangement */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    touch-action: pan-x;
    /* Allow horizontal swipe only */
    -webkit-user-select: none;
    user-select: none;
    overscroll-behavior-x: contain;
    /* Prevent scroll propagation */
}

.portfolio-slide {
    min-width: 100%;
    position: relative;
    opacity: 0.5;
    transform: scale(0.92);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 42, 92, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 360px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.portfolio-slide.active .portfolio-item {
    border-color: rgba(250, 207, 57, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
        0 6px 20px rgba(250, 207, 57, 0.15);
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    /* 9:16 ratio for Reels (1080x1920) */
    background: linear-gradient(135deg, rgba(0, 32, 74, 0.8), rgba(0, 42, 92, 0.8));
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-container video {
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 50px);
    /* Don't cover the bottom controls area */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 32, 74, 0.7);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.video-overlay i {
    font-size: 70px;
    color: var(--accent-gold);
    filter: drop-shadow(0 4px 15px rgba(250, 207, 57, 0.4));
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.video-overlay:hover {
    background: rgba(0, 32, 74, 0.5);
}

.video-overlay:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 6px 20px rgba(250, 207, 57, 0.6));
}

/* Video Controls Enhancement */
.video-container video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, transparent, rgba(0, 32, 74, 0.9));
}

.video-container video::-webkit-media-controls-play-button,
.video-container video::-webkit-media-controls-current-time-display,
.video-container video::-webkit-media-controls-time-remaining-display {
    color: #ffffff;
    /* White color for better visibility */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Video Zoom Modal */
.video-zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.video-zoom-modal.active {
    display: flex;
}

.video-zoom-container {
    position: relative;
    width: 1080px;
    height: 1920px;
    max-width: 95vw;
    max-height: 90vh;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.video-zoom-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.video-zoom-close:hover {
    background: var(--accent-gold-dark);
    transform: scale(1.1) rotate(90deg);
}

.video-zoom-close i {
    color: var(--navy-dark);
    font-size: 24px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 1080px) {
    .video-zoom-container {
        width: 90vw;
        height: calc(90vw * 1.778);
        /* Maintain 9:16 ratio */
        max-height: 85vh;
    }
}

@media (max-width: 768px) {
    .video-zoom-container {
        width: 95vw;
        height: calc(95vw * 1.778);
        /* Maintain 9:16 ratio */
        max-height: 85vh;
    }

    .video-zoom-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .video-zoom-close i {
        font-size: 20px;
    }
}

/* Portfolio info removed - clean video-only display */

/* Simple Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.carousel-arrow:hover {
    opacity: 1;
    background: var(--accent-gold-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(250, 207, 57, 0.4);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(1);
}

.carousel-arrow i {
    font-size: 22px;
    color: var(--primary-dark-blue);
}

.carousel-arrow-prev {
    right: -20px;
    /* RTL: prev is on the right - closer to video */
}

.carousel-arrow-next {
    left: -20px;
    /* RTL: next is on the left - closer to video */
}

/* Simple Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--space-8);
    padding: var(--space-3) 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(250, 207, 57, 0.6);
}

/* Enhanced Benefits Section */
.benefits {
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(250, 207, 57, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
}

.benefits-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-16);
}

.benefit-item {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-8);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-xl);
}

.benefit-item i {
    font-size: var(--text-4xl);
    color: var(--accent-gold);
    margin-bottom: var(--space-4);
    transition: all 0.4s ease;
}

.benefit-item:hover i {
    transform: scale(1.15) rotate(10deg);
}

/* Premium Audio Testimonials Section - STATIC (No floating animations) */
.audio-testimonials {
    background: var(--secondary-dark-blue);
    position: relative;
    overflow: hidden;
}

.audio-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 53, 110, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(0, 42, 92, 0.2) 0%, transparent 50%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
    position: relative;
    z-index: 1;
}

/* Enhanced Audio Testimonial Card with Glassmorphism */
.testimonial-card {
    background: linear-gradient(145deg, rgba(0, 53, 110, 0.4), rgba(0, 32, 74, 0.6));
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 207, 57, 0.08), transparent);
    transition: left 0.8s ease;
    z-index: 1;
    pointer-events: none;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(250, 207, 57, 0.05),
        inset 0 0 0 1px rgba(250, 207, 57, 0.2);
    border-color: rgba(250, 207, 57, 0.15);
}

/* Audio Player Interface */
.audio-player-interface {
    background: rgba(0, 20, 48, 0.4);
    padding: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.play-button {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(250, 207, 57, 0.3);
    position: relative;
    overflow: visible;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(250, 207, 57, 0.4);
    background: var(--accent-gold-dark);
}

.play-button:active {
    transform: scale(1.05);
}

.play-button i {
    color: var(--primary-dark-blue);
    font-size: var(--text-lg);
    margin-left: 2px;
    /* Adjust for play icon centering */
    transition: all 0.2s ease;
}

.play-button.playing i {
    margin-left: 0;
}

.audio-timeline {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.time-display {
    color: var(--accent-gold);
    font-size: var(--text-sm);
    font-weight: 500;
    min-width: 40px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(50%, -50%);
    top: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.volume-control {
    color: var(--accent-gold);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.volume-control:hover {
    background: rgba(250, 207, 57, 0.1);
}

/* Client Information */
.client-info {
    padding: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(250, 207, 57, 0.3);
}

.client-details h4 {
    color: var(--white);
    font-weight: 600;
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.client-details .client-role {
    color: var(--accent-gold);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* Testimonial Text */
.testimonial-text {
    padding: var(--space-6);
    color: var(--gray-300);
    font-style: italic;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: var(--space-6);
    font-size: 3rem;
    color: var(--accent-gold);
    font-family: serif;
}

/* Enhanced Program Section */
.program {
    background: var(--tertiary-dark-blue);
    position: relative;
}

.program::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(250, 207, 57, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.04) 0%, transparent 50%);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.program-card {
    background: rgba(0, 42, 92, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: var(--space-10);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold), var(--accent-gold-dark));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    box-shadow: 0 0 8px rgba(250, 207, 57, 0.4);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(250, 207, 57, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(250, 207, 57, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(0, 42, 92, 0.6);
}

.program-icon {
    width: 110px;
    height: 110px;
    background: var(--gradient-gold);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-gold);
}

.program-card:hover .program-icon {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: var(--shadow-2xl), var(--shadow-gold);
}

.program-icon i {
    font-size: var(--text-4xl);
    color: var(--primary-dark-blue);
}

/* Enhanced CTA Section */
.urgency-cta {
    background: var(--gradient-gold);
    color: var(--primary-dark-blue);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.urgency-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 32, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 42, 92, 0.08) 0%, transparent 50%);
}

.urgency-cta .section-title,
.urgency-cta .section-subtitle {
    color: var(--primary-dark-blue);
    position: relative;
    z-index: 1;
}

.cta-form {
    max-width: 800px;
    margin: var(--space-16) auto 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: var(--space-16);
    box-shadow: var(--shadow-2xl);
    position: relative;
    z-index: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: var(--space-3);
    color: var(--gray-800);
    font-weight: 500;
    font-size: var(--text-sm);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: var(--text-base);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
    color: var(--gray-900);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(250, 207, 57, 0.1);
    transform: translateY(-2px);
}

.submit-button {
    width: 100%;
    padding: var(--space-6) var(--space-8);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-dark-blue);
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(250, 207, 57, 0.4),
        0 5px 15px rgba(250, 207, 57, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-button:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 40px rgba(250, 207, 57, 0.5),
        0 8px 20px rgba(250, 207, 57, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(-2px) scale(1);
}

.submit-button:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {

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

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

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Intersection Observer Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up-blur {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-up-blur.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.slide-in-left-blur {
    opacity: 0;
    transform: translateX(-60px);
    filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-in-left-blur.visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.slide-in-right-blur {
    opacity: 0;
    transform: translateX(60px);
    filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-in-right-blur.visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Button Micro-Interactions */
.interactive-button {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interactive-button:hover {
    transform: translateY(-2px);
}

.interactive-button:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Icon Animations */
.animated-icon {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animated-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--space-6);
        /* Adjusted for smaller screens */
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .portfolio-carousel-wrapper {
        padding: 0 60px;
    }

    .carousel-arrow {
        width: 60px;
        height: 60px;
    }

    .carousel-arrow i {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-20) 0;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .pain-grid,
    .value-grid,
    .benefits-list,
    .testimonials-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-carousel-wrapper {
        padding: 0 30px;
        /* Arrows closer to video on tablet */
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }

    .carousel-arrow i {
        font-size: 18px;
    }

    .video-overlay i {
        font-size: 55px;
    }

    .portfolio-item {
        max-width: 320px;
    }

    .video-container {
        padding-top: 177.77%;
        /* 9:16 Reels ratio on mobile */
    }

    .carousel-dots {
        gap: 10px;
        margin-top: var(--space-6);
    }

    .carousel-dot {
        width: 9px;
        height: 9px;
    }

    /* Portfolio info removed */

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .cta-form {
        padding: var(--space-8);
        margin: var(--space-12) auto 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Hamburger menu styles applied from earlier media query */

    .display-1 {
        font-size: var(--text-5xl);
    }

    .heading-1 {
        font-size: 2.25rem !important;
        /* Bigger section headings on tablet */
    }

    .section-title {
        font-size: 2.25rem !important;
        /* Bigger titles on tablet */
    }

    .section-subtitle {
        font-size: 1.15rem !important;
        /* Bigger subtitles on tablet */
    }

    .heading-2 {
        font-size: 2rem !important;
        /* Bigger h2 headings on tablet */
    }

    .heading-3 {
        font-size: 1.75rem !important;
        /* Bigger h3 headings on tablet */
    }

    .text-lead {
        font-size: 1.15rem !important;
        /* Bigger lead text on tablet */
    }

    .hero-title {
        font-size: 3rem !important;
        /* Bigger hero title on tablet */
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1.25rem !important;
        /* Bigger hero subtitle on tablet */
    }

    .hero-content {
        padding: 0 var(--space-2);
    }

    .hero-video-container {
        max-width: 700px;
        margin: var(--space-6) auto;
    }

    .play-icon,
    .pause-icon {
        width: 100px;
        height: 100px;
    }

    .cta-primary {
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-base);
    }

    .client-info {
        flex-direction: column;
        text-align: center;
    }

    .audio-controls {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }

    .audio-timeline {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem !important;
        /* Bigger titles on mobile */
    }

    .section-subtitle {
        font-size: 1.1rem !important;
        /* Bigger subtitles on mobile */
    }

    .text-lead {
        font-size: 1.1rem !important;
        /* Bigger lead text on mobile */
    }

    .hero-title {
        font-size: 2.5rem !important;
        /* Much bigger hero title on mobile */
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1.15rem !important;
    }

    .hero-video-container {
        max-width: 100%;
        margin: var(--space-4) auto;
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .play-icon,
    .pause-icon {
        width: 90px;
        height: 90px;
    }

    .heading-1 {
        font-size: 2rem !important;
        /* Bigger section headings on mobile */
    }

    .heading-2 {
        font-size: 1.75rem !important;
        /* Bigger h2 headings on mobile */
    }

    .heading-3 {
        font-size: 1.5rem !important;
        /* Bigger h3 headings on mobile */
    }

    .portfolio-carousel-wrapper {
        padding: 0 20px;
        /* Arrows much closer on mobile */
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
    }

    .carousel-arrow i {
        font-size: 15px;
    }

    .portfolio-item {
        max-width: 280px;
    }

    .video-container {
        padding-top: 177.77%;
        /* 9:16 Reels ratio on small mobile */
    }

    .video-overlay i {
        font-size: 45px;
    }

    /* Portfolio info removed */

    .carousel-dots {
        gap: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/* FAQ Section Styles */
.faq {
    background: var(--secondary-dark-blue);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: var(--space-6);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item:hover {
    border-color: rgba(250, 207, 57, 0.3);
    box-shadow: var(--shadow-xl), 0 15px 40px rgba(250, 207, 57, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-8);
    text-align: right;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(250, 207, 57, 0.05);
}

.faq-question i {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    font-size: var(--text-xl);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 var(--space-8);
    color: var(--gray-300);
    line-height: 1.7;
    font-size: var(--text-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: var(--space-6) var(--space-8);
}

.faq-answer p {
    margin: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mt-12 {
    margin-top: var(--space-12);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.overflow-hidden {
    overflow: hidden;
}

.flex {
    display: flex;
}

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

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: var(--space-4);
}

/* Loading States */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

/* Audio Wave Animation */
@keyframes audioWave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.5);
    }
}

.audio-wave {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.audio-wave span {
    width: 3px;
    height: 12px;
    background: var(--accent-gold);
    border-radius: 1px;
    animation: audioWave 1.2s ease-in-out infinite;
}

.audio-wave span:nth-child(2) {
    animation-delay: 0.1s;
}

.audio-wave span:nth-child(3) {
    animation-delay: 0.2s;
}

.audio-wave span:nth-child(4) {
    animation-delay: 0.3s;
}

.audio-wave span:nth-child(5) {
    animation-delay: 0.4s;
}

/* Professional Loading Screen with Centered Logo */
.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #00204a 0%, #002a5c 50%, #00356e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 40px;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 20px rgba(250, 207, 57, 0.3));
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 5px 20px rgba(250, 207, 57, 0.3));
    }

    50% {
        transform: translateY(-20px) scale(1.05);
        filter: drop-shadow(0 8px 30px rgba(250, 207, 57, 0.45));
    }
}

.loader-bar-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
            var(--accent-gold-light),
            var(--accent-gold),
            var(--accent-gold-dark),
            var(--accent-gold));
    background-size: 200% 100%;
    animation: progressGradient 1.5s ease-in-out infinite;
    border-radius: 10px;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(250, 207, 57, 0.4),
        0 0 20px rgba(250, 207, 57, 0.2);
    position: relative;
}

@keyframes progressGradient {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.loader-text {
    margin-top: 20px;
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}


/* Ultra-Professional CSS Framework */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color System */
    --primary-dark-blue: #00204a;
    --secondary-dark-blue: #002a5c;
    --tertiary-dark-blue: #00356e;
    --accent-gold: #facf39;
    --accent-gold-light: #f9d96a;
    --accent-gold-dark: #f9c307;
    --accent-orange: #ff6b35;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Professional Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-dark-blue) 50%, var(--tertiary-dark-blue) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 32, 74, 0.95) 0%, rgba(0, 42, 92, 0.90) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    --gradient-testimonial: linear-gradient(145deg, rgba(0, 53, 110, 0.8) 0%, rgba(0, 42, 92, 0.9) 100%);

    /* Premium Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 10px 40px rgba(250, 207, 57, 0.3);
    --shadow-testimonial: 0 15px 35px rgba(0, 32, 74, 0.4);

    /* Typography Scale */
    --text-xs: clamp(0.75rem, 1vw, 0.875rem);
    --text-sm: clamp(0.875rem, 1.2vw, 1rem);
    --text-base: clamp(1rem, 1.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 2vw, 1.25rem);
    --text-xl: clamp(1.25rem, 2.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 3vw, 2rem);
    --text-3xl: clamp(2rem, 4vw, 2.5rem);
    --text-4xl: clamp(2.5rem, 5vw, 3.5rem);
    --text-5xl: clamp(3.5rem, 6vw, 4.5rem);
    --text-6xl: clamp(4.5rem, 8vw, 6rem);

    /* Spacing System */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    overscroll-behavior: none;
    /* Prevent pull-to-refresh and bounce */
}

body {
    font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--white);
    background: var(--primary-dark-blue);
    overflow-x: hidden;
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight on mobile */
    overscroll-behavior-y: contain;
    /* Prevent scroll chaining */
}

/* Container System */
.container {
    max-width: 1200px;
    /* Adjusted for more white space */
    margin: 0 auto;
    padding: 0 var(--space-8);
    /* Increased padding for more white space */
}

.container-narrow {
    max-width: 1000px;
    /* Adjusted for more white space */
    margin: 0 auto;
    padding: 0 var(--space-8);
    /* Increased padding for more white space */
}

/* Premium Typography */
.display-1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    /* Adjusted for better spacing */
    letter-spacing: -0.02em;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.display-2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.heading-1 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.heading-2 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 500;
    line-height: 1.3;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.heading-3 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.4;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.text-lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    font-weight: 400;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.text-body {
    font-size: clamp(0.9rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    font-weight: 400;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.text-small {
    font-size: var(--text-sm);
    line-height: 1.5;
    font-weight: 400;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

/* Professional Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    background: rgba(0, 32, 74, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    z-index: 1000;
    padding: 18px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(250, 207, 57, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: navSlideDown 0.8s ease-out 0.3s both;
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.navbar-scrolled {
    top: 10px;
    padding: 14px 30px;
    background: rgba(0, 32, 74, 0.85);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(250, 207, 57, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar-left-content {
    position: absolute;
    left: 30px;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-logo {
    height: 45px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 6px rgba(250, 207, 57, 0.2));
    cursor: pointer;
}

.navbar-logo:hover {
    transform: scale(1.08) rotate(5deg);
    filter: drop-shadow(0 3px 10px rgba(250, 207, 57, 0.35));
}

.navbar-scrolled .navbar-logo {
    height: 38px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(250, 207, 57, 0.25),
            rgba(250, 207, 57, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 4px rgba(250, 207, 57, 0.4);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(250, 207, 57, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a:active {
    transform: translateY(-1px);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    position: absolute;
    right: 30px;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    box-shadow: 0 2px 5px rgba(250, 207, 57, 0.3);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        width: 90%;
        padding: 15px 20px;
    }

    .navbar-left-content {
        position: static;
        left: auto;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 90%;
        max-width: 450px;
        max-height: 70vh;
        /* Prevent overflow on small screens */
        overflow-y: auto;
        /* Allow scrolling if needed */
        background: rgba(0, 32, 74, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        gap: 6px;
        padding: 20px 12px;
        border-radius: 20px;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5),
            0 5px 15px rgba(250, 207, 57, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 999;
        margin: 0;
        list-style: none;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateX(-50%) translateY(0);
    }

    .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.4;
        white-space: normal;
        /* Allow text wrapping on small screens */
        border-radius: 12px;
        margin: 0;
        transition: all 0.3s ease;
        color: rgba(255, 255, 255, 0.95);
    }

    .nav-links a:hover {
        transform: scale(1.05);
        background: rgba(250, 207, 57, 0.15);
        color: var(--accent-gold);
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-scrolled .navbar-logo {
        height: 35px;
    }
}

/* Extra Small Devices - iPhone SE, iPhone 5/5s, etc. (≤375px) */
@media (max-width: 375px) {
    .nav-links {
        width: 92%;
        max-width: 340px;
        top: 70px;
        padding: 15px 10px;
        gap: 4px;
        max-height: 75vh;
    }

    .nav-links a {
        padding: 12px 15px;
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .navbar-logo {
        height: 35px;
    }

    .hamburger {
        width: 28px;
        height: 22px;
    }

    .hamburger span {
        height: 2.5px;
    }
}

/* Ultra Small Devices - iPhone SE 1st Gen (≤320px) */
@media (max-width: 320px) {
    .nav-links {
        width: 94%;
        max-width: 300px;
        top: 65px;
        padding: 12px 8px;
        gap: 3px;
    }

    .nav-links a {
        padding: 10px 12px;
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .navbar {
        padding: 12px 15px;
    }

    .navbar-logo {
        height: 32px;
    }
}

/* Hero Section - Ultra Premium */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    /* Space for fixed navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(250, 207, 57, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(250, 207, 57, 0.08) 0%, transparent 50%);
    animation: heroBackground 15s ease-in-out infinite alternate;
}

@keyframes heroBackground {
    0% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: scale(1.05) rotate(0.5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    /* Adjusted for more white space */
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-4);
    /* Added padding for white space */
}

/* Enhanced Logo Section (removed from hero, now in navbar) */
.hero-logo {
    display: none;
    /* Hide hero logo */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-6);
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.2), rgba(250, 207, 57, 0.1));
    border: 2px solid rgba(250, 207, 57, 0.4);
    border-radius: 50px;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: var(--space-12);
    backdrop-filter: blur(20px) saturate(180%);
    animation: fadeInUp 1s ease-out 0.2s both, pulse 3s ease-in-out 2s infinite;
    box-shadow: 0 8px 32px rgba(250, 207, 57, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-title {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-12);
    /* Increased spacing below title */
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.1;
    /* Adjusted for better spacing */
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    /* Slightly bigger */
}

.hero-subtitle {
    color: var(--gray-300);
    margin-bottom: var(--space-12);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-10);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-dark-blue);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(250, 207, 57, 0.4),
        0 5px 15px rgba(250, 207, 57, 0.2);
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(250, 207, 57, 0.5),
        0 8px 20px rgba(250, 207, 57, 0.3);
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:active {
    transform: translateY(-2px) scale(1.01);
    transition: all 0.1s ease;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: var(--text-2xl);
    color: var(--accent-gold);
}

/* Hero VSL Video Styles */
.hero-video-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: var(--space-8) auto;
    padding-top: 56.25%;

    /* 16:9 ratio for YouTube-style (1920x1080) */
    background: linear-gradient(135deg, rgba(0, 32, 74, 0.8), rgba(0, 42, 92, 0.8));
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
    border: 3.5px solid #4a4a4a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    /* Don't cover the bottom controls area */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 3;
}

.hero-video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.hero-play-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-play-button:hover {
    transform: scale(1.15);
}

.hero-play-button:active {
    transform: scale(1.05);
}

.play-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 15px rgba(250, 207, 57, 0.5));
    transition: all 0.3s ease;
}



.play-circle {
    transition: all 0.3s ease;
}

.play-triangle {
    transition: all 0.3s ease;
}

.hero-play-button:hover .play-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 20px rgba(250, 207, 57, 0.7));
}

.hero-pause-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    z-index: 4;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-pause-button:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.hero-pause-button:active {
    transform: translate(-50%, -50%) scale(1.05);
}

.pause-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 15px rgba(250, 207, 57, 0.5));
    transition: all 0.3s ease;
}

.pause-circle {
    transition: all 0.3s ease;
}

.pause-bar {
    transition: all 0.3s ease;
}

.hero-pause-button:hover .pause-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 20px rgba(250, 207, 57, 0.7));
}

/* Section Base Styles */
.section {
    padding: var(--space-32) 0;
    position: relative;
}

.section-dark {
    background: var(--secondary-dark-blue);
}

.section-darker {
    background: var(--tertiary-dark-blue);
}

.section-light {
    background: var(--gray-50);
    color: var(--gray-900);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.15), rgba(250, 207, 57, 0.08));
    border: 1px solid rgba(250, 207, 57, 0.3);
    border-radius: 50px;
    font-size: clamp(0.875rem, 1.2vw, 0.95rem);
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: var(--space-8);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(250, 207, 57, 0.2);
    transition: all 0.3s ease;
}

.section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 207, 57, 0.3);
    border-color: rgba(250, 207, 57, 0.5);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    color: var(--gray-400);
    max-width: 700px;
    margin: 0 auto;
}

/* Enhanced Pain Points Section */
.pain-points {
    background: var(--gradient-primary);
    position: relative;
}

.pain-points::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(250, 207, 57, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    animation: sectionBackground 20s ease-in-out infinite alternate;
}

@keyframes sectionBackground {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.pain-card {
    background: rgba(0, 42, 92, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: var(--space-10);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pain-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 207, 57, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pain-card:hover::after {
    opacity: 1;
}

.pain-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(250, 207, 57, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(250, 207, 57, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(0, 42, 92, 0.6);
}

.pain-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-gold);
}

.pain-card:hover .pain-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--shadow-2xl), var(--shadow-gold);
}

.pain-icon i {
    font-size: var(--text-3xl);
    color: var(--primary-dark-blue);
}

/* Enhanced Value Proposition Section */
.value-prop {
    background: var(--secondary-dark-blue);
    position: relative;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.value-item {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-8);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-xl), 0 15px 40px rgba(250, 207, 57, 0.15);
}

.value-item i {
    font-size: var(--text-4xl);
    color: var(--accent-gold);
    margin-bottom: var(--space-4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Professional Portfolio Carousel Section */
.portfolio-section {
    background: var(--secondary-dark-blue);
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(250, 207, 57, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
    animation: sectionBackground 20s ease-in-out infinite alternate;
}

.portfolio-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: var(--space-16) auto 0;
    padding: 0 70px;
    /* Reduced from 100px - arrows closer to video */
    z-index: 1;
    touch-action: manipulation;
    /* Better touch handling, prevent zoom and auto-scroll */
}

.portfolio-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.portfolio-track {
    display: flex;
    direction: ltr;
    /* Consistent left-to-right slide arrangement */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    touch-action: pan-x;
    /* Allow horizontal swipe only */
    -webkit-user-select: none;
    user-select: none;
    overscroll-behavior-x: contain;
    /* Prevent scroll propagation */
}

.portfolio-slide {
    min-width: 100%;
    position: relative;
    opacity: 0.5;
    transform: scale(0.92);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 42, 92, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 360px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.portfolio-slide.active .portfolio-item {
    border-color: rgba(250, 207, 57, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
        0 6px 20px rgba(250, 207, 57, 0.15);
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    /* 9:16 ratio for Reels (1080x1920) */
    background: linear-gradient(135deg, rgba(0, 32, 74, 0.8), rgba(0, 42, 92, 0.8));
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-container video {
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 50px);
    /* Don't cover the bottom controls area */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 32, 74, 0.7);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.video-overlay i {
    font-size: 70px;
    color: var(--accent-gold);
    filter: drop-shadow(0 4px 15px rgba(250, 207, 57, 0.4));
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.video-overlay:hover {
    background: rgba(0, 32, 74, 0.5);
}

.video-overlay:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 6px 20px rgba(250, 207, 57, 0.6));
}

/* Video Controls Enhancement */
.video-container video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, transparent, rgba(0, 32, 74, 0.9));
}

.video-container video::-webkit-media-controls-play-button,
.video-container video::-webkit-media-controls-current-time-display,
.video-container video::-webkit-media-controls-time-remaining-display {
    color: #ffffff;
    /* White color for better visibility */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Video Zoom Modal */
.video-zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.video-zoom-modal.active {
    display: flex;
}

.video-zoom-container {
    position: relative;
    width: 1080px;
    height: 1920px;
    max-width: 95vw;
    max-height: 90vh;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.video-zoom-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.video-zoom-close:hover {
    background: var(--accent-gold-dark);
    transform: scale(1.1) rotate(90deg);
}

.video-zoom-close i {
    color: var(--navy-dark);
    font-size: 24px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 1080px) {
    .video-zoom-container {
        width: 90vw;
        height: calc(90vw * 1.778);
        /* Maintain 9:16 ratio */
        max-height: 85vh;
    }
}

@media (max-width: 768px) {
    .video-zoom-container {
        width: 95vw;
        height: calc(95vw * 1.778);
        /* Maintain 9:16 ratio */
        max-height: 85vh;
    }

    .video-zoom-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .video-zoom-close i {
        font-size: 20px;
    }
}

/* Portfolio info removed - clean video-only display */

/* Simple Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.carousel-arrow:hover {
    opacity: 1;
    background: var(--accent-gold-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(250, 207, 57, 0.4);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(1);
}

.carousel-arrow i {
    font-size: 22px;
    color: var(--primary-dark-blue);
}

.carousel-arrow-prev {
    right: -20px;
    /* RTL: prev is on the right - closer to video */
}

.carousel-arrow-next {
    left: -20px;
    /* RTL: next is on the left - closer to video */
}

/* Simple Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--space-8);
    padding: var(--space-3) 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(250, 207, 57, 0.6);
}

/* Enhanced Benefits Section */
.benefits {
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(250, 207, 57, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
}

.benefits-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-16);
}

.benefit-item {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-8);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-xl);
}

.benefit-item i {
    font-size: var(--text-4xl);
    color: var(--accent-gold);
    margin-bottom: var(--space-4);
    transition: all 0.4s ease;
}

.benefit-item:hover i {
    transform: scale(1.15) rotate(10deg);
}

/* Premium Audio Testimonials Section - STATIC (No floating animations) */
.audio-testimonials {
    background: var(--secondary-dark-blue);
    position: relative;
    overflow: hidden;
}

.audio-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 53, 110, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(0, 42, 92, 0.2) 0%, transparent 50%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
    position: relative;
    z-index: 1;
}

/* Enhanced Audio Testimonial Card with Glassmorphism */
.testimonial-card {
    background: rgba(0, 53, 110, 0.5);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 207, 57, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(250, 207, 57, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(250, 207, 57, 0.4);
    background: rgba(0, 53, 110, 0.7);
}

/* Audio Player Interface */
.audio-player-interface {
    background: rgba(0, 32, 74, 0.8);
    padding: var(--space-6);
    border-bottom: 1px solid rgba(250, 207, 57, 0.1);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.play-button {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(250, 207, 57, 0.3);
    position: relative;
    overflow: visible;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(250, 207, 57, 0.4);
    background: var(--accent-gold-dark);
}

.play-button:active {
    transform: scale(1.05);
}

.play-button i {
    color: var(--primary-dark-blue);
    font-size: var(--text-lg);
    margin-left: 2px;
    /* Adjust for play icon centering */
    transition: all 0.2s ease;
}

.play-button.playing i {
    margin-left: 0;
}

.audio-timeline {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.time-display {
    color: var(--accent-gold);
    font-size: var(--text-sm);
    font-weight: 500;
    min-width: 40px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(50%, -50%);
    top: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.volume-control {
    color: var(--accent-gold);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.volume-control:hover {
    background: rgba(250, 207, 57, 0.1);
}

/* Client Information */
.client-info {
    padding: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(250, 207, 57, 0.3);
}

.client-details h4 {
    color: var(--white);
    font-weight: 600;
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.client-details .client-role {
    color: var(--accent-gold);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* Testimonial Text */
.testimonial-text {
    padding: var(--space-6);
    color: var(--gray-300);
    font-style: italic;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: var(--space-6);
    font-size: 3rem;
    color: var(--accent-gold);
    font-family: serif;
}

/* Enhanced Program Section */
.program {
    background: var(--tertiary-dark-blue);
    position: relative;
}

.program::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(250, 207, 57, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.04) 0%, transparent 50%);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.program-card {
    background: rgba(0, 42, 92, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: var(--space-10);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold), var(--accent-gold-dark));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    box-shadow: 0 0 8px rgba(250, 207, 57, 0.4);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(250, 207, 57, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(250, 207, 57, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(0, 42, 92, 0.6);
}

.program-icon {
    width: 110px;
    height: 110px;
    background: var(--gradient-gold);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-gold);
}

.program-card:hover .program-icon {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: var(--shadow-2xl), var(--shadow-gold);
}

.program-icon i {
    font-size: var(--text-4xl);
    color: var(--primary-dark-blue);
}

/* Enhanced CTA Section */
.urgency-cta {
    background: var(--gradient-gold);
    color: var(--primary-dark-blue);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.urgency-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 32, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 42, 92, 0.08) 0%, transparent 50%);
}

.urgency-cta .section-title,
.urgency-cta .section-subtitle {
    color: var(--primary-dark-blue);
    position: relative;
    z-index: 1;
}

.cta-form {
    max-width: 800px;
    margin: var(--space-16) auto 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: var(--space-16);
    box-shadow: var(--shadow-2xl);
    position: relative;
    z-index: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: var(--space-3);
    color: var(--gray-800);
    font-weight: 500;
    font-size: var(--text-sm);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: var(--text-base);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
    color: var(--gray-900);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(250, 207, 57, 0.1);
    transform: translateY(-2px);
}

.submit-button {
    width: 100%;
    padding: var(--space-6) var(--space-8);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-dark-blue);
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(250, 207, 57, 0.4),
        0 5px 15px rgba(250, 207, 57, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-button:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 40px rgba(250, 207, 57, 0.5),
        0 8px 20px rgba(250, 207, 57, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(-2px) scale(1);
}

.submit-button:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {

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

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

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Intersection Observer Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Button Micro-Interactions */
.interactive-button {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interactive-button:hover {
    transform: translateY(-2px);
}

.interactive-button:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Icon Animations */
.animated-icon {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animated-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--space-6);
        /* Adjusted for smaller screens */
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .portfolio-carousel-wrapper {
        padding: 0 60px;
    }

    .carousel-arrow {
        width: 60px;
        height: 60px;
    }

    .carousel-arrow i {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-20) 0;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .pain-grid,
    .value-grid,
    .benefits-list,
    .testimonials-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-carousel-wrapper {
        padding: 0 30px;
        /* Arrows closer to video on tablet */
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }

    .carousel-arrow i {
        font-size: 18px;
    }

    .video-overlay i {
        font-size: 55px;
    }

    .portfolio-item {
        max-width: 320px;
    }

    .video-container {
        padding-top: 177.77%;
        /* 9:16 Reels ratio on mobile */
    }

    .carousel-dots {
        gap: 10px;
        margin-top: var(--space-6);
    }

    .carousel-dot {
        width: 9px;
        height: 9px;
    }

    /* Portfolio info removed */

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .cta-form {
        padding: var(--space-8);
        margin: var(--space-12) auto 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Hamburger menu styles applied from earlier media query */

    .display-1 {
        font-size: var(--text-5xl);
    }

    .heading-1 {
        font-size: 2.25rem !important;
        /* Bigger section headings on tablet */
    }

    .section-title {
        font-size: 2.25rem !important;
        /* Bigger titles on tablet */
    }

    .section-subtitle {
        font-size: 1.15rem !important;
        /* Bigger subtitles on tablet */
    }

    .heading-2 {
        font-size: 2rem !important;
        /* Bigger h2 headings on tablet */
    }

    .heading-3 {
        font-size: 1.75rem !important;
        /* Bigger h3 headings on tablet */
    }

    .text-lead {
        font-size: 1.15rem !important;
        /* Bigger lead text on tablet */
    }

    .hero-title {
        font-size: 3rem !important;
        /* Bigger hero title on tablet */
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1.25rem !important;
        /* Bigger hero subtitle on tablet */
    }

    .hero-content {
        padding: 0 var(--space-2);
    }

    .hero-video-container {
        max-width: 700px;
        margin: var(--space-6) auto;
    }

    .play-icon,
    .pause-icon {
        width: 100px;
        height: 100px;
    }

    .cta-primary {
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-base);
    }

    .client-info {
        flex-direction: column;
        text-align: center;
    }

    .audio-controls {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }

    .audio-timeline {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem !important;
        /* Bigger titles on mobile */
    }

    .section-subtitle {
        font-size: 1.1rem !important;
        /* Bigger subtitles on mobile */
    }

    .text-lead {
        font-size: 1.1rem !important;
        /* Bigger lead text on mobile */
    }

    .hero-title {
        font-size: 2.5rem !important;
        /* Much bigger hero title on mobile */
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1.15rem !important;
    }

    .hero-video-container {
        max-width: 100%;
        margin: var(--space-4) auto;
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .play-icon,
    .pause-icon {
        width: 90px;
        height: 90px;
    }

    .heading-1 {
        font-size: 2rem !important;
        /* Bigger section headings on mobile */
    }

    .heading-2 {
        font-size: 1.75rem !important;
        /* Bigger h2 headings on mobile */
    }

    .heading-3 {
        font-size: 1.5rem !important;
        /* Bigger h3 headings on mobile */
    }

    .portfolio-carousel-wrapper {
        padding: 0 20px;
        /* Arrows much closer on mobile */
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
    }

    .carousel-arrow i {
        font-size: 15px;
    }

    .portfolio-item {
        max-width: 280px;
    }

    .video-container {
        padding-top: 177.77%;
        /* 9:16 Reels ratio on small mobile */
    }

    .video-overlay i {
        font-size: 45px;
    }

    /* Portfolio info removed */

    .carousel-dots {
        gap: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/* FAQ Section Styles */
.faq {
    background: var(--secondary-dark-blue);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: var(--space-6);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item:hover {
    border-color: rgba(250, 207, 57, 0.3);
    box-shadow: var(--shadow-xl), 0 15px 40px rgba(250, 207, 57, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-8);
    text-align: right;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(250, 207, 57, 0.05);
}

.faq-question i {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    font-size: var(--text-xl);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 var(--space-8);
    color: var(--gray-300);
    line-height: 1.7;
    font-size: var(--text-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: var(--space-6) var(--space-8);
}

.faq-answer p {
    margin: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mt-12 {
    margin-top: var(--space-12);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.overflow-hidden {
    overflow: hidden;
}

.flex {
    display: flex;
}

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

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: var(--space-4);
}

/* Loading States */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

/* Audio Wave Animation */
@keyframes audioWave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.5);
    }
}

.audio-wave {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.audio-wave span {
    width: 3px;
    height: 12px;
    background: var(--accent-gold);
    border-radius: 1px;
    animation: audioWave 1.2s ease-in-out infinite;
}

.audio-wave span:nth-child(2) {
    animation-delay: 0.1s;
}

.audio-wave span:nth-child(3) {
    animation-delay: 0.2s;
}

.audio-wave span:nth-child(4) {
    animation-delay: 0.3s;
}

.audio-wave span:nth-child(5) {
    animation-delay: 0.4s;
}

/* Professional Loading Screen with Centered Logo */
.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #00204a 0%, #002a5c 50%, #00356e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 40px;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 20px rgba(250, 207, 57, 0.3));
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 5px 20px rgba(250, 207, 57, 0.3));
    }

    50% {
        transform: translateY(-20px) scale(1.05);
        filter: drop-shadow(0 8px 30px rgba(250, 207, 57, 0.45));
    }
}

.loader-bar-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
            var(--accent-gold-light),
            var(--accent-gold),
            var(--accent-gold-dark),
            var(--accent-gold));
    background-size: 200% 100%;
    animation: progressGradient 1.5s ease-in-out infinite;
    border-radius: 10px;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(250, 207, 57, 0.4),
        0 0 20px rgba(250, 207, 57, 0.2);
    position: relative;
}

@keyframes progressGradient {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.loader-text {
    margin-top: 20px;
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Laptop Hero Section Styles */
.laptop-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    z-index: 10;
}

.laptop-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 58%;
    /* Aspect ratio of the laptop image to prevent layout shift */
}

.laptop-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 20;
    pointer-events: none;
    transform: scale(2.1);
    /* كيكبر العنصر 10% */
}

.laptop-screen {
    position: absolute;
    /* Tuned for a standard laptop bezel */
    top: 6.5%;
    left: 12.3%;
    width: 75.5%;
    height: 84%;
    background: #000;
    z-index: 15;
    overflow: hidden;
    transform: scale(2.05);
    border-radius: 4px;
    transform: scale(1.05);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Adjust Video Overlay to fit inside the screen */
.laptop-screen .hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 25;
    transition: all 0.3s ease;
}

.laptop-screen .hero-video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Update Pause Button Positioning */
.hero-pause-button {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    transition: transform 0.2s ease;
}

.hero-pause-button:hover {
    transform: translateX(-50%) scale(1.1);
}

/* Ensure Hero Content is Centered */
.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* Premium Text Highlight (Reference Style) */




/* Background Glow Effects (Stage Lighting) */
.hero {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(35, 74, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(35, 74, 255, 0.0), rgba(35, 74, 255, 0.5), rgba(35, 74, 255, 0.0));
    opacity: 0.3;
    z-index: -1;
}

/* Enhanced Program Section - Circular Redesign */
.program-circular {
    background: radial-gradient(circle at center, #002a5c 0%, #001530 100%);
    position: relative;
    overflow: hidden;
    padding: var(--space-20) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.circular-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(35, 74, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container-circular {
    position: relative;
    z-index: 2;
    width: 100%;
}

.circular-services-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 800px;
    /* Base height for desktop */
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Decorative Rings */
.service-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.ring-1 {
    width: 400px;
    height: 400px;
    border-color: rgba(35, 74, 255, 0.2);
    box-shadow: 0 0 30px rgba(35, 74, 255, 0.1);
}

.ring-2 {
    width: 650px;
    height: 650px;
    border-color: rgba(255, 255, 255, 0.03);
}

.ring-3 {
    width: 900px;
    height: 900px;
    border-color: rgba(255, 255, 255, 0.02);
}

/* Central Element */
.center-piece {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 480px;
    /* Adjust according to image aspect ratio */
    text-align: center;
}

.laptop-center-mockup {
    position: relative;
    width: 100%;
    animation: floatLaptop 6s ease-in-out infinite;
}

.center-laptop-img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
    position: relative;
    z-index: 2;
}

.center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(35, 74, 255, 0.3) 0%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
}

/* Orbital Items - Professional Card Style */
.orbital-item {
    position: absolute;
    width: 320px;
    z-index: 10;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.orbital-item:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 15;
}

.orbital-content {
    background: rgba(15, 23, 42, 0.9);
    /* More opaque for "higher capacity" look */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    text-align: right;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    border-right: 5px solid var(--accent-gold);
}

.orbital-item:hover .orbital-content {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(250, 207, 57, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(250, 207, 57, 0.15);
    transform: translateY(-2px);
}

.orbital-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 5px 15px rgba(250, 207, 57, 0.2);
    transition: transform 0.3s ease;
}

.orbital-item:hover .orbital-icon {
    transform: rotate(-10deg) scale(1.1);
}

.orbital-icon i {
    font-size: 22px;
    color: var(--primary-dark-blue);
}

.orbital-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    text-shadow: none;
}

.orbital-desc {
    font-size: 0.9rem;
    color: var(--gray-300);
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* Connecting Lines (Decorative) */
.orbital-dot {
    display: none;
}

.orbital-line {
    /* We can implement lines using pseudo-elements or SVGs, but simplified for pure CSS */
    display: none;
    /* Keeping it clean for now as per ref images which often just float */
}


.circular-services-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    /* Increased from 1000px */
    height: 800px;
    /* Base height for desktop */
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Positioning Logic (Angles for 5 items: 45, 0, -45, 225, 180ish) 
   Actually let's distribute them to match the "surrounding" feel.
   Center is (0,0).
*/

/* Item 1: Top Right */
.item-1 {
    top: 5%;
    right: 5%;
    /* transform: translate(50%, -50%); */
}

.item-1 .orbital-dot {
    left: -20px;
    top: 50%;
}

/* Item 2: Middle Right */
.item-2 {
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
}

.item-2 .orbital-dot {
    left: -20px;
    top: 50%;
}

/* Item 3: Bottom Right */
.item-3 {
    bottom: 5%;
    right: 5%;
}

.item-3 .orbital-dot {
    left: -20px;
    top: 50%;
}

/* Item 4: Bottom Left */
.item-4 {
    bottom: 5%;
    left: 5%;
    text-align: left;
}

.item-4 .orbital-content {
    text-align: left;
    border-right: none;
    border-left: 4px solid var(--accent-gold);
}

.item-4 .orbital-dot {
    right: -20px;
    top: 50%;
}

/* Item 5: Top Left */
.item-5 {
    top: 5%;
    left: 5%;
    text-align: left;
}

.item-5 .orbital-content {
    text-align: left;
    border-right: none;
    border-left: 4px solid var(--accent-gold);
}

.item-5 .orbital-dot {
    right: -20px;
    top: 50%;
}


/* Animations */
@keyframes floatLaptop {

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

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

/* Responsive Support */
@media (max-width: 1024px) {
    .circular-services-wrapper {
        height: auto;
        flex-direction: column;
        padding-top: 50px;
    }

    .service-ring {
        display: none;
    }

    .center-piece {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 80%;
        margin-bottom: 50px;
    }

    .orbital-item {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 500px;
        margin-bottom: 30px;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .orbital-content {
        text-align: center !important;
    }

    .orbital-dot {
        display: none;
    }
}

/* ========================================
   CHESS STRATEGY SECTION STYLES - REDESIGNED
========================================= */

.strategy-wrapper {
    position: relative;
    width: 100%;
    min-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(0, 32, 74, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
}

.strategy-board {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 700px;
    margin: 0 auto;
}

/* Central Piece */
.strategy-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: auto;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chess-piece-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(250, 207, 57, 0.3));
    animation: chessFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.strategy-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 207, 57, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    filter: blur(50px);
    animation: glowBreath 4s ease-in-out infinite alternate;
}

.strategy-glow-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(250, 207, 57, 0.3) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
    filter: blur(20px);
    mix-blend-mode: screen;
}

@keyframes glowBreath {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.5;
    }

    to {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes chessFloat {

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

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

/* Connecting Lines */
.strategy-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connector-line {
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 1.5;
    opacity: 0.6;
    filter: drop-shadow(0 0 3px var(--accent-gold));
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: lineDraw 2s ease-out forwards 0.5s;
}

.connector-dot {
    fill: var(--accent-gold);
    filter: drop-shadow(0 0 5px var(--accent-gold));
    animation: dotPulse 2s infinite;
}

@keyframes lineDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

/* Strategy Cards */
/* Strategy Cards - Premium Enhanced */
.strategy-card {
    position: absolute;
    width: 280px;
    height: 110px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    padding: 0;
    z-index: 20;
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.strategy-card::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(250, 207, 57, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(25px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.strategy-card:hover::before {
    opacity: 1;
}

.strategy-card-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(250, 207, 57, 0.3);
    border-top-color: rgba(250, 207, 57, 0.5);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    overflow: hidden;
}

/* Shimmer Effect */
.strategy-card-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 40%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 60%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: none;
    animation: shimmer 6s infinite;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.strategy-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.strategy-card:hover .strategy-card-glass {
    border-color: rgba(250, 207, 57, 0.8);
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.15) 0%, rgba(250, 207, 57, 0.05) 100%);
    box-shadow: 0 15px 50px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(250, 207, 57, 0.2);
}

.strategy-card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    width: 100%;
    text-align: right;
    /* Maintain RTL alignment */
}

/* Left card specifics */
.card-left .strategy-card-content {
    text-align: left;
    /* Align to connector on the right side of the card */
    padding-right: 1.5rem;
}

.strategy-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #fff, #ffeeba);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.strategy-card:hover .strategy-title {
    background: linear-gradient(90deg, #facf39, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(250, 207, 57, 0.5);
}

.strategy-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    margin: 0;
    transition: color 0.3s ease;
}

.strategy-card:hover .strategy-desc {
    color: rgba(255, 255, 255, 1);
}

/* Card Positioning with Calculation */
/* 
   ViewBox: 1200 x 700
   Center: 600, 350
   
   Top Right End: 880, 180
   Bottom Right End: 880, 520
   Left End: 320, 350
   
   Card Width: 280px
   Card Height: 110px
*/

.card-top-right {
    left: 74%;
    top: 18%;
}

.card-bottom-right {
    left: 74%;
    top: 66%;
}

.card-left {
    left: 2.5%;
    top: 42%;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .strategy-board {
        height: auto;
        min-height: 800px;
        flex-direction: column;
        display: flex;
        padding-top: 300px;
        /* Space for image */
    }

    .strategy-center {
        position: absolute;
        top: 150px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
    }

    .strategy-lines {
        display: none;
    }

    .strategy-card {
        position: relative;
        left: auto !important;
        top: auto !important;
        margin: 0 auto 20px;
        width: 90%;
        max-width: 400px;
        height: auto;
        min-height: 120px;
        transform: none !important;
    }

    .strategy-card:hover {
        /* Reduce movement on mobile to prevent scrolling issues */
        transform: translateY(-4px) scale(1.01);
    }

    .card-left .strategy-card-content {
        text-align: center;
        padding-right: 1.5rem;
    }

    .strategy-card-content {
        text-align: center;
    }
}

/* ========================================
   NEW FEATURES GRID SECTION - REDESIGNED
========================================= */

.features-grid-wrapper {
    position: relative;
    padding: var(--space-8) 0;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    position: relative;
    z-index: 2;
}

.feature-card {
    position: relative;
    height: 100%;
    min-height: 280px;
    border-radius: 24px;
    padding: 2px;
    /* For border gradient */
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.4), rgba(255, 255, 255, 0.1));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.feature-card-inner {
    background: rgba(0, 32, 74, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 22px;
    /* slightly less than card radius */
    padding: var(--space-8);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(250, 207, 57, 0.2);
}

.feature-card:hover .feature-card-inner {
    background: rgba(0, 32, 74, 0.6);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.2), rgba(250, 207, 57, 0.05));
    border: 1px solid rgba(250, 207, 57, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 207, 57, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: scale(0.5);
}

.feature-card:hover .feature-icon-wrapper::before {
    opacity: 1;
    transform: scale(1);
    animation: pulse 2s infinite;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(250, 207, 57, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    transition: all 0.4s ease;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-card:hover .feature-icon {
    color: #fff;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(250, 207, 57, 0.6));
}

.feature-title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
    background: linear-gradient(90deg, #fff, #ffeeba);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    background: linear-gradient(90deg, #facf39, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(250, 207, 57, 0.4);
}

.feature-desc {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-desc {
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Adjusments for Features Grid */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        min-height: auto;
    }

    .feature-card-inner {
        padding: 30px 20px;
    }
}

/* ========================================
   SCROLL-DRIVEN FEATURES SECTION
========================================= */

.value-prop-scroll-section {
    height: 350vh;
    /* Long scroll area */
    position: relative;
    padding: 0;
    view-timeline-name: --features-scroll;
}

.value-prop-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Gradient overlay for smooth blending */
    background: transparent;
}

.container-sticky-cards {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
}


/* Scroll Animation Core Styles */
.value-prop-scroll-section {
    position: relative;
    height: 350vh;
    /* Provides the scroll track */
    background: var(--primary-dark-blue);
    z-index: 10;
}

.value-prop-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container-sticky-cards {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.features-scroll-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 360px;
    margin: var(--space-8) auto;
    perspective: 1000px;
}

.features-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.feature-card-scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    /* Glassmorphism */
    background: rgba(0, 32, 74, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Smooth transition for JS */
    will-change: transform, opacity;
    padding: 4px;
}

/* Make cards look premium */
.mac-card {
    background: linear-gradient(135deg, rgba(250, 207, 57, 0.3), rgba(255, 255, 255, 0.05));
}

.feature-card-inner {
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 48, 0.85);
    /* Darker inner */
    border-radius: 26px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Icons and Text styles reuse existing classes but ensured here */
.feature-icon-wrapper {
    width: 160px;
    height: 80px;
    min-height: 80px;
    /* Prevent collapsing */
    flex-shrink: 0;
    /* Prevent shrinking in flex container */
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    background: rgba(250, 207, 57, 0.05);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(250, 207, 57, 0.1);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    filter: drop-shadow(0 2px 10px rgba(250, 207, 57, 0.3));
}

.feature-title {
    font-size: 2rem;
    margin-bottom: var(--space-4);
}

.feature-desc {
    font-size: 1.1rem;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.6;
}

/* CTA at the bottom of the sticky container */
.scroll-cta-wrapper {
    position: relative;
    z-index: 10;
    margin-top: var(--space-8);
    margin-bottom: var(--space-8);
    opacity: 0;
    /* Hidden initially, shown via JS */
    transform: translateY(20px);
    transition: all 0.5s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .features-scroll-wrapper {
        height: 350px;
        max-width: 90%;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .feature-desc {
        font-size: 1rem;
        max-width: 100%;
    }

    .value-prop-scroll-section {
        height: 300vh;
        /* Slightly shorter on mobile */
    }
}