/* =========================================================
   AgroMdg3NY Website
   Improved Stylesheet
   Part 1/4
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Quicksand",sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#fff;
    color:#222;
    overflow-x:hidden;          /* Samsung S8 overflow fix */
    line-height:1.6;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

a{
    color:inherit;
    text-decoration:none;
}

button{
    font-family:inherit;
    cursor:pointer;
    transition:.25s ease;
}

/* =========================
   HEADER
========================= */

.header-index{

    user-select:none;

    position:fixed;

    top:18px;
    left:12px;
    right:12px;

    width:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:10px 22px;

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.18);
    border-radius:14px;

    transition:.35s ease;

    z-index:999;
}

.header-index.sticky{

    top:0;
    left:0;
    right:0;

    border-radius:0;

    background:rgba(245,245,245,.92);

    border:none;

    box-shadow:0 4px 18px rgba(0,0,0,.08);
}

/* =========================
   LOGO
========================= */

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:72px;
    border-radius:50%;
}

.logo h2{
    font-size:1.8rem;
    font-weight:700;
    color:#1E6A39;
}

.logo span{
    color:#D8B13E;
}

/* =========================
   NAVIGATION
========================= */

.menu{
    display:flex;
}

.header-index ul{
    display:flex;
    gap:12px;
    align-items:center;
}

.header-index li{
    list-style:none;
}

.header-index a{

    color:#fff;

    font-weight:700;

    padding:8px 12px;

    position:relative;
}

.header-index.sticky a{
    color:#333;
}

.header-index a::after{

    content:"";

    position:absolute;

    left:10%;
    bottom:0;

    width:0;
    height:2px;

    background:#F5E327;

    transition:.3s;
}

.header-index a:hover::after{
    width:80%;
}

/* =========================
   MOBILE MENU
========================= */

#check{
    display:none;
}

.icons{

    display:none;

    position:absolute;

    right:18px;

    font-size:1.8rem;

    color:#fff;

    cursor:pointer;
}

.header-index.sticky .icons{
    color:#333;
}

.icons #close-icon{
    display:none;
}

/* =========================
   TABLET & MOBILE
========================= */

@media (max-width:800px){

    .header-index{

        top:8px;
        left:8px;
        right:8px;

        padding:10px 14px;

        backdrop-filter:blur(8px);
    }

    .logo img{
        width:52px;
        border-radius:12px;
    }

    .logo h2{
        font-size:1rem;
    }

    .icons{
        display:block;
    }

    .menu{

        position:absolute;

        top:64px;
        right:-110%;

        width:72%;
        max-width:260px;

        background:rgba(22,22,22,.92);

        border-radius:18px;

        padding:18px;

        transition:right .35s ease;
    }

    .menu ul{
        flex-direction:column;
        gap:18px;
    }

    .menu a{
        color:#fff;
    }

    #check:checked ~ .menu{
        right:0;
    }

    #check:checked ~ .icons #menu-icon{
        display:none;
    }

    #check:checked ~ .icons #close-icon{
        display:block;
    }

}

/* =========================
   EXTRA SMALL DEVICES
   (Galaxy S8 / iPhone SE)
========================= */

@media (max-width:380px){

    .logo img{
        width:46px;
    }

    .logo h2{
        font-size:.9rem;
    }

    .icons{
        font-size:1.6rem;
    }

    .menu{
        width:78%;
    }

}
/* =========================================================
   PART 2/4
   HERO • SLIDESHOW • BUSINESS INQUIRY
   ========================================================= */

/* =========================
   HERO SECTION
========================= */

.home{

    position:relative;

    display:flex;
    flex-direction:column;

    text-align:center;

    background-image:url("../assets/Plantation 3.jpeg");
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;

    min-height:100svh;      /* Samsung browser fix */
    height:auto;

    padding-bottom:40px;
}

/* subtle dark overlay */

.home::before{

    content:"";

    position:absolute;
    inset:0;

    background:rgba(0,0,0,.28);

    z-index:0;
}

.home > *{
    position:relative;
    z-index:1;
}

/* =========================
   HERO TEXT
========================= */

.top-text{

    width:min(900px,92%);

    margin:140px auto 55px;

    padding:34px 28px;

    border-radius:28px;

    color:#fff;

    background:linear-gradient(
        135deg,
        rgba(35,122,57,.92),
        rgba(158,184,34,.92)
    );

    backdrop-filter:blur(6px);

    box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.top-text h1{
    font-size:clamp(2rem,4vw,3.2rem);
    margin-bottom:8px;
    line-height:1.2;
}

.top-text h4{
    font-size:1.15rem;
    font-weight:600;
    margin-bottom:16px;
}

.top-text p{
    max-width:720px;
    margin:auto;
    font-size:1rem;
}

.hero-star{
    color:#FFE34D;
}

/* =========================
   HERO RESPONSIVE
========================= */

@media (max-width:800px){

    .top-text{

        width:95%;

        margin:92px auto 28px;

        padding:22px 18px;
    }

    .top-text h1{
        font-size:1.9rem;
    }

    .top-text h4{
        font-size:1rem;
    }

    .top-text p{
        font-size:.92rem;
    }

}

@media (max-width:380px){

    .top-text{
        width:96%;
        padding:18px 14px;
    }

    .top-text h1{
        font-size:1.55rem;
    }

    .top-text p{
        font-size:.84rem;
    }

}

/* =========================
   SLIDESHOW LAYOUT
========================= */

.home .slide{

    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:32px;

    flex-wrap:wrap;

    width:100%;

    padding:0 20px;
}

.slideshow-container{

    width:min(520px,95vw);

    margin:auto;
}

.mySlides{
    display:none;
}

.mySlides img{

    width:100%;

    aspect-ratio:5/4;

    object-fit:cover;

    border-radius:18px;

    box-shadow:0 10px 28px rgba(0,0,0,.25);
}

.numbertext{

    position:absolute;

    top:10px;
    left:10px;

    padding:6px 10px;

    font-size:.8rem;

    color:#fff;

    background:rgba(0,0,0,.45);

    border-radius:20px;
}

/* =========================
   DOTS
========================= */

.slide-dots{
    text-align:center;
    margin-top:14px;
}

.dot{

    display:inline-block;

    width:10px;
    height:10px;

    margin:0 3px;

    border-radius:50%;

    background:#d8d8d8;

    transition:.25s;
}

.dot:hover{
    background:#888;
}

.active{
    background:#2E7D32;
}

/* Fade animation */

.fade{
    animation:fade 1.2s ease;
}

@keyframes fade{

    from{opacity:.35;}
    to{opacity:1;}

}

/* =========================
   BUSINESS FORM
========================= */

.form-container{

    width:min(420px,95vw);

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(14px);

    border-radius:22px;

    box-shadow:0 8px 26px rgba(0,0,0,.18);

    padding:24px 0 20px;
}

.form-container h1{

    color:#fff;

    font-size:1.55rem;

    margin-bottom:8px;
}

.form-subtitle{

    color:#F3F3F3;

    font-size:.9rem;

    padding:0 20px;

    margin-bottom:18px;
}

/* =========================
   FORM
========================= */

.home form{

    display:flex;
    flex-direction:column;
}

.home label{

    display:block;

    text-align:left;

    color:#fff;

    font-weight:600;

    padding:0 18px;

    margin-bottom:12px;
}

.form-content input,
.form-content textarea,
.form-content select{

    width:100%;

    border:none;

    outline:none;

    border-radius:10px;

    padding:12px 14px;

    margin-top:8px;

    font-size:.95rem;
}

.form-content textarea{
    resize:vertical;
    min-height:120px;
}

.form-content select{
    cursor:pointer;
}

/* validation */

.form-content input:valid,
.form-content textarea:valid,
.form-content select:valid{

    border:2px solid #32D74B;
}

.form-content input:invalid,
.form-content textarea:invalid{

    border:2px solid #F04B4B;
}

/* Honeypot */

.honeypot{
    display:none;
}

/* =========================
   BUTTON
========================= */

.home button{

    align-self:center;

    width:180px;
    height:46px;

    border:none;

    border-radius:40px;

    background:linear-gradient(
        135deg,
        #46D81C,
        #DCE812
    );

    color:#173B1C;

    font-weight:700;

    font-size:1rem;

    margin-top:10px;
}

.home button:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(190,210,0,.35);
}

/* =========================
   FORM STATUS
========================= */

.form-message{

    display:none;

    width:calc(100% - 36px);

    margin:0 auto 16px;

    padding:14px 16px;

    border-radius:10px;

    font-size:.92rem;

    font-weight:600;

    line-height:1.5;
}

.form-message.success{

    display:block;

    background:#DDF7E2;

    color:#156D2E;

    border:1px solid #9BD4A8;
}

.form-message.error{

    display:block;

    background:#FFE3E3;

    color:#9A1F1F;

    border:1px solid #E8A4A4;
}

/* =========================
   SMALL PHONE FIXES
========================= */

@media (max-width:380px){

    .home .slide{
        padding:0 8px;
        gap:18px;
    }

    .form-container{
        width:96%;
    }

    .form-container h1{
        font-size:1.3rem;
    }

    .form-subtitle{
        font-size:.82rem;
    }

}/* =========================================================
   PART 3/4
   OUR OFFER • ARTICLE • PRODUCT CARDS
   ========================================================= */

/* =========================
   OUR OFFER SECTION
========================= */

.programme{

    position:relative;

    display:flex;
    flex-direction:column;

    text-align:center;

    background-image:url("../assets/offerBg.png");
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;

    min-height:100svh;
    height:auto;

    padding:50px 20px;
}

.programme-txt{

    max-width:900px;

    margin:0 auto;

    font-size:1.05rem;
}

.programme-txt h1{

    font-size:2.3rem;

    color:#1E6A39;

    margin-bottom:10px;
}

.programme-txt p{

    color:#444;

    margin-bottom:20px;
}

/* Highlights */

.offer-highlights{

    display:flex;
    justify-content:center;
    flex-wrap:wrap;

    gap:12px;

    margin-top:10px;
}

.offer-highlights span{

    background:#E9F6E8;

    color:#1E6A39;

    padding:10px 16px;

    border-radius:30px;

    font-weight:600;

    font-size:.9rem;
}

/* =========================
   COMPANY PROFILE BUTTON
========================= */

.showBioprofile{

    padding:30px 0;
}

.showBioprofile button{

    width:min(520px,95%);

    min-height:58px;

    border:none;

    border-radius:14px;

    background:linear-gradient(
        135deg,
        #8ED6FF,
        #D3F0FF
    );

    color:#114B66;

    font-size:1rem;

    font-weight:700;

    padding:16px 24px;

    box-shadow:0 8px 20px rgba(80,180,255,.25);
}

.showBioprofile button:hover{

    transform:translateY(-2px);

    background:linear-gradient(
        135deg,
        #79CBF7,
        #C7EFFF
    );
}

/* =========================
   ARTICLE
========================= */

.process{

    width:min(1100px,100%);

    margin:auto;

    padding:20px 0;
}

.process article{

    background:#fff;

    border-radius:18px;

    padding:28px;

    box-shadow:0 8px 24px rgba(0,0,0,.08);

    text-align:left;
}

.process h1{

    text-align:center;

    color:#1E6A39;

    margin-bottom:20px;
}

.article-content{

    max-height:170px;

    overflow:hidden;

    position:relative;

    transition:max-height .45s ease;
}

.article-content.expanded{

    max-height:5000px;
}

/* Fade effect */

.article-content::after{

    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:90px;

    background:linear-gradient(
        rgba(255,255,255,0),
        #fff
    );

    transition:.3s;
}

.article-content.expanded::after{
    opacity:0;
}

.article-content h3{

    color:#2D6A36;

    margin:18px 0 8px;
}

.article-content h4{

    color:#8B5E3C;

    margin:14px 0 6px;
}

.article-content p{

    color:#444;

    margin-bottom:10px;
}

/* Read More */

.read-more-btn{

    display:block;

    margin:18px auto 0;

    background:transparent;

    border:none;

    color:#8B5E3C;

    font-weight:700;

    font-size:.95rem;
}

.read-more-btn:hover{
    text-decoration:underline;
}

/* =========================
   PRODUCT CARDS
========================= */

.programme-container{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:26px;

    width:min(1300px,100%);

    margin:35px auto 0;
}

.programme-list{

    width:100%;
    max-width:290px;

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    border:1px solid #E8E8E8;

    box-shadow:0 8px 22px rgba(0,0,0,.08);

    transition:.28s ease;
}

.programme-list:hover{

    transform:translateY(-8px);

    box-shadow:0 14px 28px rgba(0,0,0,.15);
}

.programme-list img{

    width:100%;

    aspect-ratio:5/4;

    object-fit:cover;
}

.course{

    padding:18px 18px 8px;

    text-align:center;
}

.course h1{

    font-size:1.2rem;

    color:#1E6A39;

    margin-bottom:6px;
}

.course h3{

    font-size:.9rem;

    color:#777;

    font-weight:600;
}

.offer{

    padding:0 18px 18px;

    color:#555;

    font-size:.92rem;
}

.price-container{

    padding:0 18px 18px;
}

.price{

    display:flex;
    justify-content:center;
    align-items:center;

    gap:12px;

    background:#EAF4FF;

    border-radius:12px;

    padding:12px;
}

.bookmark{

    color:#2E7D32;

    font-size:1.2rem;
}

.price-pax{

    font-weight:700;

    color:#234;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:900px){

    .programme{

        padding:40px 12px;
    }

    .programme-txt h1{

        font-size:1.9rem;
    }

    .process article{

        padding:20px;
    }

}

@media (max-width:600px){

    .offer-highlights{

        flex-direction:column;

        align-items:center;
    }

    .offer-highlights span{

        width:min(320px,95%);

        text-align:center;
    }

    .programme-container{

        gap:18px;
    }

    .programme-list{

        max-width:100%;
    }

}

@media (max-width:380px){

    .programme{

        padding:30px 8px;
    }

    .programme-txt h1{

        font-size:1.6rem;
    }

    .process article{

        padding:16px;
    }

    .course h1{

        font-size:1.05rem;
    }

    .offer{

        font-size:.88rem;
    }

}/* =========================================================
   PART 4/4
   CONTACTS • FOOTER • UTILITIES
   ========================================================= */

/* =========================
   CONTACT SECTION
========================= */

.contacts{

    background:#0E0E0E;

    color:#fff;

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:40px;

    padding:55px 6%;
}

.contact-brand{

    flex:1;

    min-width:250px;
}

.contacts-logo{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:18px;
}

.contacts-logo img{

    width:72px;

    border-radius:50%;
}

.contacts-logo h2{

    color:#1E9B46;

    font-size:1.8rem;
}

.contacts-logo span{
    color:#D8B13E;
}

.contact-brand p{

    color:#D8D8D8;

    margin-bottom:22px;

    line-height:1.8;
}

/* =========================
   SOCIAL ICONS
========================= */

.contacts-icon{

    display:flex;

    gap:14px;

    flex-wrap:wrap;
}

.contacts-icon .icon{

    width:48px;
    height:48px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#fff;

    border-radius:12px;

    transition:.25s ease;
}

.contacts-icon .icon:hover{

    background:#DCE812;

    transform:translateY(-3px);
}

.contacts-icon i{

    color:#111;
}

/* =========================
   ADDRESS
========================= */

.adresse{

    flex:1;

    min-width:240px;
}

.adresse h1{

    margin-bottom:18px;

    color:#fff;
}

.adresse p{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-bottom:16px;

    color:#D8D8D8;
}

.adresse i{

    color:#DCE812;

    margin-top:4px;

    min-width:18px;
}

.adresse a{

    color:#D8D8D8;

    transition:.2s;
}

.adresse a:hover{
    color:#fff;
}

/* =========================
   QUICK MESSAGE
========================= */

.email-us{

    flex:1;

    min-width:260px;
}

.email-us h2{

    margin-bottom:18px;

    color:#fff;
}

.message-row{

    display:flex;

    gap:10px;

    align-items:stretch;
}

.email-area{

    flex:1;
}

.email-us input{

    width:100%;

    height:50px;

    border:none;

    border-radius:10px;

    padding:0 14px;

    outline:none;

    font-size:.95rem;
}

.email-us input:focus{

    box-shadow:0 0 0 3px rgba(190,210,0,.35);
}

.email-us button{

    min-width:110px;

    border:none;

    border-radius:10px;

    background:#DCE812;

    color:#173B1C;

    font-weight:700;

    font-size:.95rem;
}

.email-us button:hover{

    background:#C9D611;

    transform:translateY(-2px);
}

#message-status{

    margin-top:14px;

    font-size:.9rem;

    color:#CCC;
}

/* =========================
   FOOTER
========================= */

footer{

    background:#222;

    color:#EEE;

    text-align:center;

    padding:18px;

    font-size:.9rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:900px){

    .contacts{

        flex-direction:column;

        padding:45px 20px;

        gap:32px;
    }

    .contact-brand,
    .adresse,
    .email-us{

        width:100%;
    }

}

@media (max-width:600px){

    .message-row{

        flex-direction:column;
    }

    .email-us button{

        width:100%;

        height:48px;
    }

    .contacts-logo h2{

        font-size:1.4rem;
    }

}

@media (max-width:380px){

    .contacts{

        padding:35px 14px;
    }

    .contacts-logo img{

        width:58px;
    }

    .contacts-logo h2{

        font-size:1.15rem;
    }

    .contacts-icon{

        justify-content:flex-start;
    }

    footer{

        font-size:.8rem;

        padding:14px;
    }

}

/* =========================
   ACCESSIBILITY
========================= */

:focus-visible{

    outline:3px solid rgba(220,232,18,.75);

    outline-offset:3px;

    border-radius:6px;
}

/* Prevent long text from overflowing */

p,
h1,
h2,
h3,
h4,
a,
button{

    overflow-wrap:break-word;
    word-wrap:break-word;
}

/* Selection color */

::selection{

    background:#DCE812;

    color:#173B1C;
}