/* Import Estedad Font */
@import url('../Estedad/css/style.css');

/* ===== GLOBAL STYLES ===== */
body {
    padding-top: 0;
    margin: 0;
    font-family: 'Estedad', 'Tahoma', 'Arial', sans-serif;
    direction: rtl;
    text-align: right;
}

/* ===== TEXT UTILITIES ===== */
.text-muted {
    color: var(--text-muted) !important;
}

/* ===== THEME VARIABLES ===== */
:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --muted-surface: #fbfcfd;
    --text: #111111;
    --text-muted: #555555;
    --border: #e9ecef;
    --accent: #CF8C06;
    --accent-2: #ecc256;
    --shadow: rgba(0, 0, 0, 0.06);
    --cookie-bg: rgba(255,255,255,0.92);
    --cookie-text: #1a1a1a;
    --cookie-border: rgba(0,0,0,0.06);
}

.theme-dark {
    --bg: #0e0f12;
    --surface: #121418;
    --muted-surface: #0f1115;
    --text: #e8eaf0;
    --text-muted: #a7afbe;
    --border: #22262e;
    --accent: #f1b24a;
    --accent-2: #f7d27a;
    --shadow: rgba(0, 0, 0, 0.35);
    --cookie-bg: rgba(18,20,24,0.92);
    --cookie-text: #e8eaf0;
    --cookie-border: #22262e;
}

html, body {
    background: var(--bg);
    color: var(--text);
    transition: background-color 0.35s ease, color 0.35s ease;
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 2px solid var(--border);
    background: linear-gradient(145deg, var(--surface) 0%, var(--muted-surface) 100%);
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    outline: none;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(0, 0, 0, 0.05) 100%);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(145deg, 
        rgba(207, 140, 6, 0.3) 0%, 
        rgba(225, 171, 63, 0.2) 50%, 
        rgba(207, 140, 6, 0.1) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.theme-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    background: var(--surface);
    border-color: rgba(207, 140, 6, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.theme-toggle:hover::before { opacity: 0; }
.theme-toggle:hover::after { opacity: 0; }

.theme-toggle:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-toggle:focus-visible {
    border-color: var(--accent);
    box-shadow: 
        0 0 0 4px rgba(207, 140, 6, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.15);
}

.theme-icon {
    width: 24px;
    height: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    z-index: 1;
    position: relative;
}

.theme-toggle:hover .theme-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Icon transition animations */
.theme-icon.slide-out-left {
    animation: slideOutLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.theme-icon.slide-out-right {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.theme-icon.slide-in-left {
    animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.theme-icon.slide-in-right {
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-30px) scale(0.8);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(30px) scale(0.8);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-30px) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(30px) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.theme-dark .theme-toggle {
    background: linear-gradient(145deg, #1a1f27 0%, #151922 100%);
    border-color: #2a3140;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.theme-dark .theme-toggle:hover {
    background: var(--surface);
    border-color: rgba(207, 140, 6, 0.4);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-dark .theme-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ===== GLOBAL ANIMATION UTILITIES ===== */
.load-init {
    opacity: 0;
    transform: translateY(12px);
}

.load-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    filter: blur(2px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .load-init,
    .load-in,
    .reveal-on-scroll,
    .reveal-on-scroll.is-visible {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: none;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(207, 140, 6, 0.02) 0%, 
        rgba(225, 171, 63, 0.01) 50%, 
        rgba(244, 213, 132, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar.scrolled::before {
    opacity: 1;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.theme-dark .navbar {
    background: rgba(18, 20, 24, 0.85) !important;
}
.theme-dark .navbar.scrolled {
    background: rgba(18, 20, 24, 0.92) !important;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand,
.nav-link {
    color: var(--text) !important;
    position: relative;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent) !important;
    transform: translateY(-1px);
}

.nav-link.active::before {
    width: 100%;
}

.navbar-brand {
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.dropdown-menu {
    border: 1px solid var(--border);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: var(--surface);
    text-align: right;
}

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

/* ===== DESKTOP NAVBAR RE-DESIGN ===== */
@media (min-width: 992px) {
    :root {
        --nav-height: 72px;
        --nav-height-scrolled: 60px;
        --nav-radius: 16px;
        --nav-radius-scrolled: 12px;
        --nav-shadow: 0 10px 30px rgba(0,0,0,0.06);
        --nav-shadow-scrolled: 0 8px 24px rgba(0,0,0,0.08);
    }

    .navbar {
        border-bottom: none;
        padding-top: 0;
        padding-bottom: 0;
        background: transparent !important;
        transform: translateY(-8px);
        opacity: 0;
        animation: navDrop 600ms cubic-bezier(0.22, 1, 0.36, 1) 150ms forwards;
    }

    .navbar .container {
        height: var(--nav-height);
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(12px);
        border: none;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        align-items: center;
        padding-inline: 18px;
        transition: height 300ms ease, border-radius 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
    }

    .navbar.scrolled .container {
        height: var(--nav-height-scrolled);
        border-radius: 0;
        box-shadow: none;
        background: rgba(255,255,255,0.96);
    }

    .navbar-brand {
        font-weight: 700;
        font-size: 1.25rem;
        letter-spacing: -0.2px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .navbar-brand i { color: var(--accent); }

    .navbar-nav .nav-link {
        padding: 10px 14px !important;
        margin: 0 4px;
        border-radius: 10px;
        color: var(--text) !important;
        transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
    }

    .navbar-nav .nav-link:hover {
        background-color: rgba(0,0,0,0.03);
        color: var(--accent) !important;
        transform: translateY(-1px);
    }

    .navbar-nav .nav-link.active {
        color: var(--accent) !important;
        background-color: rgba(207, 140, 6, 0.08);
    }

    /* Underline animation refined */
    .navbar-nav .nav-link::before {
        height: 2px;
        bottom: 4px;
        border-radius: 2px;
    }

    /* Right-side buttons minimal styling */
    .navbar .d-flex .btn {
        border-radius: 999px;
        padding: 8px 14px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .navbar .d-flex .btn::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.5s ease;
    }

    .navbar .d-flex .btn:hover::before {
        left: 100%;
    }

    .navbar .d-flex .btn.btn-outline-secondary {
        background: #fff;
        border: 1px solid rgba(0,0,0,0.08);
        color: #222;
    }

    .navbar .d-flex .btn.btn-outline-secondary:hover {
        background: #f8f9fa;
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        transform: translateY(-3px) scale(1.05);
        border-color: rgba(0,0,0,0.15);
        color: #000;
    }

    .navbar .d-flex .btn.btn-outline-secondary:active {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .navbar .d-flex .btn.btn-dark {
        background: #111;
        border: 1px solid #111;
        color: #fff;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }

    .navbar .d-flex .btn.btn-dark:hover {
        background: #000;
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
        color: #fff;
    }

    .navbar .d-flex .btn.btn-dark:active {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    /* Dropdown modern look */
    .dropdown-menu {
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 18px 36px rgba(0,0,0,0.08);
        padding: 8px;
        overflow: hidden;
        transform-origin: top right;
        animation: menuAppear 220ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .dropdown-item {
        border-radius: 8px;
        padding: 10px 12px;
    }

    .dropdown-item:hover {
        background: rgba(0,0,0,0.04);
    }

    /* ===== DARK MODE (DESKTOP NAV) ===== */
    .theme-dark .navbar { background: transparent !important; }

    .theme-dark .navbar .container {
        background: rgba(18,20,24,0.85);
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .theme-dark .navbar.scrolled .container {
        background: rgba(18,20,24,0.92);
        box-shadow: none;
    }

    .theme-dark .navbar-brand i { color: var(--accent); }

    .theme-dark .navbar-nav .nav-link {
        color: var(--text) !important;
    }

    .theme-dark .navbar-nav .nav-link:hover {
        background-color: rgba(255,255,255,0.06);
        color: var(--accent) !important;
    }

    .theme-dark .navbar-nav .nav-link.active {
        background-color: rgba(241,178,74,0.14);
        color: var(--accent) !important;
    }

    .theme-dark .dropdown-menu {
        background-color: #121418;
        border: 1px solid var(--border);
        box-shadow: 0 18px 36px rgba(0,0,0,0.5);
    }

    .theme-dark .dropdown-item { color: var(--text); }

    .theme-dark .dropdown-item:hover {
        background: rgba(255,255,255,0.06);
        color: var(--text);
    }

    .theme-dark .navbar .d-flex .btn.btn-outline-secondary {
        background: #151922;
        border: 1px solid #22262e;
        color: var(--text);
    }

    .theme-dark .navbar .d-flex .btn.btn-outline-secondary:hover {
        background: #1a1f27;
        border-color: #2a3140;
        box-shadow: 0 8px 22px rgba(0,0,0,0.45);
    }

    .theme-dark .navbar .d-flex .btn.btn-dark {
        background: #f1f3f5;
        color: #0e0f12;
        border-color: #f1f3f5;
    }

    .theme-dark .navbar .d-flex .btn.btn-dark:hover {
        background: #ffffff;
        color: #0b0c0f;
        box-shadow: 0 10px 24px rgba(0,0,0,0.5);
    }
}

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

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

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(45deg, 
            rgba(207, 140, 6, 0.08) 0%, 
            rgba(225, 171, 63, 0.04) 25%, 
            rgba(244, 213, 132, 0.02) 50%, 
            rgba(207, 140, 6, 0.06) 75%, 
            rgba(225, 171, 63, 0.05) 100%);
    }
    50% {
        background: linear-gradient(45deg, 
            rgba(225, 171, 63, 0.06) 0%, 
            rgba(244, 213, 132, 0.04) 25%, 
            rgba(207, 140, 6, 0.03) 50%, 
            rgba(225, 171, 63, 0.08) 75%, 
            rgba(207, 140, 6, 0.04) 100%);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-10px) translateX(5px);
    }
    66% {
        transform: translateY(5px) translateX(-3px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* ===== MAIN CONTENT SECTION ===== */
.slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 76px - 140px);
    overflow: hidden;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none;
}


@keyframes heroParticles {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-15px) translateX(10px);
    }
    50% {
        transform: translateY(-5px) translateX(-8px);
    }
    75% {
        transform: translateY(-20px) translateX(5px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

.main-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 30px rgba(207, 140, 6, 0.15));
    position: relative;
    z-index: 2;
}

.main-image:hover {
    transform: translateY(-5px) scale(1.02);
    filter: drop-shadow(0 20px 40px rgba(207, 140, 6, 0.25));
}

/* ===== TEXT CONTENT STYLING ===== */
.main-heading {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.gold-highlight {
    color: var(--accent);
    font-weight: bold;
    position: relative;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(207, 140, 6, 0.3);
    }
    100% {
        text-shadow: 0 0 15px rgba(207, 140, 6, 0.6), 0 0 25px rgba(225, 171, 63, 0.3);
    }
}

.sub-text {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text);
}

.description {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    text-align: right;
}

.license-text {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 300;
    margin-top: 1rem;
}

.license-text i {
    color: var(--accent);
}

/* ===== BUTTON STYLES ===== */
.buttons-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Global button cursor pointer */
button, .btn, input[type="button"], input[type="submit"], input[type="reset"] {
    cursor: pointer !important;
}

/* Login button specific styling */
.navbar .btn-grey {
    min-width: 120px !important;
    text-align: center !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-gold {
    background-image: linear-gradient(270deg, var(--accent) 0%, var(--accent-2) 50%, #f4d584 100%);
    border: none;
    color: #000000;
    font-weight: 300;
    font-size: 1.1rem;
    padding: 12px 45px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(225, 171, 63, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover::after {
    opacity: 1;
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(225, 171, 63, 0.6);
    color: #000000;
    background-image: linear-gradient(270deg, var(--accent-2) 0%, #f4d584 50%, var(--accent) 100%);
}

.btn-gold:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(225, 171, 63, 0.4);
}

.btn-grey {
    background: #f2f2f2;
    border: none;
    color: #333333;
    font-weight: 300;
    font-size: 1.1rem;
    padding: 12px 45px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-grey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(207, 140, 6, 0.15) 0%, rgba(225, 171, 63, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-grey::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(207, 140, 6, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-grey:hover::before {
    opacity: 1;
}

.btn-grey:hover::after {
    left: 100%;
}

.btn-grey:hover {
    background: #e8e8e8;
    color: #333333;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(207, 140, 6, 0.2);
}

.btn-grey:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 15px rgba(207, 140, 6, 0.15);
}

.theme-dark .btn-grey { 
    background: #1a1d23; 
    color: var(--text); 
}

.theme-dark .btn-grey:hover { 
    background: #232833; 
    color: var(--text);
    box-shadow: 0 8px 20px rgba(207, 140, 6, 0.3);
}

/* ===== RIPPLE ANIMATION ===== */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-btn:active::before {
    width: 300px;
    height: 300px;
}

.ripple-btn:active {
    background: #d9d9d9;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== MOBILE MENU STYLES ===== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        backdrop-filter: blur(20px);
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1050;
        padding: 0;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(207, 140, 6, 0.2);
        overflow: hidden;
    }
    
    .navbar-collapse::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, 
            rgba(207, 140, 6, 0.08) 0%, 
            rgba(225, 171, 63, 0.04) 25%, 
            rgba(244, 213, 132, 0.02) 50%, 
            rgba(207, 140, 6, 0.06) 75%, 
            rgba(225, 171, 63, 0.05) 100%);
        animation: gradientShift 8s ease-in-out infinite;
        z-index: 1;
    }
    
    .navbar-collapse::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(2px 2px at 20px 30px, rgba(207, 140, 6, 0.2), transparent),
            radial-gradient(2px 2px at 40px 70px, rgba(225, 171, 63, 0.15), transparent),
            radial-gradient(1px 1px at 90px 40px, rgba(244, 213, 132, 0.25), transparent),
            radial-gradient(1px 1px at 130px 80px, rgba(207, 140, 6, 0.2), transparent),
            radial-gradient(2px 2px at 160px 30px, rgba(225, 171, 63, 0.15), transparent);
        background-repeat: repeat;
        background-size: 200px 100px;
        animation: particleFloat 20s linear infinite;
        opacity: 0.4;
        z-index: 2;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        text-align: right;
        padding: 20px 0;
        position: relative;
        z-index: 3;
    }
    
    /* Mobile Logo Section */
    .mobile-logo-section {
        padding: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        z-index: 3;
        opacity: 0;
        transform: translateY(-20px);
        animation: slideInFromTop 0.6s ease-out 0.2s forwards;
    }
    
    @keyframes slideInFromTop {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .mobile-logo-img {
        width: 60px;
        height: 60px;
        object-fit: contain;
        filter: drop-shadow(0 4px 12px rgba(207, 140, 6, 0.3));
        transition: all 0.3s ease;
    }
    
    .mobile-logo:hover .mobile-logo-img {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 6px 16px rgba(207, 140, 6, 0.4));
    }
    
    .nav-item {
        margin: 8px 0;
        width: 100%;
        padding: 0 20px;
        position: relative;
    }
    
    .nav-link {
        padding: 16px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        color: #ffffff !important;
        font-weight: 400;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .nav-link:hover {
        background: rgba(207, 140, 6, 0.2);
        border-color: rgba(207, 140, 6, 0.4);
        transform: translateX(-5px);
        color: var(--accent) !important;
    }
    
    .nav-link.active {
        background: rgba(207, 140, 6, 0.25);
        border-color: rgba(207, 140, 6, 0.5);
        color: var(--accent) !important;
    }
    
    .dropdown-menu {
        position: static !important;
        width: 100%;
        margin-top: 8px;
        background: rgba(18, 20, 24, 0.9);
        border: 1px solid rgba(207, 140, 6, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        backdrop-filter: blur(15px);
        padding: 0;
        transform: translateY(-10px) scale(0.95);
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        transform-origin: top;
    }
    
    .navbar-collapse .dropdown-menu.show {
        visibility: visible !important;
        opacity: 1;
        transform: translateY(0) scale(1);
        max-height: 500px;
        padding: 8px;
    }
    
    /* Override Bootstrap's default dropdown styles */
    .navbar-collapse .dropdown-menu[data-bs-popper] {
        position: static !important;
        transform: translateY(-10px) scale(0.95) !important;
    }
    
    .navbar-collapse .dropdown-menu[data-bs-popper].show {
        transform: translateY(0) scale(1) !important;
    }
    
    .dropdown-item {
        padding: 14px 20px;
        color: #b8c5d6;
        transition: all 0.3s ease;
        border-radius: 6px;
        font-weight: 300;
        opacity: 0;
        transform: translateY(-5px);
        transition: all 0.3s ease;
    }
    
    .dropdown-menu.show .dropdown-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    .dropdown-menu.show .dropdown-item:nth-child(1) { transition-delay: 0.1s; }
    .dropdown-menu.show .dropdown-item:nth-child(2) { transition-delay: 0.15s; }
    .dropdown-menu.show .dropdown-item:nth-child(3) { transition-delay: 0.2s; }
    .dropdown-menu.show .dropdown-item:nth-child(4) { transition-delay: 0.25s; }
    .dropdown-menu.show .dropdown-item:nth-child(5) { transition-delay: 0.3s; }
    
    .dropdown-item:hover {
        background: rgba(207, 140, 6, 0.15);
        color: var(--accent);
        transform: translateX(-4px);
    }
    
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
        position: relative;
        z-index: 1060;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* Hamburger to X animation */
    .navbar-toggler .navbar-toggler-icon {
        background-image: none;
        width: 30px;
        height: 3px;
        background-color: #333333;
        position: relative;
        transition: all 0.3s ease;
        display: block;
    }
    
    .navbar-toggler .navbar-toggler-icon::before,
    .navbar-toggler .navbar-toggler-icon::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 3px;
        background-color: #333333;
        transition: all 0.3s ease;
        left: 0;
    }
    
    .navbar-toggler .navbar-toggler-icon::before {
        top: -8px;
    }
    
    .navbar-toggler .navbar-toggler-icon::after {
        top: 8px;
    }
    
    /* X animation when menu is open */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-color: transparent;
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    /* Overlay for mobile menu */
    .navbar-collapse::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.4s ease;
        backdrop-filter: blur(5px);
    }
    
    .navbar-collapse.show::before {
        opacity: 1;
    }
    
    /* Mobile buttons styling */
    .d-flex {
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
        padding: 0 20px;
        position: relative;
        z-index: 3;
    }
    
    .d-flex .btn {
        width: 100%;
        justify-content: center;
        border-radius: 8px;
        padding: 12px 20px;
        font-weight: 400;
        transition: all 0.3s ease;
    }
    
    .d-flex .btn.btn-outline-secondary {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }
    
    .d-flex .btn.btn-outline-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-1px);
    }
    
    .d-flex .btn.btn-dark {
        background: var(--accent);
        border: 1px solid var(--accent);
        color: #000000;
    }
    
    .d-flex .btn.btn-dark:hover {
        background: var(--accent-2);
        transform: translateY(-1px);
    }
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: linear-gradient(180deg, #fbfcfd 0%, #f4f6f8 100%);
    height: 160px;
    display: flex;
    align-items: center;
    padding: 20px 0 30px 0;
    position: relative;
    border-bottom: none;
}
.theme-dark .features-section { background: linear-gradient(180deg, #0f1115 0%, #0e1013 100%); }

.features-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: 10px 5px;
    transition: all 0.4s ease;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(207, 140, 6, 0.05) 0%, rgba(225, 171, 63, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

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

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(207, 140, 6, 0.15);
}
.theme-dark .feature-text { color: var(--text); }
.theme-dark .feature-description { color: var(--text-muted); }

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    box-shadow: none;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 36px;
    color: var(--accent);
    text-shadow: none;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.15) rotate(5deg);
    color: var(--accent-2);
    filter: drop-shadow(0 4px 8px rgba(207, 140, 6, 0.3));
}

/* Ensure image icons fit the circular badge */
.feature-icon img {
    max-width: 75%;
    max-height: 75%;
    display: block;
}

.feature-card:hover .feature-icon { transform: none; }

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-text {
    font-size: 0.9rem;
    color: #333333;
    font-weight: 300;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.feature-description {
    font-size: 0.78rem;
    color: #666666;
    font-weight: 300;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
    .main-heading {
        font-size: 1.8rem;
    }
    
    .sub-text {
        font-size: 1.8rem;
    }
    
    .main-image {
        max-height: 400px;
    }
    
    /* Mobile/tablet buttons - 100% width for all buttons */
    .btn-gold,
    .btn-grey,
    .btn,
    .btn-outline-secondary,
    .btn-dark,
    .expandable-toggle,
    .newsletter-btn,
    .cookie-btn,
    .social-btn {
        width: 100% !important;
        max-width: none !important;
    }
    
    /* Pricing section buttons */
    .pricing-actions .btn {
        width: 100% !important;
    }
    
    /* Social buttons in mobile menu */
    .d-flex .btn {
        width: 100% !important;
    }
    
    /* Main hero buttons container */
    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .main-heading {
        font-size: 1.5rem;
    }
    
    .sub-text {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-gold,
    .btn-grey {
        width: 100%;
        max-width: 200px;
        font-size: 1rem;
        padding: 10px 25px;
    }
    
    .main-image {
        max-height: 200px;
        max-width: 200px;
    }
    
    
    .slider-container {
        height: auto;
        min-height: auto;
        margin-bottom: 20px;
        padding: 50px 15px 30px 15px;
    }
    
    .features-section {
        height: auto;
        min-height: 200px;
        padding: 20px 0;
        position: relative;
        margin-top: 20px;
    }
    
    .features-container {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .feature-card {
        min-width: 140px;
        max-width: 160px;
        padding: 15px 10px;
        flex: 0 0 calc(50% - 7.5px);
        width: calc(50% - 7.5px);
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
    
    .feature-icon i {
        font-size: 30px;
    }
    
    .feature-description {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .feature-text {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
    
    /* Mobile text justification and spacing improvements */
    .main-heading {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .sub-heading {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .description {
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .buttons-container {
        justify-content: center;
        gap: 10px;
    }
    
    .btn-gold,
    .btn-grey {
        font-size: 1.1rem;
        padding: 12px 30px;
        max-width: 180px;
        min-height: 48px;
    }
    
    /* Mobile buttons - 100% width for all buttons */
    .btn-gold,
    .btn-grey,
    .btn,
    .btn-outline-secondary,
    .btn-dark,
    .expandable-toggle,
    .newsletter-btn,
    .cookie-btn,
    .social-btn {
        width: 100% !important;
        max-width: none !important;
    }
    
    /* Pricing section buttons */
    .pricing-actions .btn {
        width: 100% !important;
    }
    
    /* Social buttons in mobile menu */
    .d-flex .btn {
        width: 100% !important;
    }
}

/* Extra small screens - still 2 skills per row with smaller cards */
@media (max-width: 480px) {
    .feature-card {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
        min-width: 120px;
        max-width: 140px;
        padding: 10px 5px;
    }
    
    .features-container {
        gap: 10px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 8px;
    }
    
    .feature-icon i {
        font-size: 26px;
    }
    
    .feature-text {
        font-size: 0.7rem;
    }
    
    .feature-description {
        font-size: 0.65rem;
    }
}

/* Show image on desktop and larger screens */
@media (min-width: 768px) {
    .main-image {
        display: block;
    }
}

/* ===== CONTENT SECTION ===== */
.content-section { 
    background: var(--bg); 
    border-bottom: none; 
}

.content-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius: 2px;
}

.content-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: center;
    margin-bottom: 2rem;
}

.content-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    color: var(--accent);
}

.feature-item i {
    font-size: 1.2rem;
    margin-left: 8px;
}

/* Mobile Content Styling */
@media (max-width: 991.98px) {
    .content-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .content-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        font-size: 0.95rem;
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .content-title {
        font-size: 1.5rem;
    }
    
    .content-description {
        font-size: 0.95rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}

/* ===== DESKTOP HERO BOTTOM ALIGN ===== */
@media (min-width: 992px) {
    .slider-container.bottom-align {
        align-items: flex-end;
    }
}

/* ===== ICON GRID SECTION ===== */
.icon-grid-section { background: var(--bg); }

.icon-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 6px 18px var(--shadow);
    transition: all 0.4s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    position: relative;
    overflow: hidden;
}

.icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(207, 140, 6, 0.03) 0%, rgba(225, 171, 63, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.icon-card.revealed, .icon-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.icon-card:hover { 
    box-shadow: 0 15px 35px rgba(207, 140, 6, 0.12); 
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(207, 140, 6, 0.2);
}

.icon-card-image {
    width: 140px;
    height: auto;
    object-fit: contain;
    margin-bottom: 14px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.icon-card:hover .icon-card-image {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 8px 20px rgba(207, 140, 6, 0.2));
}

.icon-card-title {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text);
    margin: 6px 0 6px 0;
}

.icon-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    margin: 0;
}

@media (max-width: 576px) {
    .icon-card-image { width: 110px; }
    .icon-card-title { font-size: 1rem; }
    .icon-card-text { font-size: 0.9rem; }
}

/* ===== PROMO SPLIT SECTION ===== */
.promo-split-section { background: var(--bg); }

.promo-image {
    max-width: 360px;
    height: auto;
    object-fit: contain;
}

.promo-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text);
}

.promo-subtitle {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 400;
}

.promo-description {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.75;
}

@media (max-width: 991.98px) {
    .promo-title { text-align: center; }
    .promo-subtitle { text-align: center; }
    .promo-description { text-align: center; }
    
    /* Make promo image smaller on mobile */
    .promo-image {
        max-width: 200px;
        height: auto;
        margin: 0 auto;
    }
}

/* ===== SOCIAL LINKS ROW ===== */
.social-links-section {
    background: var(--muted-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.social-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
}

.social-buttons .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-buttons .social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(207, 140, 6, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-buttons .social-btn:hover::before {
    left: 100%;
}

.social-buttons .social-btn i { 
    font-size: 1.1rem; 
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.social-buttons .social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(207, 140, 6, 0.3);
    box-shadow: 0 12px 30px rgba(207, 140, 6, 0.15);
    background: var(--muted-surface);
}

.social-buttons .social-btn:hover i {
    color: var(--text);
    transform: scale(1.1);
}

.social-buttons .social-btn:active { 
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(207, 140, 6, 0.1);
}

.theme-dark .social-links-section {
    background: var(--muted-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.theme-dark .social-buttons .social-btn {
    background: #151922;
    border-color: #22262e;
}

.theme-dark .social-buttons .social-btn:hover {
    border-color: #2a3140;
    box-shadow: 0 12px 26px rgba(0,0,0,0.45);
}

/* ===== TABBED TEXT SECTION ===== */
.tabbed-text-section { background: var(--bg); }

.tabbed-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text);
}

.tabbed-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    background: var(--surface);
    border: none;
    color: var(--text-muted);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(207, 140, 6, 0.15), transparent);
    transition: left 0.5s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(207, 140, 6, 0.05) 0%, rgba(225, 171, 63, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover::after {
    opacity: 1;
}

.tab-btn:hover {
    background: var(--muted-surface);
    color: var(--text);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(207, 140, 6, 0.15);
}

.tab-btn:hover i {
    color: var(--text);
    transform: scale(1.1);
}

.tab-btn:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 15px rgba(207, 140, 6, 0.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #000;
    box-shadow: 0 6px 20px rgba(207, 140, 6, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.tab-btn.active i {
    color: #000;
    transform: scale(1.1);
}

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

/* Tab Content */
.tab-content-container {
    position: relative;
    min-height: 300px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

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

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

.tab-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 12px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.tab-card:hover {
    box-shadow: 0 8px 25px var(--shadow);
    transform: translateY(-2px);
}

.tab-content-text {
    overflow: hidden;
    max-height: 140px; /* collapsed height */
    transition: max-height 450ms cubic-bezier(0.22, 1, 0.36, 1);
    line-height: 1.8;
    text-align: right;
}

.tab-card.expanded .tab-content-text {
    max-height: 1000px; /* allow tall growth; JS will smooth */
}

.tab-fade {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 56px; /* keep space for centered button */
    height: 110px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), var(--surface));
    pointer-events: none;
    transition: opacity 250ms ease;
}

.theme-dark .tab-fade {
    background: linear-gradient(to bottom, rgba(0,0,0,0), var(--surface));
}

.tab-card.expanded .tab-fade { opacity: 0; }

.tab-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px auto 0 auto;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tab-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(207, 140, 6, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-toggle:hover::before {
    left: 100%;
}

.tab-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(207, 140, 6, 0.2);
}

.tab-toggle:active {
    transform: translateY(-1px) scale(1.02);
}

.tab-toggle::after {
    content: '\F282'; /* bootstrap chevron-down approx via fontawesome fallback */
    font-family: 'bootstrap-icons', 'Font Awesome 6 Free', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform 250ms ease;
}

.tab-card.expanded .tab-toggle::after {
    transform: rotate(180deg);
}

/* Tab Content Specific Styles */
.faq-item {
    background: var(--muted-surface);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    border-right: 3px solid var(--accent);
}

.faq-item h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.review-item {
    background: var(--muted-surface);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    text-align: right;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-header h5 {
    color: var(--text);
    font-size: 1rem;
    margin: 0;
}

.stars {
    display: flex;
    gap: 4px;
    align-items: center;
}

.star-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.star-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(207, 140, 6, 0.3));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
        gap: 6px;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .tab-content-text {
        text-align: center;
    }
    
    .faq-item,
    .review-item {
        text-align: center;
    }
    
    .review-header {
        flex-direction: column;
        gap: 8px;
    }
}
/* ===== PRICING SECTION ===== */
.pricing-section { background: linear-gradient(180deg, #fbfcfd 0%, #f6f8fb 100%); }
.theme-dark .pricing-section { background: linear-gradient(180deg, #0f1115 0%, #0e1013 100%); }

.pricing-card {
    background: radial-gradient(120% 140% at 100% -20%, rgba(255,231,173,0.25) 0%, rgba(255,255,255,0) 45%), var(--surface);
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 26px var(--shadow);
    padding: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(207, 140, 6, 0.02) 0%, rgba(225, 171, 63, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.pricing-card:hover { 
    transform: translateY(-8px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(207, 140, 6, 0.15);
}

.pricing-card.featured { box-shadow: 0 14px 34px rgba(207,140,6,0.18); position: relative; background: radial-gradient(140% 160% at 100% -20%, rgba(255,231,173,0.45) 0%, rgba(255,255,255,0) 55%), var(--surface); }

.pricing-badge {
    position: absolute;
    inset-inline-start: 18px;
    inset-block-start: -12px;
    background: linear-gradient(135deg, #ffd36a 0%, #f3b337 50%, #e1a43a 100%);
    color: #000;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    box-shadow: 0 6px 16px rgba(225,171,63,0.35);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 16px rgba(225,171,63,0.35);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(225,171,63,0.45);
    }
}

.pricing-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pricing-title { margin: 0; font-size: 1.25rem; color: var(--text); font-weight: 600; letter-spacing: -0.2px; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; color: var(--text); }
.pricing-price .amount { font-size: 1.6rem; font-weight: 700; }
.pricing-price .currency { font-size: 0.95rem; color: var(--text-muted); }
.pricing-price .period { font-size: 0.9rem; color: var(--text-muted); padding-inline-start: 4px; }

.pricing-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { color: var(--text-muted); font-weight: 300; display: flex; align-items: center; gap: 8px; }
.pricing-features i { color: #2ecc71; font-size: 1.1rem; }

.pricing-actions { margin-top: auto; }

@media (max-width: 991.98px) {
    .pricing-header { flex-direction: column; align-items: flex-start; }
}

/* ===== MODERN FOOTER STYLES ===== */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    overflow: hidden;
    margin-top: 80px;
}

/* Footer Background Animations */
.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(207, 140, 6, 0.1) 0%, 
        rgba(225, 171, 63, 0.05) 25%, 
        rgba(244, 213, 132, 0.03) 50%, 
        rgba(207, 140, 6, 0.08) 75%, 
        rgba(225, 171, 63, 0.06) 100%);
    animation: gradientShift 8s ease-in-out infinite;
}

.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(207, 140, 6, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(225, 171, 63, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(244, 213, 132, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(207, 140, 6, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(225, 171, 63, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(45deg, 
            rgba(207, 140, 6, 0.1) 0%, 
            rgba(225, 171, 63, 0.05) 25%, 
            rgba(244, 213, 132, 0.03) 50%, 
            rgba(207, 140, 6, 0.08) 75%, 
            rgba(225, 171, 63, 0.06) 100%);
    }
    50% {
        background: linear-gradient(45deg, 
            rgba(225, 171, 63, 0.08) 0%, 
            rgba(244, 213, 132, 0.06) 25%, 
            rgba(207, 140, 6, 0.05) 50%, 
            rgba(225, 171, 63, 0.1) 75%, 
            rgba(207, 140, 6, 0.04) 100%);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-10px) translateX(5px);
    }
    66% {
        transform: translateY(5px) translateX(-3px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* Footer Content */
.footer-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 20px 0;
}

.footer-top {
    margin-bottom: 40px;
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent);
    animation: logoPulse 2s ease-in-out infinite;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        color: var(--accent);
    }
    50% {
        transform: scale(1.1);
        color: var(--accent-2);
    }
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #b8c5d6;
    margin-bottom: 25px;
    font-weight: 300;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(207, 140, 6, 0.2) 0%, rgba(225, 171, 63, 0.1) 100%);
    border: 1px solid rgba(207, 140, 6, 0.3);
    border-radius: 50%;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(207, 140, 6, 0.4);
    border-color: var(--accent);
}

.social-link i {
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

/* Footer Links */
.footer-links {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius: 1px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 15px;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--accent);
    padding-right: 20px;
}

.footer-menu a:hover::before {
    opacity: 1;
    right: 5px;
}

/* Footer Contact */
.footer-contact {
    margin-bottom: 30px;
}

.contact-info {
    margin-bottom: 25px;
}

/* Footer contact items - clean styling */
.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #a0a8b8;
    font-size: 0.95rem;
    font-weight: 300;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-item:hover {
    color: #c8d0e0;
    transform: none;
    box-shadow: none;
    border: none;
}

.footer-contact .contact-item i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-contact .contact-item span {
    color: inherit;
    font-weight: inherit;
}

/* Dark theme for footer contact items */
.theme-dark .footer-contact .contact-item {
    color: #8a92a8;
}

.theme-dark .footer-contact .contact-item:hover {
    color: #a8b0c8;
}

.theme-dark .contact-info {
    background: transparent;
    border-color: transparent;
}

/* Newsletter */
.newsletter h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(207, 140, 6, 0.2);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 18px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    border-radius: 22px;
}

.newsletter-input::placeholder {
    color: #b8c5d6;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border: none;
    color: #000000;
    padding: 12px 18px;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    min-width: 50px;
    position: relative;
    overflow: hidden;
}

.newsletter-btn::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.5s ease;
}

.newsletter-btn:hover::before {
    left: 100%;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--accent-2) 0%, #f4d584 100%);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 8px 25px rgba(207, 140, 6, 0.5);
}

.newsletter-btn:active {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 4px 15px rgba(207, 140, 6, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(207, 140, 6, 0.2);
    padding-top: 25px;
    margin-top: 30px;
}

.footer-copyright p {
    color: #b8c5d6;
    font-size: 0.9rem;
    font-weight: 300;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.footer-legal a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.footer-legal a:hover::after {
    width: 100%;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border: none;
    border-radius: 50%;
    color: #000000;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(207, 140, 6, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    overflow: hidden;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.scroll-to-top:hover::before {
    opacity: 1;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--accent-2) 0%, #f4d584 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(207, 140, 6, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(207, 140, 6, 0.3);
}

/* Footer Animations */
.footer-brand,
.footer-links,
.footer-contact {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.footer-links {
    animation-delay: 0.2s;
}

.footer-contact {
    animation-delay: 0.4s;
}

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

/* Responsive Design */
@media (max-width: 991.98px) {
    .footer-legal {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .newsletter-input {
        border-radius: 15px;
        text-align: center;
    }
    
    .newsletter-btn {
        border-radius: 15px;
        width: 100%;
    }
    
    .scroll-to-top {
        left: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        padding: 40px 0 20px 0;
    }
    
    .footer-social {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-menu a {
        font-size: 0.9rem;
    }
    
    .footer-contact .contact-item {
        font-size: 0.9rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-hero-section {
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(207, 140, 6, 0.05) 0%, 
        rgba(225, 171, 63, 0.02) 50%, 
        rgba(244, 213, 132, 0.03) 100%);
    z-index: 1;
}

/* ===== ANIMATED STAR FIELD ===== */
.star-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    animation: starMove linear infinite;
    box-shadow: 0 0 6px rgba(207, 140, 6, 0.3);
    transition: box-shadow 0.3s ease;
}

.star:hover {
    box-shadow: 0 0 12px rgba(207, 140, 6, 0.6);
}

.star.small {
    width: 2px;
    height: 2px;
    opacity: 0.6;
    animation-duration: 8s;
    animation-delay: 0s;
}

.star.medium {
    width: 3px;
    height: 3px;
    opacity: 0.8;
    animation-duration: 12s;
    animation-delay: -2s;
}

.star.large {
    width: 4px;
    height: 4px;
    opacity: 1;
    animation-duration: 16s;
    animation-delay: -4s;
}

.star.far {
    width: 1px;
    height: 1px;
    opacity: 0.4;
    animation-duration: 20s;
    animation-delay: -6s;
}

@keyframes starMove {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(var(--drift, 50px));
        opacity: 0;
    }
}

/* Star field variations for different layers */
.star-field.layer-1 .star {
    animation-duration: 6s;
    animation-delay: 0s;
}

.star-field.layer-2 .star {
    animation-duration: 10s;
    animation-delay: -1s;
}

.star-field.layer-3 .star {
    animation-duration: 14s;
    animation-delay: -2s;
}

.star-field.layer-4 .star {
    animation-duration: 18s;
    animation-delay: -3s;
}

.star-field.layer-5 .star {
    animation-duration: 22s;
    animation-delay: -4s;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-social-section {
    margin-top: 2rem;
    padding: 2rem 0;
}

.contact-social-section .social-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-social-section .social-buttons {
    justify-content: center;
    gap: 1rem;
}

.contact-social-section .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-social-section .social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(207, 140, 6, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-social-section .social-btn:hover::before {
    left: 100%;
}

.contact-social-section .social-btn i { 
    font-size: 1.1rem; 
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.contact-social-section .social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(207, 140, 6, 0.3);
    box-shadow: 0 12px 30px rgba(207, 140, 6, 0.15);
    background: var(--muted-surface);
}

.contact-social-section .social-btn:hover i {
    color: var(--text);
    transform: scale(1.1);
}

.contact-social-section .social-btn:active { 
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(207, 140, 6, 0.1);
}

.contact-methods-section {
    background: var(--muted-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Modern Contact Methods Grid */
.contact-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-method-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-method-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(207, 140, 6, 0.02) 0%, 
        rgba(225, 171, 63, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-method-item:hover::before {
    opacity: 1;
}

.contact-method-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(207, 140, 6, 0.12);
    border-color: rgba(207, 140, 6, 0.2);
}

.contact-method-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.contact-method-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.contact-method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-method-item:hover .contact-method-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 20px rgba(207, 140, 6, 0.25);
}

.contact-method-icon i {
    font-size: 24px;
    color: #000000;
    transition: all 0.3s ease;
}

.contact-method-item:hover .contact-method-icon i {
    transform: scale(1.1);
}

.contact-method-info {
    flex: 1;
}

.contact-method-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.contact-method-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.contact-method-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-method-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--muted-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(207, 140, 6, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-method-link:hover::before {
    left: 100%;
}

.contact-method-link:hover {
    background: var(--accent);
    color: #000000;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(207, 140, 6, 0.25);
}

.contact-method-link:hover i {
    color: #000000;
    transform: scale(1.1);
}

.contact-method-link i {
    font-size: 0.9rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.contact-method-text {
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.contact-form-section {
    background: var(--bg);
}

.contact-form-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 12px 32px var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(207, 140, 6, 0.02) 0%, 
        rgba(225, 171, 63, 0.01) 100%);
    z-index: 1;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-control {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg);
    color: var(--text);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(207, 140, 6, 0.1);
    background: var(--surface);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

.form-check {
    margin-bottom: 24px;
}

.form-check-input {
    border: 2px solid var(--border);
    border-radius: 4px;
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(207, 140, 6, 0.1);
}

.form-check-label {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-faq-section {
    background: var(--muted-surface);
    border-top: 1px solid var(--border);
}

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

.faq-item {
    background: var(--muted-surface);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border-right: 3px solid var(--accent);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(207, 140, 6, 0.03) 0%, 
        rgba(225, 171, 63, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(207, 140, 6, 0.15);
    border-right-color: var(--accent-2);
}

.faq-item h4 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}


.faq-item p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
    text-align: justify;
}

/* Dark theme adjustments for contact page */
.theme-dark .contact-info-card {
    background: #151922;
    border-color: #22262e;
}

.theme-dark .contact-form-container {
    background: #151922;
    border-color: #22262e;
}

.theme-dark .form-control {
    background: #0e0f12;
    border-color: #22262e;
    color: var(--text);
}

.theme-dark .form-control:focus {
    background: #121418;
}

.theme-dark .faq-item {
    background: #0e0f12;
    border-right-color: var(--accent);
}

.theme-dark .faq-item:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* Dark theme for contact social section */
.theme-dark .contact-social-section .social-btn {
    background: #151922;
    border-color: #22262e;
}

.theme-dark .contact-social-section .social-btn:hover {
    border-color: #2a3140;
    box-shadow: 0 12px 26px rgba(0,0,0,0.45);
}

/* Dark theme for new contact methods */
.theme-dark .contact-method-item {
    background: #151922;
    border-color: #22262e;
}

.theme-dark .contact-method-item:hover {
    border-color: rgba(207, 140, 6, 0.3);
    box-shadow: 0 12px 32px rgba(207, 140, 6, 0.2);
}

.theme-dark .contact-method-link {
    background: #0e0f12;
    border-color: #22262e;
    color: #e2e8f0;
}

.theme-dark .contact-method-link:hover {
    background: var(--accent);
    color: #000000;
    border-color: var(--accent);
}

/* Mobile responsive for contact page */
@media (max-width: 768px) {
    .contact-hero-section {
        min-height: 80vh;
        padding: 100px 0 50px;
    }
    
    /* Reduce star count on mobile for better performance */
    .star-field.layer-1 .star,
    .star-field.layer-2 .star,
    .star-field.layer-3 .star,
    .star-field.layer-4 .star,
    .star-field.layer-5 .star {
        animation-duration: 8s;
    }
    
    .star.small {
        width: 1px;
        height: 1px;
    }
    
    .star.medium {
        width: 2px;
        height: 2px;
    }
    
    .star.large {
        width: 3px;
        height: 3px;
    }
    
    .star.far {
        width: 1px;
        height: 1px;
    }
    
    .contact-form-container {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .contact-info-card {
        padding: 24px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .contact-icon i {
        font-size: 24px;
    }
    
    .contact-title {
        font-size: 1.2rem;
    }
    
    .faq-item {
        padding: 20px;
        margin-bottom: 16px;
    }
    
    .faq-item h4 {
        font-size: 1.1rem;
    }
    
    .faq-item p {
        font-size: 0.95rem;
        text-align: right;
    }
    
    .contact-social-section {
        margin-top: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .contact-social-section .social-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-social-section .social-buttons {
        gap: 0.75rem;
    }
    
    .contact-social-section .social-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    /* Mobile styles for new contact methods */
    .contact-methods-grid {
        gap: 1rem;
    }
    
    .contact-method-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .contact-method-header {
        width: 100%;
        gap: 1rem;
    }
    
    .contact-method-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-method-icon i {
        font-size: 20px;
    }
    
    .contact-method-title {
        font-size: 1.1rem;
    }
    
    .contact-method-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-method-action {
        width: 100%;
        justify-content: flex-start;
    }
    
    .contact-method-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 24px 20px;
        margin: 0 8px;
    }
    
    .contact-info-card {
        padding: 20px 16px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 20px;
    }
    
    .faq-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .faq-item h4 {
        font-size: 1rem;
    }
    
    .faq-item p {
        font-size: 0.9rem;
    }
}

/* ===== PRIVACY POLICY PAGE STYLES ===== */
.privacy-hero-section {
    background: linear-gradient(135deg, 
        rgba(207, 140, 6, 0.1) 0%, 
        rgba(225, 171, 63, 0.05) 50%, 
        rgba(244, 213, 132, 0.03) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.privacy-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(207, 140, 6, 0.05) 0%, 
        rgba(225, 171, 63, 0.02) 25%, 
        rgba(244, 213, 132, 0.03) 50%, 
        rgba(207, 140, 6, 0.04) 75%, 
        rgba(225, 171, 63, 0.03) 100%);
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
}

.privacy-hero-content {
    position: relative;
    z-index: 2;
}

.privacy-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.privacy-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.privacy-date {
    background: var(--surface);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px var(--shadow);
}

.privacy-content-section {
    background: var(--bg);
    padding: 80px 0;
}

.privacy-content {
    background: var(--surface);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.privacy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(207, 140, 6, 0.02) 0%, 
        rgba(225, 171, 63, 0.01) 100%);
    z-index: 1;
}

.privacy-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 15px;
}

.privacy-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius: 2px;
}

.privacy-section-title i {
    color: var(--accent);
    font-size: 1.5rem;
}

.privacy-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
    text-align: justify;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.privacy-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    position: relative;
    padding-right: 25px;
}

.privacy-list li:last-child {
    border-bottom: none;
}

.privacy-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 12px;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.privacy-list li strong {
    color: var(--accent);
    font-weight: 600;
}

/* Contact form contact-info styles - more specific to avoid conflicts */
.contact-form-section .contact-info {
    background: var(--muted-surface);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid var(--border);
}

.contact-form-section .contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 300;
}

.contact-form-section .contact-info .contact-item:last-child {
    margin-bottom: 0;
}

.contact-form-section .contact-info .contact-item i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Dark theme adjustments for privacy page */
.theme-dark .privacy-content {
    background: #151922;
    border-color: #22262e;
}

.theme-dark .privacy-date {
    background: #1a1f27;
    border-color: #22262e;
    color: var(--text);
}

.theme-dark .contact-info {
    background: transparent;
    border-color: transparent;
}

/* Mobile responsive for privacy page */
@media (max-width: 768px) {
    .privacy-hero-section {
        padding: 100px 0 60px;
    }
    
    .privacy-title {
        font-size: 2.2rem;
    }
    
    .privacy-subtitle {
        font-size: 1.1rem;
    }
    
    .privacy-content {
        padding: 40px 30px;
        margin: 0 16px;
    }
    
    .privacy-section-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .privacy-section-title i {
        font-size: 1.3rem;
    }
    
    .privacy-text {
        font-size: 1rem;
        text-align: right;
    }
    
    .privacy-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .privacy-hero-section {
        padding: 80px 0 40px;
    }
    
    .privacy-title {
        font-size: 1.8rem;
    }
    
    .privacy-subtitle {
        font-size: 1rem;
    }
    
    .privacy-content {
        padding: 30px 20px;
        margin: 0 8px;
    }
    
    .privacy-section-title {
        font-size: 1.3rem;
    }
    
    .privacy-text {
        font-size: 0.95rem;
    }
    
    .privacy-list li {
        font-size: 0.9rem;
        padding-right: 20px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-info .contact-item {
        font-size: 0.9rem;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed !important;
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    border: 1px solid rgba(207, 140, 6, 0.3);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
    z-index: 9999 !important;
    transform: translateY(24px);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s cubic-bezier(0.22,1,0.36,1), opacity .4s ease, visibility .4s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    margin: 0 !important;
    top: auto !important;
}

.cookie-banner.show {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure cookie banner is always on top and fixed */
.cookie-banner {
    position: fixed !important;
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 9999 !important;
    margin: 0 !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
}

.cookie-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(207, 140, 6, 0.1) 0%, 
        rgba(225, 171, 63, 0.05) 25%, 
        rgba(244, 213, 132, 0.03) 50%, 
        rgba(207, 140, 6, 0.08) 75%, 
        rgba(225, 171, 63, 0.06) 100%);
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
}

.cookie-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(207, 140, 6, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(225, 171, 63, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(244, 213, 132, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(207, 140, 6, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(225, 171, 63, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
    z-index: 2;
}

.cookie-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    position: relative;
    z-index: 3;
}

.cookie-illustration {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.12));
}

.cookie-text strong {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.cookie-text p {
    margin: 0;
    font-size: .95rem;
    color: #b8c5d6;
}

.cookie-actions {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-btn { 
    min-width: 92px; 
    padding: 12px 18px; 
    font-size: 0.9rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
}

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

.cookie-btn:hover::before {
    left: 100%;
}

.cookie-btn.btn-gold {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border: none;
    color: #000000;
    box-shadow: 0 4px 15px rgba(207, 140, 6, 0.3);
}

.cookie-btn.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-2) 0%, #f4d584 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(207, 140, 6, 0.5);
}

.cookie-btn.btn-gold:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(207, 140, 6, 0.3);
}

.cookie-btn.btn-grey {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.cookie-btn.btn-grey:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cookie-btn.btn-grey:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


@media (max-width: 576px) {
    .cookie-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }
    .cookie-actions { 
        justify-content: center; 
        flex-direction: column;
        gap: 10px;
    }
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
}

/* ===== RULES PAGE STYLES ===== */
.rules-header-section {
    background: linear-gradient(135deg, var(--surface) 0%, var(--muted-surface) 100%);
    position: relative;
    overflow: hidden;
}

.rules-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(207, 140, 6, 0.05) 0%, 
        rgba(225, 171, 63, 0.03) 50%, 
        rgba(207, 140, 6, 0.02) 100%);
    pointer-events: none;
}

.rules-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rules-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.rules-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.rules-content-section {
    background: var(--bg);
    position: relative;
}

.rules-content {
    background: var(--surface);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.rules-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}

.rule-section {
    margin-bottom: 3rem;
    position: relative;
}

.rule-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border) 20%, 
        var(--border) 80%, 
        transparent 100%);
}

.rule-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-right: 1rem;
}

.rule-section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius: 2px;
}

.rule-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.rule-item {
    background: var(--muted-surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rule-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rule-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.06);
    border-color: var(--accent);
}

.rule-item:hover::before {
    opacity: 1;
}

.rule-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rule-item-title::before {
    content: '📋';
    font-size: 1.1rem;
    opacity: 0.8;
}

.rule-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.rule-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.rule-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.rule-link:hover {
    color: var(--accent-2);
}

.rule-link:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--muted-surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.contact-item i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: var(--text);
    font-weight: 500;
}

/* Responsive Design for Rules Page */
@media (max-width: 768px) {
    .rules-title {
        font-size: 2.2rem;
    }
    
    .rules-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .rule-section-title {
        font-size: 1.5rem;
    }
    
    .rule-item {
        padding: 1.25rem;
    }
    
    .rule-item-title {
        font-size: 1.1rem;
    }
    
    .contact-info {
        gap: 0.75rem;
    }
    
    .contact-item {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .rules-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .rule-section {
        margin-bottom: 2rem;
    }
    
    .rule-list {
        gap: 1.5rem;
    }
}

/* Dark theme adjustments for rules page */
.theme-dark .rules-content {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.theme-dark .rule-item:hover {
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.theme-dark .contact-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* ===== CELPIP PAGE (custom modern UI) ===== */
.celpip-hero-section {
    background: radial-gradient(120% 140% at 100% -20%, rgba(255,231,173,0.25) 0%, rgba(255,255,255,0) 45%),
                linear-gradient(135deg, rgba(207,140,6,0.1) 0%, rgba(225,171,63,0.05) 50%, rgba(244,213,132,0.08) 100%);
    padding: 120px 0 70px;
    position: relative;
    overflow: hidden;
}
.celpip-hero-section .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
}
.celpip-hero-section .badge-chip {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px var(--shadow);
}
.celpip-hero-section .hero-actions { margin-top: 18px; }
.celpip-hero-section .hero-actions .btn { min-width: 180px; }

/* Sticky TOC (desktop) */
.celpip-toc {
    position: sticky;
    top: 90px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 6px 18px var(--shadow);
    padding: 14px;
}
.celpip-toc .toc-title { font-weight: 600; color: var(--text); margin-bottom: 8px; }
.celpip-toc .list-group-item {
    border: none;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
}
.celpip-toc .list-group-item:hover {
    background: rgba(207, 140, 6, 0.08);
    color: var(--accent);
}

/* Glass card refinement */
.glass-card {
    background: radial-gradient(120% 140% at -20% 0%, rgba(255,231,173,0.15) 0%, rgba(255,255,255,0) 45%), var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 14px 34px var(--shadow);
}

/* Modern table */
.table-modern thead th {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #000;
    border: none !important;
}
.table-modern tbody tr:hover {
    background: rgba(207, 140, 6, 0.06);
}
.table-modern td, .table-modern th {
    vertical-align: middle;
}

/* Dark theme adjustments */
.theme-dark .celpip-hero-section {
    background: radial-gradient(120% 140% at 100% -20%, rgba(241,178,74,0.15) 0%, rgba(0,0,0,0) 45%),
                linear-gradient(135deg, rgba(241,178,74,0.12) 0%, rgba(225,171,63,0.06) 50%, rgba(241,178,74,0.1) 100%);
}
.theme-dark .celpip-toc { background: #151922; border-color: #22262e; }
.theme-dark .badge-chip { background: #151922; border-color: #22262e; color: var(--text); }

/* ===== CELPIP TABLES: minimal grey/white override ===== */
.table-modern {
    background: var(--surface);
    border-collapse: separate;
    border-spacing: 0;
}
.table-modern thead th {
    background: #f7f7f9;
    color: var(--text);
    border-bottom: 1px solid var(--border) !important;
    border-top: 0 !important;
    font-weight: 600;
}
.table-modern tbody td, .table-modern thead th {
    padding: 12px 14px;
    border-color: var(--border) !important;
}
.table-modern tbody tr:hover {
    background: rgba(0, 0, 0, 0.03);
}
.table-modern.table-striped > tbody > tr:nth-of-type(odd) > * {
    background: #fcfcfd;
}

/* Dark theme minimal tables */
.theme-dark .table-modern thead th {
    background: #151922;
    color: var(--text);
    border-bottom: 1px solid #22262e !important;
}
.theme-dark .table-modern tbody td, .theme-dark .table-modern thead th {
    border-color: #22262e !important;
}
.theme-dark .table-modern tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}
.theme-dark .table-modern.table-striped > tbody > tr:nth-of-type(odd) > * {
    background: #11151d;
}

/* ===== CELPIP TYPOGRAPHY + ICON SPACING TWEAKS ===== */
/* Icon spacing when icon is at line start (RTL aware) */
.privacy-section-title i { margin-left: 8px; position: relative; top: 1px; }

/* Softer hero typography on celpip page */
.celpip-hero-section .privacy-title { font-size: 2.2rem; font-weight: 600; }
.celpip-hero-section .privacy-subtitle { font-size: 1.05rem; font-weight: 400; }

/* Softer section titles inside celpip content container */
.privacy-content.glass-card .privacy-section-title { font-size: 1.4rem; font-weight: 500; line-height: 1.35; }

/* Table header weight slightly reduced for minimal look */
.table-modern thead th { font-weight: 500; }

/* Smaller rule section titles inside CELPIP page */
.privacy-content.glass-card .rule-section-title {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}
@media (max-width: 576px) {
    .privacy-content.glass-card .rule-section-title { font-size: 1.05rem; }
}