/* CSS Variables for consistent styling */
:root {
    --primary: #25bdeb;
    --primary-light: #a8d8e6;
    --primary-dark: #221d54;
    --secondary: #f9fafb;
    --accent: #c6ebad;
    --dark: #1e293b;
    --light: #ffffff;
    --gray: #5d6672;
    --mt_dkblue: #221d54;
    --mt_ltblue: #14a4bc;
    --mt_green: #8dc63f;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header styles */
header {
    background-color: var(--light);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

/* Hero section */
.hero {
    /* min-height: 90vh; */
    display: stretch;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 2rem;
    background-color: var(--secondary);
    border-radius: 16px;
}

.hero-content {
    padding-left: 5rem;
    padding-right: 5rem;   
}

.hero-content .logo {
    min-width: max-content;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: bolder;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Features section */
.features-section {
    padding: 6rem 2rem;
    background-color:  #f8fafc;
    border-radius: 16px;
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--dark);
}


.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--mt_dkblue);
}
.features-content {
    display: stretch;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
}
.features-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--gray);
    padding-bottom: 2rem;
}

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

.feature-card {
    background-color: var(--mt_ltblue);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    width: 50%;
    display: block;
    align-self:center;
    margin-left: auto;
    margin-right: auto;
}


/* Technology section */
.tech-section {
    padding: 6rem 2rem;
    background-color:var(--light);
    border-radius: 16px;
}

.tech-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
}
.tech-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--gray);
    padding-bottom: 2rem;
}

.tech-text {
    max-width: 500px;
}

.tech-card {
    background-color: var(--mt_green);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tech-icon {
    font-size: 3rem;
    align-content:center;
    width: 50%;
    display:block;
    align-self:center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    color: white;
}

/* CTA section */
.cta-section {
    padding: 6rem 2rem;
    background-color: #f0f9ff;
    text-align: center;
    border-radius: 16px;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--mt_ltblue);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Footer */
footer {
    padding: 4rem 2rem 2rem;
    margin-top: auto; /* Push to top of viewport */
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.founder-card {
    background-color: var(--secondary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.founder-img {
    max-width: 150px;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }

    .hero-content, .tech-content, .solution-cards {
        flex-direction: column;
        text-align: center;
    }

    .tech-text {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .features-grid, .solution-cards {
        gap: 2rem;
    }
}

/* Additional adjustments for smaller screens */
@media (max-width: 480px) {
    h1 {
        font-size: clamp(1.5rem, 6vw, 3rem);
    }

    p, .tagline {
        font-size: 1rem; /* Ensure readability */
    }

    header {
        padding: 1rem;
    }

    .hero-content, .features-section, .tech-section, .cta-section {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

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