/* Google Fonts imported in HTML: Inter & Playfair Display */

:root {
    /* Color Palette - Army, IAF, Navy Theme */
    --primary-navy: #4B5320; /* Army Olive Green */
    --primary-blue: #0EA5E9; /* Sky Blue */
    --accent-gold: #0EA5E9; /* Sky Blue Accent */
    --accent-gold-hover: #0284C7; /* Darker Sky Blue Accent */
    --text-dark: #1E293B;
    --text-muted: #475569;
    --bg-light: #F0F4F8; /* Slight blue/grey tint */
    --bg-white: #FFFFFF; /* Navy White */
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 50%, #0EA5E9 100%);
    --navy-gradient: linear-gradient(135deg, #4B5320 0%, #2F3514 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-gold: 0 4px 20px -2px rgba(212, 175, 55, 0.3);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Utilities */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-small { margin-top: 1rem; }
.mt-medium { margin-top: 2rem; }
.mt-large { margin-top: 4rem; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--primary-navy);
    line-height: 1.2;
}

.section-subtitle {
    font-family: var(--font-sans);
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-text {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px -2px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-navy);
    color: var(--primary-navy);
}

.btn-secondary:hover {
    background-color: var(--primary-navy);
    color: var(--bg-white);
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-navy);
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}

/* Auth Buttons Group */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-login, .btn-signup {
    padding: 0.5rem 1.25rem;
    border-radius: 2rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-login {
    background-color: var(--primary-navy);
    color: var(--bg-white) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 128, 0.2);
}

.btn-login:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(14, 165, 233, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-navy);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem; /* for navbar */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-bg.jpg'); /* Dynamic background */
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(85, 107, 47, 0.85) 0%, rgba(85, 107, 47, 0.6) 100%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: var(--bg-white);
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-actions .btn-secondary {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.hero-actions .btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-navy);
}

/* Glassmorphism Cards */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    color: var(--bg-white);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.main-glass-card {
    align-self: flex-start;
    max-width: 300px;
}

.secondary-glass-card {
    align-self: flex-end;
    max-width: 280px;
    margin-top: -2rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.glass-card h3 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.glass-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Motive Section */
.motive-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.motive-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.motive-image-content {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--accent-gold);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1;
}

.experience-badge .text {
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-weight: 500;
}

.feature-list i {
    color: var(--accent-gold);
}

/* Expertise Section */
.expertise-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.expertise-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-bottom-color: var(--accent-gold);
}

.expertise-card.highlight {
    background: var(--primary-navy);
    color: var(--bg-white);
}

.expertise-card.highlight h3 {
    color: var(--bg-white);
}

.expertise-card.highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.expertise-card.highlight .expertise-icon {
    background: rgba(255, 255, 255, 0.1);
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.expertise-card.highlight .read-more {
    color: var(--accent-gold);
}

.read-more:hover {
    gap: 0.75rem;
}

.cta-banner {
    background: var(--gold-gradient);
    border-radius: 1rem;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-gold);
}

.cta-banner-content h3 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.cta-banner-content p {
    color: rgba(15, 23, 42, 0.8);
    font-size: 1.1rem;
}

.cta-banner .btn-primary {
    background: var(--primary-navy);
    color: var(--bg-white);
    box-shadow: none;
}

.cta-banner .btn-primary:hover {
    background: var(--bg-white);
    color: var(--primary-navy);
}

/* Why Choose Us */
.why-choose-us {
    padding: 6rem 0;
    background: var(--bg-white);
}

.wcu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.accordion-item {
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    background: var(--bg-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--primary-navy);
}

.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-light);
}

.accordion-item.active .accordion-header {
    background: var(--primary-navy);
}

.accordion-item.active .accordion-header h3,
.accordion-item.active .accordion-header i {
    color: var(--bg-white);
}

.accordion-item.active .accordion-body {
    padding: 1.5rem;
    max-height: 200px;
}

.wcu-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent-gold);
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.stat-card:first-child {
    grid-column: 1 / -1;
    background: var(--navy-gradient);
    color: var(--bg-white);
    border: none;
}

.stat-number {
    font-size: 3rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--text-muted);
}

.stat-card:first-child .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(212, 175, 55, 0.2);
}

.quote-icon i {
    width: 60px;
    height: 60px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-navy);
}

.author-name {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--bg-white);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.brand-col .footer-logo {
    margin-bottom: 1.5rem;
}

.brand-col .logo-title {
    color: var(--bg-white);
}

.brand-col .logo-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bg-white);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.footer-col h3 {
    color: var(--bg-white);
    font-family: var(--font-sans);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 0.5rem;
}

.contact-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-bottom {
    background: #2F3514;
    padding: 1.5rem 0;
    text-align: center;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.credits a {
    color: var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .motive-container, .wcu-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        flex-direction: row;
        align-items: center;
    }
    
    .secondary-glass-card {
        margin-top: 0;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        clip-path: circle(0% at 100% 0);
        transition: all 0.4s ease-out;
    }
    
    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        flex-direction: column;
    }
    
    .main-glass-card, .secondary-glass-card {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Language Toggle Button */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-lang {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-navy);
    border: 1px solid var(--accent-gold);
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.btn-lang:hover {
    background: var(--accent-gold);
    color: var(--bg-white);
}

/* Bilingual Display Logic */
html[lang="en"] .hi {
    display: none !important;
}

html[lang="hi"] .en {
    display: none !important;
}

/* Ensure inline elements stay inline */
span.en, span.hi {
    display: inline;
}
/* Indian Flag Animation */
.nav-flag {
    width: 48px;
    height: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    margin-left: 0.5rem;
    animation: wave-flag 2s ease-in-out infinite alternate;
    transform-origin: left center;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.nav-flag .stripe {
    flex: 1;
    width: 100%;
}
.nav-flag .saffron { background-color: #FF9933; }
.nav-flag .white { 
    background-color: #FFFFFF; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.nav-flag .green { background-color: #138808; }
.nav-flag .chakra {
    color: #000080;
    font-size: 11px;
    line-height: 1;
    animation: spin 4s linear infinite;
}
@keyframes wave-flag {
    0% { transform: perspective(100px) rotateY(-15deg) translateY(0); }
    100% { transform: perspective(100px) rotateY(15deg) translateY(-1px); }
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

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

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary-navy);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    font-family: var(--font-sans);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.w-100 {
    width: 100%;
}

/* Auth Form Extra Styles */
.btn-signup {
    background: transparent;
    color: var(--primary-navy) !important;
    border: 2px solid var(--primary-navy);
}

.btn-signup:hover {
    background: var(--primary-navy);
    color: var(--bg-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 128, 0.2);
}

.hidden {
    display: none !important;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.text-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.error-text {
    color: #e11d48;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    margin-top: -0.5rem;
}

.success-icon {
    font-size: 3rem;
    color: #10b981;
    display: flex;
    justify-content: center;
}
.success-icon i {
    width: 64px;
    height: 64px;
}

/* Dashboard Styles */
.dashboard-body {
    padding-top: 80px;
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-main {
    flex: 1;
    padding: 3rem 1rem;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.agent-setup-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.agent-setup-card .card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.agent-setup-card .card-icon i {
    width: 32px;
    height: 32px;
}

.import-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.import-group input {
    flex: 1;
}

.agent-workspace {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
}

.workspace-header {
    background: var(--navy-gradient);
    color: var(--bg-white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.workspace-header h2 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.iframe-container {
    flex: 1;
    width: 100%;
    background: #f9fafb;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .import-group {
        flex-direction: column;
    }
}

/* About Page Specific Styles */
.about-hero .hero-title {
    font-size: 3.5rem;
}

.profile-section {
    padding: 80px 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.profile-image-col {
    position: relative;
}

.profile-image {
    width: 100%;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    display: block;
}

.profile-image-placeholder {
    display: none; /* Hide placeholder when image is present */
}

.profile-name {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.profile-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.credential-badge {
    background: var(--navy-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.profile-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gold);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2);
}

.timeline-content.glass-card {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: 1px solid rgba(75, 83, 32, 0.1);
    backdrop-filter: blur(8px);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.timeline-content p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-role {
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Expertise Tags */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.expertise-tag {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-navy);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.expertise-tag:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.expertise-tag i {
    color: var(--primary-gold);
    width: 20px;
    height: 20px;
}

/* Commitment Section */
.bg-navy {
    background: var(--primary-navy);
}

.text-gold {
    color: var(--primary-gold);
}

.font-italic {
    font-style: italic;
}

@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .profile-image-col {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .profile-info-col {
        text-align: center;
    }
    
    .profile-credentials {
        justify-content: center;
    }
}

/* OTP & Action Inputs */
.input-with-action {
    position: relative;
    display: flex;
    align-items: center;
}

.btn-text-link {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-text-link:hover {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--accent-gold-hover);
}

.helper-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.hidden {
    display: none !important;
}

/* Built-in Chat Workspace */
.chat-workspace {
    display: flex;
    flex-direction: column;
    height: 600px;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #F8FAFC;
}

.chat-message {
    max-width: 75%;
    padding: 0.85rem 1.25rem;
    border-radius: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
    animation: message-fade-in 0.3s ease-out;
}

.chat-message.bot {
    background-color: var(--bg-white);
    color: var(--primary-navy);
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.chat-message.user {
    background: var(--navy-gradient);
    color: var(--bg-white);
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
}

.chat-input-area {
    display: flex;
    padding: 1rem;
    background: var(--bg-white);
    border-top: 1px solid #E2E8F0;
    gap: 0.75rem;
}

.chat-input-area input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 2rem;
    outline: none;
    font-family: var(--font-sans);
}

.chat-input-area input:focus {
    border-color: var(--primary-gold);
}

.chat-input-area button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--navy-gradient);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-input-area button:hover {
    transform: scale(1.05);
    background: var(--gold-gradient);
    color: var(--primary-navy);
}

/* Prompt Suggestions */
.prompt-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background-color: #F8FAFC;
}

.prompt-tag {
    background-color: rgba(85, 107, 47, 0.1);
    color: var(--primary-navy);
    border: 1px solid rgba(85, 107, 47, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prompt-tag:hover {
    background-color: var(--accent-gold);
    color: var(--bg-white);
    border-color: var(--accent-gold);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.03);
    border-radius: 1rem;
    align-self: flex-start;
    align-items: center;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-navy);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

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

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes message-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom GPT Launcher Card */
.gpt-launcher-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bg-white);
    height: 100%;
}

.gpt-launcher-card .launcher-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(16, 163, 127, 0.1);
    color: #10a37f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.gpt-launcher-card .launcher-icon i {
    width: 40px;
    height: 40px;
}

.gpt-launcher-card h3 {
    color: var(--primary-navy);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.gpt-launcher-card p {
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn-gpt-launch {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    background-color: #10a37f;
    color: white !important;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.2);
    transition: all 0.3s ease;
}

.btn-gpt-launch:hover {
    background-color: #1a7f64;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 163, 127, 0.3);
}

/* Voice Dictation Pulse Animation */
.chat-input-area button.listening {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    animation: voice-pulse 1.5s infinite;
    color: white !important;
}

@keyframes voice-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Lang Selector & Web Search Card Styles */
.lang-selector-container {
    display: flex;
    align-items: center;
}

#chat-lang-select {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    font-family: var(--font-sans);
    transition: var(--transition);
}

#chat-lang-select:hover, #chat-lang-select:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-gold);
}

#chat-lang-select option {
    background-color: var(--primary-navy);
    color: white;
}

.web-search-card {
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.web-search-card h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--primary-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.web-search-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.search-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.search-link:hover {
    color: var(--accent-gold-hover);
    transform: translateX(3px);
}

/* Two-column layout and Custom GPT Learn More Panel */
.agent-import-section {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 2rem;
    align-items: start;
    width: 100%;
}

.get-help-now-panel {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem;
    border-top: 4px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    animation: message-fade-in 0.4s ease-out;
}

.get-help-now-panel .card-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.get-help-now-panel .card-icon i {
    width: 32px;
    height: 32px;
}

.get-help-now-panel h3 {
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin: 0;
}

.get-help-now-panel p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.btn-custom-gpt-learn-more {
    width: 100%;
    max-width: 220px;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .agent-import-section {
        grid-template-columns: 1fr;
    }
    
    .get-help-now-panel {
        min-height: auto;
        padding: 2rem;
    }
}

/* Cases and Upload Section Dashboard */
.dashboard-cases-section {
    margin-bottom: 3rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 2rem;
    align-items: stretch;
}

.upload-card, .tracker-card {
    background: var(--bg-white);
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border-radius: 1rem;
}

.upload-card h3, .tracker-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    border-bottom: 2px solid rgba(85, 107, 47, 0.1);
    padding-bottom: 0.75rem;
}

.section-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-navy);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 0.65rem 0.85rem;
    border: 1px solid #CBD5E1;
    border-radius: 0.375rem;
    font-family: var(--font-sans);
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}

/* Drag & Drop */
.drag-drop-zone {
    border: 2px dashed #CBD5E1;
    border-radius: 0.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    background-color: #F8FAFC;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.drag-drop-zone:hover, .drag-drop-zone.dragover {
    border-color: var(--primary-blue);
    background-color: rgba(14, 165, 233, 0.05);
}

.upload-icon {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
}

.drag-drop-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-name-display {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-navy);
    word-break: break-all;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

.cases-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.cases-table th {
    background-color: #F1F5F9;
    color: var(--primary-navy);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #E2E8F0;
}

.cases-table td {
    padding: 1rem;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: middle;
}

.table-file-link {
    color: var(--primary-blue);
    font-weight: 500;
    text-decoration: underline;
}

.table-file-link:hover {
    color: var(--accent-gold-hover);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.status-pending {
    background-color: #FEF3C7;
    color: #D97706;
}

.status-review {
    background-color: #E0F2FE;
    color: #0369A1;
}

.status-resolved {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-action {
    background-color: #FEE2E2;
    color: #991B1B;
}

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

/* Seagreen & Gold Theme Variables */
:root {
    --primary-seagreen: #0F766E; /* Dark Seagreen */
    --light-seagreen: #14B8A6; /* Light Seagreen */
    --gold-metallic: #D4AF37; /* Gold Accent */
    --bg-seaglass: rgba(20, 184, 166, 0.05); /* Translucent seagreen background */
    --border-gold: rgba(212, 175, 55, 0.4);
    
    /* Override existing buttons & headers to match Seagreen & Gold CRM */
    --primary-navy: #0F766E; 
    --primary-blue: #14B8A6;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #C5A028;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #D4AF37 100%);
    --navy-gradient: linear-gradient(135deg, #0F766E 0%, #115E59 100%);
}

/* CRM Payment Badges */
.payment-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.payment-paid {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid rgba(6, 95, 70, 0.2);
}

.payment-partial {
    background-color: #FEF3C7;
    color: #D97706;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.payment-unpaid {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid rgba(153, 27, 27, 0.2);
}

/* Premium Visual Elements */
.upload-card, .tracker-card, .admin-table-card {
    border: 1px solid var(--border-gold) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
}

.upload-card h3, .tracker-card h3, .admin-table-card h2 {
    color: var(--primary-seagreen) !important;
    border-bottom: 2px solid rgba(20, 184, 166, 0.2) !important;
}

.cases-table th {
    background-color: rgba(20, 184, 166, 0.1) !important;
    color: var(--primary-seagreen) !important;
    border-bottom: 2px solid var(--border-gold) !important;
}

/* Custom inputs styling */
.form-group select, .form-group input, .form-group textarea, .status-select {
    border: 1px solid rgba(20, 184, 166, 0.4) !important;
}

.form-group select:focus, .form-group input:focus, .form-group textarea:focus, .status-select:focus {
    border-color: var(--gold-metallic) !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2) !important;
}

/* Payments & QR Code System Styles */
.payment-summary-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: var(--bg-seaglass);
    border: 1px solid var(--border-gold);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.payment-summary-block div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-summary-block .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.payment-summary-block .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-seagreen);
}

.payment-ledger-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.payment-ledger-table th, .payment-ledger-table td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(20, 184, 166, 0.15);
    text-align: left;
}

.payment-ledger-table th {
    background-color: rgba(20, 184, 166, 0.05);
    font-weight: 600;
    color: var(--primary-seagreen);
}

/* Badge classes for transactions */
.badge-txn {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-verified {
    background-color: #D1FAE5;
    color: #065F46;
}

.badge-pending {
    background-color: #FEF3C7;
    color: #D97706;
}

.badge-rejected {
    background-color: #FEE2E2;
    color: #991B1B;
}

.qr-code-section {
    border-top: 1px dashed var(--border-gold);
    padding-top: 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

.qr-code-container {
    background: white;
    border: 2px solid var(--border-gold);
    border-radius: 0.75rem;
    padding: 1rem;
    width: fit-content;
    margin: 1rem auto;
    box-shadow: var(--shadow-sm);
}

.qr-code-container img {
    display: block;
    max-width: 200px;
    height: auto;
}

.qr-instruction {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.btn-pay-link {
    background: none;
    border: none;
    color: var(--light-seagreen);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.btn-pay-link:hover {
    color: var(--accent-gold-hover);
}

.btn-approve-txn {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    margin-right: 0.25rem;
}

.btn-approve-txn:hover {
    background-color: #059669;
}

.btn-reject-txn {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

.btn-reject-txn:hover {
    background-color: #dc2626;
}

.modal-large {
    max-width: 600px !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* --- Premium Floating AI Agent Button --- */
.ai-agent-btn {
    position: fixed;
    top: 95px;
    right: 20px;
    z-index: 999;
    background: rgba(15, 118, 110, 0.95); /* Deep Teal matching theme */
    color: #F8FAFC;
    border: 1px solid var(--border-gold, #D4AF37);
    padding: 0.65rem 1.25rem;
    border-radius: 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.ai-agent-btn:hover {
    background: var(--gold-gradient, linear-gradient(135deg, #D4AF37, #AA771C));
    color: #0F766E;
    border-color: #0F766E;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.ai-agent-btn i {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

.ai-agent-btn.active {
    background: #ef4444 !important; /* Red for active/disconnect */
    color: white !important;
    border-color: #ef4444 !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4) !important;
}

/* Red / Green pulse indicator */
.ai-agent-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981; /* Green */
    display: inline-block;
    box-shadow: 0 0 8px #10B981;
    animation: ai-pulse-anim 1.5s infinite;
}

.ai-agent-btn.active .ai-agent-pulse {
    background: #ffffff !important;
    box-shadow: 0 0 8px #ffffff !important;
    animation: ai-pulse-active-anim 1s infinite;
}

@keyframes ai-pulse-anim {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #10B981; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes ai-pulse-active-anim {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #ffffff; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Hide the default ElevenLabs widget floating orb */
elevenlabs-convai {
    display: none !important;
}

/* --- Premium "Help Us to Serve" Button --- */
.btn-help-serve {
    background: transparent;
    color: var(--primary-gold, #D4AF37) !important;
    border: 1px solid var(--primary-gold, #D4AF37);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
    animation: goldGlowPulse 2.5s infinite;
}

.btn-help-serve:hover {
    background: var(--primary-gold, #D4AF37);
    color: var(--primary-navy, #0B1B3D) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    transform: translateY(-1px);
}

@keyframes goldGlowPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- Custom Modals & Forms --- */
.text-center {
    text-align: center;
}

.qr-code-box {
    margin: 1.5rem auto;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid #e2e8f0;
}

.qr-code-box img {
    max-width: 200px;
    display: block;
}

.btn-amount-choice {
    background: var(--bg-light, #f8fafc);
    color: var(--primary-navy, #0B1B3D);
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-amount-choice:hover, .btn-amount-choice.active {
    background: var(--primary-navy, #0B1B3D);
    color: white;
    border-color: var(--primary-navy, #0B1B3D);
}

.amount-presets {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Premium Card Get Help Now Dashboard */
.dashboard-cases-section, .agent-import-section {
    margin-bottom: 2rem;
}

.get-help-now-panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05) 0%, rgba(79, 70, 229, 0.05) 100%);
    border: 1.5px dashed var(--primary-gold, #D4AF37) !important;
    animation: borderGlow 3s infinite alternate;
}

@keyframes borderGlow {
    from { border-color: rgba(212, 175, 55, 0.5); }
    to { border-color: rgba(212, 175, 55, 1); box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.05); }
}

.btn-premium-paid {
    background: var(--gold-gradient, linear-gradient(135deg, #D4AF37, #AA771C));
    color: #0b1b3d !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.btn-premium-paid:hover {
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal {
        padding: 1rem 0.5rem;
    }
    .modal-content {
        padding: 1.25rem;
        margin-top: 1rem;
    }
    .modal-content .card-icon {
        margin: 0 auto 0.75rem !important;
        width: 48px !important;
        height: 48px !important;
    }
    .modal-content h2 {
        font-size: 1.35rem !important;
    }
}




