/**
 * main.css - Custom styles for Beyond VC landing page
 */

/* ======= General Elements ======= */
:root {
    --primary: #0A2342;
    --secondary: #2563EB;
    --accent: #DC2626;
    --neutral: #F3F4F6;
    --dark: #1F2937;
    --light: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.5;
    --header-height: 5rem;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--secondary), #4F46E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section {
    padding: 5rem 0;
}

.section-gray {
    background-color: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    background-color: var(--gray-100);
    color: var(--gray-800);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.section-tag-blue {
    background-color: #EBF5FF;
    color: var(--secondary);
}

.section-tag-gray {
    background-color: var(--gray-200);
    color: var(--gray-800);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0 1.5rem;
}

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

.max-width-content {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

/* Hidden for mobile, visible for desktop */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md-flex {
        display: flex;
    }
    
    .md-hidden {
        display: none;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.5rem;
    }
}

/* Grid utilities */
.grid-two-columns {
    display: grid;
    gap: 4rem;
}

@media (min-width: 768px) {
    .grid-two-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.col-span-2 {
    grid-column: span 2;
}

/* ======= Header & Navigation ======= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.logo {
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

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

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

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--gray-700);
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--secondary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    background-color: var(--light);
    z-index: 100;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    padding: 1.5rem 0;
}

.mobile-menu.active {
    transform: translateX(0);
}

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

.close-menu {
    background: none;
    border: none;
    color: var(--gray-700);
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-menu:hover {
    color: var(--secondary);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    display: block;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

.w-full {
    width: 100%;
}

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

.mt-4 {
    margin-top: 1rem;
}

/* ======= Hero Section ======= */
.hero-section {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.03) 0%, rgba(37, 99, 235, 0.07) 100%);
    z-index: -1;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 36rem;
}

/* Improved hero form with better spacing */
.hero-form {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-form:hover {
    transform: translateY(-5px);
}

.hero-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-form-subtitle {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Improved Select Input Styling */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--gray-600);
    pointer-events: none;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
}

.hero-form-submit {
    width: 100%;
    background-color: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.hero-form-submit:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.form-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

.wave-separator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 0;
}

.wave-svg {
    width: 100%;
    height: auto;
    display: block;
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* ======= The Truth Section ======= */
.step-cards {
    position: relative;
}

.step-cards:before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--gray-200);
}

.step-card {
    position: relative;
    display: flex;
    padding: 1.5rem 0;
    margin-left: 4rem;
}

.step-number {
    position: absolute;
    left: -4rem;
    top: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary);
    border-radius: 50%;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.step-description {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Impact statement replaces stats */
.impact-statement {
    background-color: var(--gray-50);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-700);
    border-left: 4px solid var(--secondary);
}

@media (max-width: 640px) {
    .step-cards:before {
        left: 1.25rem;
    }
    
    .step-card {
        margin-left: 2.5rem;
    }
    
    .step-number {
        left: -2.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .step-description {
        font-size: 1rem;
    }
}

/* ======= CTA Strip ======= */
.cta-strip {
    background-color: var(--secondary);
    color: white;
    padding: 3rem 0;
}

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

.cta-strip-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-light {
    background-color: white;
    color: var(--secondary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .cta-strip-content {
        flex-direction: row;
        text-align: left;
    }
    
    .cta-strip-title {
        margin-bottom: 0;
        font-size: 1.75rem;
    }
}

/* ======= Mission Section ======= */
.mission-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mission-item {
    display: flex;
    align-items: flex-start;
}

.mission-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
}

.mission-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
}

.mission-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.mission-description {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.6;
}

.mission-visual {
    position: relative;
    margin-top: 3rem;
}

.mission-image-container {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

.founder-card {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    background-color: white;
    padding: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-width: 80%;
}

.founder-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.founder-image {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.founder-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
}

.founder-title {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.founder-quote {
    font-style: italic;
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.25rem;
}

.founder-quote:before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    line-height: 1;
    color: var(--secondary);
    opacity: 0.5;
}

@media (min-width: 768px) {
    .mission-visual {
        margin-top: 0;
    }
}

/* ======= Vision Section ======= */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.vision-card {
    height: 100%;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.vision-card-inner {
    padding: 1.75rem;
    border-top: 4px solid var(--secondary);
    height: 100%;
}

.vision-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.vision-description {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .vision-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .vision-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ======= Future Fights Section ======= */
.future-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.future-highlight {
    background-color: var(--primary);
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
}

.future-highlight p:first-child {
    margin-bottom: 0.5rem;
}

.future-blocks {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.future-block {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.future-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.future-block-content {
    padding: 1.75rem;
}

.future-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.future-svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--secondary);
}

.future-block-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.future-block-description {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .future-blocks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .future-blocks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ======= Join Us Section - Improved mobile layout ======= */
.join-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.join-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.join-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.join-card-inner {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.join-card-header {
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.join-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.join-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.join-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.join-card-content {
    padding: 1.5rem;
    flex: 1;
}

.join-card-content p {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    color: var(--gray-700);
}

.join-card-cta {
    font-weight: 600;
    color: var(--primary);
    margin: 1rem 0;
}

.join-card-benefits {
    margin-top: 1.5rem;
}

.join-benefit {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.join-benefit svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--secondary);
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.join-benefit span {
    font-size: 1rem;
    color: var(--gray-700);
}

.join-card-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.join-card-button {
    width: 100%;
    text-align: center;
    font-size: 1.125rem;
    padding: 0.875rem 1.5rem;
}

@media (min-width: 768px) {
    .join-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ======= Build Together Section ======= */
.build-message {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-top: 2rem;
    line-height: 1.4;
}

.build-message p {
    margin-bottom: 0.5rem;
}

/* Engagement options (calendar + whatsapp) */
.engagement-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.engagement-option {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.engagement-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.engagement-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--gray-100);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engagement-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--secondary);
}

.engagement-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.engagement-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.engagement-button {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .engagement-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ======= Contact Form ======= */
.contact-container {
    margin-top: 3rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.contact-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.contact-form-container {
    padding: 2rem;
}

/* Improved contact options for mobile */
.contact-options {
    margin-bottom: 2rem;
}

.contact-options-title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact-option-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    background-color: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-option-button.active {
    border-color: var(--secondary);
    background-color: rgba(37, 99, 235, 0.05);
}

.contact-option-button:hover:not(.active) {
    border-color: var(--gray-300);
}

.contact-option-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
}

.contact-option-button.active .contact-option-icon {
    color: var(--secondary);
}

.contact-option-text {
    text-align: center;
}

.contact-option-label {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.contact-option-button.active .contact-option-label {
    color: var(--secondary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Make sure inputs are large enough on mobile */
@media (max-width: 640px) {
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 1rem;
    }
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
}

.form-checkbox input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.checkbox-mark {
    height: 1.25rem;
    width: 1.25rem;
    background-color: var(--light);
    border: 1px solid var(--gray-300);
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.form-checkbox input:checked ~ .checkbox-mark {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.checkbox-mark:after {
    content: "";
    position: absolute;
    display: none;
    left: 0.4375rem;
    top: 0.1875rem;
    width: 0.375rem;
    height: 0.75rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox input:checked ~ .checkbox-mark:after {
    display: block;
}

.checkbox-label {
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.form-submit:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.submit-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-options-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Form Success/Error States */
.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.form-success-icon svg {
    width: 2rem;
    height: 2rem;
}

.form-success-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-success-message {
    color: var(--gray-600);
    max-width: 30rem;
    margin: 0 auto;
}

.form-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

/* ======= Footer ======= */
.site-footer {
    background-color: var(--primary);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 2.5rem;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 25rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-nav-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-info-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: white;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .copyright {
        margin-bottom: 0;
    }
}

/* ======= Video Modal ======= */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 64rem;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 1.5rem;
}

.video-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: white;
    color: var(--gray-700);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background-color: var(--gray-100);
    color: var(--gray-900);
}

.video-modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.video-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gray-800);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.video-note {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 1rem;
    color: var(--gray-400);
}

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

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

.spinner-path {
    stroke: currentColor;
    stroke-dasharray: 60, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
}

/* ======= Utility Classes ======= */
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

/* Responsive Utilities */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:space-y-0 > * + * {
        margin-top: 0;
    }
    
    .sm\:space-x-4 > * + * {
        margin-left: 1rem;
    }
}

/* Print styles */
@media print {
    .video-modal,
    .page-overlay {
        display: none !important;
    }
    
    .site-footer {
        background-color: white !important;
        color: black !important;
    }
    
    .footer-link,
    .footer-info-item,
    .footer-description,
    .copyright,
    .legal-link {
        color: black !important;
    }
    
    .social-link {
        background-color: #e5e5e5 !important;
        color: black !important;
    }
}

/* Accessibility focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Skip to content link for keyboard users */
.skip-to-content {
    position: absolute;
    top: -9999px;
    left: -9999px;
    background: var(--secondary);
    color: white;
    padding: 1rem;
    z-index: 100;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
    left: 0;
}

/* High contrast mode adjustments */
@media (forced-colors: active) {
    .btn,
    .form-submit,
    .mid-form-button {
        border: 2px solid currentColor;
    }
    
    .section-tag,
    .vision-card,
    .step-number,
    .testimonial-avatar {
        border: 1px solid currentColor;
    }
}

/* Improved error styles */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--error);
    background-color: rgba(239, 68, 68, 0.05);
}

.error-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.375rem;
}

/* Make sure buttons have good touch targets on mobile */
@media (max-width: 640px) {
    .btn,
    .form-submit,
    .contact-option-button,
    .floating-form-submit {
        min-height: 3rem; /* 48px - good touch target size */
    }
    
    .hero-form-submit {
        margin-top: 2rem;
        padding: 1rem;
    }
}

/* Add this to fix the contact form on mobile */
@media (max-width: 640px) {
    .contact-options-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 1.25rem;
    }
    
    .contact-option-button {
        padding: 0.75rem 0.5rem;
        min-height: 4rem;
    }
    
    .contact-option-icon {
        width: 1.75rem;
        height: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-option-label {
        font-size: 0.875rem;
        line-height: 1.2;
    }
    
    /* Make the form fields stack for better mobile view */
    .form-group {
        width: 100%;
    }
    
    /* Larger, more tappable buttons */
    .form-submit {
        padding: 1.25rem;
        margin-top: 1rem;
    }
}

/* Add to main.css */
@media (max-width: 640px) {
    /* Simplify the "Join Us" section on mobile */
    .join-cards {
        grid-template-columns: 1fr;
    }
    
    /* Make form inputs larger and more tappable */
    .form-input, 
    .form-select, 
    .form-textarea {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Larger checkboxes */
    .checkbox-mark {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Updated Button Styles for Hero Section */
.hero-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 5;
    min-width: 200px;
    text-align: center;
}

.hero-section .btn-primary {
    background-color: var(--secondary);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.hero-section .btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.hero-section .btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.hero-section .btn-secondary:hover {
    background-color: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.button-icon {
    width: 24px;
    height: 24px;
    margin-left: 0.5rem;
}