/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4AF37;
    --secondary-purple: #3B82F6;
    --background-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E5E5E5;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--background-white);
}

.btn-primary:hover {
    background-color: #B8941F;
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-purple);
    border-color: var(--secondary-purple);
}

.btn-outline:hover {
    background-color: var(--secondary-purple);
    color: var(--background-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary.btn-large {
    background-color: var(--primary-gold);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary.btn-large:hover {
    background-color: #B8941F;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}



.btn-success {
    background-color: var(--success-color);
    color: var(--background-white);
}

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Logo Styles - Exact Match to Attached Image */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1;
    gap: 0.1rem;
    letter-spacing: -0.02em;
}

.logo-line-top {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.logo-tonio {
    color: #D4AF37;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: -0.01em;
}

.logo-ampersand {
    color: #3B82F6;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    text-transform: lowercase;
}

.logo-ampersand::after {
    content: '⚖';
    position: absolute;
    top: -8px;
    right: -10px;
    font-size: 0.7rem;
    color: #D4AF37;
    transform: rotate(-15deg);
    font-weight: bold;
}

.logo-senora {
    color: #3B82F6;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    text-transform: lowercase;
    letter-spacing: -0.01em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.logo-senora::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37 0%, #3B82F6 100%);
    border-radius: 1px;
}

/* Responsive logo */
@media (max-width: 768px) {
    .logo {
        gap: 0.1rem;
    }
    
    .logo-line-top {
        gap: 0.2rem;
    }
    
    .logo-tonio,
    .logo-senora {
        font-size: 1.4rem;
    }
    
    .logo-ampersand {
        font-size: 1.1rem;
    }
    
    .logo-ampersand::after {
        top: -6px;
        right: -8px;
        font-size: 0.6rem;
    }
}

/* Logo in navigation */
.nav-logo .logo {
    gap: 0.1rem;
}

.nav-logo .logo-tonio,
.nav-logo .logo-senora {
    font-size: 1.4rem;
}

.nav-logo .logo-ampersand {
    font-size: 1.1rem;
}

/* Logo in footer */
.footer-logo .logo {
    gap: 0.1rem;
}

.footer-logo .logo-tonio {
    font-size: 1.3rem;
    color: #D4AF37;
}

.footer-logo .logo-senora {
    font-size: 1.3rem;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-logo .logo-ampersand {
    font-size: 1rem;
    color: #D4AF37;
}

/* Navigation */
.navbar {
    background-color: var(--background-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--primary-gold);
    font-weight: 700;
    margin: 0;
}

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: 
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%),
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(212, 175, 55, 0.02) 100px, rgba(212, 175, 55, 0.02) 102px),
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(59, 130, 246, 0.02) 100px, rgba(59, 130, 246, 0.02) 102px);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

section {
    scroll-margin-top: 80px; /* account for fixed navbar */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-logo {
    max-width: 250px;
    height: auto;
    margin: 0 auto 2rem auto;
    display: block;
    animation: fadeInUp 0.6s ease-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 180px;
        margin-bottom: 1.5rem;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-purple);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary.btn-large,
.btn-outline.btn-large {
    padding: 18px 36px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.btn-primary.btn-large:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline.btn-large {
    border-width: 2px;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .btn-outline.btn-large {
    background-color: rgba(255, 255, 255, 0.05);
    color: #F1F5F9;
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .btn-outline.btn-large:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #D4AF37;
    color: #F1F5F9;
}

[data-theme="dark"] .btn-primary.btn-large {
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.2);
}

[data-theme="dark"] .btn-primary.btn-large:hover {
    box-shadow: 
        0 6px 20px rgba(212, 175, 55, 0.6),
        0 0 0 1px rgba(212, 175, 55, 0.3);
}

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

.hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-purple), var(--primary-gold));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-gold), #B8941F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
    animation: float 3s ease-in-out infinite;
}

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

.hero-card h3 {
    color: var(--secondary-purple);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background: 
        linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0.3;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

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

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

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(212, 175, 55, 0.3);
}

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

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #B8941F 50%, var(--primary-gold) 100%);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 
        0 8px 24px rgba(212, 175, 55, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.4s ease;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-purple));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(8px);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 32px rgba(212, 175, 55, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.service-card:hover .service-icon::after {
    opacity: 0.6;
}

.service-icon i {
    font-size: 2rem;
    color: var(--background-white);
}

.service-card h3 {
    color: var(--secondary-purple);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* Enhanced Services Section */
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    padding-top: 1rem;
}

.services-category {
    margin-bottom: 4rem;
}

.category-title {
    text-align: center;
    color: var(--secondary-purple);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    padding: 0 20px;
}

.country-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: left;
    padding: 0 0.5rem;
}

.country-highlight {
    margin-top: 1.2rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-purple);
    font-size: 0.9rem;
    color: var(--text-dark);
    text-align: left;
}

.country-highlight i {
    color: var(--primary-gold);
    margin-right: 0.5rem;
}

.country-highlight strong {
    color: var(--secondary-purple);
    font-weight: 600;
}

.service-card strong {
    color: var(--secondary-purple);
    font-weight: 600;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #F8F9FA;
}

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

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-white);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    width: 30px;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: var(--border-radius);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background-color: var(--secondary-purple);
    color: var(--background-white);
    padding: 3rem 0 1rem;
}

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

.footer-logo h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--background-white);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.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(5px);
}

.modal-content {
    background-color: var(--background-white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close:hover {
    color: var(--text-dark);
}

.form-switch {
    text-align: center;
    margin-top: 1rem;
}

.form-switch a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
}

.form-switch a:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-body {
    background-color: #F8F9FA;
}

.dashboard-nav {
    background-color: var(--background-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    gap: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
}

.sidebar {
    width: 250px;
    background-color: var(--background-white);
    box-shadow: var(--shadow);
    padding: 2rem 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 10;
    grid-column: 1;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.sidebar-link:hover,
.sidebar-link.active {
    background-color: #F8F9FA;
    color: var(--primary-gold);
    border-left-color: var(--primary-gold);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.main-content {
    grid-column: 2;
    padding: 2rem;
    min-height: calc(100vh - 70px);
    background-color: #f8f9fa;
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 600px;
    overflow-x: auto;
    overflow-y: visible;
}

.content-section {
    display: none;
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: visible;
    padding: 2rem;
    min-height: 400px;
    width: 100%;
    box-sizing: border-box;
}

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

.section-header {
    margin-bottom: 2rem;
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.section-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out;
}

.section-owl-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
    transition: transform 0.3s ease;
}

.section-owl-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.section-header h1 {
    color: var(--secondary-purple);
    margin-bottom: 0.5rem;
    backface-visibility: hidden;
    will-change: auto;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.section-header h1 i {
    margin-right: 12px;
    color: var(--secondary-purple);
    font-size: 2.2rem;
    vertical-align: middle;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.section-header h1:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.section-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-purple), transparent);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

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

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

/* Dashboard Text Stability */
.dashboard-text,
.dashboard-text h1,
.dashboard-text h2,
.dashboard-text h3,
.dashboard-text h4,
.dashboard-text h5,
.dashboard-text h6,
.dashboard-text p,
.dashboard-text span,
.dashboard-text div {
    backface-visibility: hidden;
    will-change: auto;
}

/* Apply stability to all dashboard text elements */
.section-header,
.card-header,
.card-content,
.timeline-content,
.stat-content,
.application-header,
.thread-header,
.report-card,
.dashboard-cards,
.dashboard-stats {
    backface-visibility: hidden;
    will-change: auto;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    color: var(--text-dark);
    backface-visibility: hidden;
    will-change: auto;
}

.card-content {
    padding: 1.5rem;
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-in-progress {
    background-color: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.status-completed {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

/* Progress Bars */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), #B8941F);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Activity Lists */
.activity-list {
    space-y: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item i {
    color: var(--primary-gold);
    width: 20px;
    text-align: center;
}

.activity-item p {
    margin: 0;
    font-weight: 500;
}

.activity-item span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Upload Area */
.upload-area {
    border: 3px dashed var(--primary-gold);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: var(--transition);
    cursor: pointer;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(59, 130, 246, 0.05));
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.upload-area:hover::before {
    left: 100%;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--secondary-purple);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(59, 130, 246, 0.1));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.upload-content i {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.upload-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.upload-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.file-types-info {
    color: var(--primary-gold) !important;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

#fileInput {
    display: none;
}

/* Document Categories */
.document-categories {
    margin-top: 2rem;
}

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

.category-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.category-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 1rem;
}

.document-list {
    space-y: 0.5rem;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
}

.document-item:last-child {
    border-bottom: none;
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.document-name {
    font-weight: 500;
    color: var(--text-dark);
}

.document-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.document-item .status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    align-self: flex-start;
}

.document-item .status.uploaded {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.document-item .status.pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

/* Checklist */
.checklist-container {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.country-selector {
    margin-bottom: 2rem;
}

.country-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.country-selector select {
    width: 100%;
    max-width: 300px;
}


/* Timeline */
.progress-timeline {
    position: relative;
    padding-left: 2rem;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    background-color: var(--background-white);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-item.completed .timeline-marker {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: var(--background-white);
}

.timeline-item.active .timeline-marker {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--background-white);
}

.timeline-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    backface-visibility: hidden;
    will-change: auto;
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
}

/* Messages - Professional Design */
.messages-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: transparent;
    padding: 0;
}

/* Messages List Panel */
.messages-list {
    display: flex;
    flex-direction: column;
    height: 650px;
    overflow: hidden;
    padding: 0;
}

.messages-list-header {
    padding: 1.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(59, 130, 246, 0.05));
}

.consultant-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.consultant-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #3B82F6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.consultant-details h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.consultant-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.consultant-status.online {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.consultant-status.online::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Messages Thread */
.messages-thread {
    flex: 1;
    padding: 1.75rem;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: linear-gradient(to bottom, 
        rgba(248, 249, 250, 0.5) 0%, 
        rgba(255, 255, 255, 0.8) 100%);
}

.messages-thread::-webkit-scrollbar {
    width: 6px;
}

.messages-thread::-webkit-scrollbar-track {
    background: transparent;
}

.messages-thread::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}

.messages-thread::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* Message Item */
.message-item {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    animation: fadeInMessage 0.3s ease-out;
    align-items: flex-start;
}

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

.message-item.received {
    flex-direction: row;
}

.message-item.sent {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.message-item.received .message-avatar {
    background: linear-gradient(135deg, #D4AF37, #3B82F6);
    color: white;
}

.message-item.sent .message-avatar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.message-content-wrapper {
    flex: 1;
    max-width: 75%;
}

.message-content {
    background: white;
    border-radius: 18px;
    padding: 1.125rem 1.375rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.12);
    transition: all 0.2s ease;
    position: relative;
}

.message-content:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}

.message-item.sent .message-content {
    background: linear-gradient(135deg, #D4AF37 0%, #C9A227 100%);
    color: white;
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.2);
}

.message-item.sent .message-content:hover {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0;
}

.sender-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.message-item.sent .sender-name {
    color: rgba(255, 255, 255, 0.95);
}

.message-time {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.message-item.sent .message-time {
    color: rgba(255, 255, 255, 0.75);
}

.message-text {
    margin-top: 0;
}

.message-text p {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-item.sent .message-text p {
    color: rgba(255, 255, 255, 0.95);
}

/* Compose Section */
.message-compose {
    display: flex;
    flex-direction: column;
    height: 650px;
    padding: 0;
}

.compose-header {
    padding: 1.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(59, 130, 246, 0.05));
}

.compose-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.compose-header h3 i {
    color: #D4AF37;
}

.compose-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.compose-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
}

.textarea-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.textarea-wrapper textarea {
    flex: 1;
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    resize: none;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.textarea-wrapper textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.char-counter {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.compose-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

/* Dark Theme Adjustments */
[data-theme="dark"] .messages-container {
    background: transparent;
}

[data-theme="dark"] .messages-thread {
    background: linear-gradient(to bottom, 
        rgba(15, 23, 42, 0.5) 0%, 
        rgba(30, 41, 59, 0.8) 100%);
}

[data-theme="dark"] .messages-list-header {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.6));
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .consultant-details h3 {
    color: var(--text-heading);
}

[data-theme="dark"] .message-content {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .message-content:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

[data-theme="dark"] .sender-name {
    color: var(--text-primary);
}

[data-theme="dark"] .message-time {
    color: var(--text-secondary);
}

[data-theme="dark"] .message-text p {
    color: var(--text-primary);
}

[data-theme="dark"] .compose-header {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.6));
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .compose-header h3 {
    color: var(--text-heading);
}

[data-theme="dark"] .compose-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .textarea-wrapper textarea {
    background: var(--input-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .textarea-wrapper textarea:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

[data-theme="dark"] .char-counter {
    color: var(--text-secondary);
}

[data-theme="dark"] .compose-actions {
    border-top-color: var(--border-color);
}

/* Admin Response Indicator */
.admin-response-indicator {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    opacity: 0;
    animation: fadeInMessage 0.5s ease-out forwards;
}

.indicator-content {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    color: #856404;
    font-size: 0.875rem;
    font-weight: 500;
}

.indicator-content i {
    color: #D4AF37;
    animation: pulse 2s ease-in-out infinite;
}

[data-theme="dark"] .indicator-content {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: #ffd700;
}

[data-theme="dark"] .indicator-content i {
    color: #ffd700;
}

/* Auto Response Badge */
.auto-response-badge {
    position: absolute;
    top: 0.5rem;
    right: 2.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.admin-message-item.auto-response {
    border-left-color: #10b981 !important;
}

.admin-message-item.needs-response {
    border-left-color: #ef4444 !important;
}

.admin-message-item.admin-response {
    border-left-color: #D4AF37 !important;
}

/* AI Agent Styles */
.ai-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.ai-avatar i {
    font-size: 1.2rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
    padding: 0.125rem 0.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
}

.ai-badge i {
    font-size: 0.75rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.message-item.ai-message .message-content {
    border-left-color: #667eea;
}

.message-item.ai-message .message-content::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

/* Typing Indicator */
.typing-dots {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    animation: typingDot 1.4s ease-in-out infinite;
}

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

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

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Dark theme AI styles */
[data-theme="dark"] .ai-badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.25));
    color: #a78bfa;
}

[data-theme="dark"] .typing-dots span {
    background: #a78bfa;
}

[data-theme="dark"] .message-item.ai-message .message-content {
    border-left-color: #a78bfa;
}

/* ============================================
   HOME PAGE DARK THEME FIXES
   ============================================ */

/* Hero Section Dark Theme */
[data-theme="dark"] .hero {
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%),
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.12) 0%, transparent 50%);
    background-attachment: fixed;
}

[data-theme="dark"] .hero::before {
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(212, 175, 55, 0.03) 100px, rgba(212, 175, 55, 0.03) 102px),
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(59, 130, 246, 0.03) 100px, rgba(59, 130, 246, 0.03) 102px);
}

[data-theme="dark"] .hero-title {
    background: linear-gradient(135deg, #F1F5F9 0%, #D4AF37 50%, #F5E6B3 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

[data-theme="dark"] .hero-subtitle {
    color: #E2E8F0 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .hero-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-card::before {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.6), rgba(59, 130, 246, 0.6), rgba(212, 175, 55, 0.6));
}

[data-theme="dark"] .hero-card:hover {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .hero-card i {
    background: linear-gradient(135deg, #D4AF37, #F5E6B3, #D4AF37) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5));
    animation: gradientShift 3s ease infinite, float 3s ease-in-out infinite;
}

[data-theme="dark"] .hero-card h3 {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .hero-card p {
    color: #CBD5E1 !important;
}

/* Services Section Dark Theme */
[data-theme="dark"] .services {
    background: 
        linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

[data-theme="dark"] .services::before {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

[data-theme="dark"] .section-title {
    background: linear-gradient(135deg, #F1F5F9 0%, #D4AF37 50%, #E2E8F0 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

[data-theme="dark"] .section-title::after {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.8), rgba(59, 130, 246, 0.8), rgba(212, 175, 55, 0.8));
}

[data-theme="dark"] .section-subtitle {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .category-title {
    color: #F1F5F9 !important;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-container {
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .service-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.7) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .service-card::before {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.6), rgba(59, 130, 246, 0.6));
}

[data-theme="dark"] .service-card:hover {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

[data-theme="dark"] .service-card h3 {
    color: #F1F5F9 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .service-card p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .service-card li {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .service-card li strong {
    color: #D4AF37 !important;
    text-shadow: 0 1px 3px rgba(212, 175, 55, 0.3);
}

[data-theme="dark"] .category-description {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .country-description {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .country-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-left-color: var(--secondary-purple);
    color: #E2E8F0;
}

[data-theme="dark"] .country-highlight strong {
    color: #D4AF37 !important;
}

[data-theme="dark"] .service-icon {
    box-shadow: 
        0 8px 24px rgba(212, 175, 55, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(212, 175, 55, 0.2);
}

[data-theme="dark"] .service-card:hover .service-icon {
    box-shadow: 
        0 12px 32px rgba(212, 175, 55, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(212, 175, 55, 0.4);
}

[data-theme="dark"] .service-icon::after {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.8), rgba(59, 130, 246, 0.8));
}

[data-theme="dark"] .service-card li::before {
    color: #D4AF37;
}

/* About Section Dark Theme */
[data-theme="dark"] .about {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .about h2 {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .about p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .stat h3 {
    color: #D4AF37 !important;
}

[data-theme="dark"] .stat p {
    color: #CBD5E1 !important;
}

/* Contact Section Dark Theme */
[data-theme="dark"] .contact {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .contact-item h4 {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .contact-item p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .contact-item i {
    color: #D4AF37 !important;
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F1F5F9 !important;
}

[data-theme="dark"] .contact-form input::placeholder,
[data-theme="dark"] .contact-form textarea::placeholder {
    color: #94A3B8 !important;
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form textarea:focus {
    border-color: #D4AF37;
    background: rgba(30, 41, 59, 0.95);
}

/* Footer Dark Theme */
[data-theme="dark"] .footer {
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer p,
[data-theme="dark"] .footer a {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .footer a:hover {
    color: #D4AF37 !important;
}

/* Navbar Dark Theme */
[data-theme="dark"] .navbar {
    background-color: var(--nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-link {
    color: #E2E8F0 !important;
}

[data-theme="dark"] .nav-link:hover {
    color: #D4AF37 !important;
}

[data-theme="dark"] .bar {
    background-color: #E2E8F0 !important;
}

/* Container Dark Theme */
[data-theme="dark"] .container {
    background-color: transparent;
}

[data-theme="dark"] .services-category {
    background-color: transparent;
}


/* Admin Dashboard Styles */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), #B8941F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--background-white);
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    backface-visibility: hidden;
    will-change: auto;
}

.stat-content p {
    color: var(--text-light);
    margin: 0;
}

/* Tables */
.clients-table {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

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

.clients-table th {
    background-color: #F8F9FA;
    font-weight: 600;
    color: var(--text-dark);
}

.clients-table tr:hover {
    background-color: #F8F9FA;
}

/* Filters */
.clients-filters,
.review-filters {
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group input,
.filter-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Document Review */
.document-review-container {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.document-review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.document-review-item:last-child {
    border-bottom: none;
}

.document-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.document-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.document-type {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.application-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.application-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.application-header h4 {
    color: var(--text-dark);
    margin: 0;
    backface-visibility: hidden;
    will-change: auto;
}

.application-details p {
    margin-bottom: 0.5rem;
}

.application-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Communications */
.communications-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.message-threads {
    padding: 1.5rem;
    border-right: 1px solid var(--border-color);
}

.thread-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.thread-item:hover,
.thread-item.active {
    background-color: #F8F9FA;
}

.thread-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.thread-header h4 {
    color: var(--text-dark);
    margin: 0;
    backface-visibility: hidden;
    will-change: auto;
}

.timestamp {
    color: var(--text-light);
    font-size: 0.875rem;
}

.thread-preview p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.875rem;
}

.unread-count {
    background-color: var(--primary-gold);
    color: var(--background-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: auto;
}

.message-compose {
    padding: 1.5rem;
}

.compose-header h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Reports */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.report-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
}

.report-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    backface-visibility: hidden;
    will-change: auto;
}

.report-chart {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Document Management System */
.document-selection {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.selection-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: end;
}

.document-checklist-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

[data-theme="dark"] .document-checklist-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.checklist-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.checklist-header h2 {
    color: #3B82F6;
    margin-bottom: 1rem;
}

[data-theme="dark"] .checklist-header {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .checklist-header h2 {
    color: var(--text-heading);
}

.progress-overview {
    background: linear-gradient(135deg, #D4AF37, #3B82F6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.progress-summary {
    text-align: center;
}

.progress-summary span {
    font-size: 1.2rem;
    font-weight: 600;
}

.document-category {
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.category-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-header h3 {
    color: #3B82F6;
    margin: 0;
    font-size: 1.1rem;
}

[data-theme="dark"] .category-header {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--card-bg));
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .category-header h3 {
    color: var(--text-heading);
}

.category-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

[data-theme="dark"] .progress-text {
    color: var(--text-secondary);
}

.progress-bar {
    width: 100px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37, #3B82F6);
    transition: width 0.3s ease;
}

.document-list {
    padding: 1rem;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #fafafa;
    transition: all 0.3s ease;
}

[data-theme="dark"] .document-item {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .document-item:hover {
    background: var(--bg-tertiary);
}

.document-item:hover {
    background: #f0f0f0;
    border-color: #D4AF37;
}

.document-info {
    flex: 1;
}

.document-name-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.document-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

[data-theme="dark"] .document-name {
    color: var(--text-primary);
}

.required-badge {
    background: #dc3545;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.optional-badge {
    background: #6c757d;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

[data-theme="dark"] .required-badge {
    background: #ef4444;
    color: white;
}

[data-theme="dark"] .optional-badge {
    background: #64748b;
    color: white;
}

[data-theme="dark"] .category-status {
    color: var(--text-primary);
    font-weight: 600;
}

.document-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

[data-theme="dark"] .document-description {
    color: var(--text-secondary);
}

.document-status {
    margin-top: 0.5rem;
}

.status {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.not-uploaded {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.status.uploaded {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.under-review {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status.approved {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status.requires-revision {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

[data-theme="dark"] .status.not-uploaded {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .status.uploaded {
    background: rgba(40, 167, 69, 0.2);
    color: #4ade80;
    border-color: rgba(40, 167, 69, 0.3);
}

[data-theme="dark"] .status.under-review {
    background: rgba(255, 193, 7, 0.2);
    color: #ffd700;
    border-color: rgba(255, 193, 7, 0.3);
}

[data-theme="dark"] .status.approved {
    background: rgba(13, 202, 240, 0.2);
    color: #38bdf8;
    border-color: rgba(13, 202, 240, 0.3);
}

[data-theme="dark"] .status.requires-revision {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.document-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.document-actions .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.document-actions .btn i {
    margin-right: 0.3rem;
}

/* Visa Checklist Styles */
.visa-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.visa-type-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.visa-type-card:hover {
    border-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.visa-type-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.visa-type-header h3 {
    color: #3B82F6;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.document-count {
    background: #D4AF37;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.visa-type-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.visa-type-actions {
    text-align: center;
}

.checklist-note {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
}

.checklist-note i {
    color: #D4AF37;
    font-size: 1.2rem;
}

.document-requirements {
    margin-top: 2rem;
}

.requirement-category {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.requirement-category .category-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.requirement-category .category-header h3 {
    color: #3B82F6;
    margin: 0;
    font-size: 1.1rem;
}

.category-stats {
    display: flex;
    gap: 1rem;
}

.required-count {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 500;
}

.optional-count {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.requirement-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.requirement-item:last-child {
    border-bottom: none;
}

.requirement-info {
    flex: 1;
}

.requirement-info .document-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    margin-right: 1rem;
}

.requirement-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.checklist-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .selection-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .document-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .category-progress {
        width: 100%;
        justify-content: space-between;
    }
    
    .visa-types-grid {
        grid-template-columns: 1fr;
    }
    
    .visa-type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .requirement-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checklist-actions {
        flex-direction: column;
    }
}

/* Status Chart */
.status-chart {
    space-y: 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-label {
    min-width: 120px;
    font-weight: 500;
    color: var(--text-dark);
}

.status-bar {
    flex: 1;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), #B8941F);
    transition: width 0.3s ease;
}

.status-count {
    min-width: 30px;
    text-align: right;
    font-weight: 500;
    color: var(--text-dark);
}

/* Next Steps */
.next-steps {
    list-style: none;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.next-steps i {
    color: var(--primary-gold);
    width: 20px;
}

.next-steps i.fa-check-circle {
    color: var(--success-color);
}

.next-steps i.fa-clock {
    color: var(--warning-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .dashboard-layout {
        display: block;
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
    }

    .main-content {
        margin-left: 0;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

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

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

    .messages-container,
    .communications-container {
        grid-template-columns: 1fr;
    }

    .message-thread {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .clients-table {
        overflow-x: auto;
    }

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

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

    .filter-group {
        flex-direction: column;
    }

    .document-review-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .document-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .document-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .upload-content h3 {
        font-size: 1.25rem;
    }

    .upload-content i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }

    .card-content,
    .card-header {
        padding: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .upload-area {
        padding: 1.5rem 1rem;
    }

    .upload-content h3 {
        font-size: 1.125rem;
    }

    .upload-content i {
        font-size: 2.5rem;
    }

    .document-item {
        padding: 0.75rem 0;
    }

    .document-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden { display: none; }
.visible { display: block; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.space-x-2 > * + * { margin-left: 0.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* Modal Styles for Document Management */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default; JS toggles to block */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--background-white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 1.5rem;
}

.document-info p {
    margin: 0.5rem 0;
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

/* Enhanced Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--background-light);
}

.upload-area:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.05);
}

.upload-area.dragover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.02);
}

.upload-content i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    display: block;
}

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

.upload-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.file-types-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--background-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid var(--border-color);
}

/* Mobile Responsive for Modals */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* Mobile Responsive Layout Fixes */
@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 200px 1fr;
    }
    
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        min-width: 500px;
    }
}

@media (max-width: 768px) {
    .dashboard-layout {
        display: block;
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        z-index: 10;
        grid-column: 1;
    }

    .main-content {
        grid-column: 1;
        margin-left: 0;
        margin-top: 0;
        padding: 1rem;
        overflow-x: visible;
        min-width: auto;
        width: 100%;
    }
    
    .content-section {
        margin-bottom: 1rem;
        border-radius: 6px;
        padding: 1rem;
        min-height: auto;
    }
    
    /* Document Upload Mobile */
    .document-upload-container {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .upload-categories {
        padding: 0.5rem;
    }
    
    .category-section {
        padding: 0.75rem;
    }
    
    .document-item {
        padding: 0.75rem;
    }
    
    .upload-area {
        padding: 1rem;
    }
}

/* Document Upload Container - Ensure Full Visibility */
.document-upload-container {
    width: 100%;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-light);
    margin: 1rem 0;
    padding: 1.5rem;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease-in-out;
    min-height: 200px;
    color: var(--text-primary);
}

/* Upload Categories */
.upload-categories {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    margin: 1rem 0;
    box-sizing: border-box;
    overflow: visible;
    color: var(--text-primary);
}

/* Category Sections */
.category-section {
    background: var(--card-bg);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px var(--shadow-light);
    border-left: 3px solid #D4AF37;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    color: var(--text-primary);
}

/* Document Items */
.document-item {
    background: var(--bg-secondary);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    color: var(--text-primary);
}

/* Upload Areas */
.upload-area {
    position: relative;
    border: 2px dashed #D4AF37;
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    min-height: 80px;
    color: var(--text-primary);
}

/* Ensure all form elements are visible */
input[type="file"], input[type="text"], input[type="email"], 
select, textarea, button {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* Force visibility for all interactive elements */
.btn, .btn-primary, .btn-outline {
    position: relative;
    z-index: 2;
    display: inline-block;
    box-sizing: border-box;
}

/* Ensure no content is hidden by containers */
* {
    box-sizing: border-box;
}

/* Force visibility for all document upload elements */
.document-upload-container *,
.upload-categories *,
.category-section *,
.document-item *,
.upload-area * {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Variables for Theme System */
:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --border-color: #e9ecef;
    --border-light: #f1f3f4;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-strong: rgba(0, 0, 0, 0.16);
    --card-bg: #ffffff;
    --sidebar-bg: #ffffff;
    --nav-bg: #ffffff;
    --input-bg: #ffffff;
    --dropdown-bg: #ffffff;
    --modal-bg: #ffffff;
    --overlay-bg: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] {
    /* Dark Theme Colors - Enhanced for Better Visibility */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #F1F5F9;
    --text-secondary: #E2E8F0;
    --text-muted: #CBD5E1;
    --text-accent: #FFFFFF;
    --text-heading: #FFFFFF;
    --text-link: #38BDF8;
    --text-link-hover: #0EA5E9;
    --text-button: #FFFFFF;
    --text-placeholder: #94A3B8;
    --border-color: #334155;
    --border-light: #475569;
    --border-focus: #38BDF8;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-strong: rgba(0, 0, 0, 0.5);
    --card-bg: #1e293b;
    --sidebar-bg: #1e293b;
    --nav-bg: #0f172a;
    --input-bg: #334155;
    --dropdown-bg: #1e293b;
    --modal-bg: #1e293b;
    --overlay-bg: rgba(0, 0, 0, 0.7);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 12px;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: scale(1.1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

[data-theme="dark"] .theme-toggle {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--bg-secondary);
    color: var(--text-accent);
}

/* Global Theme Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Selection Fields Typography and Design */
.compulsory-selection-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.compulsory-selection-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #3B82F6);
}

.selection-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.selection-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.selection-header p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6c757d;
    margin: 0;
}

.selection-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.selection-step {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.selection-step.active {
    border-color: #D4AF37;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.selection-step.locked {
    opacity: 0.6;
    background: #f8f9fa;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #D4AF37;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.selection-step.locked .step-number {
    background: #6c757d;
}

.step-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.step-header p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.selection-field {
    position: relative;
}

.selection-field label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 0.75rem;
}

.selection-field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
}

.selection-field select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.selection-field select:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.field-status {
    margin-top: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.field-status.success {
    color: #28a745;
}

.field-status.error {
    color: #dc3545;
}

.selection-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    min-height: 48px;
    transition: all 0.3s ease;
}

.btn-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design for Enhanced Selection Fields */
@media (max-width: 768px) {
    .compulsory-selection-container {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 12px;
    }
    
    .selection-header h2 {
        font-size: 20px;
    }
    
    .selection-header p {
        font-size: 14px;
    }
    
    .selection-fields {
        gap: 1.5rem;
    }
    
    .selection-step {
        padding: 1rem;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .step-header h3 {
        font-size: 16px;
    }
    
    .selection-field select {
        min-height: 44px;
        font-size: 13px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 14px;
        min-height: 44px;
    }
}

/* Dark Mode Component Styles */
[data-theme="dark"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .dashboard-body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .dashboard-nav {
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .sidebar {
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
}

[data-theme="dark"] .main-content {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.08) 0%, 
        rgba(59, 130, 246, 0.08) 50%, 
        rgba(20, 184, 166, 0.08) 100%
    );
    background-attachment: fixed;
    position: relative;
}

[data-theme="dark"] .main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .main-content > * {
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .content-section {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

[data-theme="dark"] .content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    z-index: 1;
    pointer-events: none;
}

[data-theme="dark"] .content-section > * {
    position: relative;
    z-index: 2;
}

/* Country-Themed Illustrations - Dark Theme Only */
[data-theme="dark"] .section-header {
    position: relative;
    padding-top: 3rem;
    margin-bottom: 2.5rem;
}

[data-theme="dark"] .section-owl-logo {
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.5));
}

[data-theme="dark"] .section-header h1::after {
    background: linear-gradient(90deg, transparent, var(--secondary-purple), transparent);
}

[data-theme="dark"] .app-title {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .app-subtitle {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .header-owl-logo {
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.5));
}

[data-theme="dark"] .section-header h1 i {
    color: var(--secondary-purple);
    opacity: 0.95;
}

[data-theme="dark"] .section-header h1:hover i {
    color: var(--primary-gold);
}

[data-theme="dark"] .country-illustration {
    position: absolute;
    top: -10px;
    right: 0;
    width: 200px;
    height: 80px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .country-illustration svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

[data-theme="dark"] .section-header:hover .country-illustration {
    opacity: 0.2;
}

/* Section divider illustrations */
[data-theme="dark"] .content-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(59, 130, 246, 0.3) 20%,
        rgba(59, 130, 246, 0.3) 50%,
        rgba(20, 184, 166, 0.3) 80%,
        transparent 100%
    );
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

/* Responsive illustrations */
@media (max-width: 768px) {
    [data-theme="dark"] .country-illustration {
        width: 150px;
        height: 60px;
        opacity: 0.1;
    }
}

[data-theme="dark"] .selection-step {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .selection-step.active {
    border-color: #D4AF37;
    background-color: var(--card-bg);
}

[data-theme="dark"] .selection-field select {
    background-color: var(--input-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .selection-field select:focus {
    border-color: #D4AF37;
    background-color: var(--input-bg);
}

[data-theme="dark"] .selection-field select:disabled {
    background-color: var(--bg-tertiary);
    color: var(--text-muted);
}

[data-theme="dark"] .document-upload-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .upload-categories {
    background-color: var(--card-bg);
}

[data-theme="dark"] .category-section {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .document-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .upload-area {
    background-color: var(--input-bg);
    border: 2px dashed var(--border-color);
}

[data-theme="dark"] .upload-area:hover {
    border-color: #D4AF37;
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .btn {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-primary {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: #2c3e50;
}

[data-theme="dark"] .btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .modal-content {
    background-color: var(--modal-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .modal-header {
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .modal-body {
    background-color: var(--modal-bg);
}

[data-theme="dark"] .occupation-list {
    background-color: var(--card-bg);
}

[data-theme="dark"] .occupation-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .occupation-item:hover {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] textarea {
    background-color: var(--input-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] textarea:focus {
    border-color: #D4AF37;
    background-color: var(--input-bg);
}

[data-theme="dark"] .dashboard-cards .card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
}

[data-theme="dark"] .dashboard-cards .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    z-index: 1;
    pointer-events: none;
}

[data-theme="dark"] .dashboard-cards .card .card-header,
[data-theme="dark"] .dashboard-cards .card .card-content {
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .dashboard-cards .card:hover {
    background: rgba(30, 41, 59, 0.65);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

[data-theme="dark"] .progress-bar {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .progress-fill {
    background-color: #D4AF37;
}

[data-theme="dark"] .file-list {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .file-item {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .file-item:hover {
    background-color: var(--bg-tertiary);
}

/* Enhanced Dark Theme Text Visibility */
[data-theme="dark"] body,
[data-theme="dark"] .dashboard-body {
    color: var(--text-primary);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-heading);
    font-weight: 600;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div {
    color: var(--text-primary);
}

[data-theme="dark"] .text-secondary,
[data-theme="dark"] .text-muted {
    color: var(--text-secondary);
}

[data-theme="dark"] label {
    color: var(--text-primary);
    font-weight: 600;
}

[data-theme="dark"] .nav-link,
[data-theme="dark"] .sidebar-link {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .sidebar-link:hover {
    color: var(--text-link);
}

[data-theme="dark"] .sidebar-link.active {
    background-color: var(--bg-tertiary);
    color: #D4AF37;
    border-left-color: #D4AF37;
    font-weight: 600;
}

[data-theme="dark"] a {
    color: var(--text-link);
    text-decoration: none;
}

[data-theme="dark"] a:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

[data-theme="dark"] .btn {
    color: var(--text-button);
    font-weight: 500;
}

[data-theme="dark"] .btn-primary {
    background-color: #D4AF37;
    color: #2c3e50;
    font-weight: 600;
}

[data-theme="dark"] .btn-outline {
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-outline:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-accent);
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    color: var(--text-primary);
    background-color: var(--input-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] input[type="password"]:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-placeholder);
    opacity: 0.8;
}

[data-theme="dark"] .selection-header h2 {
    color: var(--text-heading) !important;
    font-weight: 700;
}

[data-theme="dark"] .selection-header p {
    color: var(--text-secondary) !important;
    opacity: 1;
}

[data-theme="dark"] .step-header h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .step-header p {
    color: var(--text-secondary);
}

[data-theme="dark"] .selection-field label {
    color: var(--text-primary);
}

[data-theme="dark"] .selection-field select {
    color: var(--text-primary);
}

[data-theme="dark"] .field-status {
    color: var(--text-secondary);
}

[data-theme="dark"] .field-status.success {
    color: #10B981;
}

[data-theme="dark"] .field-status.error {
    color: #EF4444;
}

[data-theme="dark"] .document-upload-container h2,
[data-theme="dark"] .document-upload-container h3,
[data-theme="dark"] .visa-upload-container h2,
[data-theme="dark"] .visa-upload-container h3,
[data-theme="dark"] .upload-header h2,
[data-theme="dark"] .upload-header h3 {
    color: var(--text-heading);
}

[data-theme="dark"] .document-upload-container p,
[data-theme="dark"] .visa-upload-container p,
[data-theme="dark"] .upload-header p {
    color: var(--text-secondary);
}

[data-theme="dark"] .upload-field label,
[data-theme="dark"] .upload-zone-text,
[data-theme="dark"] .upload-zone-subtext {
    color: var(--text-primary);
}

[data-theme="dark"] .category-header h3 {
    color: var(--text-heading);
}

[data-theme="dark"] .category-header p {
    color: var(--text-secondary);
}

[data-theme="dark"] .document-item h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .document-item p {
    color: var(--text-secondary);
}

[data-theme="dark"] .upload-area {
    color: var(--text-primary);
}

[data-theme="dark"] .upload-area:hover {
    color: var(--text-accent);
}

[data-theme="dark"] .file-list {
    color: var(--text-primary);
}

[data-theme="dark"] .file-item {
    color: var(--text-primary);
}

[data-theme="dark"] .file-item:hover {
    color: var(--text-accent);
}

[data-theme="dark"] .modal-header h2 {
    color: var(--text-heading);
}

[data-theme="dark"] .modal-body {
    color: var(--text-primary);
}

[data-theme="dark"] .occupation-item h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .occupation-item p {
    color: var(--text-secondary);
}

[data-theme="dark"] .dashboard-cards .card h3 {
    color: var(--text-heading);
}

[data-theme="dark"] .dashboard-cards .card p {
    color: var(--text-secondary);
}

/* Admin Panel Dark Theme Fixes */
[data-theme="dark"] .stat-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .stat-content h3 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .stat-content p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .clients-table {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .clients-table th {
    background-color: var(--bg-tertiary);
    color: var(--text-heading) !important;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .clients-table td {
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .clients-table tr:hover {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .clients-table tr:hover td {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .filter-group input,
[data-theme="dark"] .filter-group select {
    background-color: var(--input-bg);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .filter-group input::placeholder {
    color: var(--text-placeholder);
}

[data-theme="dark"] .filter-group select option {
    background-color: var(--dropdown-bg);
    color: var(--text-primary);
}

[data-theme="dark"] .document-review-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .document-review-item {
    border-bottom: 1px solid var(--border-color);
    background-color: transparent;
}

[data-theme="dark"] .document-review-item:hover {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .document-info h4 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .document-info p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .application-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .application-header h4 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .application-details p {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .application-details strong {
    color: var(--text-heading);
}

[data-theme="dark"] .communications-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .message-threads {
    border-right: 1px solid var(--border-color);
}

[data-theme="dark"] .thread-item {
    border-bottom: 1px solid var(--border-color);
    background-color: transparent;
}

[data-theme="dark"] .thread-item:hover {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .thread-item.active {
    background-color: var(--bg-tertiary);
    border-left: 3px solid #D4AF37;
}

[data-theme="dark"] .thread-header h4 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .thread-header .timestamp {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .thread-preview p {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .message-compose {
    background-color: transparent;
}

[data-theme="dark"] .compose-header h4 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .report-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .report-card h3 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .report-chart {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .section-header h1 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .section-header p {
    color: var(--text-secondary) !important;
}

/* Fix inline styles with hardcoded colors */
[data-theme="dark"] [style*="color: #666"],
[data-theme="dark"] [style*="color:#666"] {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .empty-state {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .empty-state h3 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .empty-state p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .empty-state small {
    color: var(--text-muted) !important;
}

/* Status badges in dark theme */
[data-theme="dark"] .status-badge {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .country-badge,
[data-theme="dark"] .visa-type-badge,
[data-theme="dark"] .authority-badge {
    color: var(--text-primary) !important;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .progress-bar {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .progress-fill {
    background-color: #D4AF37;
}

[data-theme="dark"] .progress-text {
    color: var(--text-primary) !important;
}

/* Form elements */
[data-theme="dark"] .form-group label {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-actions .btn {
    color: var(--text-primary);
}

[data-theme="dark"] .admin-message-item {
    background-color: var(--card-bg) !important;
    border-left-color: var(--border-color) !important;
}

[data-theme="dark"] .admin-message-item strong {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .admin-message-item p {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .unread-count {
    background-color: #EF4444;
    color: white !important;
}

[data-theme="dark"] .auto-response-badge {
    color: #10B981 !important;
}

[data-theme="dark"] .progress-text {
    color: var(--text-primary);
}

/* Activity items in dark theme */
[data-theme="dark"] .activity-item {
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .activity-item i {
    color: #D4AF37 !important;
}

[data-theme="dark"] .activity-item p {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .activity-item span {
    color: var(--text-secondary) !important;
}

/* Modal items in dark theme */
[data-theme="dark"] .modal-document-item,
[data-theme="dark"] .modal-message-item {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .modal-document-item p,
[data-theme="dark"] .modal-message-item p {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .modal-document-item strong,
[data-theme="dark"] .modal-message-item strong {
    color: var(--text-heading) !important;
}

/* Client messages display in dark theme */
[data-theme="dark"] .client-messages-display {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .client-info-header {
    border-bottom-color: #D4AF37 !important;
}

[data-theme="dark"] .client-info-header h4 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .client-info-header p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .messages-list-display {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .thread-item:hover {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .section-header h1 {
    color: var(--text-heading);
}

[data-theme="dark"] .section-header p {
    color: var(--text-secondary);
}

/* Enhanced Dark Theme Form Elements Visibility */
[data-theme="dark"] select {
    background-color: #2a2e37 !important;
    border: 2px solid #4b5563 !important;
    color: #ffffff !important;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

[data-theme="dark"] select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 132, 246, 0.5) !important;
    outline: none;
}

[data-theme="dark"] select:hover {
    border-color: #6b7280 !important;
    background-color: #374151 !important;
}

[data-theme="dark"] select option {
    background-color: #2a2e37 !important;
    color: #ffffff !important;
    padding: 8px 12px;
}

[data-theme="dark"] select option:checked {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}

[data-theme="dark"] select option:hover {
    background-color: #374151 !important;
    color: #ffffff !important;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="search"] {
    background-color: #2a2e37 !important;
    border: 2px solid #4b5563 !important;
    color: #ffffff !important;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] input[type="password"]:focus,
[data-theme="dark"] input[type="tel"]:focus,
[data-theme="dark"] input[type="url"]:focus,
[data-theme="dark"] input[type="search"]:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 132, 246, 0.5) !important;
    outline: none;
    background-color: #374151 !important;
}

[data-theme="dark"] input[type="text"]:hover,
[data-theme="dark"] input[type="email"]:hover,
[data-theme="dark"] input[type="password"]:hover,
[data-theme="dark"] input[type="tel"]:hover,
[data-theme="dark"] input[type="url"]:hover,
[data-theme="dark"] input[type="search"]:hover {
    border-color: #6b7280 !important;
    background-color: #374151 !important;
}

[data-theme="dark"] textarea {
    background-color: #2a2e37 !important;
    border: 2px solid #4b5563 !important;
    color: #ffffff !important;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    resize: vertical;
}

[data-theme="dark"] textarea:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 132, 246, 0.5) !important;
    outline: none;
    background-color: #374151 !important;
}

[data-theme="dark"] textarea:hover {
    border-color: #6b7280 !important;
    background-color: #374151 !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #9ca3af !important;
    opacity: 0.8;
    font-weight: 400;
}

/* Enhanced Selection Fields for Dark Theme */
[data-theme="dark"] .selection-field select {
    background-color: #2a2e37 !important;
    border: 2px solid #4b5563 !important;
    color: #ffffff !important;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

[data-theme="dark"] .selection-field select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 132, 246, 0.5) !important;
    outline: none;
    background-color: #374151 !important;
}

[data-theme="dark"] .selection-field select:hover {
    border-color: #6b7280 !important;
    background-color: #374151 !important;
}

[data-theme="dark"] .selection-field select:disabled {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
    color: #6b7280 !important;
    cursor: not-allowed;
}

[data-theme="dark"] .selection-field select option {
    background-color: #2a2e37 !important;
    color: #ffffff !important;
    padding: 8px 12px;
}

[data-theme="dark"] .selection-field select option:checked {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .selection-field select option:hover {
    background-color: #374151 !important;
    color: #ffffff !important;
}

/* Custom Dropdown Arrow for Dark Theme */
[data-theme="dark"] select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

[data-theme="dark"] select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Enhanced Form Labels for Dark Theme */
[data-theme="dark"] .selection-field label {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

[data-theme="dark"] .field-status {
    color: #d1d5db !important;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

[data-theme="dark"] .field-status.success {
    color: #10b981 !important;
}

[data-theme="dark"] .field-status.error {
    color: #ef4444 !important;
}

/* Enhanced Button Visibility in Dark Theme */
[data-theme="dark"] .btn {
    background-color: #374151 !important;
    border: 2px solid #4b5563 !important;
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

[data-theme="dark"] .btn:hover {
    background-color: #4b5563 !important;
    border-color: #6b7280 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 132, 246, 0.5) !important;
    outline: none;
}

[data-theme="dark"] .btn-primary {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-primary:hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
}

[data-theme="dark"] .btn-outline {
    background-color: transparent !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-outline:hover {
    background-color: #374151 !important;
    border-color: #6b7280 !important;
    color: #ffffff !important;
}

/* Logo Image Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 70px;
}

.header-owl-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-purple);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.app-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-owl-logo {
    height: 45px;
    width: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-title {
        font-size: 0.9rem;
    }
    
    .app-title {
        font-size: 1.1rem;
    }
    
    .app-subtitle {
        font-size: 0.65rem;
    }
    
    .header-owl-logo {
        height: 40px;
        width: 40px;
    }
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-owl-logo {
    height: 45px;
    width: auto;
    max-width: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

/* Responsive Logo Styles */
@media (max-width: 768px) {
    .nav-owl-logo {
        height: 35px;
        width: 35px;
    }
    
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    .footer-owl-logo {
        height: 35px;
        max-width: 35px;
    }
    
    .footer-logo-image {
        height: 45px;
        max-width: 180px;
    }
    
    .nav-logo {
        gap: 8px;
    }
}

/* PWA Specific Styles */
.pwa-install-btn {
    background: linear-gradient(135deg, #D4AF37, #3B82F6);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3B82F6, #D4AF37);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

.update-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.update-content i {
    font-size: 1.2rem;
    animation: spin 2s linear infinite;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* PWA Install Prompt Styles */
.pwa-install-prompt {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3B82F6, #D4AF37);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideInUp 0.5s ease;
}

.pwa-install-prompt h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.pwa-install-prompt p {
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.pwa-install-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.pwa-install-actions button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pwa-install-actions .btn-primary {
    background: white;
    color: #3B82F6;
}

.pwa-install-actions .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.pwa-install-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Offline Indicator */
.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ff6b6b;
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10001;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* PWA Splash Screen Styles */
.pwa-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #D4AF37, #3B82F6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    color: white;
}

.pwa-splash .logo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.pwa-splash .loading {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* PWA App-like Styles */
@media (display-mode: standalone) {
    body {
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .navbar {
        padding-top: env(safe-area-inset-top);
    }
    
    .hero-section {
        padding-top: calc(80px + env(safe-area-inset-top));
    }
}

/* PWA Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .sidebar-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Consolidated Document Interface Styles */
.consolidated-document-list {
    max-width: 100%;
    margin: 0 auto;
}

.document-progress-header {
    background: linear-gradient(135deg, var(--primary-gold), #F4D03F);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.document-progress-header h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.progress-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-text {
    font-weight: 500;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: white;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.document-items-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.document-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.document-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-lg);
}

.document-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.document-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.document-type {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.required-badge, .optional-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.required-badge {
    background-color: var(--danger-color);
    color: white;
}

.optional-badge {
    background-color: var(--info-color);
    color: white;
}

.document-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.status-pending {
    color: var(--warning-color);
}

.status-completed {
    color: var(--success-color);
}

.document-status.completed {
    color: var(--success-color);
}

.document-status.pending {
    color: var(--warning-color);
}

.document-description {
    margin-bottom: 1rem;
}

.document-description p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.document-requirements {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.file-types, .file-size {
    background-color: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.upload-area {
    margin-top: 1rem;
}

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.upload-zone:hover {
    border-color: var(--primary-gold);
    background-color: #fff9e6;
}

.upload-zone i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    display: block;
}

.upload-zone span {
    color: var(--text-light);
    font-weight: 500;
}

.uploaded-files {
    margin-top: 1rem;
}

.uploaded-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-info i {
    color: var(--primary-gold);
}

.file-name {
    font-weight: 500;
    color: var(--text-dark);
}

.file-size {
    color: var(--text-light);
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-remove {
    background-color: var(--danger-color);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-remove:hover {
    background-color: #c82333;
}

.final-submit-section {
    background: linear-gradient(135deg, var(--secondary-purple), #3B82F6);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.submit-info {
    margin-bottom: 1.5rem;
}

.submit-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.submit-info i {
    margin-right: 0.5rem;
    color: var(--primary-gold);
}

#final-submit-btn {
    background: linear-gradient(135deg, var(--primary-gold), #F4D03F);
    color: var(--secondary-purple);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

#final-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

#final-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#final-submit-btn.ready-to-submit {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mobile Responsive for Document Interface */
@media (max-width: 768px) {
    .document-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .document-requirements {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .upload-zone {
        padding: 1.5rem;
    }
    
    .final-submit-section {
        padding: 1.5rem;
    }
}

/* ============================================
   MODERN DESIGN ENHANCEMENTS
   Glassmorphism & Animated Progress
   ============================================ */

/* Glassmorphism Base Styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.5), 
        transparent
    );
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.25);
    transform: translateY(-2px);
}

/* Dark mode glassmorphism */
[data-theme="dark"] .glass-panel {
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .glass-panel:hover {
    background: rgba(20, 20, 30, 0.5);
}

/* Apply glassmorphism to document containers */
.visa-upload-container,
.document-upload-container,
.document-checklist-container,
.document-category,
.document-card,
.upload-field {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.visa-upload-container:hover,
.document-upload-container:hover,
.document-category:hover,
.document-card:hover,
.upload-field:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.2);
    transform: translateY(-4px);
}

/* Glassmorphism for selection containers */
.compulsory-selection-container,
.selection-step {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 24px 0 rgba(31, 38, 135, 0.1);
}

[data-theme="dark"] .compulsory-selection-container {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
}

[data-theme="dark"] .selection-step {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Animated Progress Bars */
.progress-bar-container {
    position: relative;
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar-animated {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #D4AF37 0%,
        #F4D03F 25%,
        #FFD700 50%,
        #F4D03F 75%,
        #D4AF37 100%
    );
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    position: relative;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.progress-bar-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes gradientShift {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Circular Progress Indicator */
.progress-circle {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 20px auto;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.1);
    stroke-width: 8;
}

.progress-circle-fill {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: progressRotate 2s ease-out forwards;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes progressRotate {
    from {
        stroke-dashoffset: 283;
    }
}

.progress-circle-gradient {
    --x1: 0%;
    --y1: 0%;
    --x2: 100%;
    --y2: 0%;
}

/* Wave Progress Bar */
.progress-wave {
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.progress-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: waveAnimation 2s infinite;
}

.progress-wave-fill {
    height: 100%;
    background: linear-gradient(
        90deg,
        #D4AF37 0%,
        #F4D03F 50%,
        #D4AF37 100%
    );
    background-size: 200% 100%;
    animation: waveGradient 3s ease infinite;
    border-radius: 20px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-wave-fill::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%
    );
    animation: waveShine 3s infinite;
}

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

@keyframes waveGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes waveShine {
    0%, 100% { transform: rotate(0deg); opacity: 0.5; }
    50% { transform: rotate(180deg); opacity: 0.8; }
}

/* Segmented Progress Timeline */
.progress-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 40px 0;
    padding: 20px 0;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    z-index: 0;
}

.progress-timeline-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #F4D03F);
    border-radius: 2px;
    z-index: 1;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-step-chip {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: #666;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.progress-step.active .progress-step-chip {
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    color: white;
    border-color: #D4AF37;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: scale(1.15);
    animation: pulse 2s ease-in-out infinite;
}

.progress-step.completed .progress-step-chip {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-color: #28a745;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.progress-step.completed .progress-step-chip::after {
    content: '✓';
    font-size: 24px;
    font-weight: bold;
}

.progress-step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    text-align: center;
    max-width: 100px;
}

.progress-step.active .progress-step-label {
    color: #D4AF37;
    font-weight: 600;
}

.progress-step.completed .progress-step-label {
    color: #28a745;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(212, 175, 55, 0.7);
    }
}

/* Enhanced Status Badges with Animation */
.status-badge-animated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-badge-animated.status-in-progress {
    background: rgba(23, 162, 184, 0.2);
    color: var(--info-color);
    border-color: rgba(23, 162, 184, 0.3);
}

.status-badge-animated.status-completed {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
    border-color: rgba(40, 167, 69, 0.3);
    animation: none;
}

.status-badge-animated.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning-color);
    border-color: rgba(255, 193, 7, 0.3);
}

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

/* Enhanced Card with Glassmorphism */
.card.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
}

.card.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.2);
}

[data-theme="dark"] .card.glass-card {
    background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

[data-theme="dark"] .card.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.25), 
        transparent
    );
    z-index: 1;
    pointer-events: none;
}

[data-theme="dark"] .card.glass-card .card-header,
[data-theme="dark"] .card.glass-card .card-content {
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .card.glass-card:hover {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(22px) saturate(200%);
    -webkit-backdrop-filter: blur(22px) saturate(200%);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* Upload Zone with Glassmorphism */
.file-upload-zone.glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.file-upload-zone.glass:hover,
.file-upload-zone.glass.dragover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

[data-theme="dark"] .file-upload-zone.glass {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .file-upload-zone.glass:hover,
[data-theme="dark"] .file-upload-zone.glass.dragover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

/* ============================================
   NEON ACCENT LIGHTING - Dark Theme Only
   ============================================ */

/* Neon glow effect for active cards */
[data-theme="dark"] .card.glass-card.active,
[data-theme="dark"] .card.active {
    position: relative;
    border: 2px solid transparent;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

[data-theme="dark"] .card.glass-card.active::before,
[data-theme="dark"] .card.active::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.8),
        rgba(20, 184, 166, 0.8),
        rgba(59, 130, 246, 0.8)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: neonPulse 3s ease-in-out infinite;
    z-index: -1;
}

[data-theme="dark"] .card.glass-card.active::after,
[data-theme="dark"] .card.active::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.4),
        rgba(20, 184, 166, 0.4),
        rgba(59, 130, 246, 0.4)
    );
    filter: blur(12px);
    opacity: 0.6;
    z-index: -2;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes neonGlow {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Neon accent for active buttons */
[data-theme="dark"] .btn.active,
[data-theme="dark"] .btn-primary.active,
[data-theme="dark"] .btn:focus {
    position: relative;
    border: 2px solid transparent;
    box-shadow: 
        0 0 10px rgba(59, 130, 246, 0.5),
        0 0 20px rgba(20, 184, 166, 0.3),
        inset 0 0 10px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .btn.active::before,
[data-theme="dark"] .btn-primary.active::before,
[data-theme="dark"] .btn:focus::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 1),
        rgba(20, 184, 166, 1),
        rgba(59, 130, 246, 1)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: neonPulse 2s ease-in-out infinite;
}

/* Neon accent for upload fields/areas */
[data-theme="dark"] .upload-area.active,
[data-theme="dark"] .upload-area.dragover {
    position: relative;
    border: 2px dashed transparent;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

[data-theme="dark"] .upload-area.active::before,
[data-theme="dark"] .upload-area.dragover::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.9),
        rgba(20, 184, 166, 0.9),
        rgba(59, 130, 246, 0.9)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: neonPulse 2.5s ease-in-out infinite;
}

[data-theme="dark"] .upload-area.active::after,
[data-theme="dark"] .upload-area.dragover::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: radial-gradient(circle, 
        rgba(59, 130, 246, 0.3),
        rgba(20, 184, 166, 0.2),
        transparent 70%
    );
    filter: blur(16px);
    opacity: 0.7;
    z-index: -2;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

/* Enhanced upload area text visibility */
[data-theme="dark"] .upload-area,
[data-theme="dark"] .upload-area * {
    color: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="dark"] .upload-content h3,
[data-theme="dark"] .upload-content p,
[data-theme="dark"] .upload-area h3,
[data-theme="dark"] .upload-area p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .upload-content i,
[data-theme="dark"] .upload-area i {
    color: rgba(212, 175, 55, 0.9) !important;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

/* File types info visibility */
[data-theme="dark"] .file-types-info {
    color: rgba(212, 175, 55, 0.9) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* ============================================
   3D UPLOAD/DOCUMENT ZONES - Dark Theme Only
   ============================================ */

/* 3D lift effect with particles for upload zones */
[data-theme="dark"] .upload-area,
[data-theme="dark"] .document-item,
[data-theme="dark"] .category-section {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    perspective: 1000px;
}

[data-theme="dark"] .upload-area:hover,
[data-theme="dark"] .document-item:hover {
    transform: translateY(-8px) translateZ(20px) rotateX(2deg);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(59, 130, 246, 0.2),
        0 0 60px rgba(20, 184, 166, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Particle effect container */
[data-theme="dark"] .upload-area::before,
[data-theme="dark"] .document-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(20, 184, 166, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .upload-area:hover::before,
[data-theme="dark"] .document-item:hover::before {
    opacity: 1;
    animation: particleFloat 3s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 1;
    }
}

/* Glow effect on hover */
[data-theme="dark"] .upload-area::after,
[data-theme="dark"] .document-item::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.2),
        rgba(20, 184, 166, 0.2),
        rgba(59, 130, 246, 0.2)
    );
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

[data-theme="dark"] .upload-area:hover::after,
[data-theme="dark"] .document-item:hover::after {
    opacity: 0.6;
    animation: glowPulse 2s ease-in-out infinite;
}

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

/* Document preview morphing icons */
[data-theme="dark"] .document-item {
    position: relative;
    overflow: visible;
}

[data-theme="dark"] .document-item .document-icon {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Status-based icon morphing */
[data-theme="dark"] .document-item[data-status="processing"] .document-icon {
    animation: processingPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
}

[data-theme="dark"] .document-item[data-status="approved"] .document-icon {
    animation: approvedGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(20, 184, 166, 0.7));
}

[data-theme="dark"] .document-item[data-status="flagged"] .document-icon {
    animation: flaggedAlert 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.7));
}

@keyframes processingPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.9;
    }
}

@keyframes approvedGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(20, 184, 166, 0.7));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 18px rgba(20, 184, 166, 1));
    }
}

@keyframes flaggedAlert {
    0%, 100% {
        transform: scale(1) translateX(0);
        opacity: 1;
    }
    25% {
        transform: scale(1.05) translateX(-2px);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.05) translateX(2px);
        opacity: 0.9;
    }
}

/* Ensure content is above effects */
[data-theme="dark"] .upload-area > *,
[data-theme="dark"] .document-item > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   DYNAMIC PROGRESS TIMELINE - Dark Theme Only
   ============================================ */

[data-theme="dark"] .progress-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin: 2rem 0;
}

[data-theme="dark"] .progress-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 0;
}

/* Animated connecting line */
[data-theme="dark"] .progress-timeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(59, 130, 246, 0.8),
        rgba(20, 184, 166, 0.8),
        rgba(59, 130, 246, 0.8)
    );
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 10px rgba(59, 130, 246, 0.5),
        0 0 20px rgba(20, 184, 166, 0.3);
    animation: lineFlow 3s ease-in-out infinite;
}

/* Timeline progress line (JS-controlled) */
[data-theme="dark"] .timeline-progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(59, 130, 246, 0.8),
        rgba(20, 184, 166, 0.8),
        rgba(59, 130, 246, 0.8)
    );
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 10px rgba(59, 130, 246, 0.5),
        0 0 20px rgba(20, 184, 166, 0.3);
    animation: lineFlow 3s ease-in-out infinite;
}

@keyframes lineFlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    50% {
        background-position: 100% 50%;
        filter: hue-rotate(20deg);
    }
}

[data-theme="dark"] .progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    cursor: pointer;
}

[data-theme="dark"] .progress-step-chip {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Completed step - pulsing effect */
[data-theme="dark"] .progress-step.completed .progress-step-chip {
    background: linear-gradient(135deg, 
        rgba(20, 184, 166, 0.3),
        rgba(59, 130, 246, 0.3)
    );
    border-color: rgba(20, 184, 166, 0.8);
    color: rgba(20, 184, 166, 1);
    box-shadow: 
        0 0 20px rgba(20, 184, 166, 0.5),
        inset 0 0 20px rgba(20, 184, 166, 0.2);
    animation: completedPulse 2s ease-in-out infinite;
}

[data-theme="dark"] .progress-step.completed .progress-step-chip::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(20, 184, 166, 0.6);
    animation: ripple 2s ease-in-out infinite;
}

@keyframes completedPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(20, 184, 166, 0.5),
            inset 0 0 20px rgba(20, 184, 166, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 30px rgba(20, 184, 166, 0.7),
            inset 0 0 25px rgba(20, 184, 166, 0.3);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Active/current step - subtle motion */
[data-theme="dark"] .progress-step.active .progress-step-chip {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.4),
        rgba(59, 130, 246, 0.4)
    );
    border-color: rgba(59, 130, 246, 0.9);
    color: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 25px rgba(59, 130, 246, 0.6),
        inset 0 0 25px rgba(59, 130, 246, 0.3);
    animation: activeMotion 3s ease-in-out infinite;
}

@keyframes activeMotion {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

/* Pending step - subtle glow */
[data-theme="dark"] .progress-step:not(.completed):not(.active) .progress-step-chip {
    animation: pendingGlow 4s ease-in-out infinite;
}

@keyframes pendingGlow {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

[data-theme="dark"] .progress-step-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
}

[data-theme="dark"] .progress-step.completed .progress-step-label {
    color: rgba(20, 184, 166, 1);
    text-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

[data-theme="dark"] .progress-step.active .progress-step-label {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    font-weight: 600;
}

/* Circular timeline variant */
[data-theme="dark"] .progress-timeline.circular {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 300px;
    height: 300px;
    margin: 2rem auto;
}

[data-theme="dark"] .progress-timeline.circular::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

[data-theme="dark"] .progress-timeline.circular::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid transparent;
    border-top-color: rgba(59, 130, 246, 0.8);
    border-right-color: rgba(20, 184, 166, 0.8);
    border-bottom-color: rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    animation: circularProgress 3s linear infinite;
    z-index: 1;
}

@keyframes circularProgress {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .progress-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-timeline::before {
        left: 50%;
        top: 0;
        width: 4px;
        height: 100%;
        transform: translateX(-50%);
    }
    
    .progress-timeline-fill {
        left: 50%;
        top: 0;
        width: 4px;
        height: 0%;
        transform: translateX(-50%);
    }
    
    .glass-panel {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ============================================ */

/* Mobile-first approach for better alignment */
@media (max-width: 480px) {
    /* Container adjustments */
    .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Navigation mobile fixes */
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .nav-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-logo .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    .nav-menu {
        width: 100%;
        order: 3;
    }
    
    .nav-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    /* Services grid mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card ul {
        font-size: 0.9rem;
    }
    
    /* Dashboard mobile fixes */
    .dashboard-layout {
        display: flex;
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .sidebar-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .main-content {
        width: 100%;
        padding: 1rem 0.75rem;
        margin: 0;
    }
    
    .section-header {
        padding: 1rem 0;
    }
    
    .section-logo-wrapper {
        margin-bottom: 1rem;
    }
    
    .section-owl-logo {
        width: 60px;
        height: 60px;
    }
    
    .section-header h1 {
        font-size: 1.8rem;
    }
    
    .section-header h1 i {
        font-size: 1.6rem;
        margin-right: 8px;
    }
    
    .section-header h1::after {
        width: 60px;
        height: 3px;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Cards mobile */
    .dashboard-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    /* Tables mobile */
    .clients-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .clients-table table {
        min-width: 800px;
        font-size: 0.85rem;
    }
    
    .clients-table th,
    .clients-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Forms mobile */
    .form-group {
        margin-bottom: 1rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        width: 100%;
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px; /* Better touch target */
    }
    
    /* Buttons mobile */
    .btn {
        padding: 12px 20px;
        font-size: 1rem;
        min-height: 44px;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1.05rem;
    }
    
    /* Modals mobile */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    /* Document upload mobile */
    .document-upload-container {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .upload-fields {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .upload-zone {
        padding: 1.5rem 1rem;
    }
    
    .upload-zone-text {
        font-size: 1rem;
    }
    
    /* Selection fields mobile */
    .compulsory-selection-container {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .selection-fields {
        gap: 1.5rem;
    }
    
    .selection-step {
        padding: 1rem;
    }
    
    /* Progress mobile */
    .progress-container {
        padding: 1.5rem 1rem;
    }
    
    .progress-timeline {
        padding: 1rem 0;
    }
    
    /* Messages mobile */
    .messages-container {
        flex-direction: column;
    }
    
    .messages-list {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Stats mobile */
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   COMPREHENSIVE DARK MODE VISIBILITY FIXES
   ============================================ */

/* Fix all hardcoded white backgrounds */
[data-theme="dark"] .document-upload-container,
[data-theme="dark"] .category-section,
[data-theme="dark"] .upload-categories {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .document-item {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .upload-area {
    background: var(--bg-secondary) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    color: var(--text-primary) !important;
}

/* Fix all text colors in dark mode */
[data-theme="dark"] .document-item h4,
[data-theme="dark"] .document-item p,
[data-theme="dark"] .category-section h3,
[data-theme="dark"] .upload-categories h3 {
    color: var(--text-primary) !important;
}

/* Fix form elements in dark mode */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: var(--input-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-placeholder) !important;
}

/* Fix modals in dark mode */
[data-theme="dark"] .modal-content {
    background: var(--modal-bg) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .modal-header h2 {
    color: var(--text-heading) !important;
}

/* Fix tables in dark mode */
[data-theme="dark"] .clients-table table {
    background: var(--card-bg) !important;
}

[data-theme="dark"] .clients-table th {
    background: var(--bg-secondary) !important;
    color: var(--text-heading) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .clients-table td {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .clients-table tr:hover {
    background: var(--bg-secondary) !important;
}

/* Fix cards in dark mode */
[data-theme="dark"] .card,
[data-theme="dark"] .glass-card {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .card-header h3 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .card-content {
    color: var(--text-primary) !important;
}

/* Fix empty states in dark mode */
[data-theme="dark"] .empty-state {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .empty-state h3,
[data-theme="dark"] .empty-state h4 {
    color: var(--text-heading) !important;
}

/* Fix service cards in dark mode */
[data-theme="dark"] .service-card ul li {
    color: var(--text-primary) !important;
}

/* Fix selection fields in dark mode */
[data-theme="dark"] .selection-step {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .selection-step h3 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .selection-step p {
    color: var(--text-secondary) !important;
}

/* Fix file items in dark mode */
[data-theme="dark"] .file-item {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .file-name {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .file-size {
    color: var(--text-secondary) !important;
}

/* Fix progress bars in dark mode */
[data-theme="dark"] .progress-bar-container {
    background: var(--bg-tertiary) !important;
}

[data-theme="dark"] .progress-text {
    color: var(--text-primary) !important;
}

/* Fix filters in dark mode */
[data-theme="dark"] .filter-group input,
[data-theme="dark"] .filter-group select {
    background: var(--input-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

/* Fix navigation in dark mode */
[data-theme="dark"] .nav-link {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-gold) !important;
}

/* Fix sidebar in dark mode */
[data-theme="dark"] .sidebar-link {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .sidebar-link:hover,
[data-theme="dark"] .sidebar-link.active {
    background: var(--bg-secondary) !important;
    color: var(--primary-gold) !important;
}

/* Fix contact section in dark mode */
[data-theme="dark"] .contact-item {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .contact-item h4 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .contact-item p {
    color: var(--text-secondary) !important;
}

/* Fix footer in dark mode */
[data-theme="dark"] .footer {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-top-color: var(--border-color) !important;
}

[data-theme="dark"] .footer-links a {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-gold) !important;
}

/* Ensure all text is visible in dark mode */
[data-theme="dark"] * {
    color: inherit;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-heading) !important;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div,
[data-theme="dark"] li {
    color: var(--text-primary) !important;
}

/* Fix specific hardcoded colors */
[data-theme="dark"] .text-secondary {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

/* New Content Sections Styling */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.country-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-height: 120px;
    justify-content: center;
}

.country-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--secondary-purple);
}

.country-flag {
    font-size: 3rem;
    line-height: 1;
}

.country-name {
    font-size: 1.1rem;
}

[data-theme="dark"] .country-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .country-card:hover {
    border-color: var(--secondary-purple);
    color: var(--secondary-purple);
}

/* Country Modal */
.country-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    padding: 2rem 1rem;
    align-items: flex-start;
    justify-content: center;
}

.country-modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    margin: auto;
}

[data-theme="dark"] .country-modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.country-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

[data-theme="dark"] .country-modal-header {
    background: var(--card-bg);
    border-bottom-color: var(--border-color);
}

.country-modal-header h2 {
    color: var(--secondary-purple);
    margin: 0;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.country-modal-close {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.country-modal-close:hover {
    color: var(--danger-color);
}

.country-modal-body {
    padding: 2rem;
}

[data-theme="dark"] .country-modal-body {
    color: var(--text-primary);
}

.country-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.country-overview {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-purple);
}

[data-theme="dark"] .country-overview {
    background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
    border-left-color: var(--secondary-purple);
}

.country-overview h3,
.country-section h3 {
    color: var(--secondary-purple);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
}

.country-overview p {
    line-height: 1.8;
    color: var(--text-dark);
}

[data-theme="dark"] .country-overview p {
    color: var(--text-primary);
}

.country-list {
    list-style: none;
    padding-left: 0;
}

.country-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

[data-theme="dark"] .country-list li {
    color: var(--text-primary);
}

.country-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.visa-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.visa-type-card {
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .visa-type-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.visa-type-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.visa-type-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.visa-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

[data-theme="dark"] .visa-description {
    color: var(--text-secondary);
}

.visa-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

[data-theme="dark"] .visa-details p {
    color: var(--text-primary);
}

.visa-details strong {
    color: var(--secondary-purple);
}

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

.eligibility-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-purple);
}

[data-theme="dark"] .eligibility-item {
    background: var(--bg-secondary);
    border-left-color: var(--secondary-purple);
}

.eligibility-item strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.25rem;
}

.processing-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

[data-theme="dark"] .processing-info {
    background: var(--bg-secondary);
}

.processing-info p {
    margin: 0.75rem 0;
    color: var(--text-dark);
}

[data-theme="dark"] .processing-info p {
    color: var(--text-primary);
}

.processing-info strong {
    color: var(--secondary-purple);
}

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

.settlement-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-gold);
}

[data-theme="dark"] .settlement-item {
    background: var(--bg-secondary);
    border-left-color: var(--primary-gold);
}

.settlement-item strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.25rem;
}

/* Visa Pathways Styles */
.pathways-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.pathway-category {
    margin-bottom: 3rem;
}

.pathway-category h2 {
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pathway-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

[data-theme="dark"] .pathway-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.pathway-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pathway-card i {
    font-size: 2.5rem;
    color: var(--secondary-purple);
    margin-bottom: 0.5rem;
}

.pathway-card h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.1rem;
}

[data-theme="dark"] .pathway-card h3 {
    color: var(--text-primary);
}

.pathway-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.pathway-list {
    list-style: none;
    padding-left: 0;
}

.pathway-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

[data-theme="dark"] .pathway-list li {
    color: var(--text-primary);
}

.pathway-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
}

.pathway-list.pros li:before {
    content: "✓";
    color: var(--success-color);
}

.pathway-list.cons li:before {
    content: "⚠";
    color: var(--warning-color);
}

.pathway-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.pathway-info-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-purple);
}

[data-theme="dark"] .pathway-info-item {
    background: var(--bg-secondary);
}

.pathway-info-item strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.25rem;
}

/* Study Abroad Styles */
.study-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.study-category {
    margin-bottom: 3rem;
}

.study-category h2 {
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.study-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.study-country-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="dark"] .study-country-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.study-country-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.study-flag {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.study-country-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .study-country-card h3 {
    color: var(--text-primary);
}

.study-country-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="dark"] .course-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.course-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-card i {
    font-size: 2.5rem;
    color: var(--secondary-purple);
    margin-bottom: 0.75rem;
}

.course-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .course-card h3 {
    color: var(--text-primary);
}

.course-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.study-list,
.course-list {
    list-style: none;
    padding-left: 0;
}

.study-list li,
.course-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

[data-theme="dark"] .study-list li,
[data-theme="dark"] .course-list li {
    color: var(--text-primary);
}

.study-list li:before,
.course-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Healthcare Styles */
.healthcare-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.healthcare-category {
    margin-bottom: 3rem;
}

.healthcare-category h2 {
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.healthcare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.healthcare-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="dark"] .healthcare-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.healthcare-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.healthcare-card i {
    font-size: 2.5rem;
    color: var(--secondary-purple);
    margin-bottom: 0.75rem;
}

.healthcare-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .healthcare-card h3 {
    color: var(--text-primary);
}

.healthcare-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.healthcare-list {
    list-style: none;
    padding-left: 0;
}

.healthcare-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

[data-theme="dark"] .healthcare-list li {
    color: var(--text-primary);
}

.healthcare-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.healthcare-list ol {
    padding-left: 1.5rem;
}

.healthcare-list ol li {
    padding-left: 0;
    list-style: decimal;
}

/* Visitor Visas Styles */
.visitor-visas-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.visitor-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.visitor-country-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

[data-theme="dark"] .visitor-country-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.visitor-country-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.visitor-flag {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.visitor-country-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .visitor-country-card h3 {
    color: var(--text-primary);
}

.visitor-country-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.visitor-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-gold));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.visitor-list {
    list-style: none;
    padding-left: 0;
}

.visitor-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

[data-theme="dark"] .visitor-list li {
    color: var(--text-primary);
}

.visitor-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.visitor-list.rejection li:before {
    content: "⚠";
    color: var(--danger-color);
}

.visitor-list.tips li:before {
    content: "💡";
}

@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .country-card {
        padding: 1rem;
        min-height: 100px;
    }
    
    .country-flag {
        font-size: 2rem;
    }
    
    .country-name {
        font-size: 0.9rem;
    }
    
    .country-modal {
        padding: 1rem 0.5rem;
    }
    
    .country-modal-content {
        max-height: 95vh;
    }
    
    .country-modal-header {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }
    
    .country-modal-header h2 {
        font-size: 1.4rem;
    }
    
    .country-modal-body {
        padding: 1.5rem;
    }
    
    .visa-types-grid {
        grid-template-columns: 1fr;
    }
    
    .eligibility-grid {
        grid-template-columns: 1fr;
    }
    
    .pathways-grid,
    .study-countries-grid,
    .courses-grid,
    .healthcare-grid,
    .visitor-countries-grid {
        grid-template-columns: 1fr;
    }
}

/* Work & Settle Styles */
.work-settle-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.work-settle-category {
    margin-bottom: 3rem;
}

.work-settle-category h2 {
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.work-category-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

[data-theme="dark"] .work-category-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.work-category-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.work-category-card i {
    font-size: 2.5rem;
    color: var(--secondary-purple);
    margin-bottom: 0.5rem;
}

.work-category-card h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.1rem;
}

[data-theme="dark"] .work-category-card h3 {
    color: var(--text-primary);
}

.work-category-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.work-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.work-country-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

[data-theme="dark"] .work-country-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.work-country-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.work-flag {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.work-country-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

[data-theme="dark"] .work-country-card h3 {
    color: var(--text-primary);
}

.work-country-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.work-settle-list {
    list-style: none;
    padding-left: 0;
}

.work-settle-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

[data-theme="dark"] .work-settle-list li {
    color: var(--text-primary);
}

.work-settle-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.work-settle-list.benefits li:before {
    content: "✓";
    color: var(--success-color);
}

.work-permit-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

[data-theme="dark"] .work-permit-info {
    background: var(--bg-secondary);
}

.work-permit-info h4 {
    color: var(--secondary-purple);
    margin-bottom: 0.75rem;
}

.work-permit-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.work-permit-item {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-purple);
}

[data-theme="dark"] .work-permit-item {
    background: var(--card-bg);
}

.work-permit-item strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.25rem;
}

.settlement-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.settlement-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-gold);
}

[data-theme="dark"] .settlement-item {
    background: var(--bg-secondary);
    border-left-color: var(--primary-gold);
}

.settlement-item strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.25rem;
}

.work-settle-section.special-note {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(212, 175, 55, 0.1));
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-purple);
}

[data-theme="dark"] .work-settle-section.special-note {
    background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
}

@media (max-width: 768px) {
    .work-categories-grid,
    .work-countries-grid {
        grid-template-columns: 1fr;
    }
    
    .work-permit-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Section Styles */
.home-hero {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .home-hero {
    background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
    border-color: var(--border-color);
}

.home-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.home-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.home-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
}

.home-main-headline {
    color: var(--secondary-purple);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

[data-theme="dark"] .home-main-headline {
    color: var(--text-heading);
}

.home-tagline {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

[data-theme="dark"] .home-tagline {
    color: var(--text-primary);
}

.home-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

[data-theme="dark"] .home-subtitle {
    color: var(--text-secondary);
}

/* Quick Navigation */
.home-quick-nav {
    margin-bottom: 3rem;
}

.home-quick-nav h2 {
    color: var(--secondary-purple);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.quick-nav-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

[data-theme="dark"] .quick-nav-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.quick-nav-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-nav-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.quick-nav-icon.eligibility {
    background: linear-gradient(135deg, #10b981, #059669);
}

.quick-nav-icon.countries {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.quick-nav-icon.pathways {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.quick-nav-icon.calculators {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.quick-nav-icon.study {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.quick-nav-icon.healthcare {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.quick-nav-icon.work {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.quick-nav-icon.documents {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.quick-nav-card h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.2rem;
}

[data-theme="dark"] .quick-nav-card h3 {
    color: var(--text-primary);
}

.quick-nav-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

[data-theme="dark"] .quick-nav-card p {
    color: var(--text-secondary);
}

.quick-nav-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--secondary-purple);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-nav-card:hover .quick-nav-arrow {
    opacity: 1;
}

/* Home Features */
.home-features {
    margin-bottom: 3rem;
}

.home-features h2 {
    color: var(--secondary-purple);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .feature-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.feature-card:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-purple);
    margin-bottom: 1rem;
}

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

[data-theme="dark"] .feature-card h3 {
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .feature-card p {
    color: var(--text-secondary);
}

/* Home Stats */
.home-stats {
    margin-bottom: 3rem;
}

.home-stats h2 {
    color: var(--secondary-purple);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.stat-card {
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-gold));
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
}

/* Home CTA */
.home-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .home-cta {
    background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
    border-color: var(--border-color);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--secondary-purple);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

[data-theme="dark"] .cta-content p {
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .home-main-headline {
        font-size: 1.8rem;
    }
    
    .home-tagline {
        font-size: 1.1rem;
    }
    
    .home-subtitle {
        font-size: 1rem;
    }
    
    .quick-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Mistakes & Rejections Styles */
.mistakes-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.mistakes-category {
    margin-bottom: 3rem;
}

.mistakes-category h2 {
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.mistake-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

[data-theme="dark"] .mistake-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.mistake-card:hover {
    border-color: var(--danger-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mistake-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.mistake-icon.rejection {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.mistake-icon.country {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.mistake-icon.ielts {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.mistake-icon.document {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.mistake-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.mistake-icon.reapply {
    background: linear-gradient(135deg, #10b981, #059669);
}

.mistake-card h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.1rem;
}

[data-theme="dark"] .mistake-card h3 {
    color: var(--text-primary);
}

.mistake-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.mistakes-warning-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border: 2px solid var(--warning-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 2rem;
}

[data-theme="dark"] .mistakes-warning-box {
    background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
    border-color: var(--warning-color);
}

.warning-icon {
    font-size: 2.5rem;
    color: var(--warning-color);
    flex-shrink: 0;
}

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

.warning-content p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .warning-content p {
    color: var(--text-primary);
}

/* Mistake Details Styles */
.mistake-list {
    list-style: none;
    padding-left: 0;
}

.mistake-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

[data-theme="dark"] .mistake-list li {
    color: var(--text-primary);
}

.mistake-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.mistake-list.tips li:before {
    content: "✓";
    color: var(--success-color);
}

.mistake-list.urgent li:before {
    content: "⚠";
    color: var(--danger-color);
}

.mistake-list.numbered {
    list-style: decimal;
    padding-left: 1.5rem;
}

.mistake-list.numbered li {
    padding-left: 0.5rem;
}

.mistake-list.numbered li:before {
    display: none;
}

.rejection-reasons-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.rejection-reason-item {
    background: #f8f9fa;
    border-left: 4px solid var(--danger-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

[data-theme="dark"] .rejection-reason-item {
    background: var(--bg-secondary);
    border-left-color: var(--danger-color);
}

.reason-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.reason-number {
    background: var(--danger-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.reason-header h4 {
    margin: 0;
    color: var(--text-dark);
    flex: 1;
}

[data-theme="dark"] .reason-header h4 {
    color: var(--text-primary);
}

.reason-percentage {
    color: var(--danger-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.reason-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

[data-theme="dark"] .reason-description {
    color: var(--text-secondary);
}

.reason-solution {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success-color);
    padding: 1rem;
    border-radius: var(--border-radius);
}

[data-theme="dark"] .reason-solution {
    background: rgba(16, 185, 129, 0.2);
}

.reason-solution strong {
    color: var(--success-color);
    display: block;
    margin-bottom: 0.5rem;
}

.reason-solution p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

[data-theme="dark"] .reason-solution p {
    color: var(--text-primary);
}

.country-mistake-card {
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .country-mistake-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.country-mistake-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.mistake-subsection {
    margin-top: 1rem;
}

.mistake-subsection strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.5rem;
}

.mistake-item-card {
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .mistake-item-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.mistake-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mistake-item-header h4 {
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

[data-theme="dark"] .mistake-item-header h4 {
    color: var(--text-primary);
}

.impact-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.impact-badge.high {
    background: #fee2e2;
    color: #991b1b;
}

.impact-badge.medium {
    background: #fef3c7;
    color: #92400e;
}

.mistake-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

[data-theme="dark"] .mistake-description {
    color: var(--text-secondary);
}

.mistake-examples {
    background: rgba(59, 130, 246, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

[data-theme="dark"] .mistake-examples {
    background: rgba(59, 130, 246, 0.2);
}

.mistake-examples strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.5rem;
}

.mistake-solution {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success-color);
    padding: 1rem;
    border-radius: var(--border-radius);
}

[data-theme="dark"] .mistake-solution {
    background: rgba(16, 185, 129, 0.2);
}

.mistake-solution strong {
    color: var(--success-color);
    display: block;
    margin-bottom: 0.5rem;
}

.mistake-solution p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

[data-theme="dark"] .mistake-solution p {
    color: var(--text-primary);
}

.red-flag-card {
    background: #fee2e2;
    border: 2px solid var(--danger-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .red-flag-card {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--danger-color);
}

.red-flag-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.red-flag-header i {
    color: var(--danger-color);
    font-size: 1.5rem;
}

.red-flag-header h4 {
    color: var(--danger-color);
    margin: 0;
}

.flag-description {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

[data-theme="dark"] .flag-description {
    color: var(--text-primary);
}

.flag-explanation {
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: var(--border-radius);
}

[data-theme="dark"] .flag-explanation {
    background: rgba(0, 0, 0, 0.2);
}

.flag-explanation strong {
    color: var(--danger-color);
    display: block;
    margin-bottom: 0.5rem;
}

.flag-explanation p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

[data-theme="dark"] .flag-explanation p {
    color: var(--text-primary);
}

.regulatory-bodies-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.regulatory-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-purple);
}

[data-theme="dark"] .regulatory-item {
    background: var(--bg-secondary);
}

.regulatory-item strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.25rem;
}

.warning-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border: 2px solid var(--warning-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

[data-theme="dark"] .warning-section {
    background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
    border-color: var(--warning-color);
}

.reapply-situation-card {
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
}

.reapply-situation-card.can-reapply {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success-color);
}

.reapply-situation-card.cannot-reapply {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger-color);
}

[data-theme="dark"] .reapply-situation-card.can-reapply {
    background: rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .reapply-situation-card.cannot-reapply {
    background: rgba(239, 68, 68, 0.2);
}

.situation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.situation-header h4 {
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

[data-theme="dark"] .situation-header h4 {
    color: var(--text-primary);
}

.reapply-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.reapply-badge.yes {
    background: #d1fae5;
    color: #065f46;
}

.reapply-badge.no {
    background: #fee2e2;
    color: #991b1b;
}

.situation-details p {
    color: var(--text-dark);
    margin: 0.5rem 0;
    line-height: 1.6;
}

[data-theme="dark"] .situation-details p {
    color: var(--text-primary);
}

.situation-note {
    font-style: italic;
    color: var(--warning-color) !important;
}

.score-requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.score-requirement-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-purple);
}

[data-theme="dark"] .score-requirement-item {
    background: var(--bg-secondary);
}

.score-requirement-item strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.25rem;
}

.appeal-option-card {
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

[data-theme="dark"] .appeal-option-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.appeal-option-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 0.75rem;
}

.appeal-option-card p {
    color: var(--text-dark);
    margin: 0.5rem 0;
    line-height: 1.6;
}

[data-theme="dark"] .appeal-option-card p {
    color: var(--text-primary);
}

.appeal-option-card strong {
    color: var(--secondary-purple);
}

@media (max-width: 768px) {
    .mistakes-grid {
        grid-template-columns: 1fr;
    }
    
    .mistakes-warning-box {
        flex-direction: column;
    }
    
    .reason-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mistake-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .situation-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .score-requirements-grid {
        grid-template-columns: 1fr;
    }
}

/* News & Updates Styles */
.news-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.news-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .news-filters {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="dark"] .filter-group label {
    color: var(--text-primary);
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    background: white;
    color: var(--text-dark);
}

[data-theme="dark"] .filter-group select,
[data-theme="dark"] .filter-group input {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--secondary-purple);
}

.news-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-gold));
    color: white;
    border-radius: var(--border-radius);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-label {
    font-weight: 600;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.news-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

[data-theme="dark"] .news-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.news-item:hover {
    border-color: var(--secondary-purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.news-country-badge,
.news-category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-country-badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-purple);
    border: 1px solid var(--secondary-purple);
}

.news-category-badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
}

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

[data-theme="dark"] .news-date {
    color: var(--text-secondary);
}

.news-title {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

[data-theme="dark"] .news-title {
    color: var(--text-primary);
}

.news-summary {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

[data-theme="dark"] .news-summary {
    color: var(--text-secondary);
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.news-source {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="dark"] .news-source {
    color: var(--text-secondary);
}

.btn-read-more {
    background: transparent;
    border: 2px solid var(--secondary-purple);
    color: var(--secondary-purple);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-read-more:hover {
    background: var(--secondary-purple);
    color: white;
}

.news-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
    color: var(--text-light);
}

.news-loading i {
    font-size: 2rem;
    color: var(--secondary-purple);
}

.no-news-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-news-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.no-news-results h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .no-news-results h3 {
    color: var(--text-primary);
}

/* News Detail Modal */
.news-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-detail-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.news-detail-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-detail-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

[data-theme="dark"] .news-detail-meta {
    color: var(--text-secondary);
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-detail-content {
    line-height: 1.8;
}

.news-detail-summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--secondary-purple);
    border-radius: var(--border-radius);
}

.news-detail-full {
    color: var(--text-dark);
    font-size: 1rem;
}

[data-theme="dark"] .news-detail-full {
    color: var(--text-primary);
}

.news-detail-full p {
    margin-bottom: 1rem;
}

.news-detail-footer {
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

@media (max-width: 768px) {
    .news-filters {
        grid-template-columns: 1fr;
    }
    
    .news-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .news-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.eligibility-content,
.pathways-content,
.study-content,
.work-settle-content,
.healthcare-content,
.calculators-content,
.visitor-visas-content,
.news-content,
.mistakes-content,
.faqs-content,
.laws-content,
.contact-content,
.welcome-content {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Interactive FAQ Styles */
.faq-search-container {
    margin-bottom: 2rem;
}

.faq-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.faq-search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 1;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background-white);
    color: var(--text-dark);
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--secondary-purple);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.faq-clear-search {
    position: absolute;
    right: 1rem;
    background: var(--text-light);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.faq-clear-search:hover {
    background: var(--danger-color);
    transform: scale(1.1);
}

.faq-results-count {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: right;
    margin-top: 0.5rem;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.faq-category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--background-white);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn i {
    font-size: 0.9rem;
}

.faq-category-btn:hover {
    border-color: var(--secondary-purple);
    color: var(--secondary-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.faq-category-btn.active {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, #3B82F6 100%);
    border-color: var(--secondary-purple);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--background-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--secondary-purple);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--background-white);
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.faq-category-badge i {
    font-size: 0.7rem;
}

.category-eligibility {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.category-visa {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.category-language {
    background: rgba(168, 85, 247, 0.1);
    color: #9333ea;
}

.category-age {
    background: rgba(236, 72, 153, 0.1);
    color: #db2777;
}

.category-pr {
    background: rgba(212, 175, 55, 0.1);
    color: #b8941f;
}

.category-work {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.category-process {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.faq-chevron {
    font-size: 1.2rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8f9fa;
}

.faq-answer.active {
    max-height: 2000px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer-intro {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.faq-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.faq-details-list li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.faq-details-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.1rem;
}

.faq-detail-item {
    padding: 0.5rem 0 0.5rem 0 !important;
    margin-left: 0 !important;
    border-bottom: none !important;
}

.faq-detail-item::before {
    display: none;
}

.faq-section-header {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-purple);
    margin: 1.5rem 0 0.75rem 0;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--border-color);
}

.faq-comparison-table {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--background-white);
}

.faq-table-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1px;
    background: var(--border-color);
}

.faq-table-header {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, #3B82F6 100%);
    color: white;
    font-weight: 600;
}

.faq-table-cell {
    padding: 0.75rem;
    background: var(--background-white);
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

.faq-table-header .faq-table-cell {
    background: transparent;
    color: white;
}

.faq-table-label {
    font-weight: 600;
    background: #f8f9fa !important;
    color: var(--secondary-purple);
}

.faq-text-line {
    padding: 0.5rem 0;
    color: var(--text-primary);
    line-height: 1.6;
}

.faq-table-wrapper {
    margin: 1rem 0;
}

[data-theme="dark"] .faq-table-cell {
    background: var(--card-bg);
    color: var(--text-primary);
}

[data-theme="dark"] .faq-table-label {
    background: rgba(59, 130, 246, 0.1) !important;
    color: var(--secondary-purple);
}

[data-theme="dark"] .faq-section-header {
    color: var(--text-heading);
    border-bottom-color: var(--border-color);
}

.faq-related {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--secondary-purple);
    border-radius: 8px;
}

.faq-related strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-purple);
    font-size: 0.95rem;
}

.faq-related a {
    color: var(--secondary-purple);
    text-decoration: none;
    font-weight: 500;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.faq-related a:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

.faq-highlight {
    background: #fef08a;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.faq-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.faq-no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.faq-no-results h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.faq-no-results p {
    margin: 0;
    font-size: 1rem;
}

/* Dark Mode FAQ Styles */
[data-theme="dark"] .faq-search-input {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .faq-search-input:focus {
    border-color: var(--secondary-purple);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .faq-category-btn {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .faq-category-btn:hover {
    border-color: var(--secondary-purple);
    color: var(--text-heading);
}

[data-theme="dark"] .faq-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .faq-question {
    background: var(--card-bg);
}

[data-theme="dark"] .faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

[data-theme="dark"] .faq-question h3 {
    color: var(--text-heading);
}

[data-theme="dark"] .faq-answer {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .faq-details-list li {
    color: var(--text-primary);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .faq-related {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--secondary-purple);
}

[data-theme="dark"] .faq-highlight {
    background: rgba(212, 175, 55, 0.3);
    color: var(--primary-gold);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-categories {
        gap: 0.5rem;
    }
    
    .faq-category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer-content {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
}

[data-theme="dark"] .eligibility-content,
[data-theme="dark"] .pathways-content,
[data-theme="dark"] .study-content,
[data-theme="dark"] .work-settle-content,
[data-theme="dark"] .healthcare-content,
[data-theme="dark"] .calculators-content,
[data-theme="dark"] .visitor-visas-content,
[data-theme="dark"] .news-content,
[data-theme="dark"] .mistakes-content,
[data-theme="dark"] .faqs-content,
[data-theme="dark"] .laws-content,
[data-theme="dark"] .contact-content,
[data-theme="dark"] .welcome-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.eligibility-content h2,
.pathways-content h2,
.study-content h2,
.work-settle-content h2,
.healthcare-content h2,
.calculators-content h2,
.visitor-visas-content h2,
.news-content h2,
.mistakes-content h2,
.faqs-content h2,
.laws-content h2,
.contact-content h2 {
    color: var(--secondary-purple);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.eligibility-content ul,
.pathways-content ul,
.study-content ul,
.work-settle-content ul,
.healthcare-content ul,
.calculators-content ul,
.visitor-visas-content ul,
.news-content ul,
.mistakes-content ul,
.faqs-content ul,
.laws-content ul,
.contact-content ul {
    list-style: none;
    padding-left: 0;
}

.eligibility-content li,
.pathways-content li,
.study-content li,
.work-settle-content li,
.healthcare-content li,
.calculators-content li,
.visitor-visas-content li,
.news-content li,
.mistakes-content li,
.faqs-content li,
.laws-content li,
.contact-content li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.eligibility-content li:before,
.pathways-content li:before,
.study-content li:before,
.work-settle-content li:before,
.healthcare-content li:before,
.calculators-content li:before,
.visitor-visas-content li:before,
.news-content li:before,
.mistakes-content li:before,
.faqs-content li:before,
.laws-content li:before,
.contact-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
}

@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

/* Eligibility Checker Styles */
.eligibility-checker-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.eligibility-form-wrapper {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

[data-theme="dark"] .eligibility-form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.eligibility-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

[data-theme="dark"] .form-group label {
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    color: var(--text-dark);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-purple);
}

.bands-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.bands-row input {
    text-align: center;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Results Display */
.eligibility-results {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

[data-theme="dark"] .eligibility-results {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.results-header h2 {
    color: var(--secondary-purple);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.country-result-card {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .country-result-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.country-result-header h3 {
    color: var(--secondary-purple);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.programs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.program-result {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--border-color);
}

[data-theme="dark"] .program-result {
    background: var(--card-bg);
}

.program-result.eligible {
    border-left-color: var(--success-color);
}

.program-result.borderline {
    border-left-color: var(--warning-color);
}

.program-result.not-eligible {
    border-left-color: var(--danger-color);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.status-icon {
    font-size: 1.5rem;
}

.program-header h4 {
    flex: 1;
    margin: 0;
    color: var(--text-dark);
}

[data-theme="dark"] .program-header h4 {
    color: var(--text-primary);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.eligible {
    background: #d4edda;
    color: #155724;
}

.status-badge.borderline {
    background: #fff3cd;
    color: #856404;
}

.status-badge.not-eligible {
    background: #f8d7da;
    color: #721c24;
}

.score-display {
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-gold));
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.reasons,
.improvements {
    margin-top: 1rem;
}

.reasons strong,
.improvements strong {
    color: var(--secondary-purple);
    display: block;
    margin-bottom: 0.5rem;
}

.reasons ul,
.improvements ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.reasons li,
.improvements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

[data-theme="dark"] .reasons li,
[data-theme="dark"] .improvements li {
    color: var(--text-primary);
}

.reasons li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.improvements li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .bands-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .program-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Points & Calculators Styles */
.calculators-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.calculator-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.calc-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="dark"] .calc-tab {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.calc-tab:hover {
    background: #f8f9fa;
    border-color: var(--secondary-purple);
}

[data-theme="dark"] .calc-tab:hover {
    background: var(--bg-secondary);
}

.calc-tab.active {
    background: var(--secondary-purple);
    color: white;
    border-color: var(--secondary-purple);
}

.calculator-panel {
    display: none;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

[data-theme="dark"] .calculator-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.calculator-panel.active {
    display: block;
}

.calc-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.calc-header h2 {
    color: var(--secondary-purple);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calc-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.calculator-form {
    max-width: 900px;
}

.calc-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.calc-section:last-child {
    border-bottom: none;
}

.calc-section h3 {
    color: var(--secondary-purple);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.calc-section h4 {
    color: var(--text-dark);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

[data-theme="dark"] .calc-section h4 {
    color: var(--text-primary);
}

.points-display {
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-gold));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    margin-top: 0.5rem;
    text-align: center;
    font-size: 1.1rem;
}

.calc-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.calc-result {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--border-color);
}

[data-theme="dark"] .calc-result {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.calc-result-content.eligible {
    border-left-color: var(--success-color);
}

.calc-result-content.borderline {
    border-left-color: var(--warning-color);
}

.calc-result-content.not-eligible {
    border-left-color: var(--danger-color);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.result-header h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.5rem;
}

[data-theme="dark"] .result-header h3 {
    color: var(--text-primary);
}

.result-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.result-status.eligible {
    background: #d4edda;
    color: #155724;
}

.result-status.borderline {
    background: #fff3cd;
    color: #856404;
}

.result-status.not-eligible {
    background: #f8d7da;
    color: #721c24;
}

.result-breakdown,
.result-improvements {
    margin-top: 1.5rem;
}

.result-breakdown h4,
.result-improvements h4 {
    color: var(--secondary-purple);
    margin-bottom: 0.75rem;
}

.result-breakdown ul,
.result-improvements ul {
    list-style: none;
    padding-left: 0;
}

.result-breakdown li,
.result-improvements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

[data-theme="dark"] .result-breakdown li,
[data-theme="dark"] .result-improvements li {
    color: var(--text-primary);
}

.result-breakdown li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.result-improvements li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

/* Points Tables */
.points-tables-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.points-table-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .points-table-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.points-table-card h3 {
    color: var(--secondary-purple);
    margin-bottom: 1rem;
    text-align: center;
}

.points-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.points-table thead {
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-gold));
    color: white;
}

.points-table th,
.points-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.points-table tbody tr:hover {
    background: #f8f9fa;
}

[data-theme="dark"] .points-table tbody tr:hover {
    background: var(--bg-secondary);
}

.points-table .total-row {
    font-weight: 700;
    background: #f8f9fa;
    border-top: 2px solid var(--secondary-purple);
}

[data-theme="dark"] .points-table .total-row {
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    .calculator-tabs {
        flex-direction: column;
    }
    
    .calc-tab {
        width: 100%;
        border-radius: var(--border-radius);
    }
    
    .points-tables-container {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   ABOUT MIGRATION LAWS - INTERACTIVE STYLES
   ============================================ */

/* Laws Container */
.laws-container {
    padding: 20px;
}

.laws-category {
    margin-bottom: 30px;
}

.laws-category h2 {
    color: var(--secondary-purple);
    margin-bottom: 20px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.law-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
    justify-content: center;
}

.law-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-purple);
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

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

.law-icon.basics {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.law-icon.pr {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.law-icon.validity {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.law-icon.overstay {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.law-icon.conditions {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: white;
}

.law-icon.rights {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.law-icon.family {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

.law-icon.disclaimer {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #333;
}

.law-card:hover .law-icon {
    transform: scale(1.1) rotate(5deg);
}

.law-card h3 {
    color: var(--text-dark);
    margin: 10px 0;
    font-size: 1.3rem;
}

.law-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Dark mode for law cards */
[data-theme="dark"] .law-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .law-card:hover {
    background: var(--bg-dark-hover);
    border-color: var(--secondary-purple);
}

[data-theme="dark"] .law-card h3 {
    color: var(--text-heading);
}

[data-theme="dark"] .law-card p {
    color: var(--text-primary);
}

/* Laws Important Notice */
.laws-important-notice {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-left: 4px solid var(--secondary-purple);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.laws-important-notice .notice-icon {
    font-size: 2rem;
    color: var(--secondary-purple);
    flex-shrink: 0;
}

.laws-important-notice .notice-content h3 {
    color: var(--secondary-purple);
    margin-bottom: 10px;
}

.laws-important-notice .notice-content p {
    color: var(--text-light);
    line-height: 1.6;
}

[data-theme="dark"] .laws-important-notice {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--secondary-purple);
}

[data-theme="dark"] .laws-important-notice .notice-content h3 {
    color: var(--text-heading);
}

[data-theme="dark"] .laws-important-notice .notice-content p {
    color: var(--text-primary);
}

/* Law Details Modal Content */
.law-details {
    padding: 10px 0;
}

.law-overview {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    border-left: 4px solid var(--secondary-purple);
}

.law-overview h3 {
    color: var(--secondary-purple);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.law-overview p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

[data-theme="dark"] .law-overview {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--secondary-purple);
}

[data-theme="dark"] .law-overview p {
    color: var(--text-primary);
}

.law-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.law-section:last-child {
    border-bottom: none;
}

.law-section h3 {
    color: var(--secondary-purple);
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .law-section h3 {
    color: var(--text-heading);
}

/* Concept Cards */
.concept-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 3px solid var(--secondary-purple);
}

.concept-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.concept-card p {
    color: var(--text-light);
    line-height: 1.6;
}

[data-theme="dark"] .concept-card {
    background: var(--card-bg);
    border-color: var(--secondary-purple);
}

[data-theme="dark"] .concept-card h4 {
    color: var(--text-heading);
}

[data-theme="dark"] .concept-card p {
    color: var(--text-primary);
}

/* Law Lists */
.law-list {
    list-style: none;
    padding-left: 0;
}

.law-list li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

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

.law-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.law-list.urgent li:before {
    content: "⚠";
    color: var(--danger-color);
}

.law-list.tips li:before {
    content: "💡";
}

[data-theme="dark"] .law-list li {
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Rights & Obligations Grid */
.rights-obligations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.rights-box, .obligations-box {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.rights-box {
    border-left: 4px solid var(--success-color);
}

.obligations-box {
    border-left: 4px solid var(--warning-color);
}

.rights-box h4, .obligations-box h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.rights-box h4 i {
    color: var(--success-color);
}

.obligations-box h4 i {
    color: var(--warning-color);
}

[data-theme="dark"] .rights-box,
[data-theme="dark"] .obligations-box {
    background: var(--card-bg);
}

[data-theme="dark"] .rights-box h4,
[data-theme="dark"] .obligations-box h4 {
    color: var(--text-heading);
}

/* Requirements Box */
.requirements-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border-left: 4px solid var(--info-color);
}

.requirements-box h4 {
    color: var(--secondary-purple);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .requirements-box {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--info-color);
}

/* Comparison Table */
.law-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.law-comparison-table th {
    background: var(--secondary-purple);
    color: white;
    font-weight: 600;
}

.law-comparison-table tr:last-child td {
    border-bottom: none;
}

.law-comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

[data-theme="dark"] .law-comparison-table {
    background: var(--card-bg);
}

[data-theme="dark"] .law-comparison-table th {
    background: var(--secondary-purple);
}

[data-theme="dark"] .law-comparison-table td {
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .law-comparison-table tr:nth-child(even) {
    background: var(--bg-dark-secondary);
}

/* Country Law Cards */
.country-law-card,
.country-validity-card,
.country-overstay-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-purple);
}

.country-law-card h4,
.country-validity-card h4,
.country-overstay-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.country-law-details,
.validity-rules,
.overstay-details {
    color: var(--text-light);
    line-height: 1.7;
}

.country-law-details p,
.validity-rules p,
.overstay-details p {
    margin-bottom: 10px;
}

.overstay-advice {
    background: #fff3cd;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    border-left: 3px solid var(--warning-color);
}

.overstay-advice strong {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.overstay-advice p {
    margin: 0;
    color: var(--text-dark);
}

[data-theme="dark"] .country-law-card,
[data-theme="dark"] .country-validity-card,
[data-theme="dark"] .country-overstay-card {
    background: var(--card-bg);
    border-color: var(--secondary-purple);
}

[data-theme="dark"] .country-law-details,
[data-theme="dark"] .validity-rules,
[data-theme="dark"] .overstay-details {
    color: var(--text-primary);
}

[data-theme="dark"] .overstay-advice {
    background: rgba(255, 193, 7, 0.2);
    border-color: var(--warning-color);
}

[data-theme="dark"] .overstay-advice strong,
[data-theme="dark"] .overstay-advice p {
    color: var(--text-primary);
}

/* Validity Type Cards */
.validity-type-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--info-color);
}

.validity-type-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 10px;
}

.validity-type-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.validity-example {
    background: #e7f3ff;
    padding: 10px;
    border-radius: var(--border-radius);
    font-style: italic;
    color: var(--text-dark);
}

[data-theme="dark"] .validity-type-card {
    background: var(--card-bg);
    border-color: var(--info-color);
}

[data-theme="dark"] .validity-example {
    background: rgba(23, 162, 184, 0.2);
    color: var(--text-primary);
}

/* Date Importance Cards */
.date-importance-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

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

.date-header h4 {
    color: var(--secondary-purple);
    margin: 0;
}

.importance-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.importance-badge.critical {
    background: var(--danger-color);
    color: white;
}

.importance-badge.important {
    background: var(--warning-color);
    color: var(--text-dark);
}

[data-theme="dark"] .date-importance-card {
    background: var(--card-bg);
}

/* Consequence Cards */
.consequence-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.consequence-card.immediate {
    border-left: 4px solid var(--danger-color);
}

.consequence-card.long-term {
    border-left: 4px solid var(--warning-color);
}

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

.consequence-header h4 {
    color: var(--text-dark);
    margin: 0;
}

.severity-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.severity-badge.very-high {
    background: var(--danger-color);
    color: white;
}

.severity-badge.high {
    background: #ff6b6b;
    color: white;
}

.duration-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--info-color);
    color: white;
}

.consequence-impact {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

[data-theme="dark"] .consequence-card {
    background: var(--card-bg);
}

[data-theme="dark"] .consequence-header h4 {
    color: var(--text-heading);
}

[data-theme="dark"] .consequence-impact {
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Condition Cards */
.condition-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-purple);
}

.condition-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 10px;
}

.condition-examples {
    background: #f8f9fa;
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 15px 0;
}

.condition-violation {
    background: #fff3cd;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    border-left: 3px solid var(--warning-color);
}

.condition-violation strong {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.condition-violation p {
    margin: 0;
    color: var(--text-dark);
}

[data-theme="dark"] .condition-card {
    background: var(--card-bg);
    border-color: var(--secondary-purple);
}

[data-theme="dark"] .condition-examples {
    background: var(--bg-dark-secondary);
}

[data-theme="dark"] .condition-violation {
    background: rgba(255, 193, 7, 0.2);
    border-color: var(--warning-color);
}

[data-theme="dark"] .condition-violation strong,
[data-theme="dark"] .condition-violation p {
    color: var(--text-primary);
}

/* Restrictions Grid */
.restrictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.restriction-item {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 3px solid var(--info-color);
    line-height: 1.6;
}

.restriction-item strong {
    color: var(--secondary-purple);
}

[data-theme="dark"] .restriction-item {
    background: var(--card-bg);
    border-color: var(--info-color);
}

/* Right & Obligation Cards */
.right-card,
.obligation-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.right-card {
    border-left: 4px solid var(--success-color);
}

.obligation-card {
    border-left: 4px solid var(--warning-color);
}

.right-card h4,
.obligation-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 10px;
}

.right-details,
.obligation-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

[data-theme="dark"] .right-card,
[data-theme="dark"] .obligation-card {
    background: var(--card-bg);
}

[data-theme="dark"] .right-details,
[data-theme="dark"] .obligation-details {
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Family Right Cards */
.family-right-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid #ff6b9d;
}

.family-right-card h4 {
    color: var(--secondary-purple);
    margin-bottom: 10px;
}

.family-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

[data-theme="dark"] .family-right-card {
    background: var(--card-bg);
    border-color: #ff6b9d;
}

[data-theme="dark"] .family-details {
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Age Limits Grid */
.age-limits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.age-limit-item {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 3px solid var(--info-color);
    line-height: 1.6;
}

.age-limit-item strong {
    color: var(--secondary-purple);
}

[data-theme="dark"] .age-limit-item {
    background: var(--card-bg);
    border-color: var(--info-color);
}

/* Warning Section */
.warning-section {
    background: #fff3cd;
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--warning-color);
    margin: 20px 0;
}

.warning-section h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .warning-section {
    background: rgba(255, 193, 7, 0.2);
    border-color: var(--warning-color);
}

[data-theme="dark"] .warning-section h3 {
    color: var(--text-heading);
}

/* Responsive Design for Laws Section */
@media (max-width: 768px) {
    .laws-grid {
        grid-template-columns: 1fr;
    }
    
    .rights-obligations-grid {
        grid-template-columns: 1fr;
    }
    
    .restrictions-grid,
    .age-limits-grid {
        grid-template-columns: 1fr;
    }
    
    .law-comparison-table {
        font-size: 0.9rem;
    }
    
    .law-comparison-table th,
    .law-comparison-table td {
        padding: 10px;
    }
    
    .date-header,
    .consequence-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}