﻿/* General Page Styling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,800;0,900;1,100;1,200;1,300;1,400;1,800;1,900&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;   
}
body {
    background-color: #fbe9d0;
}

/* About Us Content */
main {
    padding: 50px 20px;
}

/* Flex layout for About Us */
.about-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Section: Text Content */
.about-text {
    padding-top: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    text-align: left;
}

.about-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
}

/* Right Section: Image */
.right {
    flex: 1;
    max-width: 50%;
    min-width: 300px;
    margin-top: 60px;
    box-shadow: rgba(0, 0, 0, 0.24) -1px -5px 10px;
}

.right img {
    object-fit: cover;
}

/* Business Sections */
.about-sections {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-sections h2 {
    text-align: center;
    font-size: 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap */
    justify-content: space-evenly;
    gap: 20px;
}

.scard {
    width: 100%;
    max-width: 300px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scard:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.scard img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.scard h3 {
    background-color: #90AEAD;
    margin: 0;
    padding: 10px;
    font-size: 1.2rem;
    color: #333;
}

.scard a {
    text-decoration: none;
    color: inherit;
}

/* Our Team Section */
.ourteam {
    margin-top: 100px;
}

.description h2,
.description p {
    text-align: center;
    padding: 10px 20px;
}

.post1,
.post2 {
    display: flex;
    flex-wrap: wrap; /* Enable wrapping for small screens */
    justify-content: space-evenly;
    gap: 20px;
    margin-top: 90px;
}

/* Team Cards */
.card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.card__header {
    position: relative;
    width: 100%;
    height: 150px;
    background: linear-gradient(5deg, #a9885b, #100b03);
}

.card__image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card__body {
    padding: 85px 20px 30px;
    background-color: #fbe9d0;
}

.card__name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.card__bio {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.card__button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background: #874f41;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.card__button:hover {
    background: #a777e3;
}

/* Media Queries */
@media (max-width: 1024px) {
    .about-content {
        flex-wrap: wrap;
    }

    .about-text, .right {
        max-width: 100%;
    }

    .row {
        flex-wrap: wrap;
        gap: 15px;
    }

    .post1, .post2 {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .about-text h1 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .card__image {
        width: 120px;
        height: 120px;
    }

    .card__name {
        font-size: 1.2rem;
    }

    .card__bio {
        font-size: 0.8rem;
    }

    .card__button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .row {
        flex-direction: column;
        align-items: center;
    }

    .right img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .about-text h1 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .card__name {
        font-size: 1rem;
    }

    .card__bio {
        font-size: 0.8rem;
    }

    .card__button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .card__image {
        width: 200px;
        height: 200px;
        top: 30px;
        position: absolute;
    }

    .post1, .post2 {
        flex-direction: column;
        gap: 30px;
    }

    .right {
        width: 100%;
    }

    .row {
        flex-direction: column;
    }
    .ourteam1{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.whatsapp {
            font-size: 50px; /* Increase icon size */
            color: #25D366; /* WhatsApp green */
            text-decoration: none; /* Remove underline */
            position: fixed;
            bottom: 90px;
            right: 35px;
        }

        .whatsapp:hover {
            color: #1ebe5d; /* Slightly darker green on hover*/
    }
