/* ================= ABOUT SLIDESHOW ================= */

.about-slideshow{
    position:relative;
    width:100%;
    height:85vh;
    overflow:hidden;
}

.slide{
    display:none;
    position:relative;
}

/* SMOOTH FADE */

.fade{
    animation:fadeEffect 1s;
}

@keyframes fadeEffect{
    from{
        opacity:0.4;
    }
    to{
        opacity:1;
    }
}

.slide img{
    width:100%;
    height:85vh;
    object-fit:cover;
    display:block;
}

/* DARK OVERLAY */

.slide::after{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
}

/* TEXT */

.slide-content{
    position:absolute;
    top:50%;
    left:8%;
    right:8%;
    transform:translateY(-50%);
    color:white;
    z-index:10;
    max-width:700px;
}

.slide-content h2{
    font-size:65px;
    margin-bottom:20px;
    line-height:1.2;
    font-family:'Merriweather',serif;
}

.slide-content p{
    font-size:24px;
    line-height:1.8;
}

/* BUTTONS */

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:30px;
    cursor:pointer;
    background:rgba(0,0,0,0.45);
    z-index:100;
    transition:0.3s;
    user-select:none;
}

.prev{
    left:20px;
}

.next{
    right:20px;
}

.prev:hover,
.next:hover{
    background:#d66f2d;
}

/* DOTS */

.dots{
    position:absolute;
    bottom:25px;
    width:100%;
    text-align:center;
    z-index:100;
}

.dot{
    width:14px;
    height:14px;
    background:#bbb;
    border-radius:50%;
    display:inline-block;
    margin:0 5px;
    cursor:pointer;
    transition:0.3s;
}

.dot.active{
    background:white;
    transform:scale(1.2);
}

/* ================= ABOUT CONTENT ================= */

.about-section{
    padding:100px 8%;
    background:white;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

/* VIDEO / IMAGE */

.about-image img,
.about-image video{
    width:100%;
    border-radius:12px;
    object-fit:cover;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
    display:block;
}

.about-text h2{
    font-size:55px;
    color:#5b2d0a;
    margin-bottom:30px;
    line-height:1.3;
    font-family:'Merriweather',serif;
}

.about-text p{
    font-size:18px;
    line-height:2;
    margin-bottom:20px;
    color:#333;
}

/* ================= MISSION SECTION ================= */

.mission-section{
    padding:90px 8%;
    background:#f6efe8;
    text-align:center;
}

.mission-section h2{
    font-size:50px;
    color:#5b2d0a;
    margin-bottom:30px;
    font-family:'Merriweather',serif;
}

.mission-section p{
    max-width:auto;
    margin:auto;
    line-height:2;
    font-size:19px;
    color:#333;
}

/* ================= HIGHLIGHTS ================= */

.highlights{
    padding:100px 8%;
    background:white;
}

.highlights h2{
    text-align:center;
    font-size:50px;
    color:#5b2d0a;
    margin-bottom:60px;
    font-family:'Merriweather',serif;
}

.highlight-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.highlight-card{
    background:#f7f5f2;
    padding:40px;
    border-top:5px solid #d66f2d;
    border-radius:10px;
    transition:0.3s ease;
}

.highlight-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.highlight-card i{
    font-size:45px;
    color:#d66f2d;
    margin-bottom:20px;
}

.highlight-card h3{
    margin-bottom:20px;
    color:#5b2d0a;
    font-size:28px;
}

.highlight-card p{
    line-height:1.9;
    color:#444;
}

/* ================= TABLET ================= */

@media(max-width:1024px){

.slide-content h2{
    font-size:52px;
}

.about-text h2,
.mission-section h2,
.highlights h2{
    font-size:42px;
}

.highlight-grid{
    grid-template-columns:1fr 1fr;
}

}

/* ================= MOBILE ================= */

@media(max-width:900px){

.about-grid,
.highlight-grid{
    grid-template-columns:1fr;
}

.about-section,
.highlights,
.mission-section{
    padding:70px 5%;
}

.about-slideshow,
.slide img{
    height:65vh;
}

.slide-content{
    left:5%;
    right:5%;
    max-width:100%;
}

.slide-content h2{
    font-size:38px;
    line-height:1.3;
}

.slide-content p{
    font-size:18px;
    line-height:1.7;
}

.about-text h2,
.mission-section h2,
.highlights h2{
    font-size:36px;
}

.highlight-card{
    padding:30px;
}

.prev,
.next{
    width:45px;
    height:45px;
    font-size:24px;
}

}

/* ================= SMALL MOBILE ================= */

@media(max-width:600px){

.about-slideshow,
.slide img{
    height:55vh;
}

.slide-content h2{
    font-size:30px;
}

.slide-content p{
    font-size:16px;
}

.about-text p,
.mission-section p,
.highlight-card p{
    font-size:16px;
    line-height:1.8;
}

.about-text h2,
.mission-section h2,
.highlights h2{
    font-size:30px;
}

}

/* ================= DISTINCTLY SRS SECTION ================= */

.distinct-section{
    position:relative;
    background:#f3f3f3;
    padding:70px 0;
    overflow:hidden;

    display:flex;
    justify-content:center;
}

/* ================= ORANGE BACKGROUND ================= */

.orange-bg{
    position:absolute;
    right:0;
    bottom:0;
    width:55%;
    height:48%;
    background:#df762f;
    z-index:1;
}

/* ================= MAIN CONTAINER ================= */

.distinct-container{
    position:relative;
    z-index:2;
    width:80%;
    margin:auto;
}

/* ================= GRID ================= */

.distinct-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

/* ================= CARD ================= */

.distinct-card{
    position:relative;
    overflow:hidden;
    background:#000;
    cursor:pointer;

    aspect-ratio:1/0.88;

    border-radius:8px;

    /* BOTTOM SHADOW ONLY */
    box-shadow:0 14px 24px -16px rgba(0,0,0,0.28);

    transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

/* ================= TEXT CARD ================= */

.text-card{
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:35px;
    cursor:default;
}

.text-card-content h2{
    font-size:48px;
    color:#5b2d0a;
    margin-bottom:22px;
    line-height:1.15;
    font-family:'Merriweather', serif;
    font-weight:700;
}

.text-card-content p{
    font-size:19px;
    line-height:1.8;
    color:#333;
    max-width:260px;
}

/* ================= IMAGE ================= */

.distinct-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.7s ease;
}

/* ================= OVERLAY ================= */

.overlay{
    position:absolute;
    inset:0;

    /* LIGHT OVERLAY */
    background:linear-gradient(
        to top,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.05)
    );

    transition:0.45s ease;
}

/* ================= CARD CONTENT ================= */

.card-content{
    position:absolute;
    left:24px;
    right:24px;
    bottom:22px;
    z-index:5;
    color:white;
    transition:0.45s ease;
}

/* ================= TITLE ================= */

.card-content h3{
    font-size:21px;
    line-height:1.35;
    font-family:'Merriweather', serif;
    margin-bottom:10px;
    transition:0.4s ease;
}

/* ================= DESCRIPTION ================= */

.card-content p{
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);

    transition:0.45s ease;

    font-size:15px;
    line-height:1.7;
    color:#f5f5f5;
}

/* ================= HOVER ================= */

.distinct-card:hover{
    transform:translateY(-4px);
    box-shadow:0 24px 34px -16px rgba(0,0,0,0.5);
}

.distinct-card:hover img{
    transform:scale(1.08);
}

.distinct-card:hover .overlay{
    background:linear-gradient(
        to top,
        rgba(0,0,0,0.96),
        rgba(0,0,0,0.42)
    );
}

.distinct-card:hover .card-content{
    top:50%;
    bottom:auto;
    transform:translateY(-50%);
}

.distinct-card:hover .card-content h3{
    color:#ffbe8d;
    margin-bottom:16px;
}

.distinct-card:hover .card-content p{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* ================= GRID POSITION ================= */

.distinct-card:nth-child(1){
    grid-column:1;
    grid-row:1;
}

.distinct-card:nth-child(2){
    grid-column:2;
    grid-row:1;
}

.distinct-card:nth-child(3){
    grid-column:3;
    grid-row:1;
}

.distinct-card:nth-child(4){
    grid-column:1;
    grid-row:2;
}

.distinct-card:nth-child(5){
    grid-column:2;
    grid-row:2;
}

.distinct-card:nth-child(6){
    grid-column:3;
    grid-row:2;
}

/* ================= TABLET ================= */

@media(max-width:1100px){

.distinct-container{
    width:90%;
}

.distinct-grid{
    grid-template-columns:repeat(2,1fr);
}

.text-card{
    min-height:260px;
}

.text-card-content h2{
    font-size:40px;
}

.text-card-content p{
    font-size:17px;
}

.orange-bg{
    width:100%;
    height:30%;
}

}

/* ================= MOBILE ================= */

@media(max-width:768px){

.distinct-section{
    padding:50px 0;
}

.distinct-container{
    width:92%;
}

.distinct-grid{
    grid-template-columns:1fr;
    gap:18px;
}

/* REMOVE FIXED GRID POSITIONING */

.distinct-card:nth-child(1),
.distinct-card:nth-child(2),
.distinct-card:nth-child(3),
.distinct-card:nth-child(4),
.distinct-card:nth-child(5),
.distinct-card:nth-child(6){
    grid-column:auto;
    grid-row:auto;
}

.distinct-card{
    aspect-ratio:auto;
    min-height:300px;
}

/* TEXT CARD */

.text-card{
    min-height:220px;
    padding:30px 24px;
}

.text-card-content{
    width:100%;
}

.text-card-content h2{
    font-size:34px;
    margin-bottom:18px;
}

.text-card-content p{
    font-size:16px;
    line-height:1.7;
    max-width:100%;
}

/* CARD CONTENT */

.card-content{
    left:18px;
    right:18px;
    bottom:18px;
}

.card-content h3{
    font-size:19px;
    margin-bottom:10px;
}

/* SHOW TEXT ALWAYS ON MOBILE */

.card-content p{
    opacity:1;
    visibility:visible;
    transform:none;
    font-size:14px;
    line-height:1.65;
}

/* REMOVE CENTER SHIFT EFFECT */

.distinct-card:hover .card-content{
    top:auto;
    bottom:18px;
    transform:none;
}

.orange-bg{
    width:100%;
    height:18%;
}

}

/* ================= SMALL MOBILE ================= */

@media(max-width:500px){

.distinct-section{
    padding:40px 0;
}

.distinct-container{
    width:94%;
}

.distinct-grid{
    gap:15px;
}

.distinct-card{
    min-height:260px;
    border-radius:6px;
}

.text-card{
    min-height:200px;
    padding:24px 20px;
}

.text-card-content h2{
    font-size:28px;
    line-height:1.2;
}

.text-card-content p{
    font-size:15px;
    line-height:1.6;
}

.card-content{
    left:16px;
    right:16px;
    bottom:16px;
}

.card-content h3{
    font-size:17px;
    line-height:1.4;
}

.card-content p{
    font-size:13px;
    line-height:1.55;
}

.orange-bg{
    height:14%;
}

}