/* Simple scroll-behavior polyfill for better UX */
html {
    scroll-behavior: smooth;
}

:root {
    --brand: #00B299;
    /* Primary */
    --brand-light: #74D0F0;
    /* Accent */
    --ink: #6E6F72;
    /* Headings */
    --mute: #949598;
    /* Body */
}

/* SBTL Patterns Advanced Styles */
.pattern {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    transition: transform 0.8s cubic-bezier(.77, 0, .18, 1), filter 0.6s;
    filter: drop-shadow(0 0 24px #00c3ff88) brightness(1.1);
    will-change: transform, filter, opacity;
}

.pattern.pattern-animate {
    animation: floatPattern 6s ease-in-out infinite alternate;
}

@keyframes floatPattern {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    100% {
        transform: translateY(-30px) scale(1.04) rotate(3deg);
    }
}

.pattern-glow {
    filter: drop-shadow(0 0 40px #00c3ffcc) brightness(1.2);
    opacity: 0.85;
}

.pattern:hover {
    filter: drop-shadow(0 0 60px #00c3ff) brightness(1.3) blur(1px);
    opacity: 1;
    transform: scale(1.07) rotate(-2deg);
}

/* لمسة تفاعلية عند التمرير */
.pattern[data-scroll] {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.7s, transform 0.7s;
}

.pattern[data-scroll].in-view {
    opacity: 0.8;
    transform: translateY(0) scale(1);
}

/* زخرفة القسم الثاني - مركزك الشامل للتطوير (خلف البطاقات) */
.sbtl-bg-ornament {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.sbtl-bg-ornament::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, #00b29933 0%, #74d0f033 40%, transparent 80%);
    opacity: 0.6;
    filter: blur(60px) brightness(1.1);
    z-index: 1;
    pointer-events: none;
}

.sbtl-bg-ornament::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90vw;
    max-width: 1200px;
    min-width: 600px;
    height: auto;
    aspect-ratio: 1200/600;
    background: url('https://www.sbtleaders.com/assets/img/main/sbtl_pattern1.png') center/contain no-repeat;
    opacity: 0.16;
    filter:
        drop-shadow(0 0 90px #00b299aa) drop-shadow(0 0 130px #74d0f0aa) blur(0.18px) brightness(1.2) saturate(1.35) contrast(1.25);
    mix-blend-mode: lighten;
    transform: translate(-50%, -50%);
    transition: opacity 1.4s cubic-bezier(.77, 0, .18, 1), filter 1.4s;
    will-change: filter, opacity;
    user-select: none;
    z-index: 2;
}

#features:hover .sbtl-bg-ornament::after,
#features:focus-within .sbtl-bg-ornament::after {
    opacity: 0.22;
    filter:
        drop-shadow(0 0 130px #00b299dd) drop-shadow(0 0 190px #74d0f0dd) blur(0.4px) brightness(1.25) saturate(1.55) contrast(1.32);
}

@media (max-width: 900px) {
    .sbtl-bg-ornament::after {
        min-width: 320px;
    }
}

@media (max-width: 600px) {
    .sbtl-bg-ornament::after {
        min-width: 180px;
        width: 120vw;
    }
}

/* زخرفة القسم الثالث - حلقة النمو المغلقة (خلف الخطوات) */
.how-it-works-bg-ornament {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.how-it-works-bg-ornament::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 40% 60%, #74d0f033 0%, #00b29933 40%, transparent 80%);
    opacity: 0.5;
    filter: blur(60px) brightness(1.1);
    z-index: 1;
    pointer-events: none;
}

.how-it-works-bg-ornament::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 85vw;
    max-width: 1100px;
    min-width: 550px;
    height: auto;
    aspect-ratio: 1100/550;
    background: url('https://www.sbtleaders.com/assets/img/main/sbtl_pattern2.png') center/contain no-repeat;
    opacity: 0.14;
    filter:
        drop-shadow(0 0 85px #74d0f0aa) drop-shadow(0 0 115px #00b299aa) blur(0.15px) brightness(1.18) saturate(1.3) contrast(1.22);
    mix-blend-mode: lighten;
    transform: translate(-50%, -50%) rotate(2deg);
    transition: opacity 1.4s cubic-bezier(.77, 0, .18, 1), filter 1.4s, transform 1.4s;
    will-change: filter, opacity, transform;
    user-select: none;
    z-index: 2;
}

#how-it-works:hover .how-it-works-bg-ornament::after,
#how-it-works:focus-within .how-it-works-bg-ornament::after {
    opacity: 0.19;
    filter:
        drop-shadow(0 0 115px #74d0f0dd) drop-shadow(0 0 165px #00b299dd) blur(0.3px) brightness(1.23) saturate(1.45) contrast(1.28);
    transform: translate(-50%, -50%) rotate(-1deg) scale(1.02);
}

@media (max-width: 900px) {
    .how-it-works-bg-ornament::after {
        min-width: 300px;
    }
}

@media (max-width: 600px) {
    .how-it-works-bg-ornament::after {
        min-width: 200px;
        width: 110vw;
    }
}

/* تدرجات شاملة للأقسام - من البداية للنهاية */
.section-gradient-connector {
    position: relative;
}

/* تدرج شامل يغطي القسم بالكامل */
.section-gradient-connector::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* طبقة تداخل إضافية للتشتت العميق */
.section-gradient-connector::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -60px;
    bottom: -60px;
    z-index: 2;
    pointer-events: none;
    filter: blur(8px);
}

/* تدرج القسم الثاني (features) - شامل من البداية للنهاية */
#features.section-gradient-connector::before {
    background:
        radial-gradient(ellipse 120% 80% at 20% 30%, rgba(0, 178, 153, 0.03) 0%, rgba(0, 178, 153, 0.015) 30%, transparent 70%),
        radial-gradient(ellipse 100% 60% at 80% 70%, rgba(116, 208, 240, 0.025) 0%, rgba(116, 208, 240, 0.01) 40%, transparent 80%),
        radial-gradient(ellipse 150% 40% at 50% 10%, rgba(0, 178, 153, 0.02) 0%, transparent 60%),
        linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(0, 178, 153, 0.008) 15%,
            rgba(116, 208, 240, 0.012) 30%,
            rgba(0, 178, 153, 0.015) 45%,
            rgba(116, 208, 240, 0.018) 60%,
            rgba(0, 178, 153, 0.012) 75%,
            rgba(255, 255, 255, 0.95) 90%,
            rgba(255, 255, 255, 1) 100%);
    filter: blur(4px);
}

#features.section-gradient-connector::after {
    background:
        radial-gradient(ellipse 80% 120% at 70% 20%, rgba(116, 208, 240, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse 90% 70% at 30% 80%, rgba(0, 178, 153, 0.015) 0%, transparent 60%);
}

/* تدرج القسم الثالث (how-it-works) - شامل من البداية للنهاية */
#how-it-works.section-gradient-connector::before {
    background:
        radial-gradient(ellipse 130% 70% at 40% 60%, rgba(116, 208, 240, 0.025) 0%, rgba(116, 208, 240, 0.01) 40%, transparent 75%),
        radial-gradient(ellipse 110% 90% at 70% 30%, rgba(0, 178, 153, 0.02) 0%, rgba(0, 178, 153, 0.008) 35%, transparent 70%),
        radial-gradient(ellipse 140% 50% at 20% 80%, rgba(116, 208, 240, 0.018) 0%, transparent 65%),
        linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(116, 208, 240, 0.01) 12%,
            rgba(0, 178, 153, 0.014) 25%,
            rgba(116, 208, 240, 0.018) 40%,
            rgba(0, 178, 153, 0.022) 55%,
            rgba(116, 208, 240, 0.015) 70%,
            rgba(0, 178, 153, 0.01) 85%,
            rgba(255, 255, 255, 1) 100%);
    filter: blur(5px);
}

#how-it-works.section-gradient-connector::after {
    background:
        radial-gradient(ellipse 100% 80% at 60% 20%, rgba(0, 178, 153, 0.018) 0%, transparent 55%),
        radial-gradient(ellipse 85% 100% at 25% 70%, rgba(116, 208, 240, 0.015) 0%, transparent 60%);
}

/* تدرج القسم الرابع (programs) - شامل من البداية للنهاية */
#programs.section-gradient-connector::before {
    background:
        radial-gradient(ellipse 125% 75% at 30% 40%, rgba(0, 178, 153, 0.02) 0%, rgba(0, 178, 153, 0.008) 45%, transparent 80%),
        radial-gradient(ellipse 105% 85% at 75% 65%, rgba(116, 208, 240, 0.018) 0%, rgba(116, 208, 240, 0.006) 40%, transparent 75%),
        radial-gradient(ellipse 160% 45% at 50% 90%, rgba(0, 178, 153, 0.015) 0%, transparent 70%),
        linear-gradient(180deg,
            rgba(247, 250, 252, 1) 0%,
            rgba(116, 208, 240, 0.008) 18%,
            rgba(0, 178, 153, 0.012) 35%,
            rgba(116, 208, 240, 0.015) 50%,
            rgba(0, 178, 153, 0.018) 65%,
            rgba(116, 208, 240, 0.012) 82%,
            rgba(247, 250, 252, 1) 100%);
    filter: blur(6px);
}

#programs.section-gradient-connector::after {
    background:
        radial-gradient(ellipse 95% 110% at 65% 25%, rgba(116, 208, 240, 0.012) 0%, transparent 65%),
        radial-gradient(ellipse 75% 85% at 35% 75%, rgba(0, 178, 153, 0.01) 0%, transparent 50%);
}

/* تدرج القسم الخامس (community) - شامل من البداية للنهاية */
#community.section-gradient-connector::before {
    background:
        radial-gradient(ellipse 115% 80% at 25% 35%, rgba(116, 208, 240, 0.022) 0%, rgba(116, 208, 240, 0.01) 50%, transparent 85%),
        radial-gradient(ellipse 135% 65% at 80% 70%, rgba(0, 178, 153, 0.018) 0%, rgba(0, 178, 153, 0.006) 45%, transparent 80%),
        radial-gradient(ellipse 150% 55% at 45% 15%, rgba(116, 208, 240, 0.015) 0%, transparent 75%),
        linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(0, 178, 153, 0.01) 20%,
            rgba(116, 208, 240, 0.015) 40%,
            rgba(0, 178, 153, 0.018) 60%,
            rgba(116, 208, 240, 0.012) 80%,
            rgba(255, 255, 255, 1) 100%);
    filter: blur(5px);
}

#community.section-gradient-connector::after {
    background:
        radial-gradient(ellipse 90% 95% at 55% 30%, rgba(0, 178, 153, 0.015) 0%, transparent 60%),
        radial-gradient(ellipse 70% 120% at 30% 80%, rgba(116, 208, 240, 0.012) 0%, transparent 55%);
}

/* تحسين زخرفة القسم الثاني - مبسطة ومتناسقة مع التدرجات الشاملة */
.sbtl-bg-ornament::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 60% 40%, #00b29912 0%, transparent 45%),
        radial-gradient(circle at 30% 70%, #74d0f012 0%, transparent 50%);
    opacity: 1;
    filter: blur(100px) brightness(1.15);
    z-index: 0;
    pointer-events: none;
}

/* تحسين زخرفة القسم الثالث - مبسطة ومتناسقة مع التدرجات الشاملة */
.how-it-works-bg-ornament::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 40% 60%, #74d0f012 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, #00b29912 0%, transparent 45%);
    opacity: 1;
    filter: blur(100px) brightness(1.15);
    z-index: 0;
    pointer-events: none;
}

/* خلفية مبسطة ومتناسقة للقسم الرابع */
/* #programs {
            background: rgba(247, 250, 252, 1);
        } */

/* تأثيرات تفاعلية محسنة للتدرجات الشاملة */
.section-gradient-connector:hover::before {
    filter: blur(6px) brightness(1.1) saturate(1.15);
    opacity: 1.1;
}

.section-gradient-connector:hover::after {
    filter: blur(10px) brightness(1.05) saturate(1.1);
    opacity: 1.2;
}

/* انتقالات سلسة للتدرجات الشاملة */
.section-gradient-connector::before,
.section-gradient-connector::after {
    transition: filter 1.5s ease, opacity 1.5s ease;
}



/* تأثير التفاعل المتقاطع - مبسط ومحسن */
#features:hover+#how-it-works .how-it-works-bg-ornament::after {
    opacity: 0.18;
    filter:
        drop-shadow(0 0 100px #74d0f0bb) drop-shadow(0 0 140px #00b299bb) blur(0.25px) brightness(1.18) saturate(1.3);
}

#how-it-works:hover+#programs .pattern {
    opacity: 0.85;
    filter: drop-shadow(0 0 55px #00c3ff99) brightness(1.2);
}

#programs:hover+#community .pattern {
    opacity: 0.9;
    filter: drop-shadow(0 0 50px #74d0f099) brightness(1.18);
}

/* Programs Section Professional Styles */
.programs-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d30 50%, #1e1e1e 100%);
    overflow: hidden;
    color: white;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 179, 153, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(116, 208, 240, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.programs-floating-pattern {
    position: absolute;
    pointer-events: none;
    opacity: 0.8;
    z-index: 1;
    /* filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); */
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* Gem Shapes - Unified Elegant Style with Proper Borders */
.programs-pattern-diamond {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.1));
    position: relative;
    animation: sparkleGem 8s ease-in-out infinite;
}

.programs-pattern-diamond:before {
    content: '';
    width: 78px;
    height: 78px;
    background: #2c2f2ecc;
    display: block;
    position: absolute;
    top: 1px;
    left: 1px;
}

.programs-pattern-diamond,
.programs-pattern-diamond:before {
    -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Emerald Shapes */
.programs-pattern-emerald {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.1));
    position: relative;
    animation: rotateEmerald 10s linear infinite;
}

.programs-pattern-emerald:before {
    content: '';
    width: 57px;
    height: 57px;
    background: #2c2f2ecc;
    display: block;
    position: absolute;
    top: 1px;
    left: 1px;
}

.programs-pattern-emerald,
.programs-pattern-emerald:before {
    -webkit-clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

/* Star Shapes */
.programs-pattern-star {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.1));
    position: relative;
    animation: twinkleStar 6s ease-in-out infinite;
}

.programs-pattern-star:before {
    content: '';
    width: 44px;
    height: 44px;
    background: #2c2f2ecc;
    display: block;
    position: absolute;
    top: 3px;
    left: 3px;
}

.programs-pattern-star,
.programs-pattern-star:before {
    -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Crystal Shapes */
.programs-pattern-crystal {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.6));
    position: relative;
    animation: floatCrystal 12s ease-in-out infinite reverse;
}

.programs-pattern-crystal:before {
    content: '';
    width: 68px;
    height: 68px;
    background: #2c2f2ecc;
    display: block;
    position: absolute;
    top: 1px;
    left: 1px;
}

.programs-pattern-crystal,
.programs-pattern-crystal:before {
    -webkit-clip-path: polygon(50% 0%, 80% 20%, 100% 50%, 80% 80%, 50% 100%, 20% 80%, 0% 50%, 20% 20%);
    clip-path: polygon(50% 0%, 80% 20%, 100% 50%, 80% 80%, 50% 100%, 20% 80%, 0% 50%, 20% 20%);
}

/* Animations - Updated for Elegant Style with Proper Border Effects */
@keyframes sparkleGem {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.8;
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    }

    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.5));
    }

    50% {
        transform: translateY(-10px) rotate(180deg) scale(0.9);
        opacity: 0.9;
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    }

    75% {
        transform: translateY(-30px) rotate(270deg) scale(1.05);
        opacity: 0.95;
        filter: drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    }
}

@keyframes rotateEmerald {
    0% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
    }

    25% {
        transform: translateY(-15px) rotate(90deg);
        filter: drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.6));
    }

    50% {
        transform: translateY(0) rotate(180deg);
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    }

    75% {
        transform: translateY(-15px) rotate(270deg);
        filter: drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.7));
    }

    100% {
        transform: translateY(0) rotate(360deg);
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
    }
}

@keyframes twinkleStar {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
        filter: drop-shadow(0 0 0 1px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.5));
    }

    50% {
        transform: translateY(-25px) scale(1.3);
        opacity: 1;
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.8));
    }
}

@keyframes floatCrystal {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.8;
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    }

    33% {
        transform: translateY(-20px) rotate(120deg) scale(1.1);
        opacity: 0.95;
        filter: drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 28px rgba(255, 255, 255, 0.6));
    }

    66% {
        transform: translateY(-10px) rotate(240deg) scale(0.95);
        opacity: 0.85;
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.5));
    }
}

/* Hover effect for Programs section with Enhanced Borders */
#programs:hover .programs-floating-pattern {
    animation-play-state: paused;
    transform: scale(1.15);
    opacity: 1;
    transition: all 0.4s ease;
}

/* Enhanced Hover Effects for Individual Shapes */
#programs:hover .programs-pattern-diamond {
    filter: drop-shadow(0 0 0 4px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.9));
}

#programs:hover .programs-pattern-emerald {
    filter: drop-shadow(0 0 0 4px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.9));
}

#programs:hover .programs-pattern-star {
    filter: drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 40px rgba(255, 255, 255, 1));
}

#programs:hover .programs-pattern-crystal {
    filter: drop-shadow(0 0 0 4px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.9));
}

/* Enhanced text colors for dark background */
.programs-section h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* .programs-section h3 {
            color: #ffffff !important;
        }

        .programs-section p {
            color: #e2e8f0 !important;
        } */

.programs-section .bg-gradient-to-r {
    background: linear-gradient(90deg, #00B299, #74D0F0) !important;
}

/* Card enhancements for dark theme */
.programs-section .bg-white {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.programs-section .bg-white:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments for Programs floating patterns */
@media (max-width: 768px) {
    .programs-floating-pattern {
        opacity: 0.6;
        transform: scale(0.7);
    }

    .programs-pattern-diamond {
        filter: drop-shadow(0 0 0 1px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
    }

    .programs-pattern-emerald {
        filter: drop-shadow(0 0 0 1px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
    }

    .programs-pattern-star {
        filter: drop-shadow(0 0 0 1px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }

    .programs-pattern-crystal {
        filter: drop-shadow(0 0 0 1px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
    }

    #programs:hover .programs-floating-pattern {
        opacity: 0.8;
        transform: scale(0.8);
    }

    /* تحديث تأثيرات hover للشاشات الصغيرة */
    #programs:hover .programs-pattern-diamond,
    #programs:hover .programs-pattern-emerald,
    #programs:hover .programs-pattern-crystal {
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    }

    #programs:hover .programs-pattern-star {
        filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.6));
    }
}

@media (max-width: 480px) {
    .programs-floating-pattern {
        opacity: 0.4;
        transform: scale(0.5);
    }
}

/* RTL specific styles */
.rtl-space-x-8>*+* {
    margin-right: 2rem;
    margin-left: 0;
}

.rtl-space-x-4>*+* {
    margin-right: 1rem;
    margin-left: 0;
}

/* Responsive spacing for medium screens */
@media (min-width: 1024px) and (max-width: 1279px) {
    .rtl-space-x-8>*+* {
        margin-right: 1rem;
    }

    .rtl-space-x-4>*+* {
        margin-right: 0.5rem;
    }
}

/* Custom RTL animations */
.rtl-transform-hover:hover {
    transform: translateY(-0.25rem);
}

/* RTL button hover effects */
.rtl-hover-scale:hover {
    transform: scale(1.05);
}

/* Luxury Frosted Glass Mobile Menu */
.mobile-menu-slide {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.22) 25%,
            rgba(248, 249, 250, 0.18) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            rgba(240, 242, 247, 0.10) 100%),
        radial-gradient(circle at 30% 70%,
            rgba(0, 178, 153, 0.03) 0%,
            transparent 60%),
        radial-gradient(circle at 70% 30%,
            rgba(116, 208, 240, 0.03) 0%,
            transparent 60%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 178, 153, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 2px 8px rgba(116, 208, 240, 0.06);

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.15);

    -webkit-backdrop-filter:
        blur(28px) saturate(1.6) contrast(1.15) brightness(1.08);
    backdrop-filter:
        blur(28px) saturate(1.6) contrast(1.15) brightness(1.08);

    z-index: 999;
    position: relative;
}

/* Glass texture overlay for mobile menu */
.mobile-menu-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 20%,
            rgba(0, 178, 153, 0.2) 40%,
            rgba(116, 208, 240, 0.3) 60%,
            rgba(255, 255, 255, 0.4) 80%,
            transparent 100%);
}

.mobile-menu-slide.active {
    max-height: 500px;
    opacity: 1;
}

/* Enhanced Mobile Menu Items */
.mobile-menu-item {
    position: relative;
    overflow: hidden;
    margin: 0.25rem 0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-item a {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    /* color: #374151; */
    font-weight: 500;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 178, 153, 0.08) 0%,
            rgba(116, 208, 240, 0.08) 100%);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.mobile-menu-item:hover::before {
    right: 0;
}

.mobile-menu-item:hover a {
    color: #00B299;
    transform: translateX(-8px);
}

/* Mobile CTA Button */
.mobile-cta {
    margin: 1rem;
    background: linear-gradient(135deg, #00B299 0%, #00A085 100%);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow:
        0 4px 16px rgba(0, 178, 153, 0.3),
        0 2px 8px rgba(0, 178, 153, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(0, 178, 153, 0.4),
        0 3px 10px rgba(0, 178, 153, 0.3);
}

/* Enhanced SVG Menu Icon Animation */
.menu-icon-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-btn.active .menu-icon-line:nth-child(1) {
    transform: translateY(5px) translateX(-4px) rotate(45deg) scaleX(1.5);
}

.mobile-menu-btn.active .menu-icon-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active .menu-icon-line:nth-child(3) {
    transform: translateY(2.5px) translateX(-11px) rotate(-45deg) scaleX(2.4);
}

.mobile-menu-btn:not(.active) .menu-icon-line:nth-child(3) {
    transform: translateY(0) rotate(0deg) scaleX(1);
}

/* Advanced Header Animations */
@keyframes headerSlideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 2px 8px rgba(0, 178, 153, 0.15));
    }

    50% {
        filter: drop-shadow(0 4px 16px rgba(0, 178, 153, 0.3));
    }
}

@keyframes navLinkPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes buttonShine {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

/* Apply animations */
.site-header {
    animation: headerSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-logo:focus {
    animation: logoGlow 2s ease-in-out infinite;
}

#desktop-nav a:active {
    animation: navLinkPulse 0.3s ease-in-out;
}

.header-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    background-size: 200% 100%;
    background-position: -100% 0;
    transition: background-position 0.8s ease;
}

.header-cta:hover::after {
    animation: buttonShine 1.2s ease-in-out infinite;
}

/* Loading state for navigation */
.nav-loading {
    opacity: 0.6;
    pointer-events: none;
}

.nav-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid #00B299;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hover effect for the entire header */
.site-header:hover::after {
    opacity: 1;
    height: 3px;
}

/* Focus visible improvements */
.header-logo:focus-visible {
    outline: 2px solid #00B299;
    outline-offset: 4px;
    border-radius: 8px;
}

#desktop-nav a:focus-visible {
    outline: 2px solid #00B299;
    outline-offset: 2px;
}

.header-cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid #00B299;
    outline-offset: 2px;
}

.mobile-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 178, 153, 0.1), transparent);
    transition: right 0.3s;
}

.mobile-menu-item:hover::before {
    right: 100%;
}

/* Luxury Frosted Glass Effect for Header */
.site-header {
    background: linear-gradient(135deg,
            rgba(30, 30, 30, 0.85) 0%,
            rgba(40, 40, 40, 0.80) 25%,
            rgba(50, 50, 50, 0.75) 50%,
            rgba(40, 40, 40, 0.78) 75%,
            rgba(25, 25, 25, 0.72) 100%),
        radial-gradient(circle at 20% 80%, rgba(80, 80, 80, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(100, 100, 100, 0.35) 0%, transparent 50%);

    /* background: 
                linear-gradient(135deg, 
                    rgba(255, 255, 255, 0.15) 0%,
                    rgba(255, 255, 255, 0.25) 25%,
                    rgba(248, 249, 250, 0.20) 50%,
                    rgba(255, 255, 255, 0.18) 75%,
                    rgba(240, 242, 247, 0.12) 100%
                ),
                radial-gradient(circle at 20% 80%, 
                    rgba(0, 178, 153, 0.03) 0%, 
                    transparent 50%
                ),
                radial-gradient(circle at 80% 20%, 
                    rgba(116, 208, 240, 0.03) 0%, 
                    transparent 50%
                ); */

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 8px 40px rgba(0, 178, 153, 0.08),
        0 4px 20px rgba(116, 208, 240, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.3);

    -webkit-backdrop-filter:
        blur(32px) saturate(1.8) contrast(1.2) brightness(1.1);
    backdrop-filter:
        blur(32px) saturate(1.8) contrast(1.2) brightness(1.1);

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* overflow: hidden; */
    z-index: 1000;
}

/* Enhanced frosted effect when scrolled */
.site-header.scrolled {
    /* background: 
                linear-gradient(135deg, 
                    rgba(255, 255, 255, 0.75) 0%,
                    rgba(255, 255, 255, 0.85) 25%,
                    rgba(248, 249, 250, 0.80) 50%,
                    rgba(255, 255, 255, 0.78) 75%,
                    rgba(240, 242, 247, 0.72) 100%
                ),
                radial-gradient(circle at 20% 80%, 
                    rgba(0, 178, 153, 0.43) 0%, 
                    transparent 50%
                ),
                radial-gradient(circle at 80% 20%, 
                    rgba(116, 208, 240, 0.43) 0%, 
                    transparent 50%
                ); */

    /* background: 
                linear-gradient(135deg, 
                    rgba(255, 255, 255, 0.20) 0%,
                    rgba(255, 255, 255, 0.35) 25%,
                    rgba(248, 249, 250, 0.30) 50%,
                    rgba(255, 255, 255, 0.25) 75%,
                    rgba(240, 242, 247, 0.18) 100%
                ),
                radial-gradient(circle at 20% 80%, 
                    rgba(0, 178, 153, 0.04) 0%, 
                    transparent 50%
                ),
                radial-gradient(circle at 80% 20%, 
                    rgba(116, 208, 240, 0.04) 0%, 
                    transparent 50%
                ); */

    /* box-shadow: 
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                inset 0 -1px 0 rgba(255, 255, 255, 0.15),
                0 12px 48px rgba(0, 178, 153, 0.12),
                0 6px 24px rgba(116, 208, 240, 0.08),
                0 3px 12px rgba(0, 0, 0, 0.06),
                0 1px 4px rgba(0, 0, 0, 0.03);
                
            border-bottom: 1px solid rgba(255, 255, 255, 0.25);
            
            -webkit-backdrop-filter: 
                blur(40px) 
                saturate(2.0) 
                contrast(1.3) 
                brightness(1.15);
            backdrop-filter: 
                blur(40px) 
                saturate(2.0) 
                contrast(1.3) 
                brightness(1.15); */
}

/* Luxury glass texture overlay */
.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 30%),
        radial-gradient(circle at 70% 70%,
            rgba(0, 178, 153, 0.03) 0%,
            transparent 40%),
        linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.02) 50%,
            transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Decorative gradient line at bottom */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 178, 153, 0.3) 20%,
            rgba(116, 208, 240, 0.4) 50%,
            rgba(0, 178, 153, 0.3) 80%,
            transparent 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.site-header.scrolled {
    /* background: 
                linear-gradient(135deg, 
                    rgba(255, 255, 255, 0.20) 0%,
                    rgba(255, 255, 255, 0.35) 25%,
                    rgba(248, 249, 250, 0.30) 50%,
                    rgba(255, 255, 255, 0.25) 75%,
                    rgba(240, 242, 247, 0.18) 100%
                ),
                radial-gradient(circle at 20% 80%, 
                    rgba(0, 178, 153, 0.04) 0%, 
                    transparent 50%
                ),
                radial-gradient(circle at 80% 20%, 
                    rgba(116, 208, 240, 0.04) 0%, 
                    transparent 50%
                );
                
            box-shadow: 
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                inset 0 -1px 0 rgba(255, 255, 255, 0.15),
                0 12px 48px rgba(0, 178, 153, 0.12),
                0 6px 24px rgba(116, 208, 240, 0.08),
                0 3px 12px rgba(0, 0, 0, 0.06),
                0 1px 4px rgba(0, 0, 0, 0.03);
                
            border-bottom: 1px solid rgba(255, 255, 255, 0.25);
            
            -webkit-backdrop-filter: 
                blur(40px) 
                saturate(2.0) 
                contrast(1.3) 
                brightness(1.15);
            backdrop-filter: 
                blur(40px) 
                saturate(2.0) 
                contrast(1.3) 
                brightness(1.15); */
}

.site-header.scrolled::after {
    opacity: 1;
}

/* Enhanced Content Styling for Better Contrast */
.header-container {
    position: relative;
    z-index: 10;
}

/* Enhance text contrast on glass background */
#desktop-nav a,
.mobile-menu-item a {
    color: rgba(55, 65, 81, 0.95);
    /* text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5); */
    font-weight: 500;
}

#desktop-nav a:hover,
.mobile-menu-item:hover a {
    color: #00B299;
    /* text-shadow:
        0 1px 3px rgba(255, 255, 255, 0.8),
        0 0 8px rgba(0, 178, 153, 0.2); */
}

/* Header Content Styling */
.header-container {
    position: relative;
    z-index: 10;
}

/* Logo Enhanced Styling */
.header-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 178, 153, 0.15));
}

.header-logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 4px 16px rgba(0, 178, 153, 0.25));
}

/* Desktop Navigation Styling */
#desktop-nav {
    position: relative;
}

#desktop-nav a {
    /* color: #374151; */
    color: #fff;
    /* font-weight: 500;
            font-size: 0.95rem;
            padding: 0.75rem 1.25rem; */
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dropdown-item {
    padding: 12px 16px !important;
}

.dropdown-item {
    color: #374151 !important;
}

/* Medium screens font size adjustment */
@media (min-width: 1024px) and (max-width: 1279px) {
    #desktop-nav a {
        /* font-size: 0.85rem;
                padding: 0.65rem 1rem; */
        padding: 0.35rem 0rem;
    }


    .header-cta {
        /* font-size: 0.875rem;
                padding: 0.75rem 1.5rem; */
    }
}

/* Large screens */
@media (min-width: 1280px) {
    #desktop-nav a {
        font-size: 0.95rem;
        padding: 0.35rem;
    }
}

#desktop-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 178, 153, 0.08) 0%,
            rgba(116, 208, 240, 0.08) 100%);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

#desktop-nav a:hover {
    color: #00B299;
    transform: translateY(-1px);
}

#desktop-nav a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Luxury CTA Button with Glass Effect */
.header-cta {
    background: linear-gradient(135deg,
            rgba(0, 178, 153, 0.95) 0%,
            rgba(0, 160, 133, 0.98) 100%);
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 16px;

    /* box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 178, 153, 0.35),
        0 2px 8px rgba(0, 178, 153, 0.25),
        0 1px 4px rgba(0, 0, 0, 0.1); */

    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    transition: left 0.6s ease;
}

.header-cta:hover {
    transform: translateY(-2px);

    background: linear-gradient(135deg,
            rgba(0, 160, 133, 0.98) 0%,
            rgba(0, 143, 115, 1) 100%);

    /* box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 178, 153, 0.45),
        0 4px 12px rgba(0, 178, 153, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.15); */
}

.header-cta:hover::before {
    left: 100%;
}

/* Mobile CTA with Glass Effect */
.mobile-cta {
    margin: 1rem;
    background: linear-gradient(135deg,
            rgba(0, 178, 153, 0.95) 0%,
            rgba(0, 160, 133, 0.98) 100%);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;

    /* box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 178, 153, 0.3),
        0 2px 8px rgba(0, 178, 153, 0.2); */

    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.mobile-cta:hover {
    transform: translateY(-2px);

    /* box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 6px 20px rgba(0, 178, 153, 0.4),
        0 3px 10px rgba(0, 178, 153, 0.3); */
}

/* Luxury Glass Mobile Menu Button */
.mobile-menu-btn {
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.25) 100%);

    /* box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 2px 8px rgba(0, 178, 153, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.05); */

    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn:hover {
    background:
        linear-gradient(135deg,
            rgba(0, 178, 153, 0.08) 0%,
            rgba(116, 208, 240, 0.08) 100%);

    /* box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(0, 178, 153, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.08); */

    border-color: rgba(0, 178, 153, 0.2);
    transform: scale(1.05);
}

.mobile-menu-btn svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5));
}

.mobile-menu-btn:hover svg {
    transform: scale(1.1);
}

/* Responsive Design for Header */
@media (max-width: 1024px) {
    .site-header {
        padding: 0;
    }

    .header-container {
        padding: 0.75rem 1rem;
    }

    /* .header-logo img {
                height: 2.5rem;
                width: auto;
                margin: -0.5rem 0;
            } */

    section[id] {
        scroll-margin-top: 80px;
    }
}

@media (max-width: 768px) {
    .site-header {
        box-shadow:
            0 2px 16px rgba(0, 178, 153, 0.1),
            0 1px 8px rgba(0, 0, 0, 0.05);
    }

    .header-container {
        padding: 0.5rem 1rem;
    }

    /* .header-logo img {
                height: 2.25rem;
                width: auto; 
                margin: -0.25rem 0;
            } */

    .mobile-menu-btn {
        padding: 0.5rem;
        border-radius: 8px;
    }

    .mobile-menu-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* @media (max-width: 480px) {
            .header-container {
                padding: 0.5rem 0.75rem;
            }
            
            .header-logo img {
                height: 2rem;
                width: auto; 
            }
            
            .mobile-menu-slide {
                margin: 0 -0.75rem;
                border-radius: 0;
            }
            
            .mobile-cta {
                margin: 0.75rem;
                padding: 0.875rem 1.25rem;
                font-size: 0.95rem;
            }
        } */

/* Fix scroll offset for sticky header */
section[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 1024px) {
    section[id] {
        scroll-margin-top: 80px;
    }
}

/* Hero Section Styles with Full Background Image */
.hero-section {
    position: relative;
    background-image: url('https://www.sbtleaders.com/assets/img/main/Hero_img_man_explain.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Enhanced Background Overlay for better contrast */
.hero-section::before {
    content: '';
    position: absolute;
    /* inset: 0; */
    /* background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.4) 0%, 
        rgba(226, 232, 240, 0.3) 30%, 
        rgba(203, 213, 225, 0.2) 70%, 
        rgba(148, 163, 184, 0.1) 100%); */
    /* mix-blend-mode: overlay; */
    z-index: 1;
}

/* Additional texture overlay */
/* .hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://www.sbtleaders.com/assets/img/main/gray-paper-texture-torn-and-distorted-a-wrinkled-background-with-cracks-folds_.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    mix-blend-mode: overlay;
    filter: contrast(1.2) brightness(0.95) saturate(1.05);
    pointer-events: none;
    z-index: 2;
} */

/* Glass Container for Text Content */
.hero-glass-container-text {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    z-index: 5;
}

/* Enhanced Glass Panel Behind Text Content */
.hero-glass-container-text::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;

    /* Advanced Glass Effect with more opacity for better visibility */
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.20) 50%,
            rgba(255, 255, 255, 0.15) 100%);

    /* Enhanced Glass Blur Effect    شوفها يا مهند بعدين*/
    backdrop-filter: blur(16px) saturate(130%); 
    -webkit-backdrop-filter: blur(16px) saturate(130%);

    /* Glass Border and Shadow */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);

    z-index: 1;
    animation: glassFloat 12s ease-in-out infinite;
}

/* Enhanced Glass Reflection Effect for Text */
.hero-glass-container-text::after {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;

    /* Enhanced Reflection Gradient */
    background: linear-gradient(45deg,
            transparent 25%,
            rgba(255, 255, 255, 0.15) 42%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.15) 58%,
            transparent 75%);

    border-radius: 24px;
    z-index: 2;
    pointer-events: none;
    animation: glassShine 15s ease-in-out infinite;
}

/* Content positioned above glass */
.hero-content-wrapper {
    position: relative;
    z-index: 3;
}

/* Text glow effects for better readability against background */
/* .hero-text-glow {
    text-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.5);
} */

/* Space for decorative elements where image would have been */
.hero-image-space {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Decorative Elements for the right side space */
/* .hero-decoration-circle-1 {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 178, 153, 0.3), rgba(116, 208, 240, 0.3));
    border-radius: 50%;
    filter: blur(20px);
    animation: decorationFloat1 10s ease-in-out infinite;
    z-index: 1;
} */

/* .hero-decoration-circle-2 {
    position: absolute;
    bottom: 30%;
    left: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(116, 208, 240, 0.4), rgba(0, 178, 153, 0.3));
    border-radius: 50%;
    filter: blur(15px);
    animation: decorationFloat2 12s ease-in-out infinite reverse;
    z-index: 1;
} */

/* .hero-decoration-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: url('https://www.sbtleaders.com/assets/img/main/sbtl_pattern1.png') center/contain no-repeat;
    opacity: 0.1;
    filter: blur(1px);
    z-index: 1;
    animation: patternRotate 20s linear infinite;
} */

/* Animations */
@keyframes glassFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.002);
    }
}

@keyframes glassShine {
    0%, 100% {
        background-position: -100% center;
        opacity: 0;
    }
    50% {
        background-position: 200% center;
        opacity: 1;
    }
}

/* @keyframes decorationFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(10px, -15px) scale(1.1);
    }
}

@keyframes decorationFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-8px, 12px) scale(1.05);
    }
}

@keyframes patternRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
} */

/* Enhanced Glass Buttons with improved shadows */
.hero-btn-primary {
    background: linear-gradient(135deg,
            rgba(0, 178, 153, 0.9) 0%,
            rgba(0, 160, 133, 0.95) 100%);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 178, 153, 0.3),
        0 4px 16px rgba(0, 178, 153, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-btn-secondary {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(0, 0, 0, 0.9);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* Button Hover Effects */
.hero-btn-primary:hover {
    background: linear-gradient(135deg,
            rgba(0, 160, 133, 0.95) 0%,
            rgba(0, 143, 115, 1) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(0, 178, 153, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.25) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Responsive Design for Full Background Layout */
@media (max-width: 1024px) {
    .hero-section {
        background-position: center;
        background-attachment: scroll;
        min-height: 100vh;
        padding: 80px 0 20px;
    }
    
    .hero-glass-container-text {
        max-width: 500px;
        padding: 2.5rem 1.5rem;
    }
    
    .hero-image-space {
        height: 300px;
    }
    
    /* .hero-decoration-circle-1 {
        width: 100px;
        height: 100px;
    }
    
    .hero-decoration-circle-2 {
        width: 70px;
        height: 70px;
    } */
}

@media (max-width: 768px) {
    .hero-section {
        background-position: center;
        background-attachment: scroll;
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero-section::before {
        background: linear-gradient(135deg, 
            rgba(248, 250, 252, 0.6) 0%, 
            rgba(226, 232, 240, 0.5) 30%, 
            rgba(203, 213, 225, 0.4) 70%, 
            rgba(148, 163, 184, 0.3) 100%);
    }

    .hero-glass-container-text {
        max-width: 100%;
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .hero-glass-container-text::before {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        border-radius: 20px;
        backdrop-filter: blur(12px) saturate(120%);
        -webkit-backdrop-filter: blur(12px) saturate(120%);
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.45) 0%,
                rgba(255, 255, 255, 0.30) 50%,
                rgba(255, 255, 255, 0.25) 100%);
    }

    .hero-glass-container-text::after {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        border-radius: 20px;
    }
    
    .hero-image-space {
        height: 250px;
        margin-top: 1rem;
    }
    
    .hero-decoration-circle-1 {
        width: 80px;
        height: 80px;
        top: 15%;
        right: 15%;
    }
    
    .hero-decoration-circle-2 {
        width: 60px;
        height: 60px;
        bottom: 20%;
        left: 10%;
    }
    
    .hero-decoration-pattern {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-glass-container-text {
        padding: 1.5rem 0.75rem;
    }
    
    .hero-glass-container-text::before {
        top: 0.25rem;
        left: 0.25rem;
        right: 0.25rem;
        bottom: 0.25rem;
        border-radius: 16px;
        backdrop-filter: blur(10px) saturate(115%);
        -webkit-backdrop-filter: blur(10px) saturate(115%);
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.5) 0%,
                rgba(255, 255, 255, 0.35) 50%,
                rgba(255, 255, 255, 0.3) 100%);
    }

    .hero-glass-container-text::after {
        top: 0.25rem;
        left: 0.25rem;
        right: 0.25rem;
        bottom: 0.25rem;
        border-radius: 16px;
    }
    
    .hero-image-space {
        height: 200px;
    }
    
    .hero-decoration-pattern {
        display: none;
    }
}

/* Enhanced large screen effects */
@media (min-width: 1200px) {
    .hero-section {
        background-attachment: fixed;
    }
    
    .hero-glass-container-text {
        max-width: 650px;
        padding: 3.5rem 2.5rem;
    }
    
    .hero-image-space {
        height: 500px;
    }
    
    .hero-decoration-circle-1 {
        width: 140px;
        height: 140px;
    }
    
    .hero-decoration-circle-2 {
        width: 100px;
        height: 100px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .hero-glass-container-text::before,
    .hero-glass-container-text::after,
    .hero-decoration-circle-1,
    .hero-decoration-circle-2,
    .hero-decoration-pattern {
        animation: none;
    }
}

    .hero-glass-container::before,
    .hero-glass-container::after {
        animation: none;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        transition: all 0.2s ease;
    }
}

/* Navigation Soon Styles - Enhanced */
.nav-soon {
    position: relative;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-soon::after {
    content: 'قريباً';
    position: absolute;
    top: -14px;
    left: -14px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    transform: scale(0.9);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(255, 107, 107, 0.3);
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: comingSoonPulse 2s ease-in-out infinite;
}

@keyframes comingSoonPulse {

    0%,
    100% {
        transform: scale(0.9);
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.1),
            0 1px 2px rgba(255, 107, 107, 0.3);
    }

    50% {
        transform: scale(1);
        box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.15),
            0 2px 4px rgba(255, 107, 107, 0.5);
    }
}

.nav-soon:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav-soon:hover::after {
    transform: scale(1.05);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(255, 107, 107, 0.5);
    animation-play-state: paused;
}

/* Disable ::after for mobile menu items since they have their own badge */
#mobile-menu .nav-soon::after {
    display: none !important;
}

/* Mobile specific class without ::after - Enhanced */
.nav-soon-mobile {
    opacity: 0.7;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-soon-mobile:hover {
    opacity: 0.9;
    transform: translateX(-4px);
}

/* Mobile Soon Badge */
.mobile-soon-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 6px;
    margin-right: 0.5rem;
    box-shadow: 0 1px 3px rgba(255, 107, 107, 0.3);
    animation: mobileBadgePulse 2s ease-in-out infinite;
}

@keyframes mobileBadgePulse {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.9;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Footer Soon Styles */
.footer-soon {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.footer-soon::after {
    content: 'قريباً';
    position: absolute;
    top: -2px;
    /* left: 123px; */
    right: 72px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 8px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 6px;
    transform: scale(0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    /* color: #6E6F72; */
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #00B299;
}

.dropdown-item.soon {
    opacity: 0.7;
    position: relative;
}

.dropdown-item.soon::after {
    content: 'قريباً';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Dropdown Styles */
.mobile-dropdown-toggle {
    cursor: pointer;
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-right: 20px;
}

.mobile-dropdown-content.active {
    max-height: 200px;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
}

.mobile-dropdown-arrow.active {
    transform: rotate(180deg);
}

/* Events Section Professional Styles */
.events-section {
    position: relative;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    overflow: hidden;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 179, 153, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(116, 208, 240, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.events-floating-pattern {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}

.events-pattern-circle {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(0, 179, 153, 0.2);
    border-radius: 50%;
    animation: floatCircle 8s ease-in-out infinite;
}

.events-pattern-hexagon {
    width: 80px;
    height: 80px;
    background: rgba(116, 208, 240, 0.15);
    clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
    animation: floatHexagon 6s ease-in-out infinite reverse;
}

.events-pattern-square {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0, 179, 153, 0.1), rgba(116, 208, 240, 0.1));
    border-radius: 12px;
    animation: rotateFloat 10s linear infinite;
}

@keyframes floatCircle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-30px) rotate(180deg) scale(1.1);
    }
}

@keyframes floatHexagon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(60deg);
    }
}

@keyframes rotateFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(90deg);
    }

    50% {
        transform: translateY(0) rotate(180deg);
    }

    75% {
        transform: translateY(-10px) rotate(270deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Event Cards Enhanced Styles */
.event-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 179, 153, 0.1);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00B299, #74D0F0);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.event-card:hover::before {
    transform: scaleX(1);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 179, 153, 0.15);
    border-color: rgba(0, 179, 153, 0.2);
}

.event-card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.event-date-badge {
    background: linear-gradient(135deg, #00B299, #74D0F0);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 179, 153, 0.3);
}

.event-title {
    color: #2D3748;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.event-card:hover .event-title {
    color: #00B299;
}

.event-description {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #718096;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta-icon {
    width: 16px;
    height: 16px;
    color: #00B299;
}

/* Event card button styles */
.event-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.event-details-btn {
    color: #74D0F0;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(116, 208, 240, 0.1);
    border: 1px solid rgba(116, 208, 240, 0.2);
}

.event-details-btn:hover {
    color: #5fb8d9;
    background: rgba(116, 208, 240, 0.2);
    border-color: #5fb8d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(116, 208, 240, 0.3);
}

.event-register-btn {
    color: white;
    background: linear-gradient(135deg, #00B299, #00a085);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 179, 153, 0.3);
}

.event-register-btn:hover {
    background: linear-gradient(135deg, #00a085, #008a75);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 179, 153, 0.4);
}

@media (max-width: 640px) {
    .event-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .event-details-btn,
    .event-register-btn {
        text-align: center;
        width: 100%;
    }
}

/* Event Details Professional Styles */
.event-details-hero {
    background: linear-gradient(135deg, #00B299 0%, #74D0F0 100%);
    position: relative;
    overflow: hidden;
}

.event-details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.event-details-floating {
    position: absolute;
    pointer-events: none;
    opacity: 0.3;
}

.event-details-circle {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatSlow 12s ease-in-out infinite;
}

.event-details-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(255, 255, 255, 0.2);
    animation: floatTriangle 8s ease-in-out infinite;
}

.event-details-diamond {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    animation: rotateDiamond 15s linear infinite;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-40px) scale(1.1);
    }
}

@keyframes floatTriangle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(180deg);
    }
}

@keyframes rotateDiamond {
    0% {
        transform: rotate(45deg) scale(1);
    }

    25% {
        transform: rotate(135deg) scale(1.1);
    }

    50% {
        transform: rotate(225deg) scale(1);
    }

    75% {
        transform: rotate(315deg) scale(1.1);
    }

    100% {
        transform: rotate(405deg) scale(1);
    }
}

.event-meta-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 179, 153, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.event-meta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.event-content-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 179, 153, 0.05);
    position: relative;
    overflow: hidden;
}

.event-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00B299, #74D0F0);
}

.registration-cta-card {
    background: linear-gradient(135deg, #00B299, #74D0F0);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.registration-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.event-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.event-title-main {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.event-meta-item-new {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 179, 153, 0.1);
    transition: all 0.3s ease;
}

.event-meta-item-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.event-meta-icon-new {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00B299, #74D0F0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.registration-btn-new {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.registration-btn-new:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Rich content styles */
.rich-content-new {
    line-height: 1.8;
    color: #4A5568;
}

.rich-content-new h1,
.rich-content-new h2,
.rich-content-new h3 {
    color: #2D3748;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.rich-content-new h1 {
    font-size: 2rem;
}

.rich-content-new h2 {
    font-size: 1.5rem;
}

.rich-content-new h3 {
    font-size: 1.25rem;
}

.rich-content-new p {
    margin-bottom: 1rem;
}

.rich-content-new ul,
.rich-content-new ol {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.rich-content-new li {
    margin-bottom: 0.5rem;
}

/* Loading State for Event Details */
.loading-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #00B299;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Enhanced loading animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

/* Error state animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.error-shake {
    animation: shake 0.5s ease-in-out;
}

/* Rich text content styles */
.rich-content h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 1.5rem 0 1rem 0;
    color: #1f2937;
}

.rich-content h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 1.25rem 0 0.75rem 0;
    color: #1f2937;
}

.rich-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    color: #1f2937;
}

.rich-content p {
    margin: 0.75rem 0;
    line-height: 1.6;
    color: #4b5563;
}

.rich-content ul,
.rich-content ol {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.rich-content li {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: #4b5563;
}

.rich-content strong {
    font-weight: 600;
    color: #1f2937;
}

.rich-content em {
    font-style: italic;
}

.rich-content u {
    text-decoration: underline;
}

.rich-content del {
    text-decoration: line-through;
}

.rich-content code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: #1f2937;
}

.rich-content a {
    color: #00B299;
    text-decoration: underline;
    transition: color 0.2s;
}

.rich-content a:hover {
    color: #00a085;
}

/* Registration button styles */
.registration-btn {
    background: linear-gradient(135deg, #00b299, #00a085);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 178, 153, 0.3);
}

.registration-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 178, 153, 0.4);
}

/* Legal Document Styles */
.legal-document {
    max-width: 4xl;
    margin: 0 auto;
}

.legal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.legal-meta {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #6B7280;
}

/* Rich text styles for legal documents */
.legal-content .rich-content {
    font-size: 1rem;
    line-height: 1.7;
}

.legal-content .rich-content h1 {
    font-size: 1.875rem;
    margin: 1.5rem 0 1rem 0;
    color: #1f2937;
    border-bottom: 2px solid #00B299;
    padding-bottom: 0.5rem;
}

.legal-content .rich-content h2 {
    font-size: 1.5rem;
    margin: 1.25rem 0 0.75rem 0;
    color: #374151;
}

.legal-content .rich-content h3 {
    font-size: 1.25rem;
    margin: 1rem 0 0.5rem 0;
    color: #374151;
}

.legal-content .rich-content p {
    margin: 0.875rem 0;
    text-align: justify;
}

.legal-content .rich-content ul,
.legal-content .rich-content ol {
    margin: 1rem 0;
    padding-right: 2rem;
}

.legal-content .rich-content li {
    margin: 0.75rem 0;
}

/* Footer link hidden state */
.footer-link-hidden {
    opacity: 0.6;
}

/* Legal Document Enhanced Styles */
.legal-document {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 178, 153, 0.1);
    position: relative;
    overflow: hidden;
}

.legal-document::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #00B299, #74D0F0, #00B299);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 200% 0;
    }

    50% {
        background-position: -200% 0;
    }
}

.legal-meta {
    background: linear-gradient(135deg, rgba(0, 178, 153, 0.05), rgba(116, 208, 240, 0.05));
    border: 1px solid rgba(0, 178, 153, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.legal-meta::before {
    content: '⚖️';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 10px;
    font-size: 1.2rem;
}

.legal-content {
    position: relative;
    z-index: 1;
}

.rich-content {
    line-height: 1.8;
    color: #4a5568;
    font-size: 1.1rem;
}

.rich-content h1 {
    color: #00B299;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 3px solid #74D0F0;
    padding-bottom: 0.5rem;
    position: relative;
}

.rich-content h1::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #00B299;
    border-radius: 2px;
}

.rich-content h2 {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    position: relative;
    padding-right: 1.5rem;
}

.rich-content h2::before {
    content: '◆';
    position: absolute;
    right: 0;
    top: 0;
    color: #00B299;
    font-size: 1.2rem;
}

.rich-content h3 {
    color: #4a5568;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem 0;
    position: relative;
    padding-right: 1rem;
}

.rich-content h3::before {
    content: '▪';
    position: absolute;
    right: 0;
    top: 0.1rem;
    color: #74D0F0;
    font-size: 1rem;
}

.rich-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
}

.rich-content ul,
.rich-content ol {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

.rich-content li {
    margin-bottom: 0.75rem;
    position: relative;
}

.rich-content ul li::before {
    content: '●';
    color: #00B299;
    position: absolute;
    right: -1.5rem;
    top: 0;
}

.rich-content ol li {
    counter-increment: item;
}

.rich-content ol li::before {
    content: counter(item, decimal) '.';
    color: #00B299;
    font-weight: 600;
    position: absolute;
    right: -2rem;
    top: 0;
}

.rich-content ol {
    counter-reset: item;
}

.rich-content strong,
.rich-content b {
    color: #00B299;
    font-weight: 600;
}

.rich-content em,
.rich-content i {
    color: #74D0F0;
    font-style: normal;
    background: linear-gradient(135deg, rgba(116, 208, 240, 0.1), rgba(0, 178, 153, 0.1));
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(116, 208, 240, 0.2);
}

.rich-content a {
    color: #00B299;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.rich-content a:hover {
    border-bottom-color: #00B299;
    background: rgba(0, 178, 153, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Back to Top Button for Legal Pages */
.legal-back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, #00B299, #74D0F0);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 178, 153, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1.2rem;
}

.legal-back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 178, 153, 0.4);
}

/* Legal Page Breadcrumb Enhancement */
.legal-document nav {
    margin-bottom: 2rem;
}

.legal-document nav ol {
    background: rgba(0, 178, 153, 0.05);
    border: 1px solid rgba(0, 178, 153, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
}

.legal-document nav a {
    color: #00B299;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.legal-document nav a:hover {
    background: rgba(0, 178, 153, 0.1);
    transform: translateY(-1px);
}

/* Responsive Enhancements for Legal Pages */
@media (max-width: 768px) {
    .legal-document {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 16px;
    }

    .rich-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .rich-content h2 {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .rich-content h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .rich-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .legal-meta {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .legal-back-to-top {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        left: 1rem;
        font-size: 1rem;
    }

    .rich-content ul,
    .rich-content ol {
        padding-right: 1.5rem;
    }

    .rich-content ul li::before {
        right: -1.2rem;
    }

    .rich-content ol li::before {
        right: -1.5rem;
    }

    .rich-content h2::before {
        position: relative;
        display: inline-block;
        margin-left: 0.5rem;
    }

    .rich-content h3::before {
        position: relative;
        display: inline-block;
        margin-left: 0.5rem;
    }

    .info-box,
    .warning-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .info-box::before,
    .warning-box::before {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .legal-document {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
        border-radius: 12px;
    }

    .rich-content h1 {
        font-size: 1.6rem;
    }

    .rich-content h2 {
        font-size: 1.3rem;
    }

    .rich-content h3 {
        font-size: 1.1rem;
    }

    .rich-content {
        font-size: 0.95rem;
    }

    .legal-meta {
        padding: 0.75rem;
        text-align: center;
    }

    .legal-meta::before {
        font-size: 1rem;
    }

    /* Improve readability on small screens */
    .rich-content p {
        text-align: right;
        text-justify: none;
    }

    /* Better spacing for mobile */
    .section-divider {
        margin: 2rem 0;
    }

    /* Mobile-friendly navigation breadcrumb */
    .legal-document nav ol {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Better button sizing on mobile */
    .legal-document button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements */
@media (pointer: coarse) {
    .legal-document a {
        padding: 0.5rem 0.25rem;
        margin: 0.25rem 0;
        display: inline-block;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .legal-back-to-top {
        width: 56px;
        height: 56px;
        font-size: 1.1rem;
    }

    /* Better touch targets for navigation */
    .legal-document nav a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Dark mode compatibility (if needed in future) */
@media (prefers-color-scheme: dark) {
    .legal-document {
        color: #e2e8f0;
    }

    .rich-content {
        color: #cbd5e0;
    }

    .rich-content h1,
    .rich-content h2,
    .rich-content h3 {
        color: #e2e8f0;
    }

    .info-box {
        background: linear-gradient(135deg, rgba(116, 208, 240, 0.2), rgba(0, 178, 153, 0.15));
        border-color: rgba(116, 208, 240, 0.4);
    }

    .warning-box {
        background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.15));
        border-color: rgba(255, 193, 7, 0.4);
    }
}

/* Print styles for legal documents */
@media print {
    .legal-document {
        box-shadow: none;
        border: 1px solid #ccc;
        background: white;
    }

    .legal-back-to-top,
    .legal-document nav,
    .legal-document button {
        display: none !important;
    }

    .rich-content {
        color: #000;
        font-size: 12pt;
        line-height: 1.5;
    }

    .rich-content h1 {
        font-size: 18pt;
        color: #000;
    }

    .rich-content h2 {
        font-size: 16pt;
        color: #000;
    }

    .rich-content h3 {
        font-size: 14pt;
        color: #000;
    }

    .info-box,
    .warning-box {
        border: 2px solid #ccc;
        background: #f9f9f9;
    }

    .section-divider {
        border-bottom: 1px solid #ccc;
        height: 1px;
        background: none;
    }
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #00B299, #74D0F0, transparent);
    margin: 3rem 0;
    border-radius: 1px;
}

/* Highlight boxes for important information */
.info-box {
    background: linear-gradient(135deg, rgba(116, 208, 240, 0.1), rgba(0, 178, 153, 0.05));
    border: 2px solid rgba(116, 208, 240, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.info-box::before {
    content: 'ℹ️';
    position: absolute;
    top: -12px;
    right: 20px;
    background: white;
    padding: 0 8px;
    font-size: 1.2rem;
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.05));
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.warning-box::before {
    content: '⚠️';
    position: absolute;
    top: -12px;
    right: 20px;
    background: white;
    padding: 0 8px;
    font-size: 1.2rem;
}

/* CTA Section Floating Shapes */
.cta-floating-shapes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.6;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* Floating Squares */
.floating-square {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    animation: floatAndRotate 6s infinite;
}

.floating-square.large {
    width: 60px;
    height: 60px;
    animation-duration: 8s;
    border-radius: 12px;
}

.floating-square.small {
    width: 24px;
    height: 24px;
    animation-duration: 4s;
    border-radius: 6px;
}

/* Floating Circles */
.floating-circle {
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: floatAndPulse 5s infinite;
}

.floating-circle.large {
    width: 80px;
    height: 80px;
    animation-duration: 7s;
}

.floating-circle.medium {
    width: 50px;
    height: 50px;
    animation-duration: 5s;
}

.floating-circle.small {
    width: 30px;
    height: 30px;
    animation-duration: 3s;
}

/* Star-like Diamonds */
.floating-diamond {
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    transform: rotate(45deg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: starTwinkle 3s infinite;
}

.floating-diamond.large {
    width: 32px;
    height: 32px;
    animation-duration: 4s;
}

/* Floating Animations */
@keyframes floatAndRotate {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-20px) rotate(180deg) scale(1.1);
    }

    100% {
        transform: translateY(0) rotate(360deg) scale(1);
    }
}

@keyframes floatAndPulse {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
}

@keyframes starTwinkle {

    0%,
    100% {
        transform: rotate(45deg) scale(1);
        opacity: 0.4;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }

    25% {
        transform: rotate(135deg) scale(1.3);
        opacity: 0.8;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }

    75% {
        transform: rotate(225deg) scale(0.8);
        opacity: 0.6;
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    }
}

/* Gentle Drift Animation for variety */
@keyframes gentleDrift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(15px, -10px) rotate(120deg);
    }

    66% {
        transform: translate(-10px, -15px) rotate(240deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Hover effect for enhanced interactivity */
#cta:hover .floating-shape {
    animation-play-state: paused;
    transform: scale(1.1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-shape {
        opacity: 0.4;
    }

    .floating-square.large,
    .floating-circle.large {
        display: none;
    }
}

/* Ensure content stays above floating shapes */
.cta-content {
    position: relative;
    z-index: 2;
}