﻿/* Milestones Page Specific Styles */
/* Milestones Hero Section */
.milestones-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 200px;
    max-height: 1200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.milestones-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.milestones-hero-title {
    font-family: 'Geometris Round', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Milestones Section */
.milestones-section {
    background-color: var(--light-gray);
    color: var(--primary-dark);
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.milestone-row {
    margin-bottom: 4rem;
}

.milestone-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.milestone-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.milestone-image-container:hover .milestone-image {
    transform: scale(1.05);
}

.milestone-content {
    padding: 0 2rem;
}

.milestone-title {
    font-family: 'Geometris Round', sans-serif;
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.milestone-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.milestone-link {
    display: inline-block;
    color: var(--accent-green);
    font-family: 'Geometris Round', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .milestone-link:hover {
        color: var(--primary-dark);
    }

/* Achievements Section */
.achievements-section {
    background-color: var(--primary-dark);
    color: var(--light-bg);
    position: relative;
}

.achievements-subtitle {
    font-family: 'Geometris Round', sans-serif;
    font-weight: 400;
    color: var(--light-bg);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.achievements-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.achievements-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Press Room Section */
.press-section {
    background-color: var(--light-gray);
    color: var(--primary-dark);
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .video-container:hover {
        transform: translateY(-5px);
    }

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .milestones-hero {
        height: 70vh;
        min-height: 500px;
    }

    .milestones-hero-title {
        letter-spacing: 1px;
    }

    .milestone-content {
        padding: 0 1rem;
    }

    .milestone-title {
        font-size: 1.5rem;
    }

    .milestone-text {
        font-size: 1rem;
    }

    .achievements-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .milestones-hero {
        height: 60vh;
        min-height: 400px;
    }

    .milestones-hero-title {
        line-height: 1.2;
    }
}

/* Ensure content stays visible on very small screens */
@media (max-width: 320px) {
    .milestones-hero {
        min-height: 350px;
    }
}
