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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a237e;
    overflow-x: hidden;
    background-color: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Unified Marqeta Color Scheme Across All Pages --- */
:root {
    --logo-blue: #61a4cb;
    --primary-bg: #ffffff;
    --primary-text: #1a237e;
    --accent: var(--logo-blue);
    --nav-link: #374151;
    --nav-link-active: #1a237e;
    --card-bg: #fff;
    --card-shadow: 0 8px 32px rgba(26,35,126,0.10);
    --card-hover-shadow: 0 16px 48px rgba(0,229,255,0.15);
    --gradient-hero: linear-gradient(120deg, #1a237e 0%, var(--logo-blue) 100%);
    --gradient-accent: linear-gradient(90deg, var(--logo-blue) 0%, #1a237e 100%);
    --gradient-section: linear-gradient(120deg, #e3f7fa 60%, var(--logo-blue) 100%);
    --gradient-section-dark: linear-gradient(120deg, var(--logo-blue) 60%, #1a237e 100%);
}
body {
    background: var(--primary-bg);
    color: var(--primary-text);
}

/* Navigation */
.navbar {
    background: var(--primary-bg);
    box-shadow: 0 1px 0 rgba(26,35,126,0.06);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo h2 {
    color: var(--logo-blue);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.nav-logo h2:hover {
    color: #374151;
}

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

.nav-link {
    text-decoration: none;
    color: var(--nav-link);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-link.active,
.nav-link:hover {
    color: var(--nav-link-active);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bar {
    width: 24px;
    height: 2px;
    background: #4b5563;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 1px;
}

.hamburger:hover .bar {
    background: #1a237e;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: fadeInHero 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInHero {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}

.hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%231a237e" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1a237e;
    animation: slideInLeft 1.1s cubic-bezier(.4,0,.2,1);
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: none; }
}
.hero-content p {
    font-size: 1.3rem;
    color: black;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1) 0.2s both;
    font-weight: 500;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0,229,255,0.10);
    transition: transform 0.3s ease;
    animation: floatHero 3.5s ease-in-out infinite alternate;
}
@keyframes floatHero {
    0% { transform: translateY(0); }
    100% { transform: translateY(-18px); }
}

.hero-img:hover {
    transform: translateY(-8px);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 56px;
}

.btn-primary {
    background: var(--accent);
    color: #1a237e;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(0,229,255,0.18);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background: #fff;
    color: var(--primary-text);
    box-shadow: 0 8px 32px rgba(0,229,255,0.25);
    transform: translateY(-2px) scale(1.04);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--accent);
    transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #1a237e;
}

.btn-outline {
    background: transparent;
    color: #1a237e;
    border: 2px solid #1a237e;
}

.btn-outline:hover {
    background: #1a237e;
    color: white;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a237e;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.section-header p {
    font-size: 1.25rem;
    color: #1f2937;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

/* About Preview Section */
.about-preview {
    padding: 120px 0;
    background: #ffffff;
}

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

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.stat-item.active {
    opacity: 1;
    transform: scale(1.05);
    border-left: 4px solid #00e5ff;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    background: #ffffff;
    opacity: 1;
    transform: scale(1.05);
    border-left: 4px solid #00e5ff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-item p {
    color: #374151;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Services Preview */
.services-preview {
    padding: 120px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.4s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
    position: relative;
    animation: fadeInCard 1.1s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.service-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-8px) scale(1.03);
    z-index: 2;
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.service-card:hover .service-img {
    transform: scale(1.07) rotate(-1deg);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-text);
    margin: 1.5rem 1.5rem 0.5rem 1.5rem;
    line-height: 1.3;
}

.service-card p {
    color: #374151;
    margin: 0 1.5rem 1.5rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    flex-grow: 1;
}

.services-cta {
    text-align: center;
}

/* Page Header */
.page-header {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.3rem;
    color: #1f2937;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* Company Story */
.company-story {
    padding: 120px 0;
    background: #ffffff;
}

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

.story-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a237e;
    letter-spacing: -0.02em;
}

.story-text p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

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

.story-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.story-img:hover {
    transform: translateY(-8px);
}

/* Mission Vision */
.mission-vision {
    padding: 120px 0;
    background: #f8fafc;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.mv-card {
    text-align: center;
    padding: 3.5rem 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #d1d5db;
    border-left: 4px solid #00e5ff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mv-icon {
    font-size: 3.5rem;
    color: #1a237e;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.mv-card:hover .mv-icon {
    transform: scale(1.1);
}

.mv-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a237e;
}

.mv-card p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background: #ffffff;
}

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

.team-member {
    text-align: center;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #d1d5db;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 4px solid #f3f4f6;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo {
    border-color: #d1d5db;
    transform: scale(1.05);
}

.team-member:hover .member-img {
    transform: scale(1.1);
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a237e;
}

.member-title {
    color: #374151;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.member-bio {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-us {
    padding: 120px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    background: #ffffff;
    opacity: 1;
    transform: scale(1.05);
    border-left: 4px solid #00e5ff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 3.5rem;
    color: #1a237e;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a237e;
}

.feature-item p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Services Detail */
.services-overview {
    padding: 80px 0;
    background: #ffffff;
}

.detailed-services {
    padding: 120px 0;
    background: #f8fafc;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 6rem;
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse > * {
    direction: ltr;
}

.service-content h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a237e;
    letter-spacing: -0.02em;
}

.service-content p {
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.75rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 2rem;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.service-features li:hover {
    color: #374151;
}

.service-features li::before {
    content: "✓";
    color: #1a237e;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

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

.service-detail-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.service-detail-img:hover {
    transform: translateY(-8px);
}

/* Process Section */
.our-process {
    padding: 120px 0;
    background: #ffffff;
}

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

.process-step {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #d1d5db;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #1a237e;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a237e;
}

.process-step p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1a237e;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: #ffffff;
}

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

.contact-info h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a237e;
    letter-spacing: -0.02em;
}

.contact-info p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 12px;
    background: #f8fafc;
}

.contact-item:hover {
    transform: translateX(8px);
    background: #f1f5f9;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #1a237e;
    color: white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    background: #374151;
}

.contact-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a237e;
}

.contact-text p {
    color: #4b5563;
    margin: 0;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.contact-form-container h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: #1a237e;
    letter-spacing: -0.02em;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a237e;
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Radio Button Styles */
.radio-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    transition: color 0.3s ease;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8fafc;
    border: 2px solid transparent;
}

.radio-label:hover {
    color: #1a237e;
    background: #f1f5f9;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #1a237e;
    background: #1a237e;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    display: none;
}

.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8fafc;
}

.map-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a237e;
    letter-spacing: -0.02em;
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
}

.virtual-consultation {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.virtual-consultation:hover {
    transform: translateY(-8px);
}

.virtual-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.virtual-content {
    padding: 3rem;
    text-align: center;
}

.virtual-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a237e;
}

.virtual-content p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #1a237e;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #f9fafb;
    font-size: 1.25rem;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.footer-section p:hover {
    color: #f3f4f6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.footer-section ul li a:hover {
    color: #f3f4f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 4rem;
    }
    
    .about-content {
        gap: 4rem;
    }
    
    .contact-content {
        gap: 4rem;
    }
    
    .service-item {
        gap: 4rem;
        padding: 3rem;
    }
    
    .story-content {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-img {
        max-width: 500px;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .hero-img {
        max-width: 350px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
}

/* --- Creative Timeline for Learning Process (True Alternating Sides) --- */
.learning-timeline {
    position: relative;
    margin: 0 auto;
    padding: 80px 0 60px 0;
    max-width: 1200px;
}
.learning-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: calc(100% - 120px);
    background: linear-gradient(180deg, #1a237e 0%, #e5e7eb 100%);
    border-radius: 3px;
    z-index: 0;
}
.timeline-steps {
    position: relative;
    z-index: 1;
}
.timeline-step {
    position: relative;
    width: 100%;
    min-height: 160px;
    margin: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.timeline-step .timeline-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: #1a237e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 3;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.timeline-step .timeline-content {
    position: absolute;
    top: 50%;
    width: 420px;
    max-width: 90vw;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
    border: 1.5px solid #e5e7eb;
    transition: box-shadow 0.3s;
    transform: translateY(-50%);
}
.timeline-step:nth-child(odd) .timeline-content {
    left: calc(50% - 40px - 420px);
    text-align: right;
}
.timeline-step:nth-child(even) .timeline-content {
    left: calc(50% + 40px);
    text-align: left;
}
.timeline-step:hover .timeline-content {
    box-shadow: 0 12px 32px rgba(31,41,55,0.13);
    border-color: #1a237e;
}
.timeline-step .timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a237e;
}
.timeline-step .timeline-content p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
}
@media (max-width: 1100px) {
    .timeline-step .timeline-content {
        width: 320px;
    }
    .timeline-step:nth-child(odd) .timeline-content {
        left: calc(50% - 40px - 320px);
    }
    .timeline-step:nth-child(even) .timeline-content {
        left: calc(50% + 40px);
    }
}
@media (max-width: 900px) {
    .learning-timeline::before {
        left: 24px;
        transform: none;
    }
    .timeline-step .timeline-icon {
        left: 24px;
        transform: translateY(-50%);
    }
    .timeline-step .timeline-content {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 0 0 0 56px;
        text-align: left;
        transform: none;
    }
}
@media (max-width: 600px) {
    .learning-timeline {
        padding: 40px 0 30px 0;
    }
    .timeline-step .timeline-content {
        padding: 1.5rem 1rem;
    }
    .timeline-step .timeline-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* --- Asymmetric Section Backgrounds (Marqeta-style) --- */
.asym-section {
    position: relative;
    z-index: 1;
    background: var(--gradient-section);
    overflow: hidden;
}
.asym-section .section-header,
.asym-section .features-grid,
.asym-section .cta-content {
    position: relative;
    z-index: 2;
}
.asym-bottom {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
}
.asym-top {
    position: absolute;
    left: 0; right: 0; top: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
}
.why-choose-us.asym-section {
    background: var(--gradient-section);
    padding-bottom: 120px;
}
.cta-section.asym-section {
    background: var(--gradient-section-dark);
    color: #fff;
    padding-bottom: 120px;
}
.cta-section.asym-section .cta-content h2,
.cta-section.asym-section .cta-content p {
    color: #fff;
}
.cta-section.asym-section .btn-primary {
    background: #fff;
    color: #1a237e;
    border: none;
}
.cta-section.asym-section .btn-primary:hover {
    background: #00e5ff;
    color: #fff;
}
@media (max-width: 900px) {
    .asym-bottom, .asym-top {
        height: 40px;
    }
}

/* --- Marqeta Why Choose Section Animation --- */
.marqeta-why-section {
    background: linear-gradient(120deg, #2a0066 0%, #3a0088 100%);
    color: #fff;
    padding: 120px 0 120px 0;
    position: relative;
    overflow: hidden;
}
.marqeta-why-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
}
.marqeta-why-left {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 320px;
    max-width: 420px;
    padding-top: 40px;
}
.marqeta-why-graphic {
    width: 260px;
    height: 260px;
    animation: floatHero 3.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 8px 32px rgba(0,229,255,0.10));
}
.marqeta-why-caption {
    margin-top: 24px;
    font-size: 1.1rem;
    color: #b3b3ff;
    text-align: center;
    letter-spacing: 0.02em;
}
.marqeta-why-right {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 320px;
    max-width: 600px;
}
.marqeta-feature-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  
  .marqeta-feature-card.active {
    opacity: 1;
    transform: scale(1.02);
    border-left: 4px solid #2b76f3;
  }

/* Improve contrast for heading and paragraph in marqeta section */
.marqeta-why-section .section-header h2,
.marqeta-why-section .section-header p {
    color: #ffffff;
}

/* Center align text inside learning timeline content */
.timeline-step .timeline-content {
    text-align: center !important;
}

/* --- Horizontal Why Choose Carousel --- */
.why-choose-carousel {
    background: linear-gradient(120deg, #001f4d 0%, #003c8f 100%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.why-carousel-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
}
.why-carousel-left {
    flex: 0 0 40%;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.why-carousel-image {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: opacity 0.4s ease;
}
.why-carousel-caption {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #cfe3ff;
}
.why-carousel-track {
    flex: 1;
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
}
.why-carousel-track::-webkit-scrollbar {
    height: 8px;
}
.why-carousel-track::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}
.why-card {
    background: #ffffff;
    color: #1a237e;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 300px;
    scroll-snap-align: center;
    padding: 2rem 1.5rem;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.9);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.why-card.active {
    opacity: 1;
    transform: scale(1.05);
    border-left: 4px solid #00e5ff;
}
.card-icon {
    font-size: 2rem;
    color: #00e5ff;
}
.why-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
}
.why-card p {
    font-size: 1.05rem;
    color: #374151;
}
@media (max-width: 900px) {
    .why-carousel-container {
        flex-direction: column;
        gap: 40px;
    }
    .why-carousel-left {
        position: static;
        top: auto;
    }
}

/* Generic animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
}
/* Simple Why Card enhancements */
.simple-why-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left 0.3s ease;
    border-left: 4px solid transparent;
}
.simple-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent);
}
.simple-why-card .icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}
.simple-why-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}
.simple-why-track::-webkit-scrollbar {
    height: 8px;
}
.simple-why-track::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}
.simple-why-card {
    flex: 0 0 260px;
    scroll-snap-align: center;
}
.simple-why-card.active {
    transform: scale(1.05);
    border-left: 4px solid #00e5ff;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px #00e5ff !important;
}

/* Adjust simple why section to grid layout (no scroll) */
.simple-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 900px) {
    .simple-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .simple-why-grid {
        grid-template-columns: 1fr;
    }
}

.radio-label.selected {
    background: #1a237e;
    color: #ffffff;
    border-color: #1a237e;
}

.radio-label.selected .radio-custom {
    border-color: #ffffff;
    background: #ffffff;
} 
/* ==========================================================================
   REFINEMENT LAYER — appended 2026
   Everything below overrides earlier rules. To undo any change, delete the
   relevant block; nothing above this line was modified.
   ========================================================================== */

:root {
    --ink:        #151a33;  /* headings */
    --body-text:  #414a63;  /* paragraphs */
    --muted:      #6b7385;  /* captions, meta */
    --navy:       #1a237e;  /* brand */
    --line:       #e4e8ef;  /* hairlines */
    --surface:    #f7f9fb;  /* alternating section background */
}

/* --- Type -----------------------------------------------------------------
   The page had five competing text colours and headings up to 3.5rem. One
   scale, two text colours, shorter measures. */

body {
    color: var(--body-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); }

.hero-content h1 {
    font-size: clamp(2.25rem, 4.2vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 700;
    max-width: 14ch;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--body-text);
    font-weight: 400;
    line-height: 1.6;
    max-width: 48ch;
    margin-bottom: 2rem;
}

.section-header { margin-bottom: 3.5rem; }

.section-header h2,
.about-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--body-text);
    font-weight: 400;
    max-width: 58ch;
}

.about-text p {
    font-size: 1.0625rem;
    color: var(--body-text);
    line-height: 1.7;
    max-width: 68ch;
    margin-bottom: 1.25rem;
}

.about-text .btn { margin-top: 1.25rem; }

/* --- Hero -----------------------------------------------------------------
   Was a navy-to-blue gradient carrying navy headline text, which left the
   copy fighting the background on the left half. Light surface, dark text. */

.hero {
    background: linear-gradient(160deg, #ffffff 0%, #eff4f9 100%);
    min-height: 0;
    padding: 132px 0 88px;
}

.hero::before { opacity: 0.25; }

.hero-container { gap: 4.5rem; align-items: center; }

/* --- Section rhythm -------------------------------------------------------
   120px everywhere gave no hierarchy between sections. */

.about-preview  { padding: 88px 0; background: #ffffff; }
.why-choose-us  { padding: 88px 0; background: var(--surface); }

.why-choose-us.asym-section {
    background: var(--surface);
    padding-bottom: 88px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Wave dividers between every section read as decoration rather than
   structure. Delete this rule to bring them back. */
.asym-top, .asym-bottom { display: none; }

/* --- Buttons --------------------------------------------------------------
   Two identical filled buttons sat side by side in the hero with no
   hierarchy. Primary is now solid; the partner button is quiet. */

.btn {
    padding: 13px 26px;
    min-height: 48px;
    font-size: 0.975rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.005em;
    transition: background-color .18s ease, color .18s ease,
                border-color .18s ease, box-shadow .18s ease;
}

.btn-primary {
    background: var(--navy);
    color: #ffffff;
    box-shadow: none;
}

.btn-primary:hover {
    background: #121a5e;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(21,26,51,0.18);
    transform: none;
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1px solid #c3ccdb;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--navy);
    border-color: var(--navy);
    transform: none;
}

.hero-buttons { gap: 0.875rem; }

/* --- Cards ----------------------------------------------------------------
   Hover previously combined lift, scale(1.05) and a 4px left border that
   appeared from nothing, which shifted the card contents sideways. */

.feature-item,
.stat-item {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.feature-item {
    padding: 2rem 1.75rem;
    text-align: left;
}

.feature-item:hover,
.stat-item:hover,
.stat-item.active {
    transform: none;
    border-color: #c3ccdb;
    border-left-width: 1px;
    border-left-color: #c3ccdb;
    box-shadow: 0 2px 10px rgba(21,26,51,0.05);
    background: #ffffff;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.25rem;
}

.feature-icon {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f8;
    border-radius: 8px;
}

.feature-item h3 {
    font-size: 1.0625rem;
    font-weight: 650;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--body-text);
    line-height: 1.6;
}

/* --- Stats ----------------------------------------------------------------
   These are the numbers people scan first; they earn the emphasis the
   headings were spending. */

.about-stats { gap: 1rem; }

.stat-item {
    padding: 1.5rem 1.25rem;
    text-align: left;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

/* --- Navigation ----------------------------------------------------------- */

.navbar {
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(8px);
}

.nav-logo h2 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.01em; }

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--body-text);
}

.nav-link:hover, .nav-link.active { color: var(--navy); }

/* --- Footer ---------------------------------------------------------------
   Full-strength white on navy is harsher than it needs to be. */

.footer { background: #141a4f; padding: 64px 0 24px; }

.footer,
.footer p,
.footer a { color: rgba(255,255,255,0.72); }

.footer h3, .footer h4 { color: #ffffff; }

.footer-section h3 { font-size: 1.05rem; }
.footer-section h4 { font-size: 0.8rem; letter-spacing: 0.02em; }

.footer p, .footer a { font-size: 0.925rem; line-height: 1.65; }

.footer a:hover { color: #ffffff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.5rem;
    font-size: 0.85rem;
}

/* --- Focus & motion -------------------------------------------------------
   Keyboard focus was invisible; entrance animations fired on every element. */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Small screens -------------------------------------------------------- */

@media (max-width: 768px) {
    .hero { padding: 104px 0 64px; }
    .about-preview, .why-choose-us, .why-choose-us.asym-section { padding: 64px 0; }
    .section-header { margin-bottom: 2.5rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }
}
