:root {
    --primary-color: #ff2a7a; /* Vibrant Magenta/Pink */
    --secondary-color: #7b2cbf; /* Deep Purple */
    --text-color: #111;
    --text-muted: #666;
    --bg-light: #ffffff;
    --bg-offwhite: #fcfcfc;
    --footer-bg: #f9f9fa;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

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

body {
    font-family: 'Prompt', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo span {
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin: 0 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    padding: 10px 28px;
    background: #111;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Prompt', sans-serif;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
}

.login-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 42, 122, 0.3);
}

/* =========================================
   FUTURISTIC AI HERO SECTION (Light Pink Theme)
   ========================================= */
.futuristic-hero {
    background: linear-gradient(135deg, #fff5f8 0%, #ffe4ec 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hologram-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 42, 122, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 42, 122, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.scan-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: #ff2a7a;
    box-shadow: 0 0 15px #ff2a7a, 0 0 30px #ff2a7a;
    animation: scanning 4s linear infinite;
    z-index: 2;
    opacity: 0.6;
}

@keyframes scanning {
    0% { top: -10%; }
    100% { top: 110%; }
}

.hero-grid-tech {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content-tech {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glowing-text {
    font-size: 3rem;
    font-weight: 800;
    color: #ff2a7a;
    text-shadow: 0 0 10px rgba(255, 42, 122, 0.3), 0 0 20px rgba(255, 42, 122, 0.2);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.tech-subtitle {
    font-size: 0.95rem;
    color: #475569;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid #ff2a7a;
    padding: 12px 18px;
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 100%;
    border-radius: 0 10px 10px 0;
}

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

.btn-neon {
    padding: 15px 40px;
    background: linear-gradient(90deg, #ff2a7a, #ff4d94);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Prompt', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 42, 122, 0.4), 0 0 30px rgba(255, 42, 122, 0.2);
    transition: all 0.3s;
}

.btn-neon:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 42, 122, 0.6), 0 0 40px rgba(255, 42, 122, 0.4);
}

.btn-outline-neon {
    padding: 15px 40px;
    background: transparent;
    color: #ff2a7a;
    border: 2px solid #ff2a7a;
    border-radius: 50px;
    font-family: 'Prompt', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: inset 0 0 10px rgba(255, 42, 122, 0.2), 0 0 10px rgba(255, 42, 122, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.btn-outline-neon:hover {
    background: rgba(255, 42, 122, 0.1);
    transform: translateY(-3px);
    box-shadow: inset 0 0 15px rgba(255, 42, 122, 0.4), 0 0 20px rgba(255, 42, 122, 0.4);
}

.hero-image-tech {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-cosmetics {
    width: 80%;
    max-width: 450px;
    height: auto;
    animation: floating 4s ease-in-out infinite alternate;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 20px 40px rgba(255, 42, 122, 0.3));
}

@keyframes floating {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(2deg); }
}

.image-reflection {
    position: absolute;
    bottom: -40px;
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(255, 42, 122, 0.4) 0%, transparent 70%);
    animation: reflection 4s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes reflection {
    0% { transform: scaleX(1); opacity: 0.6; }
    100% { transform: scaleX(0.8); opacity: 0.3; }
}

/* =========================================
   AI ANALYTICS CENTER (Dashboard Section)
   ========================================= */
.dashboard {
    padding: 100px 0;
    background: #020617; /* Dark blue background */
    color: #fff;
    position: relative;
    overflow: hidden;
}

.dashboard .section-title {
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
}

.realtime-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    color: #00f3ff;
    font-size: 1rem;
    font-weight: 500;
}

.blinking-dot {
    width: 10px;
    height: 10px;
    background-color: #00f3ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f3ff;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.span-2 {
    grid-column: span 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2), inset 0 0 15px rgba(0, 243, 255, 0.1);
}

.stat-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00f3ff;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}

.stat-info h3 span {
    font-size: 1rem;
    font-weight: 500;
    color: #94a3b8;
    text-shadow: none;
    font-family: 'Prompt', sans-serif;
}

.stat-info p {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 5px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(0, 243, 255, 0.1) !important;
    color: #00f3ff !important;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #fffafb;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    color: #111;
    letter-spacing: -0.5px;
}

.services-header {
    margin-bottom: 50px;
}
.services-header .section-title {
    color: #0B1F3A;
    text-shadow: none;
    margin-bottom: 10px;
}
.services-header .section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

.beauty-services {
    background: #fff;
}
.beauty-services .section-title {
    color: #8C5A6C;
}
.beauty-services .section-subtitle {
    color: #B58A9A;
}

.beauty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.beauty-card {
    position: relative;
    text-decoration: none;
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(135deg, #FFF7FB, #FDE7F3);
    border: 1px solid #5C4033;
    box-shadow: 0 10px 30px rgba(248, 198, 222, 0.2);
    z-index: 1;
}

.beauty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(248, 198, 222, 0.6);
    border-color: #5C4033;
}

.beauty-content {
    position: relative;
    z-index: 4;
}

.beauty-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    color: #5C4033;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 5px 15px rgba(248, 198, 222, 0.5);
    border: 2px solid #FDE7F3;
    transition: all 0.5s ease;
}

.beauty-card:hover .beauty-icon {
    transform: translateY(-5px);
    color: #3E2723;
    box-shadow: 0 8px 25px rgba(248, 198, 222, 0.8);
    border-color: #F4A6C8;
}

.beauty-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #8C5A6C;
    margin-bottom: 15px;
}

.beauty-card p {
    font-size: 0.95rem;
    color: #A37A8B;
    line-height: 1.6;
}

/* Beauty Silhouettes */
.beauty-silhouette {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    opacity: 0.05;
    z-index: 2;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease;
}

.beauty-card:hover .beauty-silhouette {
    opacity: 0.15;
    transform: scale(1.1) rotate(-5deg);
}

.silhouette-serum {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238C5A6C"><path d="M15 6V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v2a3 3 0 0 0-3 3v9a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V9a3 3 0 0 0-3-3zM11 5h2v1h-2V5zm5 14H8V9a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10z"/></svg>');
}
.silhouette-store {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238C5A6C"><path d="M21 7H3V5h18v2zm-1 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9h16zm-8 4v4h-2v-4h2z"/></svg>');
}
.silhouette-search {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238C5A6C"><path d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
}
.silhouette-law {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238C5A6C"><path d="M12 2L2 7l10 5 10-5-10-5zm0 11.5L4 8.5V15l8 4 8-4V8.5l-8 5z"/></svg>');
}
.silhouette-alert {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238C5A6C"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
}
.silhouette-chart {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238C5A6C"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/></svg>');
}

@media (max-width: 992px) {
    .beauty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Footer */
.footer {
    background: linear-gradient(180deg, #0B1F3A 0%, #081B33 100%);
    position: relative;
    border-top: 2px solid rgba(0, 174, 239, 0.3);
    box-shadow: inset 0 20px 40px rgba(0, 174, 239, 0.05);
    color: #fff;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at center, rgba(0, 174, 239, 0.1) 0%, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #5EEBFF;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(94, 235, 255, 0.4);
}

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    letter-spacing: 1px;
}

.footer-logo p {
    font-size: 1rem;
    color: #00AEEF;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-desc {
    color: #94a3b8;
    margin-top: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col a {
    text-decoration: none;
    color: #cbd5e1;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #5EEBFF;
    text-shadow: 0 0 10px rgba(94, 235, 255, 0.6);
}

.contact-col p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(0, 174, 239, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 174, 239, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(0, 174, 239, 0.2);
    border-color: #5EEBFF;
    box-shadow: 0 0 15px rgba(94, 235, 255, 0.4);
    transform: translateY(-3px);
    color: #5EEBFF;
}

.footer-bottom {
    background: rgba(2, 6, 23, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-view-counter {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 174, 239, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.counter-value {
    color: #5EEBFF;
    font-weight: 700;
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid-tech {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .glowing-text {
        font-size: 2.2rem;
    }
    
    .tech-subtitle {
        margin: 20px auto 40px;
        border-left: none;
        border-bottom: 4px solid #ff2a7a;
        border-radius: 10px;
        font-size: 0.85rem;
        max-width: 100%;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .span-2 {
        grid-column: span 1;
    }

    .header-actions {
        display: none;
    }
    
    .nav-links {
        display: none;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   FLOATING AI ASSISTANT
   ========================================= */
.ai-assistant {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 999;
    cursor: pointer;
}

.ai-orb {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 243, 255, 0.9), rgba(0, 100, 255, 0.8));
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6), 
                inset 0 0 20px rgba(255, 255, 255, 0.8),
                0 0 40px rgba(0, 100, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: orb-float 3s ease-in-out infinite, orb-pulse 2s ease-in-out infinite alternate;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-icon {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.voice-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #020617;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: #00f3ff;
    border: 1px solid rgba(0, 243, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    z-index: 3;
}

.ai-label {
    margin-top: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #00f3ff;
    background: rgba(2, 6, 23, 0.8);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.ai-assistant:hover .ai-label {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
}

.ai-assistant:hover .ai-orb {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.8), 
                inset 0 0 20px rgba(255, 255, 255, 0.9),
                0 0 60px rgba(0, 100, 255, 0.6);
    transform: scale(1.05);
}

@keyframes orb-float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes orb-pulse {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

/* ==========================================
   Executive Government Dashboard Styles
   ========================================== */
.exec-dashboard {
    background-color: #f0f4f8;
    padding: 60px 0;
    color: #1e293b;
    font-family: 'Prompt', sans-serif;
}

.exec-dashboard .section-title {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid #059669;
    padding-bottom: 10px;
}

.exec-kpi-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.exec-kpi-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.exec-chart-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.exec-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.1);
}

.exec-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.exec-card-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0F172A;
}

.exec-card-full {
    grid-column: 1 / -1;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    min-height: 300px;
    flex-grow: 1;
}

@media (max-width: 1024px) {
    .exec-kpi-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.exec-kpi-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .exec-kpi-grid-4, .exec-kpi-grid-3, .exec-kpi-grid-2, .exec-chart-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PREMIUM GEMINI CHAT BOX STYLES
   ============================================================ */
.gemini-chat-box {
    position: fixed;
    bottom: 120px; /* Elevated above the orb buttons */
    right: 40px;
    width: 380px;
    height: 520px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    font-family: 'Prompt', sans-serif;
}

.gemini-chat-box.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: #ffffff;
    overflow: hidden;
}

.chat-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border: 2px solid #0369A1;
    border-radius: 50%;
}

.chat-header-info h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.chat-header-info p {
    margin: 0;
    font-size: 0.72rem;
    opacity: 0.85;
    color: #f1f5f9;
}

.close-chat-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-chat-btn:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.msg-bubble {
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
}

.chat-msg.bot .msg-bubble {
    background: #ffffff;
    color: #1e293b;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.chat-msg.user .msg-bubble {
    background: linear-gradient(135deg, #0284C7, #0369A1);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.chat-input-area {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-input-area textarea {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 8px 16px;
    outline: none;
    font-size: 0.88rem;
    resize: none;
    font-family: inherit;
    max-height: 80px;
    background: #f8fafc;
    transition: all 0.2s;
}

.chat-input-area textarea:focus {
    border-color: #0284C7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.send-chat-btn {
    background: linear-gradient(135deg, #0284C7, #0369A1);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
    transition: transform 0.2s, opacity 0.2s;
}

.send-chat-btn:hover {
    transform: scale(1.05);
}

.send-chat-btn:active {
    transform: scale(0.95);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: #94a3b8;
    border-radius: 50%;
    display: inline-block;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

@media (max-width: 480px) {
    .gemini-chat-box {
        width: calc(100% - 32px);
        height: 70vh;
        right: 16px;
        bottom: 84px;
    }
}

/* Exam Selection Modal Styling */
.exam-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exam-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.exam-modal {
    background: #ffffff;
    width: 90%;
    max-width: 650px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    border-top: 6px solid #ff2a7a;
}

.exam-modal-overlay.active .exam-modal {
    transform: translateY(0);
}

.exam-modal-header {
    padding: 25px 30px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.exam-modal-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.exam-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
}

.exam-modal-close:hover {
    color: #ff2a7a;
}

.exam-modal-body {
    padding: 30px;
}

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

@media (max-width: 600px) {
    .exam-selection-grid {
        grid-template-columns: 1fr;
    }
}

.exam-select-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 250px;
}

.exam-select-card.user-card:hover {
    border-color: #ff2a7a;
    background: #fff5f8;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 42, 122, 0.08);
}

.exam-select-card.officer-card:hover {
    border-color: #1e88e5;
    background: #e3f2fd;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(30, 136, 229, 0.08);
}

.exam-select-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.exam-select-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.exam-select-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.exam-select-btn {
    width: 100%;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
}

.user-card .exam-select-btn {
    background: linear-gradient(135deg, #ff2a7a, #ff4d94);
    box-shadow: 0 4px 10px rgba(255, 42, 122, 0.2);
}

.officer-card .exam-select-btn {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.2);
}

.user-card:hover .exam-select-btn {
    box-shadow: 0 6px 15px rgba(255, 42, 122, 0.4);
}

.officer-card:hover .exam-select-btn {
    box-shadow: 0 6px 15px rgba(30, 136, 229, 0.4);
}
