/* Intro Section */
.intro-about {
    height: 400px;
    width: 100vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(images/about/yangon.jpg);
}

.intro-about h1 {
    font-family: 'Libre Baskerville', serif;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    text-align: left;
    padding-left: 20px;
    margin-left: 100px;
    font-size: 80px;
    color: transparent;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
    background: linear-gradient(to right, rgb(183, 146, 130), rgb(255, 166, 0));
    background-clip: text;
}

@media (max-width: 760px) {


    .intro-about h1 {
        margin-left: 10px;
        font-size: 40px;
    }


}


/* Section Container */
.part1 {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Shared styles for each section */
.p1section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Image Container */
.p1image {
    flex: 1;
    max-width: 400px;
    position: relative;
    overflow: hidden; /* Ensures the image doesn't exceed container bounds */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.p1image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: block;
}

/* Hover effect: Slightly enlarge and move up */
.p1image:hover {
    transform: translateY(3px);
}

.p1image:hover img {
    transform: scale(1.1); /* Enlarges the image by 10% */
}

/* Inset Shadow Effect */
.p1image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2),
                inset -5px -5px 10px rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.p1image:hover::after {
    opacity: 1; /* Show inset effect on hover */
}

/* Text Container */
.p1text {
    padding: 20px;
    flex: 1;
    max-width: 500px;
    border-radius: 4px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover effect: Slightly move text up */
.p1text:hover {
    box-shadow: 8px 8px 12px rgba(0, 0, 0, 0.1), -8px -8px 12px white;
    transform: translateY(-3px);
}

.p1text h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 600;
}

.p1text p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* Reverse layout for the second section */
.p1reverse {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .p1section {
        flex-direction: column;
        text-align: center;
    }

    .p1reverse {
        flex-direction: column;
    }

    .p1image {
        max-width: 100%;
    }

    .p1text {
        max-width: 100%;
    }
}


/* Section Styling */
.part2 {
    text-align: center;
    padding: 40px;
    background-color: #f8f8f8;
}

.part2 h2 {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: bolder;
    font-size: 32px;
    margin-bottom: 20px;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* Service Item (Clickable) */
.service-item {
    display: block;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
    color: inherit;
}

/* Image Styling */
.service-item img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Hover Effect */
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.15);
}

/* Text */
.service-item h3 {
    font-size: 20px;
    margin: 15px 0 10px;
}

.service-item p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {

    .services-grid {
        grid-template-columns: 1fr;
    }
}

.part3 {
    padding: 50px;
    max-width: 900px;
    margin: auto;
}

.part3 h2 {
    max-width: 280px;
    font-size: 32px;
    margin-bottom: 30px;
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: bolder;
    color: transparent;
    background: linear-gradient(to right, red, orange);
    background-clip: text;
}

.p3text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.point i {
    font-size: 24px;
    color: #ffae00; /* Adjust icon color */
    margin-top: 5px;
}

.text h3 {
    font-family: 'Libre Baskerville';
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #844f00;
}

.text p {
    font-family: 'Roboto', sans-serif;
    margin: 5px 0 0;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}


.part4 {
    padding: 50px;
    max-width: 900px;
    margin: auto;
    text-align: left;
    color: white;
}

.part4 h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-family: 'Libre Baskerville', serif;
    font-style: normal;
    font-weight: 800;
    text-align: center;
    color: orange; /* Theme color */
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: red; /* Vertical line in red */
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.step i {
    font-size: 24px;
    color: orange; /* Orange icons */
    background: black;
    border-radius: 50%;
    padding: 10px;
    border: 3px solid red; /* Red outline */
    position: relative;
    z-index: 2;
}

.content {
    background: #222; /* Dark grey box */
    padding: 15px;
    border-radius: 5px;
    max-width: 700px;
    border-left: 4px solid red; /* Red left border */
}

.content h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: orange;
}

.content p {
    margin: 5px 0 0;
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

/* Special Styling for "Join Our Journey" */
.journey {
    margin-top: 50px;
    text-align: center;
    background: red;
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.journey h3 {
    font-size: 24px;
    font-weight: bold;
}

.journey p {
    font-size: 18px;
    margin-top: 10px;
}

