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

html {
    scroll-behavior: smooth;
}

:root {
    /* Brand Colors */
    --primary-teal: #1A5162;
    --primary-teal-dark: #143E4C;
    --primary-teal-light: #E8F2F5;
    --accent-orange: #FF6B35;
    --accent-orange-dark: #E55A2B;
    --accent-orange-light: #FFF5F2;
    
    /* Neutral Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-light: #6C6C6C;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-teal-dark);
}

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

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    color: var(--primary-teal);
}

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

.logo-image {
    border-radius: 8px;
    object-fit: contain;
}

/* SVG color control */
.logo-header {
    width: 60px;
    height: 60px;
    filter: brightness(0) saturate(100%) invert(19%) sepia(12%) saturate(1574%) hue-rotate(156deg) brightness(95%) contrast(90%);
}

.logo-footer {
    width: 50px;
    height: 50px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.25rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

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

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: width var(--transition-base);
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary-teal);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-base);
}

.cta-button:hover {
    background-color: var(--primary-teal-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, var(--primary-teal-light) 0%, transparent 70%);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-quote {
    margin-bottom: 3rem;
    max-width: 600px;
}

.quote-card {
    position: relative;
    background-color: #f0f0f0;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, transparent 50%, #e0e0e0 50%);
    border-radius: 0 16px 0 0;
}

.quote-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: #e0e0e0;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    border-radius: 0 16px 0 0;
}

.quote-corner::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    background: #f8f8f8;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.quote-content {
    position: relative;
    z-index: 1;
}

.quote-text {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--primary-teal);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-secondary:hover {
    background-color: var(--primary-teal-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
}

.floating-card {
    position: absolute;
    background-color: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float-card 20s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-teal);
}

.floating-card span {
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

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

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Problem Section */
.problem-section {
    background-color: var(--gray-100);
}

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

.problem-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background-color: var(--accent-orange-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon i {
    font-size: 1.75rem;
    color: var(--accent-orange);
}

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

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Solution Section */
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-teal-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--primary-teal);
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
}

.solution-visual {
    position: relative;
}

.dashboard-preview {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-300);
}

.status-indicator.active {
    background-color: #10B981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.metric-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    background-color: var(--gray-100);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.alert-preview {
    background-color: var(--accent-orange-light);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--accent-orange-dark);
}

.alert-preview i {
    font-size: 1rem;
}

/* Technology Section */
.tech-section {
    background-color: var(--gray-100);
}

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

.tech-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-base);
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.tech-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.team-member {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.team-member.advisor {
    border: 2px solid var(--primary-teal-light);
}

.member-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.placeholder-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 auto 1.5rem;
    flex-grow: 1;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

.expertise-tag {
    background-color: var(--primary-teal-light);
    color: var(--primary-teal-dark);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.partners {
    text-align: center;
    padding: 3rem;
    background-color: var(--gray-100);
    border-radius: 16px;
}

.partners-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.7;
}

/* Contact Section */
.contact-section {
    background-color: var(--gray-100);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background-color: var(--primary-teal-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(26, 81, 98, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Form Button States */
.contact-form button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form .spinner {
    animation: spin 1s linear infinite;
}

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

/* Toast Notifications */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.toast-visible {
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid #10B981;
}

.toast-success .toast-icon {
    color: #10B981;
}

.toast-error {
    border-left: 4px solid #EF4444;
}

.toast-error .toast-icon {
    color: #EF4444;
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.toast-message {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .toast {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

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

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.5rem;
    display: block;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

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

.footer-legal {
    text-align: right;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .solution-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .dashboard-preview {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile menu styles are in the MOBILE MENU section below */

    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: space-between;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    .problem-grid,
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal {
        text-align: center;
    }
    
    .partner-logos {
        gap: 1.5rem;
    }
    
    .partner-name {
        font-size: 1rem;
    }
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.problem-card:nth-child(1) { transition-delay: 0ms; }
.problem-card:nth-child(2) { transition-delay: 100ms; }
.problem-card:nth-child(3) { transition-delay: 200ms; }

.tech-card:nth-child(1) { transition-delay: 0ms; }
.tech-card:nth-child(2) { transition-delay: 100ms; }
.tech-card:nth-child(3) { transition-delay: 200ms; }
.tech-card:nth-child(4) { transition-delay: 300ms; }

.team-member:nth-child(1) { transition-delay: 0ms; }
.team-member:nth-child(2) { transition-delay: 150ms; }
.team-member:nth-child(3) { transition-delay: 300ms; }

/* ==========================================
   NAVBAR IMPROVEMENTS
   ========================================== */
.navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-content {
    padding: 0.75rem 0;
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 8px;
        z-index: 1002;
        position: relative;
    }

    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.5rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1001;
        padding: 0;
        margin: 0;
    }

    .nav-links.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        list-style: none;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links.active li:nth-child(7) { transition-delay: 0.4s; }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .nav-links .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1.25rem;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ==========================================
   ENHANCED HOVER EFFECTS
   ========================================== */

/* Cards with shine effect */
.problem-card,
.tech-card,
.team-member,
.news-card {
    position: relative;
    overflow: hidden;
}

.problem-card::before,
.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
    pointer-events: none;
}

.problem-card:hover::before,
.tech-card:hover::before {
    left: 100%;
}

/* Icon animations */
.problem-icon,
.tech-icon,
.feature-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover .problem-icon,
.tech-card:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    background-color: var(--primary-teal);
}

.feature:hover .feature-icon svg {
    stroke: white;
}

/* Button ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Team member hover */
.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-image {
    overflow: hidden;
    border-radius: 50%;
}

.member-image img {
    transition: transform 0.4s ease;
}

/* ==========================================
   FORM IMPROVEMENTS
   ========================================== */
.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    background: var(--white);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(26, 81, 98, 0.1);
    background: var(--white);
}

/* Floating labels (optional enhancement) */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.5;
    transform: translateX(5px);
}

/* Submit button enhancement */
.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 81, 98, 0.3);
}

.contact-form .btn-primary:active {
    transform: translateY(0);
}

/* ==========================================
   DASHBOARD PREVIEW ANIMATION
   ========================================== */
.dashboard-preview {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dashboard-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.metric-card {
    transition: all 0.3s ease;
}

.dashboard-preview:hover .metric-card {
    transform: scale(1.02);
}

.alert-preview {
    animation: alertPulse 2s ease-in-out infinite;
}

@keyframes alertPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ==========================================
   CONTACT ITEM IMPROVEMENTS
   ========================================== */
.contact-item {
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-item svg {
    width: 48px;
    height: 48px;
    padding: 12px;
    background-color: var(--primary-teal-light);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover svg {
    background-color: var(--primary-teal);
    stroke: white;
}

/* ==========================================
   LOADING STATE
   ========================================== */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loading.loaded {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================
   FOCUS STATES (Accessibility)
   ========================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}