/* ChatGPT-Style Interface with Light/Dark Mode Support */

:root {
    /* Light theme variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f8;
    --bg-tertiary: #ececf1;
    --bg-sidebar: #f7f7f8;
    --bg-input: #ffffff;
    --bg-hover: #f5f5f5;
    --bg-active: #ececf1;
    --bg-user-message: #19c37d;
    --bg-ai-message: #f7f7f8;
    --text-primary: #343541;
    --text-secondary: #565869;
    --text-tertiary: #8e8ea0;
    --text-user: #ffffff;
    --text-ai: #343541;
    --border-light: #e5e5e5;
    --border-medium: #d1d5db;
    --border-dark: #c5c5d2;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --accent-green: #19c37d;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;
    --accent-orange: #f59e0b;
    --accent-yellow: #f59e0b;
    --accent-purple: #8b5cf6;
}

[data-theme="dark"] {
    /* Enhanced dark theme variables with better contrast */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #404040;
    --bg-sidebar: #1f1f1f;
    --bg-input: #404040;
    --bg-hover: #4a4a4a;
    --bg-active: #555555;
    --bg-user-message: #19c37d;
    --bg-ai-message: #404040;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #b0b0b0;
    --text-user: #ffffff;
    --text-ai: #ffffff;
    --border-light: #555555;
    --border-medium: #666666;
    --border-dark: #777777;
    --shadow-light: rgba(0, 0, 0, 0.4);
    --shadow-medium: rgba(0, 0, 0, 0.6);
    --accent-green: #20d687;
    --accent-blue: #4da6d9;
    --accent-red: #ff5757;
    --accent-orange: #ffa726;
    --accent-yellow: #ffee58;
    --accent-purple: #ab47bc;
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 20px;
}

.login-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 20px 40px var(--shadow-light);
    padding: 48px;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
}

/* Form Styles */
.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 16px; /* Minimum 16px to prevent mobile zoom */
    background: var(--bg-input);
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-green);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-green);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #16a869;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: var(--text-tertiary);
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* Enhanced button contrast for dark theme */
[data-theme="dark"] .btn-primary {
    background: var(--accent-green);
    color: #ffffff;
    border: 2px solid transparent;
}

[data-theme="dark"] .btn-primary:hover:not(:disabled) {
    background: #1db574;
    box-shadow: 0 4px 16px rgba(32, 214, 135, 0.4);
    border-color: rgba(32, 214, 135, 0.5);
}

[data-theme="dark"] .btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--bg-active);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

/* Error and Success Messages */
.error-message {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin: 16px 0;
    border-left: 4px solid var(--accent-red);
    text-align: left;
}

.success-message {
    color: var(--accent-green);
    background: rgba(25, 195, 125, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin: 16px 0;
    border-left: 4px solid var(--accent-green);
    text-align: left;
}

/* Theme Selector */
.theme-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.theme-selector label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.theme-selector select {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 12px;
    cursor: pointer;
}

/* Loading Animation */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-tertiary);
    font-style: italic;
}

.typing-dots {
    display: flex;
    gap: 2px;
}

.typing-dot {
    width: 4px;
    height: 4px;
    background: var(--text-tertiary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Responsive Design for Login */
@media (max-width: 640px) {
    .login-container {
        padding: 16px;
    }
    
    .login-box {
        padding: 32px 24px;
        max-width: 100%;
    }
    
    .form-group input {
        font-size: 16px; /* Ensure 16px on mobile to prevent zoom */
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* Links */
a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #16a869;
    text-decoration: underline;
}/* Corporate Landing Page Styles for Momentum Dynamic Performance */

/* Color Scheme inspired by logo - Blues and Professional Tones */
:root {
    --corporate-primary: #1e4d72;      /* Deep blue from logo */
    --corporate-secondary: #2980b9;     /* Lighter blue from logo */
    --corporate-accent: #3498db;        /* Bright blue accent */
    --corporate-success: #27ae60;       /* Success green */
    --corporate-warning: #f39c12;       /* Warning orange */
    --corporate-danger: #e74c3c;        /* Danger red */
    --corporate-dark: #2c3e50;          /* Dark text */
    --corporate-light: #ecf0f1;         /* Light background */
    --corporate-white: #ffffff;         /* Pure white */
    --corporate-gray-100: #f8f9fa;      /* Light gray */
    --corporate-gray-200: #e9ecef;      /* Medium light gray */
    --corporate-gray-300: #dee2e6;      /* Medium gray */
    --corporate-gray-600: #6c757d;      /* Medium dark gray */
    --corporate-gray-800: #343a40;      /* Dark gray */
    --corporate-gradient: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   🎯 DEFAULT LOGO CONTROL SYSTEM 🎯
   ======================================== */

/* Default state: Show normal logos, hide seasonal logos */
.logo-normal {
    display: block;
}

.logo-halloween,
.logo-christmas {
    display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--corporate-dark);
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Corporate Header */
.corporate-header {
    background: var(--corporate-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.corporate-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--corporate-primary);
    white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--corporate-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--corporate-primary);
    background: var(--corporate-gray-100);
}

.nav-link i.fas.fa-chevron-down {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i.fas.fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--corporate-white);
    min-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid var(--corporate-gray-200);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--corporate-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item:hover {
    background: var(--corporate-gray-100);
    color: var(--corporate-primary);
}

.dropdown-item i {
    width: 18px;
    color: var(--corporate-secondary);
}

.dropdown-item.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.dropdown-item.disabled:hover {
    background: transparent;
    color: var(--corporate-dark);
}

.auth-required, .coming-soon {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.auth-required {
    background: var(--corporate-warning);
    color: var(--corporate-white);
}

.coming-soon {
    background: var(--corporate-gray-200);
    color: var(--corporate-gray-600);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.btn-signin {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--corporate-gradient);
    color: var(--corporate-white);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 77, 114, 0.3);
}

/* Hero Section */
.hero-section {
    background: var(--corporate-gradient);
    color: var(--corporate-white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,200 1000,1000"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--corporate-white);
    color: var(--corporate-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--corporate-white);
    border: 2px solid var(--corporate-white);
}

.btn-secondary:hover {
    background: var(--corporate-white);
    color: var(--corporate-primary);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--corporate-white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Section Styles */
.services-section, .about-section, .contact-section {
    padding: 80px 0;
}

.services-section {
    background: var(--corporate-gray-100);
}

.about-section {
    background: var(--corporate-white);
}

.contact-section {
    background: var(--corporate-gray-100);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--corporate-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--corporate-gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--corporate-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--corporate-gray-200);
    opacity: 0;
    transform: translateY(30px);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--corporate-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    color: var(--corporate-white);
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--corporate-dark);
}

.service-description {
    color: var(--corporate-gray-600);
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: none;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--corporate-gray-600);
    margin-bottom: 2rem;
}

.expertise-areas {
    display: grid;
    gap: 1rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expertise-item i {
    color: var(--corporate-success);
    font-size: 1.1rem;
}

.expertise-item span {
    font-weight: 500;
    color: var(--corporate-dark);
}

.about-visual {
    text-align: center;
}

.about-logo {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--corporate-white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--corporate-gray-200);
    opacity: 0;
    transform: translateY(30px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--corporate-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    color: var(--corporate-white);
    font-size: 1.5rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--corporate-dark);
}

.contact-card p {
    color: var(--corporate-gray-600);
    margin-bottom: 1.5rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--corporate-gradient);
    color: var(--corporate-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 77, 114, 0.3);
}

/* Footer */
.corporate-footer {
    background: var(--corporate-dark);
    color: var(--corporate-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--corporate-gray-300);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--corporate-white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--corporate-gray-300);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--corporate-accent);
}

.footer-bottom {
    border-top: 1px solid var(--corporate-gray-600);
    padding-top: 2rem;
    text-align: center;
    color: var(--corporate-gray-300);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .brand-text {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .corporate-nav {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-actions {
        order: 2;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .corporate-nav {
        padding: 0.75rem;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .services-section, .about-section, .contact-section {
        padding: 60px 0;
    }
    
    .service-card, .contact-card {
        padding: 1.5rem;
    }
    
    .dropdown-menu {
        min-width: 250px;
        left: auto;
        right: 0;
    }
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--corporate-primary);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Login Popup Styles */
.login-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.login-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2d2d2d;
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid #0f4c75;
}

.login-popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-popup-header h2 {
    color: #3282b8;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(50, 130, 184, 0.3);
}

.login-popup-header p {
    color: #bbe1fa;
    font-size: 16px;
}

.login-form-group {
    margin-bottom: 20px;
}

.login-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #bbe1fa;
    font-weight: 500;
    font-size: 14px;
}

.login-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #0f4c75;
    border-radius: 10px;
    font-size: 16px;
    background: #0f3460;
    color: #ffffff;
    transition: all 0.2s ease;
}

.login-form-group input:focus {
    outline: none;
    border-color: #3282b8;
    box-shadow: 0 0 0 3px rgba(50, 130, 184, 0.3);
}

.login-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(50, 130, 184, 0.3);
}

.login-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #3282b8 0%, #5ba3cf 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(50, 130, 184, 0.5);
}

.login-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--corporate-gray-600);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.login-close-btn:hover {
    background: var(--corporate-gray-100);
    color: var(--corporate-dark);
}

.login-success-message {
    background: var(--corporate-success);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.login-error-message {
    background: var(--corporate-danger);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.service-status {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    background: var(--corporate-success);
    color: var(--corporate-white);
}

.dropdown-divider {
    height: 1px;
    background: var(--corporate-gray-200);
    margin: 0.5rem 1rem;
}

/* Dark mode support - Enhanced for better contrast */
body.dark-mode {
    background: #1a1a1a;
    color: #ffffff;
}

body.dark-mode .corporate-header {
    background: #2d2d2d;
    border-bottom: 1px solid #555;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav-link {
    color: #e0e0e0;
}

body.dark-mode .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .brand-text {
    color: #4da6d9;
}

body.dark-mode .dropdown-menu {
    background: #2d2d2d;
    border: 1px solid #555;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.dark-mode .dropdown-item {
    color: #e0e0e0;
}

body.dark-mode .dropdown-item:hover {
    background: #404040;
    color: #ffffff;
}

body.dark-mode .dropdown-item.disabled:hover {
    background: transparent;
    color: #e0e0e0;
}

body.dark-mode .dropdown-item i {
    color: #4da6d9;
}

body.dark-mode .coming-soon {
    background: #404040;
    color: #b0b0b0;
}

body.dark-mode .auth-required {
    background: #f39c12;
    color: #ffffff;
}

body.dark-mode .service-status {
    background: #27ae60;
}
    color: #ffffff;
}

/* Momentum Dark/Blue Theme for Login Popup */
body.dark-mode .login-popup {
    background: #2d2d2d;
    border: 2px solid #0f4c75;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

body.dark-mode .login-popup-header h2 {
    color: #3282b8;
    text-shadow: 0 0 10px rgba(50, 130, 184, 0.3);
}

body.dark-mode .login-popup-header p {
    color: #bbe1fa;
}

body.dark-mode .login-form-group label {
    color: #bbe1fa;
    font-weight: 500;
}

body.dark-mode .login-form-group input {
    background: #0f3460;
    border: 2px solid #0f4c75;
    color: #ffffff;
}

body.dark-mode .login-form-group input:focus {
    border-color: #3282b8;
    box-shadow: 0 0 0 3px rgba(50, 130, 184, 0.3);
}

body.dark-mode .login-form-group input::placeholder {
    color: #7ba7c7;
}

body.dark-mode .login-close-btn {
    color: #bbe1fa;
}

body.dark-mode .login-close-btn:hover {
    background: #0f4c75;
    color: #ffffff;
}

body.dark-mode .login-btn-primary {
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
    box-shadow: 0 4px 15px rgba(50, 130, 184, 0.3);
}

body.dark-mode .login-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #3282b8 0%, #5ba3cf 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(50, 130, 184, 0.5);
}

/* Additional dark mode content sections */
body.dark-mode .services-section {
    background: #1f1f1f;
}

body.dark-mode .about-section {
    background: #2d2d2d;
}

body.dark-mode .contact-section {
    background: #1f1f1f;
}

body.dark-mode .service-card,
body.dark-mode .contact-card {
    background: #2d2d2d;
    border: 1px solid #444;
    color: #ffffff;
}

body.dark-mode .service-card:hover,
body.dark-mode .contact-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: #4da6d9;
}

body.dark-mode .section-title {
    color: #ffffff;
}

body.dark-mode .section-subtitle,
body.dark-mode .service-description {
    color: #b0b0b0;
}

body.dark-mode .service-title {
    color: #ffffff;
}

body.dark-mode .contact-card h3 {
    color: #ffffff;
}

body.dark-mode .contact-card p {
    color: #b0b0b0;
}

body.dark-mode .corporate-footer {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .footer-brand p {
    color: #b0b0b0;
}

body.dark-mode .footer-column h4 {
    color: #ffffff;
}

body.dark-mode .footer-column ul li a {
    color: #b0b0b0;
}

body.dark-mode .footer-column ul li a:hover {
    color: #4da6d9;
}

body.dark-mode .footer-bottom {
    border-top: 1px solid #444;
    color: #888;
}

body.dark-mode .expertise-item span {
    color: #ffffff;
}

/* Mobile responsive navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--corporate-white);
        border-top: 1px solid var(--corporate-gray-200);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-menu.mobile-active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 0;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--corporate-gray-200);
        padding: 0;
        background: var(--corporate-gray-100);
    }
    
    .dropdown-item {
        padding: 0.75rem 3rem;
    }
    
    body.dark-mode .nav-menu {
        background: #2d2d2d;
        border-top: 1px solid #555;
    }
    
    body.dark-mode .dropdown-menu {
        background: #404040;
        border-top: 1px solid #555;
    }
}