﻿/* ===== Base Styles ===== */
.about-us {
    padding: 40px 20px;
    font-family: 'Nunito', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Founder Section ===== */
.founder-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 25px;
    padding: 60px 40px;
    margin-bottom: 80px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #33477d 0%, #008080 100%);
}

.founder-content {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-text {
    flex: 2;
    padding-right: 20px;
}

.founder-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #33477d;
    margin-bottom: 30px;
    line-height: 1.2;
    position: relative;
}

.founder-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #33477d 0%, #008080 100%);
    border-radius: 2px;
}

.founder-text p {
    font-size: 1.1rem;
    color: #33477d;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
}

.founder-text p:first-of-type {
    font-weight: 500;
}

.founder-text p:last-of-type {
    font-weight: 600;
    font-style: italic;
    color: #008080;
    border-left: 4px solid #008080;
    padding-left: 20px;
    margin-top: 30px;
}

.founder-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid white;
}

.founder-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ===== Story and Mission Sections ===== */
.our-story, .our-mission {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.story-text, .mission-text {
    flex: 1;
    padding: 20px;
}

.story-image, .mission-image {
    flex: 1;
    padding: 20px;
}

.story-text h2, .mission-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #33477d;
    margin-bottom: 25px;
    line-height: 1.2;
}

.story-text p, .mission-text p {
    font-size: 1.1rem;
    color: #33477d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.story-image img, .mission-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.story-image img:hover, .mission-image img:hover {
    transform: scale(1.02);
}

/* ===== Difference Section ===== */
.difference-container {
    text-align: center;
    background-color: #33477d;
    padding: 60px 40px;
    border-radius: 25px;
    margin-bottom: 80px;
}

.difference-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
}

.difference-container p {
    font-size: 1.2rem;
    color: white;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* ===== Carousel Section ===== */
.carousel-section {
    padding: 60px 0;
    border-radius: 25px;
    margin: 20px 0;
    position: relative;
    width: 100%;

}

    .carousel-section h2 {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 700;
        color: #33477d;
        margin-bottom: 50px;
        padding: 0 20px;
    }

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    overflow: hidden;
}

.carousel {
    display: flex;
    position: relative;
    min-height: 320px;
    transition: transform 0.5s ease;
    align-items: center;
    justify-content: flex-start;
}

.carousel-card {
    width: 380px;
    min-height: 280px;
    display: flex;
    padding: 40px;
    flex-shrink: 0;
    box-sizing: border-box;
    border: 3px solid #33477d;
    border-radius: 20px;
    background: white;
    margin: 0 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .card-content h3 {
        font-size: 1.8rem;
        font-weight: 700;
        color: #33477d;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .card-content p {
        font-size: 1.1rem;
        color: #33477d;
        line-height: 1.6;
        margin: 0;
        text-align: center;
    }

.carousel-navigation {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.carousel-button {
    background: #007c7a;
    color: white;
    border: 3px solid #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 124, 122, 0.4);
    font-size: 1.2rem;
    position: relative;
}

.carousel-button:hover {
    background: #025a59;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 124, 122, 0.6);
    border-color: #ccf2ef;
}

.carousel-button:active {
    transform: scale(1.05);
}

.carousel-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.carousel-button:disabled:hover {
    background: #cccccc;
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.carousel-button i {
    font-size: 1.4rem;
    font-weight: bold;
}



/* ===== Tablet Responsive (768px - 1024px) ===== */
@media (max-width: 1024px) {
    .about-us {
        padding: 30px 15px;
    }

    .founder-section {
        padding: 40px 30px;
        margin-bottom: 60px;
    }

    .founder-content {
        gap: 30px;
    }

    .founder-text h2 {
        font-size: 2.2rem;
    }

    .founder-text p {
        font-size: 1rem;
    }

    .founder-image img {
        max-width: 280px;
    }

    .our-story, .our-mission {
        gap: 30px;
        margin-bottom: 60px;
        padding: 0 10px;
    }

    .story-text h2, .mission-text h2 {
        font-size: 2.2rem;
    }

    .difference-container {
        padding: 40px 30px;
        margin-bottom: 60px;
    }

    .difference-container h2 {
        font-size: 2.2rem;
    }

    .carousel-card {
        width: 350px;
        min-height: 260px;
        padding: 30px;
    }

    .card-content h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .card-content p {
        font-size: 1rem;
    }

    .carousel-button {
        width: 55px;
        height: 55px;
    }
}

/* ===== Mobile Responsive (768px and below) ===== */
@media (max-width: 768px) {
    .about-us {
        padding: 20px 10px;
    }

    .container {
        padding: 0 10px;
    }

    /* Founder Section Mobile */
    .founder-section {
        padding: 30px 20px;
        margin-bottom: 40px;
        border-radius: 20px;
    }

    .founder-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .founder-text {
        flex: 1;
        padding-right: 0;
    }

    .founder-text h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .founder-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .founder-text p {
        font-size: 1.4rem;
        text-align: left;
        margin-bottom: 15px;
    }

    .founder-text p:last-of-type {
        text-align: center;
        border-left: none;
        border-top: 4px solid #008080;
        padding-left: 0;
        padding-top: 20px;
        margin-top: 25px;
    }

    .founder-image {
        flex: 1;
        order: -1;
    }

    .founder-image img {
        max-width: 250px;
        border-radius: 15px;
    }

    /* Story and Mission Mobile */
    .our-story, .our-mission {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
        padding: 0;
        text-align: center;
    }

    .our-mission {
        background-color: #f8f9fa;
    }

    .story-text, .story-image, .mission-text, .mission-image {
        flex: 1;
        padding: 10px;
    }

    .story-text h2, .mission-text h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .story-text p, .mission-text p {
        font-size: 1.4rem;
        text-align: left;
        margin-bottom: 15px;
    }

    .story-image img, .mission-image img {
        max-height: 250px;
        border-radius: 12px;
    }

    /* Difference Section Mobile */
    .difference-container {
        padding: 30px 20px;
        margin-bottom: 40px;
        border-radius: 20px;
    }

    .difference-container h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .difference-container p {
        font-size: 1rem;
        text-align: left;
    }

    /* Carousel Mobile */
    .carousel-section {
        padding: 40px 0 60px 0;
        margin: 15px 0;
        border-radius: 20px;
    }

    .carousel-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .carousel-container {
        padding: 0 20px;
    }

    .carousel {
        min-height: 280px;
    }

    .carousel-card {
        width: 100%;
        max-width: 320px;
        min-height: 240px;
        padding: 25px;
        margin: 0 10px;
    }

    .card-content h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .card-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .carousel-navigation {
        gap: 20px;
        margin-top: 30px;
    }

    .carousel-button {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .carousel-button i {
        font-size: 1.2rem;
    }
}

/* ===== Small Mobile (480px and below) ===== */
@media (max-width: 480px) {
    .about-us {
        padding: 15px 5px;
    }

    .founder-section {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .founder-text h2 {
        font-size: 1.6rem;
    }

    .founder-text p {
        font-size: 1.2rem;
    }

    .founder-image img {
        max-width: 200px;
    }

    .story-text h2, .mission-text h2 {
        font-size: 1.6rem;
    }

    .story-text p, .mission-text p {
        font-size: 1.2rem;
    }

    .difference-container {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .difference-container h2 {
        font-size: 1.6rem;
    }

    .difference-container p {
        font-size: 1.2rem;
    }

    .carousel-section h2 {
        font-size: 1.6rem;
    }

    .carousel-card {
        max-width: 280px;
        padding: 20px;
        min-height: 200px;
    }

    .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .card-content p {
        font-size: 1.2rem;
    }

    .carousel-button {
        width: 45px;
        height: 45px;
    }

    .carousel-button i {
        font-size: 1.1rem;
    }
}

/* ===== Large Desktop Optimization ===== */
@media (min-width: 1200px) {
    .about-us {
        padding: 60px 40px;
    }

    .container {
        max-width: 1300px;
    }

    .founder-section {
        padding: 80px 60px;
        margin-bottom: 100px;
    }

    .founder-content {
        gap: 60px;
    }

    .founder-text h2 {
        font-size: 2.8rem;
    }

    .founder-text p {
        font-size: 1.2rem;
    }

    .founder-image img {
        max-width: 380px;
    }

    .our-story, .our-mission {
        gap: 60px;
        margin-bottom: 100px;
    }

    .story-text h2, .mission-text h2 {
        font-size: 2.8rem;
    }

    .story-text p, .mission-text p {
        font-size: 1.2rem;
    }

    .difference-container {
        padding: 80px 60px;
    }

    .difference-container h2 {
        font-size: 2.8rem;
    }

    .carousel-card {
        width: 420px;
        min-height: 300px;
        padding: 45px;
    }

    .card-content h3 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .card-content p {
        font-size: 1.2rem;
    }

    .carousel-button {
        width: 65px;
        height: 65px;
    }

    .carousel-button i {
        font-size: 1.5rem;
    }
}

/* Add Font Awesome for the arrows */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
