/* ABOUT PREVIEW SECTION */
.about-preview {
    padding: 100px 10%;
    background-color: #20363a;   
    text-align: center;
}

.about-container {
    max-width: 900px;
    margin: auto;
    margin-top:-5px;
}

/* Heading */
.about-heading {
    font-size: 38px;
    color: #D6C6B8;   
    margin-bottom: 40px;
    font-weight: 700;
}

/* Paragraph */
.about-text {
    font-size: 24px;
    line-height: 1.5;
    color: #ffffff;   
    margin-bottom: 42px;
}

/* Button */
.about-btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: #D6C6B8;   
    color: #20363a;             
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s ease;
}

.about-btn:hover {
    background-color: #ffffff;
    color: #20363a;
    transform: translateY(-3px);
}

.about-preview {
    background-color: #1f3d3d;
    padding: 80px 20px;  
      
}

.about-heading {
    opacity: 0;
    transform: translateX(120px);  
    transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-heading.show {
    opacity: 1;
    transform: translateX(0); 
}

/* =====================================================
   ABOUT WRAPPER (MAIN)
===================================================== */

.about-us-section {
    background: #d8c9bc;
    padding: 20px 40px 60px 40px; 
    
}

.about-us-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 100px;
}

.about-us-image {
    width: 500px;
    margin: auto;
    overflow: hidden;
    position: relative;
    margin-top:100px;

    clip-path: ellipse(75% 100% at 50% 50%);

    box-shadow: 0 40px 80px rgba(0,0,0,0.4);

    transform: translateY(150px);
    opacity: 0;
    transition: all 1.2s ease;
}

.about-us-image.show {
    transform: translateY(0);
    opacity: 1;
}

.about-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.about-us-image:hover img {
    transform: scale(1.08);
}

.about-us-text {
    flex: 1;
    padding-left: 20px;
    animation: fadeUp 1s ease forwards;
    margin-top:20px;
}

.about-us-text h1 {
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 29px;
    color:#20363a;
    margin-top:20px;
}

.about-us-text p {
    font-size: 20px;
    line-height: 1.9;
    color: #20363a;
    margin-bottom: 18px;
    margin-top: 30px;

    opacity: 0;
    transform: translateX(120px);  
    transition: all 1.2s ease;
}

/* When visible (IntersectionObserver adds .show) */
.about-us-text p.show {
    opacity: 1;
    transform: translateX(0);
}

.about-footer {
    background: #20363a;
    color: white;
    height: 100px;             
    display: flex;
    align-items: center;       
    justify-content: center;   
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
}

@media (max-width: 768px) {

    .about-footer {
        min-height: auto;      
        padding: 25px 20px;
        font-size: 12px;       
        letter-spacing: 1px;   
        line-height: 1.6;
    }
}

/* ===== SECTION BACKGROUND ===== */

.mission-section {
    background: #d8c9bc;  
    padding: 100px 50px 100px 50px;
    position: relative;
    overflow: hidden;
}

.mission-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: row;   
    align-items: center;
    justify-content: space-between;
}

/* Left Side */
.mission-left {
    flex: 1;
    margin-top: -30px;
}

.mission-small {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
    color: #111;
}

.mission-big {
    font-size: 70px;
    font-weight: 700;
    margin: 10px 0 0 0;
    color: #000;
    margin-left:-5px;
    margin-top:5px;
}

.mission-divider {
    width: 6px;
    height: 220px;
    background: #ff5a1f;
    margin: 10px 60px;
}

/* Right Side */
.mission-right {
    flex: 1.3;
}

.mission-right p {
    font-size: 20px;
    line-height: 1.8;
    color: #1c1c1c;
}

/*

===== OUTER BEIGE SECTION =====

.about-team {
    background: #d8c9bc;
    padding: 60px 0;
}

===== INNER TEAL BOX =====

.team-container {
    max-width: 1200px;
    margin: auto;
    background: #d8c9bc; 
    padding: 40px 50px;
    box-sizing: border-box;
}

===== HEADING AREA =====

.team-heading {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 80px;
}

.team-line {
    width: 6px;
    height: 110px;
    background: #ff5a1f;
    margin-right: -15px;
    margin-top: 10px;   
}

.team-title-text {
    display: flex;
    flex-direction: column;
}

.team-small {
    font-size: 40px;
    letter-spacing: 3px;
    font-weight: 500;
    color: #20363a;
}

.team-big {
    font-size: 52px;
    margin: 5px 0 0 0;
    font-weight: 700;
    color: #20363a;
    letter-spacing: 2px;
}

===== GRID =====

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

===== CARD =====

.team-card {
    text-align: center;
}

.team-card img {
    width: 180px;
    height: 230px;
    object-fit: cover;
    object-position: top center;   
    margin: 0 auto 20px;
    display: block;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.team-card img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-card h4 {
    font-size: 19px;
    font-weight: 600;
    color: #20363a;
    margin-bottom: 6px;
}

.team-card p {
    font-size: 18px;
    color: #20363a;
    font-weight: 350;
}

===== RESPONSIVE =====

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-big {
        font-size: 42px;
    }

    .team-small {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-container {
        padding: 60px 30px 80px;
    }
}

*/

/* =========================================
   MOBILE RESPONSIVE FIX
========================================= */

@media (max-width: 992px) {

    /* ABOUT MAIN SECTION */
    .about-us-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .about-us-image {
        width: 100%;
        max-width: 600px;
        margin-top: 40px;
    }

    .about-us-text {
        padding-left: 0;
    }

    .about-us-text h1 {
        font-size: 32px;
    }

    .about-us-text p {
        font-size: 18px;
        margin-top: 15px;
    }

    /* MISSION SECTION */
    .mission-container {
        flex-direction: column;
        text-align: center;
    }

    .mission-divider {
        width: 25%;     
        height: 5px;
        margin: 25px auto;
    }

    .mission-small {
        font-size: 33px;
    }

    .mission-big {
        font-size: 45px;
    }

    .mission-right p {
        font-size: 20px;
    }

}


/* =========================================
   SMALL MOBILE (480px)
========================================= */

@media (max-width: 480px) {

    .about-preview {
        padding: 60px 20px;
    }

    .about-heading {
        font-size: 26px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .about-us-section {
        padding: 20px 20px 40px 20px;
    }

    .about-us-text h1 {
        font-size: 26px;
    }

    .about-us-text p {
        font-size: 16px;
        line-height: 1.6;
    }

}

/* ===============================
   MOBILE ONLY (MISSION SECTION)
================================ */
@media (max-width: 768px) {

    .mission-section {
        padding: 70px 25px;
        text-align: center;
    }

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

    .mission-left {
        margin-top: 0;
    }

    .mission-small {
        font-size: 28px;
    }

    .mission-big {
        font-size: 40px;
        margin-left: 0;
    }

    /* Vertical divider → Horizontal divider */
    .mission-divider {
        width: 50%;         
        height: 4px;
        margin: 20px auto;
    }

    .mission-right {
        margin-top: 8px;
    }

    .mission-right p {
        font-size: 16px;
        line-height: 1.7;
        padding: 0 5px;
    }

}