/* Global Font Style */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Milestones Section */
.milestones-section {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.milestones-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #003366;
}

.milestones-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.milestone {
    position: relative;
    flex: 1;
    max-width: 200px;
    min-width: 150px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.milestone-arrow {
    display: inline-block;
    background-color: #003366;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    padding: 15px 20px;
    border-radius: 20px 0 0 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.milestone-arrow.alt {
    background-color: #ffcc00;
    color: #003366;
}

.milestone-content {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    min-height: 150px;
}

.milestone-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Responsive Adjustments for Milestones Section */
@media (max-width: 768px) {
    .milestones-container {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center-align items */
    }

    .milestone {
        max-width: 100%; /* Allow full-width for milestones */
        flex: 1 0 auto; /* Ensure milestones take up available space */
    }

    .milestone-arrow {
        font-size: 18px; /* Reduce font size for smaller screens */
        padding: 10px 15px; /* Adjust padding */
    }

    .milestone-content {
        min-height: 120px; /* Reduce minimum height for content */
        font-size: 14px; /* Adjust font size */
    }
}
