/* about section */
.about-section {
    background-color: #313639;
    padding: 80px 0;
    color: #ffffff;
    font-family: "Ovo", serif;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* padding for mobile */
}

.about-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 30px;
    font-family: "Ovo", serif;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
    color: #ddd;
}

.about-btn {
    margin-top: 25px;
    padding: 12px 30px;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    letter-spacing: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: #ffffff;
    color: #313639;
}

/* ------------------------------------
   📱 Mobile Responsive Breakpoints
-------------------------------------*/

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 32px;
    }

    .about-text p {
        font-size: 15px;
    }
}

/* Large Mobile (768px and below) */
@media (max-width: 768px) {
    .about-title {
        font-size: 28px;
        line-height: 1.3;
        text-align: center;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }

    .about-btn {
        width: 100%;
        padding: 14px 0;
        font-size: 13px;
        letter-spacing: 1px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .about-section {
        padding: 50px 0;

    }

    .about-title {
        font-size: 24px;
        text-align: center;
    }

    .about-text p {
        font-size: 14px;
        text-align: left;
    }

    .about-btn {
        font-size: 12px;
        padding: 12px 0;
        border-width: 1px;
    }
}

.third-section {
    background-color: #f7f7f7;
    padding: 50px 20px;
    font-family: 'Georgia', serif;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Flex container for text + image */
.team-member {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Text part */
.text-wrapper {
    flex: 1 1 400px;
}

.name {
    font-size: 25px;
    margin-bottom: 5px;
    font-weight: 400;
    color: #313639;
}

.designation {

    display: block;
}

.divider {
    border: none;
    border-bottom: 3px solid #222;
    width: 600px;
    margin: 15px 0 25px 0;
}

.text-wrapper p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 600px;
}

/* Image part */
.image-wrapper {
    flex: 0 0 300px;
    max-width: 300px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .designation {
        font-size: 20px;
    }

    .text-wrapper,
    .image-wrapper {
        flex: 1 1 100%;
        max-width: 100%;



        p {

            text-align: left;
        }
    }


    .divider {
        border: none;
        border-bottom: 3px solid #222;
        width: auto;
        margin: 15px 0 25px 0;
    }

}

.dark-grey {
    background-color: #313639;
    color: #ffffff;

    h2 {
        color: #ffffff;
    }

    .divider {
        border-color: #ffffff;
    }
}