/* Base Styles */
nav.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* padding: 1rem 2rem; */
    padding: 1rem 2rem 1rem 0;
    background-color: transparent !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    font-size: clamp(1rem, 1vw + 0.2rem, 1.125rem);
    color: #333;
    padding-top: 80px;
    margin: 0;
}

/* Headings */
h1 {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.5rem);
    font-weight: 500;
}

h5 {
    font-size: clamp(1rem, 1.2vw + 0.4rem, 1.25rem);
    font-weight: 500;
}

h6 {
    font-size: clamp(0.95rem, 1vw + 0.3rem, 1.1rem);
    font-weight: 500;
}

/* Paragraphs */
p {
    font-size: inherit;
    margin-bottom: 1rem;
}

/* Small text */
small,
.text-small {
    font-size: clamp(0.8rem, 0.8vw + 0.2rem, 0.9rem);
}

.section {
    padding: 4rem 2rem;
}

.section h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.section p {
    color: #333;
    line-height: 1.6;
}

.highlight {
    font-weight: bold;
    color: #198754;
}

footer {
    background-color: #353535;
    padding: 2rem;
    text-align: center;
    color: #666;
}

/* Custom Team Section Styles */
.team-section {
    padding: 5rem 0;
    background-color: #f9faf5;
}

.team-section h2 {
    color: #4b752a;
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
    margin-bottom: 1rem;
}

.team-section .lead {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.circular-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #e2e7cf;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.circular-img:hover {
    transform: scale(1.05);
}

.circular-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    border-top: 4px solid #8fcf53;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.team-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-info h4 {
    color: #333;
    font-size: 1.3rem;
}

.team-info h5 {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.team-description p {
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: left;
}

/* Equal height columns */
.team-member {
    display: flex;
    flex-direction: column;
}

/* Summer Program Section Styles */
.sustainability-program {
    padding: 6rem 0;
    background-color: #f0f4e1;
}

.sustainability-program h2 {
    color: #2c541d;
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
}

.sustainability-program .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    font-weight: 400;
}

.btn-success {
    background-color: #4b752a;
    border-color: #4b752a;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #3a5c20;
    border-color: #3a5c20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 117, 42, 0.3);
}

.program-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.program-image-wrapper:hover {
    transform: translateY(-5px);
}

.program-image-wrapper img {
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-image-wrapper:hover img {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #bfbdbd;
    /* Dark gray */
    color: rgb(169, 168, 168);
    padding: 10px 15px;
}

.featured-names {
    font-size: 0.9rem;
}

.featured-names p:last-child {
    font-size: 0.95rem;
    color: #4b752a;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .team-info {
        min-height: 340px;
    }
}

@media (max-width: 992px) {
    .circular-img {
        width: 160px;
        height: 160px;
    }

    .team-info {
        min-height: 320px;
    }

    .team-info h4 {
        font-size: 1.2rem;
    }

    .team-info h5 {
        font-size: 0.9rem;
    }

    .team-description p {
        font-size: 0.82rem;
    }

    .sustainability-program h2 {
        font-size: clamp(1.3rem, 2.5vw + 0.5rem, 2rem);
    }

    .sustainability-program .lead {
        font-size: 1.05rem;
    }

    .d-flex.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .btn-success {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .sustainability-program {
        padding: 4rem 0;
    }

    .sustainability-program h2 {
        font-size: 1.8rem;
    }

    .program-image-wrapper img {
        height: 300px;
    }

    .circular-img {
        width: 150px;
        height: 150px;
    }

    .team-info {
        min-height: 300px;
    }

    .team-description p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .circular-img {
        width: 140px;
        height: 140px;
    }

    .team-info {
        min-height: 280px;
    }

    .sustainability-program h2 {
        font-size: 1.6rem;
    }

    .btn-success {
        width: 100%;
        text-align: center;
    }
}

/* SLTP Section */
.sltp-section {
    padding: 6rem 0;
    background-color: #f6f8ee;
}

/* Left Content */
.program-details h3 {
    font-weight: 700;
    color: #2c541d;
}

.program-details p {
    max-width: 620px;
}

.program-meta {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.program-meta li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.program-meta strong {
    display: inline-block;
    width: 90px;
    color: #4b752a;
}

/* Right Image */
.poster-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.poster-image-wrapper:hover {
    transform: translateY(-6px);
}

.poster-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Program Hero Section */
.program-hero {
    background-color: #ffffff;
    padding: 4.5rem 0 3.5rem;
}

.hero-text {
    max-width: 900px;
}

.hero-title {
    font-weight: 700;
    line-height: 1.25;
    color: #2c541d;
    margin-bottom: 1.2rem;
}

.hero-title span {
    color: #4b752a;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    max-width: 850px;
}

/* Image styling */
.hero-image-wrapper {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Program Outline */
.program-outline {
    background-color: #ffffff;
}

.outline-intro-fluid {
    width: 100%;
    padding: 0 1rem;
}

.outline-intro-inner {
    margin-left: calc((100vw - 1140px) / 2 + 110px);
    margin-right: 2rem;
}

/* Intro text wrapper */
.outline-intro-wrapper {
    max-width: 100%;
    padding-right: 2rem;
}

/* Intro text */
.outline-intro {
    max-width: 100%;
    padding-right: 0;
    line-height: 1.7;
    color: #444;
    margin-bottom: 2.5rem;
}

/* Outline list */
.outline-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* Individual row */
.outline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Day badge */
.day-badge {
    min-width: 110px;
    text-align: center;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

/* Color variants */
.day-badge.dark {
    background-color: #2c541d;
}

.day-badge.light {
    background-color: #8fcf53;
    color: #1f3d12;
}

/* Content */
.day-content p {
    margin: 0;
    color: #333;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .program-hero {
        padding: 3rem 0 2.5rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .outline-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .day-badge {
        width: fit-content;
    }
}

@media (max-width: 992px) {
    .poster-image-wrapper {
        max-width: 420px;
        margin: 0 auto;
    }

    .outline-intro-inner {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Section base */
.program-feature {
    background-color: #f6f8ee;
    padding: 4rem 0;
}

/* Text width control */
.feature-text {
    width: 100%;
    max-width: none;
    line-height: 1.7;
    color: #444;
    margin-bottom: 4rem;
}

/* Image wrapper */
.feature-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}


/* Image styling */
.feature-image-wrapper img {
    width: 100%;
    max-width: 900px;
    /* same visual length as text */
    border-radius: 10px;
    display: block;
}

.looking-ahead {
    background-color: #ffffff;
}

/* Text container */
.looking-ahead-text {
    width: 100%;
    max-width: none;
    color: #444;
    line-height: 1.75;
}