:root {
    --bg-primary: #0a0a14;
    --bg-secondary: #121220;
    --bg-tertiary: #1A1A2E;
    --color-primary: #1b98e0;
    --color-secondary: #32de84;
    --color-danger: #ff6b6b;
    --color-accent: #9b59b6;
    --color-text: #e0e0e0;
    --color-text-muted: #a0a0c0;
    --border-color: #3a476a;
    --header-bg: rgba(10, 10, 20, 0.7);
    --shadow-color: rgba(27, 152, 224, 0.5);
    --glow-shadow: 0 0 15px var(--shadow-color);
    --card-bg: rgba(18, 18, 32, 0.8);
    --form-bg: rgba(18, 18, 32, 0.85);
}

html[data-theme='light'] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9ecef;
    --color-primary: #0056b3;
    --color-secondary: #218838;
    --color-accent: #8e44ad;
    --color-text: #212529;
    --color-text-muted: #6c757d;
    --border-color: #dee2e6;
    --header-bg: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 86, 179, 0.35);
    --glow-shadow: 0 5px 20px var(--shadow-color);
    --card-bg: #ffffff;
    --form-bg: rgba(255, 255, 255, 0.95);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--bg-primary);
    background-image: linear-gradient(180deg, var(--bg-primary), var(--bg-tertiary));
}

html[data-theme='dark'] #particles-js {
    display: none;
}

html[data-theme='dark'] body {
    background-color: var(--bg-primary);
    background-image: none;
}

html[data-theme='light'] #particles-js {
    display: block;
    opacity: 0.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* =========================================
   PREMIUM WELCOME SCREEN - WORLD CLASS
   ========================================= */

/* Hide background animation while splash is visible */
body:has(#welcome-screen) .main-bg-animation {
    animation-play-state: paused !important;
    opacity: 0 !important;
}

body:has(#welcome-screen) .main-bg-animation span {
    animation-play-state: paused !important;
    opacity: 0 !important;
}

#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #030014;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Premium loading bar */
#welcome-screen .splash-loader {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    z-index: 20;
}

#welcome-screen .splash-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1b98e0, #9b59b6, #32de84);
    border-radius: 3px;
    animation: splashLoad 2.5s ease-in-out forwards;
}

@keyframes splashLoad {
    0% {
        width: 0%;
    }

    60% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

/* Version badge */
.splash-version {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    z-index: 20;
}

/* Animated gradient mesh background */
#welcome-screen::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(27, 152, 224, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(155, 89, 182, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(50, 222, 132, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 30%, rgba(27, 152, 224, 0.1) 0%, transparent 40%);
    animation: meshFloat 12s ease-in-out infinite alternate;
}

@keyframes meshFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-30px, 20px) rotate(2deg);
    }

    66% {
        transform: translate(20px, -30px) rotate(-1deg);
    }

    100% {
        transform: translate(-10px, 10px) rotate(1deg);
    }
}

/* Grid overlay for depth */
#welcome-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(27, 152, 224, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 152, 224, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 4s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

/* Floating Sparkles */
.particles span {
    position: absolute;
    bottom: -50px;
    background: transparent;
    border-radius: 50%;
    animation: floatUp 7s linear infinite;
    opacity: 0;
}

.particles span:nth-child(1) {
    left: 5%;
    width: 3px;
    height: 3px;
    animation-duration: 8s;
    animation-delay: 0s;
    background: #fff;
    box-shadow: 0 0 6px #fff, 0 0 12px #1b98e0;
}

.particles span:nth-child(2) {
    left: 15%;
    width: 4px;
    height: 4px;
    animation-duration: 10s;
    animation-delay: 0.5s;
    background: #1b98e0;
    box-shadow: 0 0 8px #1b98e0;
}

.particles span:nth-child(3) {
    left: 25%;
    width: 2px;
    height: 2px;
    animation-duration: 6s;
    animation-delay: 1s;
    background: #32de84;
    box-shadow: 0 0 6px #32de84;
}

.particles span:nth-child(4) {
    left: 35%;
    width: 3px;
    height: 3px;
    animation-duration: 9s;
    animation-delay: 0.3s;
    background: #9b59b6;
    box-shadow: 0 0 8px #9b59b6;
}

.particles span:nth-child(5) {
    left: 45%;
    width: 2px;
    height: 2px;
    animation-duration: 7s;
    animation-delay: 2s;
    background: #fff;
    box-shadow: 0 0 6px #fff;
}

.particles span:nth-child(6) {
    left: 55%;
    width: 4px;
    height: 4px;
    animation-duration: 11s;
    animation-delay: 0.8s;
    background: #1b98e0;
    box-shadow: 0 0 10px #1b98e0;
}

.particles span:nth-child(7) {
    left: 65%;
    width: 2px;
    height: 2px;
    animation-duration: 5s;
    animation-delay: 1.5s;
    background: #32de84;
    box-shadow: 0 0 6px #32de84;
}

.particles span:nth-child(8) {
    left: 75%;
    width: 3px;
    height: 3px;
    animation-duration: 8s;
    animation-delay: 3s;
    background: gold;
    box-shadow: 0 0 8px gold;
}

.particles span:nth-child(9) {
    left: 85%;
    width: 2px;
    height: 2px;
    animation-duration: 6s;
    animation-delay: 1.8s;
    background: gold;
    box-shadow: 0 0 6px gold;
}

.particles span:nth-child(10) {
    left: 92%;
    width: 3px;
    height: 3px;
    animation-duration: 9s;
    animation-delay: 0.5s;
    background: #1b98e0;
    box-shadow: 0 0 8px #1b98e0;
}

.particles span:nth-child(11) {
    left: 8%;
    width: 2px;
    height: 2px;
    animation-duration: 7s;
    animation-delay: 2.5s;
    background: #9b59b6;
    box-shadow: 0 0 6px #9b59b6;
}

.particles span:nth-child(12) {
    left: 50%;
    width: 3px;
    height: 3px;
    animation-duration: 10s;
    animation-delay: 1.2s;
    background: #fff;
    box-shadow: 0 0 8px #fff, 0 0 15px #1b98e0;
}

.particles span:nth-child(13) {
    left: 30%;
    width: 2px;
    height: 2px;
    animation-duration: 6s;
    animation-delay: 3.5s;
    background: #32de84;
    box-shadow: 0 0 6px #32de84;
}

.particles span:nth-child(14) {
    left: 70%;
    width: 4px;
    height: 4px;
    animation-duration: 12s;
    animation-delay: 0.2s;
    background: #1b98e0;
    box-shadow: 0 0 12px #1b98e0;
}

.particles span:nth-child(15) {
    left: 40%;
    width: 2px;
    height: 2px;
    animation-duration: 5s;
    animation-delay: 4s;
    background: #fff;
    box-shadow: 0 0 6px #fff;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        transform: translateY(-10vh) rotate(30deg) scale(1);
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-110vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Premium Royal Card with animated border */
.royal-card {
    text-align: center;
    position: relative;
    z-index: 10;
    background: rgba(10, 10, 30, 0.6);
    padding: 60px 50px;
    border-radius: 24px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(27, 152, 224, 0.08),
        inset 0 0 80px rgba(27, 152, 224, 0.03);
    max-width: 500px;
    width: 90%;
    animation: cardReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.royal-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: conic-gradient(from 0deg, #1b98e0, #9b59b6, #32de84, #1b98e0);
    opacity: 0.4;
    z-index: -1;
    animation: rotateBorder 6s linear infinite;
    filter: blur(1px);
}

@keyframes rotateBorder {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cardReveal {
    0% {
        transform: scale(0.85) translateY(30px);
        opacity: 0;
    }

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

/* Logo with orbiting rings */
.logo-spotlight {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.royal-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 40px rgba(27, 152, 224, 0.3), 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {

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

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

.glow-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(27, 152, 224, 0.6);
    border-right-color: rgba(155, 89, 182, 0.4);
    animation: orbitRing 3s linear infinite;
}

.glow-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-bottom-color: rgba(50, 222, 132, 0.4);
    border-left-color: rgba(27, 152, 224, 0.3);
    animation: orbitRing 5s linear infinite reverse;
}

.glow-ring::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: rgba(155, 89, 182, 0.2);
    animation: orbitRing 7s linear infinite;
}

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

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

/* Shining Text */
.sub-heading {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInText 1s ease 0.3s backwards;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.main-heading {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.1;
    animation: fadeInText 1s ease 0.5s backwards;
}

.shine-text {
    background: linear-gradient(90deg,
            #1b98e0 0%,
            #32de84 25%,
            #fff 50%,
            #9b59b6 75%,
            #1b98e0 100%);
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineMove 4s linear infinite;
}

@keyframes shineMove {
    to {
        background-position: 300% center;
    }
}

.tagline {
    color: rgba(176, 176, 192, 0.8);
    font-size: 0.95rem;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
    animation: fadeInText 1s ease 0.7s backwards;
}

/* Premium Shining Button */
.royal-btn {
    position: relative;
    background: linear-gradient(135deg, #1b98e0, #9b59b6);
    border: none;
    padding: 16px 55px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(27, 152, 224, 0.35), 0 0 20px rgba(155, 89, 182, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: fadeInText 1s ease 0.9s backwards;
    letter-spacing: 0.5px;
}

.royal-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 50px rgba(27, 152, 224, 0.5), 0 0 30px rgba(155, 89, 182, 0.25);
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: buttonShine 4s infinite;
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }

    25% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .royal-card {
        padding: 45px 25px;
        border-radius: 20px;
    }

    .main-heading {
        font-size: 2.4rem;
    }

    .royal-logo {
        width: 100px;
        height: 100px;
    }

    .logo-spotlight {
        width: 130px;
        height: 130px;
    }

    .sub-heading {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}

header,
main,
footer,
#voice-assistant-btn,
#chatbot-toggle {
    display: none;
}

header {
    background-color: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: var(--header-bg);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

html[data-theme='light'] header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    padding: 2px;
    box-shadow: var(--glow-shadow);
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 0 10px var(--shadow-color);
    }

    to {
        box-shadow: 0 0 25px var(--shadow-color);
    }
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
}

nav li {
    position: relative;
}

nav a,
.header-btn,
.dropdown>button {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
}

nav a:not(.header-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

nav a:hover:not(.header-btn)::after {
    width: 100%;
    left: 0;
}

nav a:hover,
.header-btn:hover,
.dropdown>button:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.header-btn {
    background-color: var(--color-primary);
    color: white !important;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(27, 152, 224, 0.4);
}

html[data-theme='light'] .header-btn {
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.header-btn:hover {
    background-color: #167ab5;
    box-shadow: 0 6px 20px rgba(27, 152, 224, 0.5);
    color: white !important;
}

html[data-theme='light'] .header-btn:hover {
    background-color: #0056b3;
}

.dropdown>button {
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.dropdown>button .fa-chevron-down {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover>button .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, top 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    width: 100%;
    text-align: left;
}

.dropdown-menu a::after {
    display: none;
}

#theme-switcher {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.lang-switcher {
    display: flex;
    background-color: var(--bg-tertiary);
    border-radius: 6px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.lang-btn.active {
    background-color: var(--color-primary);
    color: white;
    border-radius: 6px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

section {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--color-text);
    font-weight: 700;
}

html[data-theme='light'] .section-title {
    color: #343a40;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 60px auto;
    color: var(--color-text-muted);
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 90vh;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    flex: 1.2;
    min-width: 300px;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-subheadline,
.hero-section .btn {
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease-out forwards;
}

.hero-headline {
    opacity: 1;
}

.hero-subheadline {
    animation-delay: 0.8s;
}

.hero-section .btn {
    animation-delay: 1.1s;
}

.hero-headline {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(50, 222, 132, 0.2);
    min-height: 150px;
}

.typewriter-cursor {
    display: inline-block;
    animation: blink 0.7s infinite;
    margin-left: 4px;
    background: var(--color-secondary);
    width: 4px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin-bottom: 25px;
}

.hero-image {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.hero-image .image-frame {
    background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-primary));
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
    box-shadow: 0 0 50px rgba(27, 152, 224, 0.25);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

html[data-theme='light'] .hero-image .image-frame {
    box-shadow: 0 10px 50px var(--shadow-color);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.hero-image .image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 3s linear infinite;
}

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

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

.hero-image img {
    border-radius: 50%;
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    background-color: var(--bg-secondary);
}

#testimonials {
    background-color: transparent;
    overflow: hidden;
}

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    min-height: 450px;
    perspective: 1500px;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.testimonial-slider:active {
    cursor: grabbing;
}

.testimonial-card {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 80%;
    max-width: 500px;
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    user-select: none;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease, box-shadow 0.6s ease;
    opacity: 0;
}

.testimonial-card.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--shadow-color);
}

.testimonial-card.prev {
    transform: translateX(-60%) scale(0.8) rotateY(45deg);
    opacity: 0.4;
    z-index: 5;
}

.testimonial-card.next {
    transform: translateX(60%) scale(0.8) rotateY(-45deg);
    opacity: 0.4;
    z-index: 5;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    margin-bottom: 15px;
    pointer-events: none;
}

.testimonial-card .name {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-card .location {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.testimonial-card .rating {
    color: #f1c40f;
    margin-bottom: 15px;
}

.testimonial-card .review-text {
    font-style: italic;
    color: var(--color-text-muted);
}

html[data-theme='light'] .testimonial-card {
    background-color: #ffffff;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

html[data-theme='light'] .testimonial-card .review-text {
    color: #555;
}

html[data-theme='light'] .testimonial-card .name {
    color: var(--color-primary);
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.slider-nav button {
    pointer-events: all;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--color-text);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav button:hover {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.slider-nav button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: scale(1);
}

.slider-dots {
    text-align: center;
    margin-top: 25px;
}

.slider-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--color-primary);
    transform: scale(1.3);
}

@media (max-width: 992px) {
    .testimonial-card.prev {
        transform: translateX(-50%) scale(0.75) rotateY(35deg);
    }

    .testimonial-card.next {
        transform: translateX(50%) scale(0.75) rotateY(-35deg);
    }

    .slider-nav {
        width: 110%;
    }
}

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

    .slider-nav button {
        width: 40px;
        height: 40px;
    }
}

/* --- MOBILE RESPONSIVE TESTIMONIALS --- */
@media (max-width: 768px) {
    .testimonial-slider-container {
        min-height: 520px;
        position: relative;
        padding-bottom: 70px;
        overflow: hidden;
    }

    .testimonial-card {
        width: 90%;
        left: 5%;
        padding: 30px 20px;
        top: 10px;
    }

    .slider-nav {
        display: flex !important;
        width: 100%;
        justify-content: center;
        gap: 40px;
        position: absolute;
        top: auto;
        bottom: 10px;
        transform: none;
        z-index: 100;
        left: 0;
        pointer-events: none;
    }

    .slider-nav button {
        pointer-events: auto;
        background-color: var(--color-primary);
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 1.2rem;
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .testimonial-card.prev,
    .testimonial-card.next {
        opacity: 0;
        pointer-events: none;
    }
}

.review-form-onpage {
    margin-top: 60px;
}

.star-rating {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.star-rating .fa-star {
    transition: color 0.2s, transform 0.2s;
}

.star-rating .fa-star:hover,
.star-rating .fa-star.hovered {
    color: #f1c40f;
    transform: scale(1.2);
}

.star-rating .fa-star.selected {
    color: #f1c40f;
}


.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white !important;
    background: linear-gradient(45deg, var(--color-primary), #4e9af1, var(--color-accent));
    background-size: 200% auto;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(27, 152, 224, 0.4);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn:hover {
    background-position: right center;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(27, 152, 224, 0.6);
}

.btn:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

html[data-theme='light'] .btn {
    background: linear-gradient(45deg, var(--color-primary), #2980b9);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

html[data-theme='light'] .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: 2;
    pointer-events: none;
}

html[data-theme='light'] .btn:hover::after {
    left: 100%;
}

html[data-theme='light'] .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 86, 179, 0.5);
}


@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate-glow {
    to {
        --angle: 360deg;
    }
}

.feature-card,
.flip-card,
.stat-card,
.partner-card {
    position: relative;
}

.feature-card,
.card-front,
.card-back,
.stat-card,
.agreement-step .step-content,
.partner-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    z-index: 1;
}

.feature-card::before,
.flip-card::before,
.stat-card::before,
.agreement-step .step-content::before,
.partner-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    background: conic-gradient(from var(--angle), var(--color-accent), var(--color-primary), var(--color-secondary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: rotate-glow 4s linear infinite paused;
}

.feature-card:hover,
.flip-card:hover,
.stat-card:hover,
.agreement-step:hover .step-content,
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before,
.flip-card:hover::before,
.stat-card:hover::before,
.agreement-step:hover .step-content::before,
.partner-card:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.feature-card:hover,
.agreement-step:hover .step-content,
.partner-card:hover,
.stat-card:hover,
.flip-card:hover .card-front,
.flip-card:hover .card-back {
    background-color: var(--bg-secondary);
    backdrop-filter: none;
}

html[data-theme='light'] .feature-card:hover,
html[data-theme='light'] .agreement-step:hover .step-content,
html[data-theme='light'] .partner-card:hover,
html[data-theme='light'] .stat-card:hover,
html[data-theme='light'] .flip-card:hover .card-front,
html[data-theme='light'] .flip-card:hover .card-back {
    background: linear-gradient(135deg, var(--color-primary), #4e9af1) !important;
    background-color: var(--color-primary);
    backdrop-filter: none;
    border-color: transparent;
}

html[data-theme='light'] .feature-card:hover h3,
html[data-theme='light'] .feature-card:hover p,
html[data-theme='light'] .flip-card:hover .card-front h3,
html[data-theme='light'] .flip-card:hover .card-front p,
html[data-theme='light'] .flip-card:hover .card-back h3,
html[data-theme='light'] .flip-card:hover .card-back p,
html[data-theme='light'] .partner-card:hover h3,
html[data-theme='light'] .agreement-step:hover .step-content h3,
html[data-theme='light'] .agreement-step:hover .step-content p,
html[data-theme='light'] .stat-card:hover h3,
html[data-theme='light'] .stat-card:hover .chart-percent,
html[data-theme='light'] .stat-card:hover .kpi-container {
    color: #ffffff !important;
}

html[data-theme='light'] .feature-card:hover .icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

html[data-theme='light'] .stat-card h3,
html[data-theme='light'] .stat-card text,
html[data-theme='light'] .chart-container text {
    color: #ffffff !important;
    fill: #ffffff !important;
}

html[data-theme='light'] .partner-card:hover .ref-id {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    border: none;
    min-height: 250px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.card-back {
    transform: rotateY(180deg);
}

.flip-card .icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.flip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.flip-card p {
    color: var(--color-text-muted);
}

.feature-card {
    padding: 30px;
    text-align: center;
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

html[data-theme='dark'] .card-grid .feature-card:first-child {
    color: #ffffff !important;
}

html[data-theme='dark'] .card-grid .feature-card:first-child h3,
html[data-theme='dark'] .card-grid .feature-card:first-child p,
html[data-theme='dark'] .card-grid .feature-card:first-child span {
    color: #ffffff !important;
}

html[data-theme='dark'] .card-grid .feature-card:first-child .icon {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child {
    background-color: #ffffff !important;
    border: 1px solid var(--border-color);
}

html[data-theme='light'] .card-grid .feature-card:first-child h3,
html[data-theme='light'] .card-grid .feature-card:first-child p,
html[data-theme='light'] .card-grid .feature-card:first-child .icon {
    color: #333333 !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child .icon {
    background-color: #e9ecef !important;
    color: var(--color-primary) !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child:hover {
    background: linear-gradient(135deg, var(--color-primary), #4e9af1) !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child:hover h3,
html[data-theme='light'] .card-grid .feature-card:first-child:hover p {
    color: #ffffff !important;
}

html[data-theme='light'] .card-grid .feature-card:first-child:hover .icon {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}


.partner-card {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 250px;
}

.partner-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.partner-card h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 0;
}

.partner-card .ref-id {
    background-color: var(--bg-tertiary);
    color: var(--color-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

#stats {
    background-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.stat-card h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.chart-container {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.donut-chart {
    width: 150px;
    height: 150px;
    overflow: visible;
}

.donut-chart circle {
    fill: transparent;
    stroke-width: 15;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.5s ease-out;
    stroke-linecap: round;
}

.donut-chart .background {
    stroke: var(--bg-tertiary);
}

.donut-chart .foreground {
    stroke: url(#satisfactionGradient);
}

.chart-percent {
    position: absolute;
    font-size: 2rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.stat-card:hover .chart-percent {
    transform: scale(1.1);
}

#growth-chart-container {
    cursor: grab;
}

#growth-chart-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.radar-chart {
    font-family: sans-serif;
    font-size: 12px;
}

.radar-chart .axis,
.radar-chart .level {
    stroke: var(--border-color);
    stroke-width: 1;
}

.radar-chart .axis-label {
    fill: var(--color-text-muted);
}

.radar-chart .shape {
    fill: var(--shadow-color);
    stroke: var(--color-primary);
    stroke-width: 2;
    transition: all 1.5s ease-out;
}

.bar-chart rect {
    transition: height 1.5s ease-out, y 1.5s ease-out;
}

.bar-chart .bar-label {
    font-size: 12px;
    fill: var(--color-text-muted);
}

.kpi-container {
    font-size: 3rem;
    font-weight: 700;
}

.chart-container text {
    fill: #ffffff !important;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.bar-chart rect {
    fill: url(#satisfactionGradient) !important;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1px;
}

.radar-chart .axis {
    stroke: rgba(255, 255, 255, 0.2);
}

.radar-chart .level {
    stroke: rgba(255, 255, 255, 0.1);
}

.radar-chart .shape {
    fill: rgba(27, 152, 224, 0.4);
    stroke: var(--color-primary);
    stroke-width: 2px;
    filter: drop-shadow(0 0 5px var(--color-primary));
}

#growth-line-chart path {
    stroke: var(--color-secondary);
    stroke-width: 3;
    filter: drop-shadow(0 0 8px var(--color-secondary));
}

#growth-line-chart circle {
    fill: #fff;
    stroke: var(--color-primary);
    stroke-width: 2;
}

.horizontal-bars {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.h-bar-group {
    margin-bottom: 20px;
    position: relative;
}

.h-bar-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.h-bar-progress {
    height: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: visible;
    position: relative;
}

.h-bar-fill {
    height: 100%;
    border-radius: 10px;
    position: relative;
    width: 0;
    transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.h-bar-1 {
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
}

.h-bar-2 {
    background: linear-gradient(90deg, #1b98e0, #2bcbba);
    box-shadow: 0 0 15px rgba(43, 203, 186, 0.6);
}

.h-bar-3 {
    background: linear-gradient(90deg, #a55eea, #45aaf2);
    box-shadow: 0 0 15px rgba(165, 94, 234, 0.6);
}

.h-bar-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: fadeInDot 0.5s forwards 1.5s;
}

@keyframes fadeInDot {
    to {
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .stat-card.span-2 {
        grid-column: span 2;
    }
}

.agreement-steps {
    list-style: none;
    position: relative;
    padding: 20px 0;
}

.agreement-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.agreement-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}

.agreement-step .step-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    background-color: var(--bg-secondary);
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    z-index: 2;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 15px var(--shadow-color);
}

.agreement-step:hover .step-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 25px var(--shadow-color);
}

.agreement-step .step-content {
    padding: 30px;
    position: relative;
}

.agreement-step:hover .step-content p {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

html[data-theme='light'] .agreement-step:hover .step-content p {
    text-shadow: none;
}

.agreement-step h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.agreement-step p {
    color: var(--color-text-muted);
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free', sans-serif;
    font-weight: 900;
    transition: transform 0.3s;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-section p,
.footer-section a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--color-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 0;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    color: var(--color-text);
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s, color 0.3s, box-shadow 0.3s;
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 0 15px var(--shadow-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    border: none;
    overflow: hidden;
    background: transparent;
}

.modal-close {
    position: fixed;
    top: 25px;
    right: 30px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
}

.modal-close:hover {
    background-color: var(--color-danger);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

.form-container {
    background: var(--form-bg);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    margin: 20px auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    overflow: hidden;
}

html[data-theme='light'] .form-container {
    box-shadow: 0 8px 32px 0 var(--shadow-color);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(145deg, var(--color-primary), var(--color-accent));
}

.form-container .btn,
#edit-form .btn {
    margin-top: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group .input-wrapper {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

html[data-theme='light'] .form-group input,
html[data-theme='light'] .form-group textarea,
html[data-theme='light'] .form-group select {
    background-color: #fff;
}

html[data-theme='light'] #contact-form input,
html[data-theme='light'] #contact-form textarea,
html[data-theme='light'] #contact-form select {
    color: #212529 !important;
    background-color: #ffffff !important;
    border-color: #dee2e6;
}

html[data-theme='light'] #contact-form input::placeholder,
html[data-theme='light'] #contact-form textarea::placeholder {
    color: #6c757d;
}

.form-container h2,
.form-container h3,
.form-container label {
    color: var(--color-text) !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--shadow-color);
    outline: none;
}

.message {
    text-align: center;
    padding: 15px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 600px;
    border: 1px solid var(--color-danger);
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--color-danger);
}

.message.success {
    border-color: var(--color-secondary);
    background-color: rgba(50, 222, 132, 0.1);
    color: var(--color-secondary);
}

.hidden {
    display: none;
}

.form-group .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    transition: color 0.3s;
    pointer-events: none;
}

.form-group input {
    padding-left: 50px;
}

.form-group textarea {
    padding-left: 20px;
    padding-top: 14px;
}

.form-group .input-wrapper:focus-within .input-icon {
    color: var(--color-primary);
}

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

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

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.admin-dashboard {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab-btn {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--color-text-muted);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    border-bottom: none;
    position: relative;
    top: 1px;
}

.admin-tab-btn:hover {
    background-color: var(--bg-primary);
    color: var(--color-primary);
}

.admin-tab-btn.active {
    background-color: var(--bg-secondary);
    color: var(--color-primary);
    font-weight: 600;
    border-color: var(--border-color);
    border-bottom: 1px solid var(--bg-secondary);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: tab-fade-in 0.5s ease;
}

@keyframes tab-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.admin-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.admin-table th {
    font-weight: 600;
}

.leads-container {
    margin-bottom: 40px;
}

.lead-card {
    background-color: var(--bg-tertiary);
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.lead-card.new-lead {
    border-left-color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(50, 222, 132, 0.2);
}

.lead-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.lead-name {
    font-weight: 600;
    font-size: 1.2rem;
}

.lead-date {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.lead-contact {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.lead-contact a {
    color: var(--color-primary);
    text-decoration: none;
}

.lead-message {
    background-color: var(--bg-primary);
    padding: 10px;
    border-radius: 6px;
}

.lead-status-select {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--color-text);
    border-radius: 6px;
    padding: 5px 10px;
}

.lead-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s, transform 0.2s;
    padding: 2px 5px;
}

.copy-btn:hover {
    color: var(--color-primary);
    transform: scale(1.2);
}

.lead-phone-number.copied {
    color: var(--color-secondary);
    font-weight: 600;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 5px;
}

.edit-btn {
    color: var(--color-primary);
}

.delete-btn {
    color: var(--color-danger);
}

.card-btn {
    color: var(--color-secondary);
}

#edit-modal .modal-content,
#confirm-modal .modal-content {
    background-color: transparent;
}

#edit-modal .modal-body {
    align-items: center;
    justify-content: center;
}

#confirm-modal .modal-content {
    max-width: 450px;
    height: auto;
    text-align: center;
    padding: 40px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
}

.data-profile {
    background-color: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    width: 100%;
    max-width: 950px;
    margin: 0 auto 40px auto;
}

.profile-header {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-secondary);
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.profile-info h2 {
    font-size: 1.5rem;
}

.profile-body {
    padding: 30px;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.field-item label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.field-item .value {
    background-color: var(--bg-primary);
    padding: 10px 15px;
    border-radius: 8px;
}

.animated-agreement {
    background-color: var(--bg-secondary);
    color: var(--color-text);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 950px;
    margin: 20px auto;
    font-family: 'Courier New', Courier, monospace;
}

.animated-agreement h2 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.agreement-actions {
    text-align: center;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.agreement-actions .btn {
    margin: 0;
}

.id-card-v4-wrapper {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.id-card-v4 {
    color: var(--color-text);
    background: linear-gradient(175deg, #10121C 50%, #112D3A 100%);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(27, 152, 224, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.id-card-v4 .card-bg-circuits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.ibb.co/6PBFv53/circuit-bg.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.id-card-v4-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-ribbon-v4 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.card-ribbon-v4::before {
    content: 'PM PM PM PM';
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 200%;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    transform: rotate(-45deg) translateY(20px);
    padding: 4px 0;
    letter-spacing: 2px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.card-header-v4 {
    margin-bottom: 20px;
}

.card-header-v4 img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid rgba(27, 152, 224, 0.7);
}

.card-header-v4 h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card-header-v4 p {
    font-size: 1rem;
    color: #c0c0d0;
}

.photo-frame-v4 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    padding: 5px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px var(--shadow-color);
}

.photo-frame-v4 img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.partner-name-v4 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.partner-ref-id-v4 {
    background-color: rgba(50, 222, 132, 0.2);
    color: var(--color-secondary);
    border: 1px solid rgba(50, 222, 132, 0.4);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 8px 0 12px 0;
}

.partner-title-v4 {
    font-size: 1rem;
    font-weight: 500;
    color: #c0c0d0;
    margin-bottom: 25px;
}

.contact-info-v4 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: left;
}

.contact-item-v4 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

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

.contact-item-v4 span {
    word-break: break-all;
}

.qr-section-v4 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    background-color: rgba(10, 10, 20, 0.5);
    padding: 15px;
    border-radius: 12px;
    width: 100%;
    border: 1px solid var(--border-color);
}

.qr-section-v4 img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    flex-shrink: 0;
}

.qr-section-v4 p {
    font-size: 0.95rem;
    color: #c0c0d0;
    text-align: left;
    line-height: 1.4;
}

.card-footer-v4 {
    margin-top: 30px;
    font-size: 1rem;
    color: #c0c0d0;
}

.card-footer-v4 i {
    color: var(--color-primary);
    margin: 0 5px;
    font-size: 1.1rem;
}

.digital-card-actions {
    margin-top: 30px;
    text-align: center;
}

#voice-assistant-btn,
#chatbot-toggle {
    position: fixed;
    bottom: 25px;
    width: 55px;
    height: 55px;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background-position 0.5s ease;
    background-size: 200% auto;
}

#voice-assistant-btn {
    right: 25px;
    background-image: linear-gradient(45deg, var(--color-primary), #4e9af1);
    box-shadow: 0 5px 20px rgba(27, 152, 224, 0.4);
}

#chatbot-toggle {
    right: 95px;
    background-image: linear-gradient(45deg, var(--color-accent), #c37ee6);
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.4);
}

#voice-assistant-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(27, 152, 224, 0.6);
    background-position: right center;
}

#chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.6);
    background-position: right center;
}

#chatbot-container {
    position: fixed;
    bottom: 95px;
    right: 95px;
    width: 90%;
    max-width: 370px;
    height: 500px;
    background-color: var(--bg-secondary);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.5) translateY(50px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    transform-origin: bottom right;
}

#chatbot-container.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    background-color: var(--bg-tertiary);
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--color-primary);
    border-bottom: 1px solid var(--border-color);
}

.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 12px;
    line-height: 1.4;
}

.chat-message.user {
    background-color: var(--color-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-message.bot {
    background-color: var(--bg-tertiary);
    color: var(--color-text);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-message.bot.typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    margin: 0 2px;
    animation: bounce 1s infinite;
}

.chat-message.bot.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-message.bot.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

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

    30% {
        transform: translateY(-6px);
    }
}

.chatbot-input-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

#chatbot-input {
    flex-grow: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--color-text);
    font-size: 1rem;
}

#chatbot-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

#chatbot-send {
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#chatbot-send:hover {
    background-color: #167ab5;
}


.admin-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.review-management-card {
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 4px solid var(--color-accent);
}

.review-management-card.approved {
    border-left-color: var(--color-secondary);
}

.review-details strong {
    font-size: 1.1rem;
    color: var(--color-text);
}

.review-details .review-email {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 5px 0;
}

.review-details .review-rating {
    color: #f1c40f;
    margin: 10px 0;
}

.review-details p {
    font-style: italic;
    color: var(--color-text-muted);
    background-color: var(--bg-primary);
    padding: 10px;
    border-radius: 6px;
}

.review-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.review-actions .approve-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    flex-grow: 1;
}

/* =========================================
   ANIMATIONS (Text & UI)
   ========================================= */

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

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

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

.anim-text-flow {
    background: linear-gradient(270deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textGradientFlow 3s ease infinite;
}

@keyframes elasticPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.anim-pop {
    animation: elasticPop 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes blurIn {
    0% {
        filter: blur(10px);
        opacity: 0;
    }

    100% {
        filter: blur(0);
        opacity: 1;
    }
}

.anim-blur-in {
    animation: blurIn 1s ease-out forwards;
}

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

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

.anim-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes flipInX {
    from {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }

    to {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

.anim-flip-x {
    animation: flipInX 1s ease forwards;
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px var(--color-primary);
    }

    50% {
        box-shadow: 0 0 20px var(--color-primary), 0 0 10px var(--color-secondary);
    }

    100% {
        box-shadow: 0 0 5px var(--color-primary);
    }
}

.anim-neon-pulse {
    animation: neonPulse 2s infinite;
}

@keyframes trackingExpand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.anim-tracking {
    animation: trackingExpand 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes floatY {

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

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

.anim-float {
    animation: floatY 4s ease-in-out infinite;
}

@keyframes jiggle {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.anim-jiggle:hover {
    animation: jiggle 0.4s ease-in-out infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.anim-glitch:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes rotateIn {
    from {
        transform: rotate(-200deg);
        opacity: 0;
    }

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

.anim-rotate-in {
    animation: rotateIn 0.8s ease-out;
}

.anim-shine {
    position: relative;
    overflow: hidden;
}

.anim-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.visible {
    opacity: 1 !important;
}

.invisible {
    opacity: 0;
}

#card-modal .modal-content {
    background: transparent;
    box-shadow: none;
    border: none;
    align-items: center;
    justify-content: center;
}

.id-card-wrapper {
    background: #0f172a;
    width: 320px;
    padding: 30px 20px;
    border-radius: 20px;
    border: 2px solid #1b98e0;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(27, 152, 224, 0.4);
    font-family: 'Poppins', sans-serif;
    margin: 0 auto;
}

.card-top-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #333;
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.card-subtitle {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 25px;
    font-weight: 400;
}

.card-profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1b98e0;
    padding: 3px;
    background: #fff;
    margin-bottom: 15px;
}

.card-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.referral-badge {
    display: inline-block;
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.partner-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
    display: block;
}

.card-details {
    text-align: left;
    margin-bottom: 20px;
    padding-left: 10px;
}

.detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #ddd;
    font-size: 13px;
}

.detail-row i {
    color: #1b98e0;
    width: 25px;
    font-size: 16px;
}

.qr-box {
    background: #0b1120;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.qr-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
}

.qr-text {
    font-size: 11px;
    color: #aaa;
    line-height: 1.4;
}

.download-actions {
    margin-top: 20px;
    text-align: center;
}

@media screen and (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        padding-top: 20px;
    }

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

    .hero-headline {
        font-size: 2.5rem;
        min-height: auto;
    }

    .hero-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .stat-card.span-2 {
        grid-column: span 1;
    }
}

@media screen and (max-width: 768px) {
    header nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: 0.3s ease;
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }

    header.nav-active nav ul {
        left: 0;
    }

    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    nav a,
    .header-btn {
        display: inline-block;
        width: 80%;
        padding: 12px;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding-left: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .card-grid,
    .stats-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    #chatbot-container {
        right: 5%;
        bottom: 90px;
        width: 90%;
    }

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

    .testimonial-card.prev,
    .testimonial-card.next {
        opacity: 0;
        pointer-events: none;
    }

    .testimonial-card {
        width: 95%;
    }

    #voice-assistant-btn {
        right: 15px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    #chatbot-toggle {
        right: 70px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .id-card-wrapper {
        width: 100%;
        padding: 20px 10px;
    }

    .card-ribbon-v4 {
        transform: scale(0.7) translate(20px, -20px);
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 0;
        background-color: var(--header-bg);
        backdrop-filter: blur(15px);
    }

    .header-container {
        padding: 0 15px;
        justify-content: space-between;
    }

    .logo-container {
        gap: 8px;
        max-width: 70%;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .header-right {
        gap: 10px;
    }

    .header-right .header-btn,
    .header-right .lang-switcher {
        display: none;
    }

    #theme-switcher {
        font-size: 1.2rem;
        padding: 5px;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--color-primary);
        border: 1px solid var(--border-color);
        padding: 5px 8px;
        border-radius: 6px;
        margin-left: 5px;
    }

    header nav ul {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: auto;
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        border-bottom: 2px solid var(--color-primary);
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    header.nav-active nav ul {
        left: 0;
    }

    header nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
}


.security-check-box {
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.security-check-box:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.2);
}

.security-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.security-header i {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
}

.math-equation {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 2px;
}

.math-num {
    color: var(--color-primary);
    text-shadow: 0 0 5px var(--color-primary);
}

.captcha-input-field {
    flex-grow: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-text-muted);
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    padding: 5px;
    width: 60px;
    transition: border-color 0.3s;
}

.captcha-input-field:focus {
    outline: none;
    border-bottom-color: var(--color-secondary);
}

.captcha-input-field::placeholder {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
}


.captcha-success {
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 10px var(--color-secondary);
}

.captcha-error {
    border-color: var(--color-danger) !important;
    animation: shake 0.4s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* --- Social Media Showcase Styling --- */
.social-media-showcase {
    max-width: 900px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* General Card Style */
.social-card {
    text-decoration: none;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.social-card:hover {
    transform: translateY(-5px);
    background: var(--bg-tertiary);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

/* --- 1. YouTube Hero Card Styling --- */
.yt-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, #2a0a0a, #1a1a1a);
    /* Dark Redish Theme */
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.yt-hero-card .yt-icon {
    width: 70px;
    height: 70px;
    background: #FF0000;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.yt-hero-card .card-info h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 5px;
}

.yt-hero-card .card-info p {
    color: #ccc;
    font-size: 1rem;
}

.yt-hero-card .action-arrow {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.yt-hero-card:hover {
    border-color: #FF0000;
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.25);
}

.yt-hero-card:hover .action-arrow {
    background: #FF0000;
    border-color: #FF0000;
}

/* --- 2. Mini Grid Styling --- */
.social-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.social-mini-grid .social-card {
    flex-direction: row;
    justify-content: flex-start;
}

.social-mini-grid h4 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2px;
}

.social-mini-grid span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Brand Specific Colors on Hover */
/* Facebook */
.brand-fb .icon-box {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.brand-fb:hover {
    border-color: #1877F2;
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.2);
}

.brand-fb:hover .icon-box {
    background: #1877F2;
    color: white;
}

/* Instagram */
.brand-insta .icon-box {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

.brand-insta:hover {
    border-color: #E1306C;
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.2);
}

.brand-insta:hover .icon-box {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

/* Twitter/X */
.brand-x .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.brand-x:hover {
    border-color: #fff;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.15);
}

.brand-x:hover .icon-box {
    background: #000;
    color: white;
    border: 1px solid #333;
}

/* Telegram */
.brand-tg .icon-box {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.brand-tg:hover {
    border-color: #0088cc;
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.2);
}

.brand-tg:hover .icon-box {
    background: #0088cc;
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .yt-hero-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .yt-hero-card .icon-box {
        margin-right: 0;
    }

    .social-mini-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================
   ULTRA-COLORFUL PREMIUM FOOTER
   ========================================= */

.ultra-footer {
    position: relative;
    /* Deep Blue-Black Gradient Background */
    background: linear-gradient(180deg, #0a0a12 0%, #050508 100%);
    padding: 80px 0 30px;
    margin-top: 80px;
    overflow: hidden;
    /* Top Neon Border Line */
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--color-primary), var(--color-accent)) 1;
}

/* --- Animated Background Glows --- */
.footer-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 0;
}

.footer-glow-orb {
    position: absolute;
    top: -100px;
    left: 20%;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    filter: blur(120px);
    opacity: 0.15;
    animation: pulseGlow 8s infinite alternate;
    z-index: 0;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }

    100% {
        opacity: 0.2;
        transform: scale(1.2);
    }
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

/* --- Column 1: Brand (Colorful) --- */
.brand-logo-glow img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(27, 152, 224, 0.4);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 20px;
}

.brand-name {
    font-size: 2rem;
    font-weight: 800;
    /* Gradient Text Effect */
    background: linear-gradient(90deg, #fff, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.brand-desc {
    color: #b0b0c0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: linear-gradient(90deg, rgba(50, 222, 132, 0.1), transparent);
    border-left: 3px solid var(--color-secondary);
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
}

/* --- Columns 2 & 3: Navigation (Clean & Bright) --- */
.col-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

/* Colorful Underline for Titles */
.col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    border-radius: 2px;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin-bottom: 12px;
}

.link-list a {
    color: #888899;
    text-decoration: none;
    font-size: 1.05rem;
    transition: 0.3s;
    display: block;
}

.link-list a:hover {
    color: var(--color-primary);
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(27, 152, 224, 0.4);
}

/* --- Column 4: Colorful Connect Hub (The Main Upgrade) --- */
.connect-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
}

.connect-card {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

/* 1. YouTube Card (Red Theme) */
.card-yt {
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.08), rgba(0, 0, 0, 0.3));
    border-color: rgba(255, 0, 0, 0.3);
}

.card-yt .card-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.card-yt .card-value {
    color: #fff;
    font-weight: 700;
}

.card-yt:hover {
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    border-color: #ff0000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15);
}

.card-yt:hover .card-icon {
    background: #ff0000;
    color: #fff;
}

/* 2. Email Card (Blue Theme) */
.card-mail {
    background: linear-gradient(90deg, rgba(27, 152, 224, 0.08), rgba(0, 0, 0, 0.3));
    border-color: rgba(27, 152, 224, 0.3);
}

.card-mail .card-icon {
    width: 45px;
    height: 45px;
    background: rgba(27, 152, 224, 0.2);
    color: #4facfe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.2);
}

.card-mail:hover {
    background: linear-gradient(90deg, rgba(27, 152, 224, 0.2), rgba(0, 0, 0, 0.5));
    border-color: #4facfe;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(27, 152, 224, 0.15);
}

.card-mail:hover .card-icon {
    background: #4facfe;
    color: #fff;
}

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

.card-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 1.05rem;
}

.card-arrow {
    color: #fff;
    opacity: 0.3;
    transition: 0.3s;
}

.connect-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Social Icons (Brighter) */
.social-row {
    display: flex;
    gap: 12px;
}

.s-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.s-btn:hover {
    transform: scale(1.1);
    color: #fff;
    border-color: transparent;
}

/* Brand Specific Colors on Hover */
.fb:hover {
    background: #1877F2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.insta:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

.x:hover {
    background: #000;
    border-color: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.tg:hover {
    background: #0088cc;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

/* Footer Bottom */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.95rem;
}

.pulse {
    display: inline-block;
    color: #ff4444;
    animation: heartBeat 1.5s infinite;
    filter: drop-shadow(0 0 5px red);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-logo-glow,
    .trust-badge {
        margin: 0 auto;
    }

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

    .footer-copyright {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

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

    .col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .link-list a:hover {
        transform: translateX(0);
        color: var(--color-primary);
    }
}

/* ======================================================
   FINAL STABLE HEADER (FOOTER UI + WORKING MENU)
   ====================================================== */

/* 1. Global Shake Fix */
html,
body {
    overflow-x: hidden !important;
    /* Screen ko hilne se rokega */
    width: 100%;
}

/* 2. Main Header Bar */
.ultra-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 12px 0;
    transition: all 0.3s ease;

    /* Footer Style Background */
    background: #050508;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-primary), var(--color-accent)) 1;
}

.ultra-header.scrolled {
    background: #020203;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 3. Logo (Footer Hybrid Style) */
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.h-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(27, 152, 224, 0.2);
}

.h-brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Desktop Animation */
    background: linear-gradient(135deg, #fff 0%, #c0c0c0 40%, var(--color-primary) 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 5s linear infinite;
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

/* 4. Navigation Links */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.u-nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.u-link {
    text-decoration: none;
    color: #b0b0c0;
    /* Footer Grey */
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}

.u-link:hover,
.u-link.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(27, 152, 224, 0.6);
}

/* 5. Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    color: #b0b0c0;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-btn:hover {
    color: #fff;
}

.glass-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    background: #0a0a12;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    min-width: 160px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .glass-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.glass-dropdown li a {
    display: block;
    padding: 8px 12px;
    color: #b0b0c0;
}

.glass-dropdown li a:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* 6. Buttons & Actions */
.action-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Desktop Client Portal Button */
.u-btn-portal {
    background: rgba(27, 152, 224, 0.1);
    border: 1px solid rgba(27, 152, 224, 0.3);
    color: #4facfe;
    padding: 6px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.u-btn-portal:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Hide Mobile Portal Item on Desktop */
.mobile-only-item {
    display: none;
}

/* Voice Button */
#stop-voice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
    cursor: pointer;
}

/* Switchers */
.lang-switcher {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px;
    display: flex;
}

.lang-btn {
    background: none;
    border: none;
    color: #666;
    padding: 2px 6px;
    font-size: 0.7rem;
    cursor: pointer;
}

.lang-btn.active {
    background: var(--color-primary);
    color: #fff;
}

.u-theme-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
}

.u-theme-btn:hover {
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
    color: #fff;
}

/* Light Mode Overrides */
html[data-theme='light'] .ultra-header {
    background: #fff;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-primary), var(--color-accent)) 1;
}

html[data-theme='light'] .h-brand-name {
    background: linear-gradient(135deg, #333, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
    text-shadow: none;
}

html[data-theme='light'] .u-link,
html[data-theme='light'] .dropdown-btn {
    color: #555;
}

html[data-theme='light'] .glass-dropdown {
    background: #fff;
    border-color: #ddd;
}

html[data-theme='light'] .mobile-menu-toggle {
    color: #333;
}


/* ======================================================
   MOBILE RESPONSIVE FIX (MENU + NO SHAKE)
   ====================================================== */

@media (max-width: 1024px) {

    /* A. Fixed Header Height (Stops Jumping) */
    .ultra-header {
        height: 60px !important;
        overflow: visible;
        padding: 0 !important;
        display: flex;
        align-items: center;
    }

    .header-container {
        height: 100%;
        padding: 0 15px;
    }

    /* B. Anti-Shake Text (Solid Color on Mobile) */
    .h-brand-name {
        animation: none !important;
        background: none !important;
        -webkit-background-clip: border-box !important;
        -webkit-text-fill-color: initial !important;
        color: #ffffff !important;
        text-shadow: none !important;
    }

    html[data-theme='light'] .h-brand-name {
        color: #222 !important;
    }

    /* C. Show Hamburger, Hide Desktop Portal */
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .desktop-only {
        display: none !important;
    }

    /* D. MOBILE MENU DRAWER (Fixed Open Issue) */
    .header-right nav {
        position: fixed;
        top: 60px;
        left: -100%;
        /* Initially Hidden */
        width: 100%;
        height: calc(100vh - 60px);
        background: #050508;
        /* Dark Menu BG */
        display: flex;
        flex-direction: column;
        padding: 20px 0 50px 0;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        overflow-y: auto;
    }

    html[data-theme='light'] .header-right nav {
        background: #fff;
    }

    /* E. THIS OPENS THE MENU (Controlled by JS) */
    .ultra-header.nav-active .header-right nav {
        left: 0 !important;
        /* Force Show */
    }

    /* F. Menu Items Styling */
    .u-nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .u-link,
    .dropdown-btn {
        width: 100%;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1.1rem;
        display: block;
    }

    /* G. Mobile Client Portal (Inside Menu) */
    .mobile-only-item {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .mobile-portal-link {
        color: #4facfe !important;
        font-weight: 700;
        background: rgba(27, 152, 224, 0.1);
        border: none;
    }

    /* H. Dropdown Logic */
    .dropdown-menu {
        display: none;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-btn {
        justify-content: center;
        width: 100%;
    }

    /* I. Prevent Shrinking (Layout Stability) */
    .header-brand,
    .action-group,
    .mobile-menu-toggle {
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }

    #stop-voice-btn span {
        display: none;
    }
}

/* =========================================
   PREMIUM LEGAL PAGES DESIGN (Terms & Privacy)
   ========================================= */

.legal-hero {
    text-align: center;
    padding: 140px 20px 60px;
    background: radial-gradient(circle at center, rgba(27, 152, 224, 0.15) 0%, transparent 70%);
}

.legal-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-meta {
    color: var(--color-text-muted);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Layout: Sidebar + Content */
.legal-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 100px;
    position: relative;
}

/* Sticky Sidebar */
.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.legal-nav-item {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: 0.3s;
    border-left: 2px solid transparent;
}

.legal-nav-item:hover,
.legal-nav-item.active {
    background: rgba(27, 152, 224, 0.1);
    color: #fff;
    border-left-color: var(--color-primary);
}

/* Content Cards */
.legal-content-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.legal-card {
    background: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 35px;
    transition: transform 0.3s ease, border-color 0.3s;
}

.legal-card:hover {
    border-color: rgba(27, 152, 224, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.legal-card h2 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-card p,
.legal-card li {
    color: #b0b0c0;
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Mobile Responsive for Legal Pages */
@media (max-width: 992px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        display: none;
        /* Hide sidebar on mobile to save space */
    }

    .legal-title {
        font-size: 2.2rem;
    }

    .legal-hero {
        padding-top: 100px;
    }
}

/* =========================================
   FIXED: MAIN BACKGROUND PHULJHADI (SPARKLES)
   ========================================= */

/* 1. Animation Container */
.main-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* यह बॉडी कलर के ऊपर और कंटेंट के पीछे रहेगा */
    z-index: 0;
    pointer-events: none;
    /* क्लिक आर-पार जाने देगा */
    overflow: hidden;
}

/* 2. Content ko Upar Lana (Z-Index Fix) */
/* बॉडी का बैकग्राउंड कलर सेट करें */
body {
    background-color: #050508;
    /* Dark Background */
    position: relative;
    z-index: -2;
}

/* बाकी कंटेंट को एनीमेशन के ऊपर उठाएं */
header,
main,
footer,
section {
    position: relative;
    z-index: 2;
    /* कंटेंट सबसे ऊपर */
}

/* कार्ड्स का बैकग्राउंड (ताकि टेक्स्ट पढ़े जा सकें) */
.feature-card,
.stat-card,
.lead-card,
.testimonial-card {
    background: rgba(18, 18, 32, 0.85);
    /* थोड़ा गहरा */
    backdrop-filter: blur(10px);
    z-index: 3;
}

/* 3. The GLOWING PARTICLES (Asli Fuljhadi) */
.main-bg-animation span {
    position: absolute;
    bottom: -50px;
    background: transparent;
    border-radius: 50%;
    /* यह वो ग्लो है जो आपको पसंद आया था */
    box-shadow: 0 0 10px #1b98e0, 0 0 20px #9b59b6, 0 0 30px #ffffff;
    animation: floatUpMain 10s linear infinite;
    opacity: 0;
}

/* Light Theme Fix (ताकि सफ़ेद पर दिखे) */
html[data-theme='light'] body {
    background-color: #f8f9fa;
}

html[data-theme='light'] .main-bg-animation span {
    box-shadow: none;
    background: rgba(0, 86, 179, 0.6);
    /* सॉलिड डॉट्स */
}

/* 4. Positions & Speed (अलग-अलग जगह से निकलेंगे) */
.main-bg-animation span:nth-child(1) {
    left: 10%;
    width: 4px;
    height: 4px;
    animation-duration: 6s;
    animation-delay: 0s;
}

.main-bg-animation span:nth-child(2) {
    left: 20%;
    width: 7px;
    height: 7px;
    animation-duration: 9s;
    animation-delay: 2s;
}

.main-bg-animation span:nth-child(3) {
    left: 30%;
    width: 5px;
    height: 5px;
    animation-duration: 5s;
    animation-delay: 4s;
}

.main-bg-animation span:nth-child(4) {
    left: 40%;
    width: 6px;
    height: 6px;
    animation-duration: 8s;
    animation-delay: 1s;
}

.main-bg-animation span:nth-child(5) {
    left: 50%;
    width: 4px;
    height: 4px;
    animation-duration: 6s;
    animation-delay: 3s;
}

.main-bg-animation span:nth-child(6) {
    left: 60%;
    width: 8px;
    height: 8px;
    animation-duration: 10s;
    animation-delay: 0s;
}

.main-bg-animation span:nth-child(7) {
    left: 70%;
    width: 5px;
    height: 5px;
    animation-duration: 5s;
    animation-delay: 2s;
}

.main-bg-animation span:nth-child(8) {
    left: 80%;
    width: 6px;
    height: 6px;
    animation-duration: 7s;
    animation-delay: 4s;
}

.main-bg-animation span:nth-child(9) {
    left: 90%;
    width: 5px;
    height: 5px;
    animation-duration: 6s;
    animation-delay: 1s;
}

.main-bg-animation span:nth-child(10) {
    left: 15%;
    width: 3px;
    height: 3px;
    animation-duration: 11s;
    animation-delay: 3s;
}

.main-bg-animation span:nth-child(11) {
    left: 85%;
    width: 4px;
    height: 4px;
    animation-duration: 8s;
    animation-delay: 5s;
}

/* 5. Moving Up Animation Keyframes */
@keyframes floatUpMain {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
        /* नीचे आते ही चमकेंगे */
    }

    85% {
        opacity: 0.5;
        /* ऊपर जाते हुए हल्के होंगे */
    }

    100% {
        transform: translateY(-110vh) rotate(360deg);
        opacity: 0;
    }
}

/* =========================================
   FIX FOR LIGHT THEME CARDS (TEXT VISIBILITY)
   ========================================= */

/* 1. कार्ड्स को सफेद करें (Light Theme में) */
html[data-theme='light'] .feature-card,
html[data-theme='light'] .stat-card,
html[data-theme='light'] .lead-card,
html[data-theme='light'] .testimonial-card,
html[data-theme='light'] .partner-card {
    background: #ffffff !important;
    /* बैकग्राउंड को सफेद किया */
    color: #333333 !important;
    /* टेक्स्ट को काला किया */
    border: 1px solid #e0e0e0;
    /* हल्का बॉर्डर */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* हल्की परछाई */
}

/* 2. हेडलाइन्स (H3) को गहरा काला करें */
html[data-theme='light'] .feature-card h3,
html[data-theme='light'] .stat-card h3,
html[data-theme='light'] .partner-card h3,
html[data-theme='light'] .testimonial-card .name {
    color: #000000 !important;
}

/* 3. पैराग्राफ टेक्स्ट (p) को डार्क ग्रे करें */
html[data-theme='light'] .feature-card p,
html[data-theme='light'] .stat-card p,
html[data-theme='light'] .partner-card p,
html[data-theme='light'] .testimonial-card .review-text {
    color: #555555 !important;
}

/* 4. होवर (Hover) इफेक्ट को ठीक करें */
html[data-theme='light'] .feature-card:hover,
html[data-theme='light'] .stat-card:hover {
    background: linear-gradient(135deg, #0056b3, #1b98e0) !important;
    /* नीला ग्रेडिएंट */
    border-color: transparent;
}

/* होवर करने पर टेक्स्ट सफेद हो जाए */
html[data-theme='light'] .feature-card:hover h3,
html[data-theme='light'] .feature-card:hover p,
html[data-theme='light'] .feature-card:hover .icon {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* ==================================================
   FIX: TERMS & PRIVACY POLICY (LIGHT THEME)
   Paste this at the very bottom of style.css
   ================================================== */

/* 1. Card aur Sidebar ka background White karna */
html[data-theme='light'] .legal-card,
html[data-theme='light'] .legal-sidebar {
    background-color: #ffffff !important;
    /* White Background */
    border: 1px solid #e0e0e0 !important;
    /* Light Border */
    color: #333333 !important;
    /* Dark Text */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

/* 2. Headings (Titles) ko Black karna */
html[data-theme='light'] .legal-title,
html[data-theme='light'] .legal-card h2,
html[data-theme='light'] .legal-sidebar h4 {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #000000 !important;
    /* Solid Black Title */
    text-shadow: none !important;
}

/* 3. Paragraphs aur Lists ko Dark Grey karna */
html[data-theme='light'] .legal-card p,
html[data-theme='light'] .legal-card ul li,
html[data-theme='light'] .legal-nav-item {
    color: #444444 !important;
    /* Dark Grey Content */
}

/* 4. Sidebar Links ka Hover Effect */
html[data-theme='light'] .legal-nav-item:hover,
html[data-theme='light'] .legal-nav-item.active {
    background-color: rgba(0, 86, 179, 0.1) !important;
    color: #0056b3 !important;
    /* Blue Active Text */
    border-left-color: #0056b3 !important;
}

/* =========================================
   PREMIUM ENHANCEMENTS - WORLD CLASS UPGRADE
   ========================================= */

/* Section Title Enhancement */
.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
    border-radius: 3px;
}

/* Gradient Section Separators */
#services,
#how-we-work,
#features,
#benefits {
    position: relative;
}

#services::before,
#how-we-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 500px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* Highlighted Feature Card */
.feature-card--highlight {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.15), rgba(155, 89, 182, 0.15)) !important;
    border-color: rgba(27, 152, 224, 0.3) !important;
}

html[data-theme='dark'] .feature-card--highlight {
    background: linear-gradient(135deg, rgba(27, 152, 224, 0.12), rgba(155, 89, 182, 0.12)) !important;
    border-color: rgba(27, 152, 224, 0.25) !important;
}

.feature-card--highlight .icon {
    background: linear-gradient(135deg, var(--color-primary), #9b59b6) !important;
    color: #fff !important;
}

/* Enhanced Section Subtitle */
.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Hero Section Enhancement */
.hero-section {
    min-height: 80vh;
}

.hero-subheadline {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* How We Work step numbers */
#how-we-work .feature-card .icon {
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

/* Premium scroll indicator */
@keyframes scrollBounce {

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

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

/* Smooth sections transition */
section {
    transition: opacity 0.3s ease;
}

/* Enhanced Card hover glow */
.feature-card:hover .icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Better mobile responsiveness for new sections */
@media (max-width: 768px) {

    #services,
    #how-we-work {
        padding: 50px 0 !important;
    }

    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .hero-subheadline {
        font-size: 1rem;
    }
}

/* =========================================
   ANIMATED COUNTER CARDS - STATISTICS
   ========================================= */
.stats-counter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.counter-card {
    text-align: center;
    padding: 35px 20px;
    background: rgba(18, 18, 32, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(27, 152, 224, 0.15);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

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

.counter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 152, 224, 0.2);
    border-color: rgba(27, 152, 224, 0.4);
}

.counter-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
}

.counter-value::after {
    content: '+';
    font-size: 1.8rem;
}

.counter-decimal::after {
    content: '⭐';
    font-size: 1.2rem;
    margin-left: 4px;
}

.counter-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Light Theme */
html[data-theme='light'] .counter-card {
    background: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

html[data-theme='light'] .counter-card:hover {
    background: linear-gradient(135deg, var(--color-primary), #4e9af1);
    border-color: transparent;
}

html[data-theme='light'] .counter-card:hover .counter-icon,
html[data-theme='light'] .counter-card:hover .counter-value {
    -webkit-text-fill-color: #fff;
    background: none;
}

html[data-theme='light'] .counter-card:hover .counter-label {
    color: rgba(255, 255, 255, 0.85);
}

html[data-theme='light'] .counter-value {
    background: linear-gradient(135deg, #333, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-counter-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-counter-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .counter-card {
        padding: 25px 15px;
    }

    .counter-value {
        font-size: 2.2rem;
    }
}

/* Fix alignment issues: Center tool header descriptions and upload area texts */
.tool-header p,
.upload-area p,
.upload-content p {
    text-align: center !important;
}


/* Responsive Chatbot Placement Fix: Reposition chatbot button to the header on mobile devices */
@media (max-width: 768px) {
    /*
     * Equal-spacing layout for 3 header icons: [Moon] [Robot] [Hamburger]
     * Each button is 42px wide. Gap between each = 12px.
     * Hamburger: right: 15px (header padding) -> left edge at 57px from screen right
     * Chatbot  : right: 69px -> left edge at 111px from screen right
     * Theme    : right edge at 123px -> header-right margin-right = 123 - 15(padding) = 108px
     */
    .mobile-menu-toggle {
        order: 100 !important;
        flex-shrink: 0 !important;
    }
    
    .header-right {
        gap: 0 !important;
        margin-right: 108px !important;
    }
    
    #chatbot-toggle {
        position: fixed !important;
        top: 15px !important;
        bottom: auto !important;
        right: 69px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 1.1rem !important;
        z-index: 10000 !important;
        background: var(--bg-tertiary, #1a1a2e) !important;
        border: 1px solid var(--border-color, #3a476a) !important;
        color: var(--text-primary, #ffffff) !important;
        box-shadow: none !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #chatbot-toggle:hover {
        background: var(--primary-blue, #1b98e0) !important;
        border-color: var(--primary-blue, #1b98e0) !important;
        color: #fff !important;
    }
    
    #chatbot-container {
        position: fixed !important;
        top: 75px !important;
        bottom: auto !important;
        right: 15px !important;
        left: 15px !important;
        width: auto !important;
        max-width: none !important;
        height: 60vh !important;
        max-height: 400px !important;
        z-index: 10000 !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    }
}

@media (max-width: 480px) {
    /*
     * Equal-spacing on small phones. Each button 38px wide. Gap = 10px.
     * Hamburger: right: 12px -> left edge at 50px
     * Chatbot  : right: 60px -> left edge at 98px
     * Theme    : right edge at 108px -> header-right margin-right = 108 - 12 = 96px
     */
    .header-right {
        margin-right: 96px !important;
    }

    #chatbot-toggle {
        top: 13px !important;
        right: 60px !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
    }
    
    #chatbot-container {
        top: 68px !important;
        right: 10px !important;
        left: 10px !important;
        height: 55vh !important;
    }
}
