/* Hero Section with Canvas Animation */
.hero {
    /* margin-top: 70px; */
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

#dataCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    background: rgba(231, 76, 60, 0.2);
    color: var(--primary-red);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.hero h1 {
    font-family: 'Source Serif Pro', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    font-weight: 300;
    line-height: 1.6;
}

/* Mission Section */
.mission {
    background: white;
    padding: 5rem 5%;
    text-align: center;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-statement {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 2rem;
}

.mission-statement::before,
.mission-statement::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-red);
    opacity: 0.3;
    position: absolute;
    font-family: Georgia, serif;
}

.mission-statement::before {
    top: -1.5rem;
    left: 0;
}

.mission-statement::after {
    content: '"';
    bottom: -2.5rem;
    right: 0;
}

.mission-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.features {
    background: var(--warm-gray);
    padding: 5rem 5%;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--warm-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

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

/* Stats Section */
.stats {
    background: white;
    padding: 4rem 5%;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: var(--border-light);
}

@media (max-width: 768px) {
    .stat-item:not(:last-child)::after {
        display: none;
    }
}

.stat-number {
    font-family: 'Source Serif Pro', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-medium);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Institute Section */
.institute {
    background: var(--off-white);
    padding: 5rem 5%;
    text-align: center;
}

.institute-card {
    background: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.institute-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.institute-logo svg {
    width: 100%;
    height: 100%;
}

.institute-name {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.institute-subtitle {
    color: var(--text-medium);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.institute-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 4rem 5%;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn{
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}


/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .mission-statement {
        font-size: 1.4rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}