

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}


#features {
    scroll-margin-top: 5rem;  /* Adjust this value based on your navbar height */
}


/* Navigation */
nav {
    background-color: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Hero Section */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: #4f46e5;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Add this line */
    width: 100%; /* Add this line */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 5.0rem;
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-content p {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-content .cta-button {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.9s;
}

/* Problem Section */
.problem {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.problem-content {
    max-width: 1200px;
    margin: 0 auto;
}

.problem-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.problem-headline {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #4f46e5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Your existing CSS remains the same until the stat-card styles */

/* Replace the stat-card related styles with these */

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    color: #4f46e5;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.stat-card ul {
    list-style: none;
}

.stat-card ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.4;
}

.stat-card ul li:before {
    content: "•";
    color: #4f46e5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.stat-card ul li a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline;
}

.stat-card ul li a:hover {
    color: #4f46e5;
}

.stat-card ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #4f46e5;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.stat-card ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Citation tooltip styles */
.stat-card ul li a[data-citation]::before {
    content: attr(data-citation);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: #4f46e5;
    color: white;
    font-size: 0.8em;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.stat-card ul li a[data-citation]:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 5px);
}

@media (max-width: 768px) {
    .stat-card ul li a[data-citation]::before {
        display: none;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
}

/* Rest of your existing CSS remains the same */

/* Features Section */
/* Features/Services Section */
.features {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #1f2937;
}

.services-headline {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #4f46e5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: #4f46e5;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #1f2937;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .features-content h2 {
        font-size: 2rem;
    }
    
    .services-headline {
        font-size: 1.25rem;
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: white;
    color: #4f46e5;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }
}

.about {
    padding: 5rem 2rem;
    background-color: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #1f2937;
}

.about-headline {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #4f46e5;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    color: #4f46e5;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-values {
        order: 2;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 3rem 1.5rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-headline {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
}

/* Contact Section Styles */
.contact {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #1f2937;
}

.contact-headline {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #4f46e5;
}

/* Form Styles */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: #4f46e5;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact {
        padding: 3rem 1.5rem;
    }
    
    .contact-content h2 {
        font-size: 2rem;
    }
    
    .contact-headline {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.alert-container {
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.alert {
    display: none;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: slideDown 0.3s ease-out;
}

.alert.show {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.alert h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.alert p {
    margin: 0;
    font-size: 0.875rem;
}

/* Loading state for submit button */
.submit-button.loading {
    position: relative;
    color: transparent;
}

.submit-button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group input:invalid + .error-message,
.form-group textarea:invalid + .error-message {
    display: block;
}