﻿@import url('https://fonts.googleapis.com/css2?family=Homemade+Apple&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Rajdhani:wght@300;400;500;600;700&family=Tangerine:wght@400;700&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

.about-section {
    font-family: Arial, sans-serif;
    background-color: white;
    overflow: hidden;
}

.about-heading h1 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #f99621;
    font-size: 55px;
    text-align: center;
    margin-top: 35px;
}

.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 65px auto;
    margin-right: -50px;
}

.about-description {
    flex: 1;
    width: 600px;
    margin: 0px 25px;
    animation: fadeInUp 2s ease;
}

    .about-description h2 {
        font-size: 38px;
        margin-bottom: 20px;
        color: #333;
    }

    .about-description p {
        font-size: 24px;
        line-height: 1.5;
        margin-bottom: 40px;
        color: #666;
    }

.about-image {
    flex: 1;
    width: 100%;
    margin: auto;
    border-radius: 10px;
    animation: fadeInRight 2s ease;
}

/* img {
    width: 100%;
    height: auto;
    border-radius: 10px;
} */


@media screen and (max-width: 768px) {
    .about-heading h1 {
        font-size: 45px;
        margin-top: 30px;
    }

    .about-section {
        margin: 0px;
    }

    .about-container {
        width: 100%;
        flex-direction: column;
        margin: 0px;
        padding: 0px 40px;
    }

    .about-description {
        width: 100%;
        margin: 35px 0px;
    }

        .about-description h2 {
            font-size: 30px;
        }

        .about-description p {
            font-size: 18px;
            margin-bottom: 20px;
        }

    .about-image {
        width: 100%;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
