:root {
    --primary-color: #F9BF15;
    --text-color: #333;
    --background-color: #f5f5f5;

    --btn-color: #F9BF15;
    --btn-color-hover: #ffd34d;

    --font-family: 'Poppins', sans-serif;
}
.about-us {
    padding: 100px 20px;
    background: #fff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* TEXT SIDE */
.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #000;
}

.about-text p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* BUTTON */
.about-btn {
    display: inline-block;
    padding: 10px 18px;

    background: var(--primary-color);
    color: #000;

    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.about-btn:hover {
    background: var(--btn-color-hover);
}

/* IMAGE SIDE */
.about-image {
    flex: 1;
    height: 400px;
    min-width: 250px;
    overflow: hidden;
    position: relative;
}

/* IMAGE SIDE */
.about-image-more {
    flex: 1;
    width: auto;
    overflow: hidden;
    position: relative;
    z-index: 4666;
}
.about-image-more img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}
.about-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.slider-about {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-about {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-about.active {
    opacity: 1;
}





/* MODAL BACKGROUND */
.about-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* BLUR BACKGROUND */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* optional slight tint (recommended for readability) */
    background: rgba(0, 0, 0, 0.2);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
    z-index: 2000;
}

/* ACTIVE */
.about-modal.active {
    opacity: 1;
    visibility: visible;
}

/* MODAL BOX */
.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 14px;

    max-width: 700px;
    width: 90%;

    position: relative;

    transform: translateY(20px);
    transition: 0.3s ease;
}

/* ANIMATION */
.about-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close-about {
    position: absolute;
    top: 15px;
    right: 15px;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 32px;
    height: 32px;

    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;

    font-size: 24px;
    cursor: pointer;

    z-index: 5000;
}

/* TEXT */
.modal-content h2 {
    margin: 15px 0 10px 0;
}

.modal-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 768px) {


    .about-text h2 {
        font-size: 20px;
    }

    .about-modal{
        width: 100%;
      
    }
    .modal-content{
        padding: 20px;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

@media (max-width: 420px){
    .about-modal{
        overflow-y: scroll;
    }

    .about-image-more img{
        height: 200px;
    }

    .modal-content {
        height:100vh;
    }
    .about-btn{
        padding: 8px 16px;
        font-size: 14px;
    }
}