/* =========================================
   ROOT & GENERAL
========================================= */

:root{
    --primary: #08783f;
    --primary-dark: #045c2f;
    --gold: #d9a31a;
    --dark: #123524;
    --text: #666;
    --light: #f6f8f7;
    --white: #ffffff;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.7;
}

img{
    width: 100%;
    display: block;
}

a{
    text-decoration: none;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================================
   BUTTONS
========================================= */

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 28px;

    font-weight: 600;

    transition: 0.3s ease;
}

.btn-primary{
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover{
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-gold{
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover{
    background: #bd8b0e;
    transform: translateY(-3px);
}

.btn-light{
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover{
    background: #eeeeee;
}


/* =========================================
   IVC HERO
========================================= */

.ivc-hero{
    min-height: 500px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        url("../img/10.jpg")
        center/cover no-repeat;
}

.ivc-overlay{
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 60, 32, 0.94),
            rgba(0, 90, 48, 0.72),
            rgba(0, 0, 0, 0.20)
        );
}

.ivc-hero-content{
    position: relative;
    z-index: 2;

    color: var(--white);
}

.page-tag{
    color: var(--gold);

    font-size: 0.8rem;
    font-weight: bold;

    letter-spacing: 2px;
}

.ivc-hero h1{
    font-size: 3.8rem;
    line-height: 1.2;

    margin: 10px 0;
}

.ivc-hero p{
    max-width: 650px;

    color: #e5eee8;

    font-size: 1.05rem;
}

.breadcrumb{
    margin-top: 25px;
}

.breadcrumb a{
    color: var(--gold);
}

.breadcrumb span{
    margin: 0 6px;
}


/* =========================================
   ABOUT IVC
========================================= */

.about-ivc{
    padding: 100px 0;
}

.about-ivc-grid{
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.about-ivc-image{
    position: relative;
}

.about-ivc-image img{
    height: 500px;
    object-fit: cover;
}

.ivc-image-badge{
    position: absolute;

    bottom: -25px;
    right: -20px;

    background: var(--primary);
    color: var(--white);

    padding: 25px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ivc-image-badge span{
    display: block;

    font-size: 2rem;
    font-weight: bold;

    color: var(--gold);
}

.ivc-image-badge small{
    font-size: 0.7rem;
}

.section-tag{
    color: var(--primary);

    font-size: 0.8rem;
    font-weight: bold;

    letter-spacing: 2px;
}

.about-ivc-content h2,
.activities-content h2{
    font-size: 2.5rem;

    color: var(--dark);

    line-height: 1.3;

    margin: 10px 0;
}

.title-line{
    width: 65px;
    height: 4px;

    background: var(--gold);

    margin: 18px 0 25px;
}

.about-ivc-content p,
.activities-content p{
    color: var(--text);

    margin-bottom: 18px;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading{
    text-align: center;

    max-width: 750px;

    margin: 0 auto 60px;
}

.section-heading span{
    color: var(--primary);

    font-size: 0.8rem;
    font-weight: bold;

    letter-spacing: 2px;
}

.section-heading h2{
    color: var(--dark);

    font-size: 2.5rem;

    margin: 8px 0;
}

.section-heading p{
    color: var(--text);
}

.heading-line{
    width: 65px;
    height: 4px;

    background: var(--gold);

    margin: 18px auto;
}


/* =========================================
   IVC FEATURES
========================================= */

.ivc-features{
    padding: 100px 0;

    background: var(--light);
}

.features-grid{
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.feature-card{
    background: var(--white);

    padding: 40px 30px;

    text-align: center;

    transition: 0.3s;

    border-bottom: 4px solid transparent;
}

.feature-card:hover{
    transform: translateY(-8px);

    border-color: var(--gold);

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.feature-icon{
    width: 75px;
    height: 75px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f4ed;

    color: var(--primary);

    border-radius: 50%;

    font-size: 1.8rem;
}

.feature-card h3{
    color: var(--dark);

    margin-bottom: 12px;
}

.feature-card p{
    color: var(--text);

    font-size: 0.92rem;
}


/* =========================================
   ACTIVITIES
========================================= */

.ivc-activities{
    padding: 100px 0;
}

.activities-grid{
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.activity-list{
    list-style: none;

    display: grid;

    gap: 15px;

    margin-top: 25px;
}

.activity-list li{
    color: #555;
}

.activity-list i{
    color: var(--primary);

    margin-right: 10px;
}

.activities-image{
    position: relative;
    overflow: hidden;
}

.activities-image img{
    height: 500px;
    object-fit: cover;
}

.activities-image-overlay{
    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    padding: 30px;

    background:
        linear-gradient(
            transparent,
            rgba(0,60,32,0.92)
        );

    color: var(--white);
}

.activities-image-overlay i{
    color: var(--gold);

    font-size: 2rem;

    margin-bottom: 10px;
}


/* =========================================
   PROGRAMME DETAILS
========================================= */

.programme-details{
    padding: 100px 0;

    background: var(--light);
}

.details-grid{
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.detail-card{
    background: var(--white);

    padding: 30px 20px;

    display: flex;
    align-items: center;

    gap: 15px;

    border-left: 4px solid var(--primary);

    transition: 0.3s;
}

.detail-card:hover{
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.detail-icon{
    min-width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: var(--white);

    border-radius: 50%;
}

.detail-card span{
    display: block;

    color: #999;

    font-size: 0.75rem;

    text-transform: uppercase;
}

.detail-card h3{
    color: var(--dark);

    font-size: 0.95rem;

    line-height: 1.4;
}


/* =========================================
   IVC GALLERY
========================================= */

.ivc-gallery{
    padding: 100px 0;

    background: var(--primary);
}

.light-heading span{
    color: var(--gold);
}

.light-heading h2{
    color: var(--white);
}

.light-heading p{
    color: #e2ece5;
}

.gallery-grid{
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    grid-auto-rows: 220px;

    gap: 12px;
}

.gallery-item{
    position: relative;
    overflow: hidden;
}

.gallery-large{
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.gallery-item:hover img{
    transform: scale(1.1);
}

.gallery-overlay{
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 20px;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,0.8)
        );

    color: var(--white);

    opacity: 0;

    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay{
    opacity: 1;
}


/* =========================================
   REGISTRATION CTA
========================================= */

.ivc-register{
    min-height: 450px;

    position: relative;

    display: flex;
    align-items: center;

    text-align: center;

    background:
        url("images/ivc/ivc-register.jpg")
        center/cover no-repeat;
}

.register-overlay{
    position: absolute;
    inset: 0;

    background:
        rgba(0, 55, 30, 0.90);
}

.register-content{
    position: relative;
    z-index: 2;

    max-width: 800px;

    color: var(--white);
}

.register-content span{
    color: var(--gold);

    font-size: 0.8rem;
    font-weight: bold;

    letter-spacing: 2px;
}

.register-content h2{
    font-size: 2.8rem;

    margin: 12px 0;
}

.register-content p{
    color: #e1eae4;

    max-width: 700px;

    margin: 0 auto 30px;
}

.register-buttons{
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media(max-width: 992px){

    .about-ivc-grid,
    .activities-grid{
        grid-template-columns: 1fr;
    }

    .features-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .details-grid{
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media(max-width: 700px){

    .ivc-hero{
        min-height: 380px;
    }

    .ivc-hero h1{
        font-size: 2.5rem;
    }

    .about-ivc,
    .ivc-features,
    .ivc-activities,
    .programme-details,
    .ivc-gallery{
        padding: 70px 0;
    }

    .about-ivc-image img,
    .activities-image img{
        height: 350px;
    }

    .ivc-image-badge{
        right: 0;
        bottom: -15px;
    }

    .about-ivc-content h2,
    .activities-content h2,
    .section-heading h2{
        font-size: 2rem;
    }

    .features-grid,
    .details-grid{
        grid-template-columns: 1fr;
    }

    .gallery-grid{
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-large{
        grid-column: span 2;
        grid-row: span 1;
    }

    .register-content h2{
        font-size: 2rem;
    }

    .ivc-register{
        min-height: 400px;
    }

}


@media(max-width: 450px){

    .ivc-hero h1{
        font-size: 2rem;
    }

    .gallery-grid{
        grid-template-columns: 1fr;
    }

    .gallery-large{
        grid-column: auto;
    }

    .register-buttons{
        flex-direction: column;
    }

    .register-buttons .btn{
        width: 100%;
    }

}