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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #F5F5F5;
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 50%, #0A0A0A 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

/* 404 Not Found Page */
.not-found-wrapper {
    min-height: calc(100vh - var(--navbar-height) - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px 40px 20px;
}

.not-found-card {
    max-width: 900px;
    width: 100%;
    text-align: center;
    background: rgba(245, 245, 245, 0.04);
    border: 1px solid rgba(34, 76, 152, 0.25);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

.not-found-image {
    width: min(360px, 70%);
    height: auto;
    border-radius: 14px;
    border: 2px solid rgba(34, 76, 152, 0.35);
    box-shadow: 0 12px 40px rgba(34, 76, 152, 0.25);
    margin-bottom: 1.5rem;
}

.not-found-lead {
    font-size: 1.25rem;
    color: #e5e4e2;
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
}

.not-found-actions {
    margin-top: 1.75rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .not-found-card {
        padding: 1.5rem;
    }
}

.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;
    color: #F5F5F5;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, #F5F5F5 0%, #e5e4e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #F5F5F5;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #F5F5F5;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e5e4e2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #224c98, #1a3d7a);
    color: #F5F5F5;
    box-shadow: 0 8px 32px rgba(34, 76, 152, 0.4);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(34, 76, 152, 0.6);
    background: linear-gradient(135deg, #1a3d7a, #224c98);
}

.btn-secondary {
    background: rgba(34, 76, 152, 0.1);
    color: #224c98;
    border: 2px solid #224c98;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(34, 76, 152, 0.2);
    color: #F5F5F5;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(34, 76, 152, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(34, 76, 152, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
body.loaded .navbar {
  opacity: 1;
  transform: translateY(0);
}

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

/* Ensure logo area matches navbar height */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

/* Logo scales relative to navbar height */
.nav-logo .logo {
    height: 60%;
    max-height: 60%;
    width: auto;
}

.nav-brand-text {
    color: #F5F5F5;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

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

.nav-link {
    text-decoration: none;
    color: #F5F5F5;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover {
    color: #224c98;
    background: rgba(34, 76, 152, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #224c98;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #F5F5F5;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.3s ease;
    filter: brightness(0.4) contrast(1.2) saturate(1.1);
    z-index: 3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #F5F5F5;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: #F5F5F5;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-shadow: none;
    filter: none;
    opacity: 1;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 3rem;
    color: #e5e4e2;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid #224c98;
    border-bottom: 3px solid #224c98;
    transform: rotate(45deg);
    filter: drop-shadow(0 0 10px rgba(34, 76, 152, 0.5));
}

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

/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #F5F5F5;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #224c98, #1a3d7a);
    border-radius: 2px;
}

/* Overview Section */
.overview {
    background: linear-gradient(135deg, #1a1a1a 0%, #0A0A0A 100%);
    position: relative;
}

.overview::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23224c98" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.overview-text p {
    font-size: 1.2rem;
    color: #e5e4e2;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(34, 76, 152, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(34, 76, 152, 0.1) 0%, transparent 50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(245, 245, 245, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 1px solid rgba(34, 76, 152, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 76, 152, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(34, 76, 152, 0.3);
    border-color: rgba(34, 76, 152, 0.4);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    color: #224c98;
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(34, 76, 152, 0.3));
}

.service-card h3 {
    color: #F5F5F5;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #e5e4e2;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Differentiator Section */
.differentiator {
    background: linear-gradient(135deg, #1a1a1a 0%, #0A0A0A 100%);
    position: relative;
}

.differentiator::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23224c98" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.diff-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.diff-text h2 {
    text-align: left;
    margin-bottom: 2rem;
    color: #F5F5F5;
}

.diff-comparison {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comparison-item {
    padding: 2rem;
    background: rgba(245, 245, 245, 0.05);
    border-radius: 15px;
    border-left: 4px solid #224c98;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.comparison-item:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 40px rgba(34, 76, 152, 0.2);
}

.comparison-item h3 {
    color: #F5F5F5;
    margin-bottom: 0.5rem;
}

.comparison-item p {
    color: #e5e4e2;
    margin: 0;
}

.diff-visual {
    position: relative;
}

.diff-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    filter: brightness(0.8) contrast(1.1);
    transition: all 0.3s ease;
}

.diff-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 80px rgba(34, 76, 152, 0.3);
}

/* Founders Section */
.founders {
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
    position: relative;
}

/* Team Section */
.team {
    background: linear-gradient(135deg, #1a1a1a 0%, #0A0A0A 100%);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(34, 76, 152, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(34, 76, 152, 0.08) 0%, transparent 50%);
}

.team-carousel {
    position: relative;
    height: 80px;
    overflow: hidden;
    margin-top: 3rem;
    border-radius: 15px;
    background: rgba(245, 245, 245, 0.03);
    border: 1px solid rgba(34, 76, 152, 0.15);
    backdrop-filter: blur(10px);
}

.team-carousel-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
    position: relative;
}

.team-role {
    flex-shrink: 0;
    padding: 0 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e5e4e2;
    text-align: center;
    min-width: 200px;
    position: relative;
}

.team-role::before {
    content: '•';
    position: absolute;
    right: 0;
    color: rgba(34, 76, 152, 0.4);
    font-size: 1.5rem;
}

.team-role::after {
    content: '•';
    position: absolute;
    right: 0;
    color: rgba(34, 76, 152, 0.4);
    font-size: 1.5rem;
}

.team-role:nth-child(8)::after {
    display: none;
}


.founders::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(34, 76, 152, 0.05) 0%, transparent 70%);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.founder-card {
    background: rgba(245, 245, 245, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    display: flex;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(34, 76, 152, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 76, 152, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.founder-card:hover::before {
    opacity: 1;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(34, 76, 152, 0.3);
    border-color: rgba(34, 76, 152, 0.4);
}

.founder-image {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.founder-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(34, 76, 152, 0.3);
    box-shadow: 0 8px 25px rgba(34, 76, 152, 0.2);
    display: block;
}

.founder-info {
    position: relative;
    z-index: 1;
}

.founder-info h3 {
    color: #F5F5F5;
    margin-bottom: 0.5rem;
}

.founder-title {
    color: #224c98;
    font-weight: 600;
    margin-bottom: 1rem;
}

.founder-bio {
    color: #e5e4e2;
    line-height: 1.6;
    margin: 0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #224c98, #1a3d7a, #0A0A0A);
    color: #F5F5F5;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::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 100 100"><defs><pattern id="hexagons" width="30" height="30" patternUnits="userSpaceOnUse"><polygon points="15,5 25,10 25,20 15,25 5,20 5,10" fill="none" stroke="%23F5F5F5" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: 0.3;
}

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

.cta-title {
    color: #F5F5F5;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: #e5e4e2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-banner .btn-primary {
    background: rgba(245, 245, 245, 0.95);
    color: #224c98;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cta-banner .btn-primary:hover {
    background: #F5F5F5;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cta-banner .btn-secondary {
    border-color: #F5F5F5;
    color: #F5F5F5;
    background: rgba(245, 245, 245, 0.1);
    backdrop-filter: blur(10px);
}

.cta-banner .btn-secondary:hover {
    background: rgba(245, 245, 245, 0.2);
    color: #F5F5F5;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 245, 245, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
    color: #F5F5F5;
    padding: 2rem 0;
    border-top: 1px solid rgba(34, 76, 152, 0.2);
}

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

.footer-logo .logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo .logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(34, 76, 152, 0.5));
}

.footer-text p {
    margin: 0;
    color: #e5e4e2;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

/* Parallax Effect */
.hero-bg-image {
    will-change: transform;
}

/* --- LOGO VISIBILITY SAFEGUARD --- */
.nav-logo, .nav-logo .logo {
    opacity: 1 !important;
    z-index: 1001 !important;
    transition: none !important;
}

/* --- HERO OVERLAY SAFEGUARD --- */
.hero-overlay {
    background: linear-gradient(135deg, rgba(10,10,20,0.55) 0%, rgba(34,76,152,0.15) 100%) !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 2;
}

/* --- HERO IMAGE VISIBILITY SAFEGUARD --- */
.hero-bg-image {
    opacity: 1 !important;
    filter: brightness(0.6) contrast(1.15) saturate(1.1) !important;
    z-index: 1 !important;
}

.hero-title {
    color: #F5F5F5;
    background: none;
    text-shadow: 0 2px 24px rgba(10,10,10,0.7), 0 0 60px rgba(34,76,152,0.3);
}

.hero-subtitle {
    color: #e5e4e2;
    text-shadow: 0 2px 12px rgba(10,10,10,0.7);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #224c98, #1a3d7a);
    color: #F5F5F5;
    border-radius: 32px;
    box-shadow: 0 4px 18px rgba(34,76,152,0.25);
}
.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #1a3d7a, #224c98);
    color: #e5e4e2;
}
.hero-buttons .btn-secondary {
    background: #e5e4e2;
    color: #224c98;
    border-radius: 32px;
    box-shadow: 0 2px 8px rgba(34,76,152,0.10);
}
.hero-buttons .btn-secondary:hover {
    background: #F5F5F5;
    color: #224c98;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .nav-logo {
        order: 1;
        margin-left: 0;
    }
    .nav-toggle {
        order: 3;
    }
    .nav-menu {
        order: 2;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.4);
        padding: 2rem 0;
        border-top: 1px solid rgba(34, 76, 152, 0.2);
    }

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

    .nav-toggle {
        display: flex;
        margin-left: 14px; /* Add spacing between logo and hamburger */
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .diff-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .founder-card {
        flex-direction: column;
        text-align: center;
    }

    .team-carousel {
        height: 60px;
    }

    .team-role {
        font-size: 1rem;
        min-width: 150px;
        padding: 0 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        height: 90vh;
    }


}

@media (max-width: 768px) {
    /* Keep for further mobile tweaks if needed */
}

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

    .service-card,
    .founder-card {
        padding: 1.5rem;
    }

    .hero-content {
        padding: 0 15px;
    }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #0A0A0A;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .cta-banner,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        page-break-after: avoid;
    }
}

/* Contact Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s;
}
.modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #224c98 100%);
  margin: 5% auto;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 18px;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(34, 76, 152, 0.4);
  color: #F5F5F5;
  position: relative;
  animation: fadeInModal 0.4s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-content h2 {
  margin-bottom: 1.5rem;
  color: #F5F5F5;
  text-align: center;
}
.modal-content label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #e5e4e2;
}
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #224c98;
  border-radius: 8px;
  background: rgba(245,245,245,0.07);
  color: #F5F5F5;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s;
}
.modal-content input:focus,
.modal-content textarea:focus {
  border: 1.5px solid #F5F5F5;
  outline: none;
}
.modal-content .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
  border: 2px solid #F5F5F5;
  box-shadow: 0 0 0 3px #224c98, 0 8px 32px rgba(34, 76, 152, 0.4);
  background: linear-gradient(135deg, #224c98 60%, #1a3d7a 100%);
  color: #F5F5F5;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.modal-content .btn-primary:hover {
  background: #F5F5F5;
  color: #224c98;
  border: 2px solid #224c98;
  box-shadow: 0 0 0 3px #F5F5F5, 0 12px 40px rgba(34, 76, 152, 0.6);
}
.modal-content textarea {
  resize: none;
  min-height: 140px;
  max-height: 140px;
  height: 140px;
  overflow-y: auto;
}
.close {
  color: #e5e4e2;
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}
.close:hover {
  color: #F5F5F5;
}
@media (max-width: 480px) {
  .modal-content {
    max-width: 95vw;
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
  }
}

:root {
  --navbar-height: 70px;
}

.navbar {
  height: var(--navbar-height);
}

.hero-content {
  padding-top: var(--navbar-height);
}

@media (max-width: 1024px) {
  :root {
    --navbar-height: 70px;
  }
  .navbar {
    height: var(--navbar-height);
  }
  .hero-content {
    padding-top: var(--navbar-height);
  }
}

::selection {
  background: #224c98;
  color: #F5F5F5;
}

::-moz-selection {
  background: #224c98;
  color: #F5F5F5;
}