/* about.css */

/* Main container styles */
.main-container {
    padding: 4rem 2rem;
    text-align: center;
}

.main-container h1 {
    margin-bottom: 1rem;
    font-size: 4.5rem; /* Changed from rem to px */
}

/* About us section */
.about-us {
    padding: 3rem 2rem;
    text-align: center;
    margin: 0 auto;
}

/* Journey section */
.journey-section {
    padding: 4rem 2rem;
}

.journey-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem; /* Changed from rem to px */
}

.journey-content {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.journey-text {
    flex: 1;
    padding: 0 2rem;
    font-size: 2.5rem; /* Changed from rem to px */
}

.journey-image {
    flex: 1;
}

.journey-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.certificate-section{
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.certificate-section img{
    height: 900px;
}

.certificate-section h1{
    width: 100%;
}
/* Timeline section */
.timeline {
    display: flex;
    justify-content: space-around;
    padding: 4rem 2rem;
    flex-wrap: wrap;
}

.milestone {
    text-align: center;
    margin: 1rem;
}

.milestone h3 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem; /* Changed from rem to px */
}

/* Booking section */
.booking {
    text-align: center;
    padding: 4rem 2rem;
}

.booking h3 {
    margin-bottom: 1rem;
    font-size: 4rem; /* Changed from rem to px */
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
}

.booking p {
    margin-top: 1rem;
    font-size: 2rem; /* Changed from rem to px */
}

/* ABOUT US PAGE */

.about-us {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    font-size: 5rem;
    text-align: center;
    padding: 0 2rem;
}

.about-us h4 {
    max-width: 1000px;
    width: 100%;
    text-align: left;
}

.journey-section {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px; /* Restrict the section's width */
    margin: 0 auto; /* Center the section horizontally */
}

.journey-section h2 {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.journey-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem; /* Adds space between elements */
    flex-wrap: wrap; /* Ensures responsiveness */
}

.journey-text {
    max-width: 600px; /* Restrict the width of text */
    flex: 1;
    font-size: 2.5rem;
    line-height: 1.6;
    text-align: left;
}

.journey-image {
    flex: 0 1 200px;
}

.journey-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px; /* Slightly rounded corners for a polished look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds depth */
}

@media (max-width: 768px) {
.certificate-section img{
    height: 400px;
}
    .about-us h4 {
        font-size: 2.5rem;
    }
    .journey-content {
        flex-direction: column; /* Stacks elements vertically on smaller screens */
        text-align: center;
    }

    .journey-text {
        max-width: 100%; /* Adjusts to screen width for smaller devices */
    }

    .journey-image img {
        max-width: 300px; /* Adjust the image size for better responsiveness */
    }
}

.timeline {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap into rows */
    justify-content: space-around; /* Evenly spaces items horizontally */
    gap: 20px; /* Adds space between items */
    padding-top: 75px;
    padding-left: 75px;
    padding-right: 75px;
}

.milestone {
    flex: 0 1 calc(50% - 20px); /* Each milestone takes up 50% of the container minus the gap */
    border: 1px solid #ccc; /* Optional: Adds a border */
    padding: 15px; /* Adds some padding inside each box */
    background-color: #d5cfcf; /* Optional: Background color */
    border-radius: 8px; /* Optional: Rounded corners */
    text-align: center; /* Centers the text inside each box */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}

.timeline h3 {
    margin: 0 0 10px; /* Adds space below the heading */
    font-size: 3rem; /* Adjusts heading size */
    color: #333; /* Optional: Heading color */
}

.timeline p {
    margin: 0; /* Removes default paragraph margin */
    font-size: 2rem; /* Adjusts text size */
    color: #000; /* Optional: Text color */
}

.booking {
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.booking h3 {
    margin-bottom: 20px;
    font-size: 4rem;
}

.booking p {
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 2rem;
}

.btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 12px 24px; /* Slightly larger button */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.5rem; /* Increased from 1rem */
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #45a049;
}
