.chairman-hero {
    position: relative;
    min-height: 90vh;
    background-image: url('assets_kgs/CHAIRMANS\ MESSAGE.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    background-color: #000;
    display: flex;
    justify-content: flex-start;
}

.chairman-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 21, 17, 0.8) 0%, rgba(10, 21, 17, 0.4) 45%, rgba(10, 21, 17, 0.1) 70%);
}

.chairman-hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(2rem, 4vw, 4rem);
    max-width: 1200px;
}

.chairman-hero__text {
    max-width: 720px;
    color: #f2f2f26f;
    margin-top: clamp(15rem, 15vw, 9.5rem);
}

.chairman-hero__eyebrow {
    letter-spacing: 0.2em;
    color: var(--accent-yellow, #FBB135);
    font-size: 0.9rem;
}

.chairman-hero__mission {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    margin-bottom: 2rem;
  
}

.chairman-hero__role {
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.836);
    margin-top: -10px;
}

.chairman-hero__name {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    color: #fff;
}

.chairman-hero__image-mobile {
    display: none;
}

.chairman-hero__image-mobile img {
    width: 100%;
    height: auto;
    display: block;
}

.chairman-hero-mobile {
    display: none;
}

.chairman-hero-mobile__image {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.chairman-hero-mobile__image img {
    width: 100%;
    height: auto;
    display: block;
}

.chairman-hero-mobile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.6) 100%);
}

.chairman-hero__text-mobile {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    color: #fff;
    background: #ffffff;
}

.chairman-hero-mobile {
    display: none;
}

.chairman-hero__text-mobile {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    color: #fff;
    background: #41c192;
    border-radius: 22px;
}

.chairman-vision {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: 20px;
    
}

.vision-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 2rem);
}

.vision-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
  
    height: clamp(120px, 13vw, 180px);
}

.vision-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chairman-vision__text {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    text-align: left; 
    margin-top: -130px;
   
   
}

.chairman-vision__text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #35463a;
   
    text-align: justify;
   
}

.chairman-vision__text p:last-child {
    margin-bottom: 0;
    margin-top: 50px;
    max-width: 80%;
    margin-left: 50px;
}

.vision-card--left-top {
    height: clamp(150px, 18vw, 280px);
    width: clamp(220px,28vw,320px);
    margin-top: -10px;
}

.vision-card--left-bottom {
    height: clamp(100px, 14vw, 195px);
    width: clamp(120px,18vw,290px);
    margin-top: -30px;
    margin-left: 50px;
}

.vision-card--right-top {
    height: clamp(150px, 18vw, 295px);
    width: clamp(220px,22vw,390px);
    margin-left: 50px;
   
}

.vision-card--right-bottom {
    height: clamp(100px, 14vw, 195px);
    margin-right:50px;
    margin-top: -20px;
}

@media (max-width: 992px) {
    .chairman-vision {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .vision-stack {
        display: contents;
    }

    .vision-card {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        border-radius: 1.2rem;
        overflow: hidden;
    }

    .vision-card img {
        width: 100%;
        height: 260px;
        object-fit: cover;
    }

    .vision-card--left-top { order: 1; }
    .vision-card--left-bottom { order: 2; }
    .chairman-vision__text { order: 3; text-align: left; margin-top: 0; padding-top: 0; }
    .vision-card--right-top { order: 4; }
    .vision-card--right-bottom { order: 5; }
}

@media (max-width: 576px) {
    .chairman-vision {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        margin-top: 1rem;
    }

    .vision-stack {
        display: contents;
    }

    .vision-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        border-radius: 1rem;
        overflow: hidden;
        margin: 0 auto;
    }

    .vision-card img {
        width: 100%;
        height: 130px;
        object-fit: cover;
    }

    .vision-card--left-top,
    .vision-card--right-top {
        max-width: 360px;
    }

    .vision-card--left-top img,
    .vision-card--right-top img {
        height: 230px;
    }

    .vision-card--left-top { order: 1; }
    .vision-card--left-bottom { order: 2; }
    .chairman-vision__text { order: 3; text-align: left; padding-top: 0; margin-top: 0; }
    .vision-card--right-top { order: 4; }
    .vision-card--right-bottom { order: 5; }
}

@media (max-width: 768px) and (min-width: 577px) {
    .chairman-vision {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .vision-stack {
        display: contents;
    }

    .vision-card {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        border-radius: 1.2rem;
        overflow: hidden;
    }

    .vision-card img {
        width: 100%;
        height: 230px;
        object-fit: cover;
    }

    .vision-card--left-top,
    .vision-card--right-top {
        max-width: 460px;
    }

    .vision-card--left-top img,
    .vision-card--right-top img {
        height: 270px;
    }

    .vision-card--left-top { order: 1; }
    .vision-card--left-bottom { order: 2; }
    .chairman-vision__text { order: 3; text-align: left; margin-top: 0; padding-top: 0; }
    .vision-card--right-top { order: 4; }
    .vision-card--right-bottom { order: 5; }
}



@media (max-width: 576px) {
    .chairman-hero {
        display: none;
    }

    .chairman-hero-mobile {
        display: block;
        background: #0a1511;
        margin-top: 0;
        padding: 0;
    }

    .chairman-hero__text-mobile {
        max-width: 600px;
        padding: clamp(1.25rem, 4vw, 2rem);
        background: transparent;
    }

    .chairman-hero__mission {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .chairman-hero__name {
        font-size: 1.8rem;
    }

    .chairman-hero__role {
        font-size: 0.85rem;
        letter-spacing: 0.15em;
        margin-bottom: 0.5rem;
    }
}


/* Legacy split section */
.about-main {
    
    margin-top: -10px;
}


.about-label {
    color: #0d4833;
    font-weight: 545;
    letter-spacing: 0.08em;
    font-family: 'Georgia', italic;
    font-size: clamp(1.5rem, 5vw, 2.3rem);
    margin-top:-30px;
    font-style: italic;
    
   

}

.about-legacy-title {
    font-family: 'Georgia', serif;
    font-weight: 600;
    color: #2f4c2f;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.1;
    margin-left:40px;
    font-style: italic;
   
}


.about-body-text {
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
    margin-top: -20px;
}
.about-lead{
    margin-top: -10px;
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
}

.about-frame {
    position: relative;
   
    overflow: hidden;
    
}

.about-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-frame--compact {
    max-width: 520px;
    width: 100%;
    aspect-ratio: 5 / 3;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.about-frame--tall {
    width: 100%;
    min-height: 320px;
    
}

@media (min-width: 992px) {
    .about-frame--tall {
        min-height: 420px;
    }
}



.about-mosaic-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
    text-align: center;
    max-width: 1160px;
    margin: 0 auto;
    margin-top: -50px;
}

.about-mosaic-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.2fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.mosaic-card {
    position: relative;
   
    overflow: hidden;
    min-height: 220px;
   
}

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(0.9);
    transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
    transition-delay: 0s;
    will-change: transform;
}

.slide-in-zoom.animate .mosaic-card img {
    transform: scale(1);
    transition-delay: 0.3s;
}

.mosaic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.78) 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mosaic-overlay h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.mosaic-overlay p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.mosaic-card:hover .mosaic-overlay {
    opacity: 1;
}

.mosaic-card--left {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 420px;
}

.mosaic-card--right {
    grid-column: 3;
    grid-row: 1 / span 2;
    min-height: 420px;
}

.mosaic-card--small {
    height: 280px;
    min-height: 280px;
}



.mosaic-card--small-top {
    grid-column: 2;
    grid-row: 1;
}

.mosaic-card--small-bottom {
    grid-column: 2;
    grid-row: 2;
}

@media (max-width: 992px) {
    .about-mosaic-grid {
        grid-template-columns: 1fr;
    }

    .mosaic-card--left,
    .mosaic-card--right {
        grid-column: 1;
        grid-row: auto;
        min-height: 280px;
    }

    .mosaic-card--small {
        width: 70%;
        min-height: 110px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .mosaic-card--small-top,
    .mosaic-card--small-bottom {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 576px) {
    .about-mosaic-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .mosaic-card--left,
    .mosaic-card--right {
        grid-column: 1;
        grid-row: auto;
        min-height: 320px;
    }

    .mosaic-card--small {
        min-height: 90px;
    }
}

@media (max-width: 992px) {
    .about-legacy-title,
    .about-lead {
        text-align: center;
        margin-left: 0;
    }
}

/* Chairman Thoughts Section */
.chairman-thoughts {
    padding: 30px;
    background-color: #fff;
    will-change: transform, opacity;
}

.chairman-thoughts__title {
    font-family: 'Georgia', serif;
    font-weight: 600;
    color: #0d4833;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-style: italic;
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.chairman-thoughts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.thought-card {
    position: relative;
   
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   
}

.thought-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.thought-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thought-card__text {
    position: absolute;
    z-index: 2;
}

.thought-card__text--left {
    top: 100px;
    right:180px;
    left:10px;
}

.thought-card__text--center {
    top:20px;
    left:200px;
}

.thought-card__text--right {
    top: 100px;
    right:190px;
    left:10px;
}
.thought-card--center{
    border-radius: 40px 0px 40px 0px;
}
.thought-card--right{
    border-radius: 0px 45px 0px 45px;
}
.thought-card--left{
    border-radius: 0px 45px 0px 45px;
}

.thought-card__text h3 {
    font-family: 'Georgia', serif;
    font-weight: 600;
    color: #4a2c5a;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.thought-card__text--left h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
 
    
}

.thought-card__text--center h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.thought-card__text--right h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

@media (max-width: 992px) {
    .chairman-thoughts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
        max-width: 900px;
    }

    .thought-card {
        max-width: none;
        border-radius: 1rem;
    }

    .thought-card__text--left,
    .thought-card__text--center,
    .thought-card__text--right {
        top: 1.5rem;
        left: 1.5rem;
        right: auto;
    }

    .thought-card__text--left h3,
    .thought-card__text--center h3,
    .thought-card__text--right h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .chairman-thoughts {
        padding: 2.5rem 0;
    }
    
    .chairman-thoughts__title {
        margin-bottom: 2rem;
    }
    
    .chairman-thoughts__grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .thought-card__text--left {
        top: 1.2rem;
        left: 1.2rem;
    }
    
    .thought-card__text--center {
        top: 1.5rem;
        left: 1.3rem;
    }
    
    .thought-card__text--right {
        top: 1rem;
        left: 1rem;
    }
    
    .thought-card__text--left h3 {
        font-size: 1.1rem;
    }
    
    .thought-card__text--center h3 {
        font-size: 1.2rem;
    }
    
    .thought-card__text--right h3 {
        font-size: 1rem;
    }
}

/* Legacy Intro Section */
.legacy-intro {
   padding: 30px;
    background-color: #fff;
    will-change: transform, opacity;
}

/* Slide in from bottom animation */
.slide-in-bottom {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-bottom.animate {
    opacity: 1;
    transform: translateY(0);
}

.legacy-intro__text {
    font-family: 'Georgia', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    line-height: 1.8;
    color: #4a4a4a;
    text-align: justify;
    margin-bottom: 2rem;
  
}

.legacy-intro__button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #FBB135;
    color: #2c2c2c;
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 1.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    max-width: 300px;
    height:50px;
}

.legacy-intro__button:hover {
    background-color: #ffcb2e;
    transform: translateY(-2px);
    color: #2c2c2c;
    text-decoration: none;
}

.legacy-intro__slogan-col {
    align-self: flex-start;
}

.legacy-intro__slogan {
    text-align: right;
}

.legacy-intro__slogan h2 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #0d4833;
    line-height: 1.2;
    margin: 0;
    margin-bottom: .5rem;
}

.legacy-intro__slogan h2:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .legacy-intro {
        padding: 3rem 0;
    }
    
    .legacy-intro__text {
        margin-bottom: 2rem;
    }
    
    .legacy-intro__slogan {
        margin-top: 2rem;
    }
    
    .legacy-intro__slogan h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
}

/* Legacy Image Section */
.legacy-image {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    padding-bottom:20px;
}

.legacy-image__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Legacy Milestones Section */
.legacy-milestones {
   padding: 20px 0 50px 0;
    background-color: #fff;
}

.legacy-milestones__quote {
    font-family: 'Georgia', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    font-weight: 600;
    color: #0d4833;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    border: none;
    text-align: justify;
    margin-top: 60px;
}
.legacy-slider-container{
    position: relative;
    max-width: 730px;
    right: -70px;
    
}

.legacy-milestones-swiper {
    width: 100%;
    padding-bottom: 0;
}

.legacy-milestones__cards {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.legacy-milestones-swiper .swiper-slide {
    height: auto;
}


.milestone-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 370px;
    width: 105%;
  
}

.milestone-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.1);
    z-index: 0;
}

.milestone-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.milestone-card__content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.milestone-card__year {
    font-family: 'Georgia', serif;
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 8.5rem;
    line-height: 1;
}

.milestone-card__label {
    font-family: 'Georgia', serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    color: #ffffff86;
   
}

.milestone-card__text {
    font-family: 'Georgia', serif;
    font-size: clamp(0.95rem, 1.3vw, 1rem);
    line-height: 1.6;
    color: #ffffff72;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.milestone-card__link {
    font-family: 'Georgia', serif;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: #ffffff95;
    text-decoration: underline;
    transition: opacity 0.3s ease;
    align-self: flex-start;
}

.milestone-card__link:hover {
    opacity: 0.8;
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .legacy-milestones {
        padding: 3rem 0;
    }
    
    .legacy-milestones__quote {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .milestone-card {
        min-height: 250px;
    }
    
    .milestone-card__content {
        padding: 2rem;
    }
    
}

/* Achievement Feature Section */
.achieve-section {
    padding: 16px 12px 24px 12px;
    margin-top: 20px !important;
}

.achieve-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.achieve-left-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.achieve-right {
    display: grid;
    gap: 10px;
}

.achieve-title {
    color: #2B4701;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.achieve-sub {
    margin: 0;
    color: #4b5563;
}

.achieve-meta {
    margin: 0;
    color: #4b5563;
    opacity: .9;
    font-size: .95rem;
}

.achieve-right-img {
    width: 100%;
    height: 355px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

@media (max-width: 992px) {
    .achieve-container {
        grid-template-columns: 1fr;
    }
}

.achieve-note-section {
    padding: 8px 12px 24px 12px;
}

.achieve-note-container {
    max-width: 1200px;
    margin: 0 auto;
}

.achieve-note-section p {
    text-align: center;
    color: #4b5563;
    font-size: 1.4rem;
    line-height: 1.8;
    margin: 0;
}

/* Achievement overlay section - absolute image with text block */
.achieve-overlay-section {
    padding: 12px 12px 24px 12px;
}

.achieve-overlay-container {
    max-width: 1400px;
    margin: 0 auto;
}

.overlay-wrap {
    position: relative;
    min-height: 650px;
    /* increased to accommodate absolutely positioned .overlay-note */
    overflow: hidden;
    /* prevent content from extending beyond container */
}

.overlay-base-img {
    width: 60%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    /* bring image above overlay note */
}

.overlay-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    background: #fdfdfd;
    padding: 14px 16px;
    min-height: 460px;

}

.overlay-title {
    color: #2B4701;
    font-size: 3.6rem;
    margin: 0 0 6px 0;
}

.overlay-sub {
    margin: 0;
    color: #4b5563;
    font-size: 1.45rem;
}

.overlay-meta {
    margin: 0;
    color: #4b5563;
    opacity: .9;
    font-size: 1rem;
}

.overlay-lead {
    color: #2B4701;
    font-weight: 400;
    font-size: 3rem;
    padding-left: 230px;
    line-height: 2.6rem;
}

.overlay-note {
    position: absolute;
    top: 230px;
    left: 44%;
    width: 55%;
    background: #EDFFE4;
    height: auto;
    /* was 400px; allow content to define height */
    padding: 10px 12px;
    font-size: 1.5rem;
    color: #4b5563;
    z-index: 1;
    /* keep below the image */
    text-align: justify;
}

.overlay-note-text {
    padding-top: 40px;
}

@media (max-width: 992px) {
    .overlay-lead {
        padding-left: 0;
    }

    .overlay-base-img {
        width: 100%;
        height: 220px;
    }

    .overlay-panel {
        position: static;
        width: 100%;
        margin-top: 10px;
        min-height: unset;
    }

    .overlay-note {
        position: static;
        width: 100%;
        margin-top: 10px;
        height: auto;
        /* keep auto on mobile as well */
    }
}

/* Achievements Gallery Section */
.achieve-gallery-section {
    padding: 20px 12px 40px 12px;
}

.achieve-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.achieve-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Left image container: independent styling */
.achieve-gallery-img1 {
    width: 100%;
    height: 440px;
    overflow: hidden;

    background: #E8F1FF;
}

.achieve-gallery-img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

/* Right image container: independent styling */
.achieve-gallery-img2 {
    width: 100%;
    height: 440px;
    overflow: hidden;

    background: #E8F1FF;
    justify-self: end;
    /* keep right-aligned within the grid cell */
    margin-top: 50px;
}

.achieve-gallery-img2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

@media (max-width: 992px) {
    .achieve-gallery-grid {
        grid-template-columns: 1fr;
    }

    .achieve-gallery-img1,
    .achieve-gallery-img2 {
        width: 100%;
        height: 280px;
        justify-self: stretch;
    }
}

/* Achievement centered summary section */
.achieve-summary-section {
    padding: 20px 12px 40px 12px;
}

.achieve-summary-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.summary-title {
    color: #2B4701;
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 6px 0;
}

.summary-sub {
    color: #2B4701;
    opacity: 0.8;
    margin: 0 0 4px 0;
    font-size: 1.2rem;
}

.summary-meta {
    color: #2B4701;
    opacity: 0.75;
    margin: 0 0 14px 0;
    font-size: 1rem;
}

.summary-body {
    color: #2B4701;
    margin: 0 auto;
    max-width: 1320px;
    line-height: 1.6;
    text-align: center;
    font-size: 1.5rem;
}

@media (max-width: 992px) {
    .achieve-summary-container {
        max-width: 95%;
    }

    .summary-title {
        font-size: 1.6rem;
    }

    .summary-sub {
        font-size: 0.9rem;
    }

    .summary-meta {
        font-size: 0.78rem;
    }
}
@media(max-width:576px){
    .founders-section{
        margin-left: 30px;
    }
    .founders-title{
        margin-left:-20px;
    }
    .founder-right{
        margin-left: -220px;
    }
    .founder-image-alt{
        margin-left:0px;
    }
    .founder-bio-alt{
        margin-left:-10px;
    }
    .founder-bio-alt{
        margin-right:5px;
        margin-left:10px;
    }
    .stack-text{
        margin-right:50px;
    }
}
@media(max-width:768px){
    .founders-section{
        margin-left: 30px;
    }
    .founders-title{
        margin-left:-20px;
    }
    .founder-right{
        margin-left: -220px;
    }
    .founder-image-alt{
        margin-left:0px;
    }
    .founder-bio-alt{
        margin-left:-10px;
    }
    .founder-bio-alt{
        margin-right:5px;
        margin-left:10px;
    }
}
@media(max-width:991px){
    .founders-section{
        margin-left: 30px;
    }
    .founders-title{
        margin-left:-20px;
    }
    .founder-right{
        margin-left: -220px;
    }
    .founder-image-alt{
        margin-left:0px;
    }
    .founder-bio-alt{
        margin-left:-10px;
    }
    .founder-bio-alt{
        margin-right:5px;
        margin-left:10px;
    }
}
@media(min-width:992px) and (max-width:1200px){
    .founders-section{
        margin-left: 30px;
    }
    .founders-title{
        margin-left:-20px;
    }
    .founder-right{margin-left:-20px;
    }
    .founder-left{
        margin-top:-20px;
    }
    .founder-image{
        margin-right:20px;
        width:100%;
        min-width: 500px;
        height:auto;
    }
    .founder-image-alt{
        margin-left:20px;
        width:100%;
        min-width: 500px;
        height:auto;
    }
    .founder-bio-alt{
        margin-left:-10px;
    }
    .founder-bio-alt{
        margin-right:5px;
        margin-left:10px;
        font-size:1.2rem;
    }
    .founder-bio{
        margin-right:60px;
        font-size: 1.2rem;
        
    }
    .founder-left-alt{
        margin-top:-30px;
        margin-left:30px;
    }
    .founder-number-alt{
        margin-left:-0px;
    }
}

@media(min-width:1201px) and (max-width:1450px){
    .founders-section{
        margin-left: 30px;
    }
    .founders-title{
        margin-left:-20px;
    }
    .founder-right{margin-left:-20px;
    }
    .founder-left{
        margin-top:-20px;
    }
    .founder-image{
        margin-right:20px;
        width:100%;
        min-width: 500px;
        height:auto;
    }
    .founder-bio-alt{
        margin-left:-10px;
    }
    .founder-bio-alt{
        margin-right:5px;
        margin-left:10px;
        font-size:1.2rem;
    }
    .founder-bio{
        margin-right:60px;
        font-size: 1.2rem;
        
    }
}


/* Feature Achievements split layout */
.achieve-feature-section {
    padding: 12px 12px 40px 12px;
}

.achieve-feature {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.7fr 0.75fr;
    /* widen left image column */
    gap: 18px;
    align-items: start;
}

.feature-left-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;

}

.feature-right {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
}

.feature-title {
    color: #2B4701;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.feature-sub {
    margin: 0;
    color: #2B4701;
}

.feature-meta {
    margin: 0;
    color: #2B4701;
    opacity: .9;
    font-size: .95rem;
}

.feature-right-img {
    width: 100%;
    height: 365px;
    object-fit: cover;
    display: block;

}

@media (max-width: 992px) {
    .achieve-feature {
        grid-template-columns: 1fr;
    }

    .feature-left-img {
        height: 260px;
    }

    .feature-right-img {
        height: 220px;
    }
}

/* Footer */
.site-footer {
    color: #fff;
    margin-top: 0;
    width: 100%;
    margin-left: 0;
}

.footer-hero {
    position: relative;
    background: none;
}

.footer-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #060f1c url('assets_kgs/footerlast.png') center/cover no-repeat;
    filter: brightness(50%);
    z-index: 0;
}

/* Visible separator line just below the brand/content area */
.footer-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    filter: brightness(100%);
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    padding: 50px 40px 30px 40px;
    align-items: start;
   
    margin: 0 auto;
}

.footer-top {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 10px;
}

.footer-brand {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    margin: 0;
    color: #C1D89F;
    display: inline-block;
    padding-bottom: 8px;
    position: relative;
    grid-column: 1 / -1;
    white-space: nowrap;
    margin-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(100% + 60vw);
    height: 2px;
    background: #C1D89F;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.footer-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-center {
    color: #fff;
    text-align: right;
    margin-top: -10px;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 25px);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.footer-column h5 {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 300;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column ul li {
    position: relative;
    padding-left: 12px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: block;
}

.footer-column ul li:not(.contact-item)::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
}

.footer-column ul li.contact-item {
    padding-left: 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.footer-column ul li.contact-item::before {
    display: none;
}

.footer-column ul li.contact-item i {
    font-size: clamp(0.85rem, 2vw, 1rem);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    transition: color 0.2s ease;
    display: inline-block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    white-space: normal;
}

.footer-column a:hover {
    color: #f8c125;
}

.footer-school {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.footer-address,
.footer-phone,
.footer-mail {
    margin: 8px 0;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-inquiry {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    overflow: hidden;
    margin-left:50%;
}

.inquiry-label {
    font-size: 14px;
    opacity: 0.7;
    white-space: nowrap;
}

.inquiry-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 6px 6px;
    width: 320px;
}

.inquiry-box input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 10px 12px;
    font-size: 14px;

}

.inquiry-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: #0b1f3d;
    color: #fff;
    cursor: pointer;
}

.footer-round-image {
    position: relative;
    right: 20px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 0;

}

.footer-round-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.footer-bottom {
    display: flex;
    align-items: center;
    background: #3D4B28;
    color: #fff;
    padding: 15px 40px;
}

.footer-bottom-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom .footer-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-bottom .footer-social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.footer-bottom .footer-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.copyright-section {
    text-align: right;
    flex-shrink: 0;
}

.copyright-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive Footer Styles */
@media(min-width:993px) and (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 30px;
        padding: 40px 30px 25px 30px;
    }
    
    .footer-title {
        font-size: 36px;
    }
    .about-image-wrapper{
        margin-left: 10px;
    }
}

@media(min-width:767px) and (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px 25px 30px;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(15px, 2.5vw, 20px);
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        align-items: flex-start;
    }
    
    .footer-column {
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .footer-column h5 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-center {
        text-align: center;
        flex: initial;
        display: block;
        justify-content: center;
    }
}

/* Responsive Footer Title for Mobile Views */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-title {
        text-align: center;
        font-size: clamp(24px, 6vw, 36px);
        white-space: normal;
        width: 100%;
        display: block;
        margin: 0 auto 10px;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-title {
        text-align: center;
        font-size: clamp(20px, 5.5vw, 32px);
        white-space: normal;
        width: 100%;
        display: block;
        margin: 0 auto 10px;
        letter-spacing: 1px;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        max-width: 250px;
    }
    
    .footer-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        padding: 30px 15px 20px 15px;
        justify-content: center;
        align-items: flex-start;
    }
    
    .footer-columns {
        flex: 1 1 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        align-items: flex-start;
        justify-content: center;
        justify-items: start;
    }
    
    .footer-contact {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .footer-column {
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-column h4,
    .footer-column h5 {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 12px;
    }
    
    .footer-column ul {
        gap: 8px;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-column ul li {
        font-size: clamp(0.75rem, 2.5vw, 0.9rem);
        line-height: 1.5;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        width: 100%;
    }

    .footer-column a {
        font-size: clamp(0.75rem, 2.5vw, 0.9rem);
        text-align: left;
        display: block;
        width: 100%;
    }

    .footer-column span {
        font-size: clamp(0.75rem, 2.5vw, 0.9rem);
        text-align: left;
        display: block;
    }
    
    .footer-column ul li i {
        text-align: center;
    }

    .stay-updated-content {
        align-items: center;
        text-align: center;
        gap: 6px;
        width: 100%;
    }

    .stay-updated-label {
        margin-right: 0;
        width: 100%;
        font-size: clamp(0.8rem, 3.2vw, 1rem);
        white-space: normal;
    }

    .stay-updated-box {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
    }

    .stay-updated-input {
        font-size: clamp(0.8rem, 3.2vw, 1rem);
        width: 100%;
    }

    .footer-bottom {
        padding: 12px 15px;
    }

    .footer-bottom-container,
    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-bottom .footer-social-icons {
        justify-content: center;
        gap: 10px;
    }

    .footer-bottom .footer-social-icon {
        width: 22px;
        height: 22px;
    }

    .copyright-section {
        text-align: center;
        width: 100%;
        margin-top: 4px;
    }

    .copyright-text {
        font-size: clamp(0.7rem, 2.5vw, 0.85rem);
    }
}

.white1{
    background-color: #fffbfb;
    height:10px;
    width: 70px;
    position: absolute;
    top:375px;
    left: 80px;
}
.white2{
    background-color: #ffffff;
    height:120px;
    width: 10px;
    position: absolute;
    top:145px;
    left: 357px;
    rotate: 5deg;
}
.white3{
    background-color: #ffffff;
    height:80px;
    width: 10px;
    position: absolute;
    top:95px;
    left: 350px;
    rotate: -5deg;
}

.white4{
    background-color: #ffffff;
    height:10px;
    width: 80px;
    position: absolute;
    top:730px;
    left: 330px;
}

/* Hide white decorative elements on mobile and tablet */
@media (max-width: 1200px) {
    .white1,
    .white2,
    .white3,
    .white4 {
        display: none;
    }
}
.year{
    color:#E4FF61;
}

/* KGI Hero Section Styles */
.kgi-hero-section {
    background-color: #ffffff;
    padding: 60px 0;
    min-height: 100vh;
}

.kgi-institution-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-family: 'Merriweather', Georgia, serif;
    text-align: left;
    margin-top: -40px;
}

/* Slide in from top animation */
.slide-in-top {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-top.animate {
    opacity: 1;
    transform: translateY(0);
}

.kgi-main-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
}

.kgi-mission-statement {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-style: italic;
    color: #2d5016;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.kgi-logos-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    margin-left: 0;
}

.kgi-logo-item {
    height: 80px;
    width: 80px;
    object-fit: contain;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
  
   
}

.kgi-logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.kgi-logo-item.kgi-logo-active {
    opacity: 1;
    transform: scale(1.1);
    background-color: #E4FBC2;
}

.kgi-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 500px;
    height: 100%;
    margin-top: -50px;
}

.kgi-image-swiper {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.kgi-image-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.kgi-image-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}



.kgi-building-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}



.kgi-description {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: #374151;
    line-height: 1.8;
    text-align: justify;
    margin-top: 150px;
}

.kgi-statistics {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.kgi-content-wrapper{
    margin-top: -140px;
}

.kgi-stat-item {
    text-align: left;
}

.kgi-stat-number {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    color: #2d5016;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.kgi-stat-label {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #4b5563;
    font-weight: 400;
}

.kgi-visit-link {
    display: inline-block;
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(.95rem, 1.5vw, 1rem);
    color: #2d5016;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-top: 12rem;
    text-decoration: underline;
}

.kgi-visit-link:hover {
    color: #1a3400;
    transform: translateX(5px);
}

.kgi-tagline {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-style: italic;
    color: #2d5016;
    font-weight: 400;
    margin-top: 3rem;
}
.small{
    font-size: clamp(.8rem, 1.5vw, 1rem);
    font-weight: 500;
    color: #1b2e0e96;


}

/* Responsive Design for KGI Section */
@media (max-width: 992px) {
    .kgi-hero-section {
        padding: 40px 0;
    }

    .kgi-mission-statement {
        max-width: 100%;
    }

    .kgi-logos-row {
        justify-content: center;
        gap: 2rem;
    }

    .kgi-logo-item {
        height: 70px;
        width: 70px;
    }

    .kgi-statistics {
        gap: 2rem;
        justify-content: center;
    }

    .kgi-stat-item {
        text-align: center;
    }

    .kgi-description {
        text-align: left;
    }

    .kgi-image-wrapper {
        min-height: 400px;
    }

    .kgi-image-swiper {
        min-height: 400px;
    }

    .kgi-image-swiper .swiper-slide {
        min-height: 400px;
    }

    .kgi-image-swiper .swiper-slide img {
        min-height: 400px;
    }

    .kgi-building-image {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .kgi-hero-section {
        padding: 30px 0;
    }

    .kgi-main-title {
        font-size: 2rem;
    }

    .kgi-mission-statement {
        font-size: 1rem;
    }

    .kgi-logos-row {
        gap: 1.5rem;
    }

    .kgi-logo-item {
        height: 60px;
        width: 60px;
    }

    .kgi-statistics {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .kgi-stat-number {
        font-size: 2.5rem;
    }

    .kgi-content-wrapper {
        padding: 15px 0;
    }

    .kgi-image-wrapper {
        min-height: 300px;
    }

    .kgi-image-swiper {
        min-height: 300px;
    }

    .kgi-image-swiper .swiper-slide {
        min-height: 300px;
    }

    .kgi-image-swiper .swiper-slide img {
        min-height: 300px;
    }

    .kgi-building-image {
        min-height: 300px;
    }
}

/* Inline styles moved to CSS */
.navbar-dark-bg {
    background: var(--green-800) !important;
}

.brand-logo-custom {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 180px !important;
}

.social-icon-small {
    width: 1.1rem;
    height: 1.1rem;
}

.programs-heading-nowrap {
    white-space: nowrap;
}

/* Gallery photo rotations */
.gallery-photo-rotate-1 { transform: rotate(-5deg); }
.gallery-photo-rotate-2 { transform: rotate(3deg); }
.gallery-photo-rotate-3 { transform: rotate(-2deg); }
.gallery-photo-rotate-4 { transform: rotate(4deg); }
.gallery-photo-rotate-5 { transform: rotate(-3deg); }
.gallery-photo-rotate-6 { transform: rotate(2deg); }
.gallery-photo-rotate-7 { transform: rotate(-4deg); }
.gallery-photo-rotate-8 { transform: rotate(5deg); }
.gallery-photo-rotate-9 { transform: rotate(-2deg); }
.gallery-photo-rotate-10 { transform: rotate(3deg); }
.gallery-photo-rotate-11 { transform: rotate(-3deg); }
.gallery-photo-rotate-12 { transform: rotate(4deg); }
.gallery-photo-rotate-13 { transform: rotate(-2deg); }
.gallery-photo-rotate-14 { transform: rotate(5deg); }
.gallery-photo-rotate-15 { transform: rotate(-4deg); }

/* Learning Possibility Section */
.learning-possibility-section {
    background-color: #ffffff;
    padding: 0px 0;
}

.learning-possibility-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 500;
    color: #2d5016;
    margin-top:-60px;
}

.learning-possibility-text-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0px 20px;
    position: relative;
}

.learning-possibility-text {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #374151;
    line-height: 1.8;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 2;
}

.learning-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.4;
    z-index: 1;
}

.learning-icon-beaker {
    top: -75px;
    right: 90%;
    width: 40px;
    height: 40px;
}

.learning-icon-graduation {
    top: -5%;
    right:100%;
}

.learning-icon-molecule {
    top: 88%;
    left: 8%;
}

.learning-icon-microscope {
    top: 64%;
    right: 96%;
}

.learning-icon-math {
    top: -65px;
    left: 90%;
    width: 40px;
    height: 40px;
   
}

.learning-icon-wifi {
    top: -30%;
    left: 97%;
}

.learning-icon-globe {
    bottom: 25%;
    left: 100%;
}

.learning-icon-fx {
    top: 70%;
    left: 92%; 
    width: 40px;
    height: 40px;
   
}

.learning-box {
    background-color: #F7FFED;
    border: 1px solid #879F67;
    border-radius: 8px;
    padding: 30px 25px;
    height: 100%;
    min-height: 240px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learning-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.learning-box-text {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(0.95rem, 1.3vw, 1.5rem);
    color: #2d5016;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Responsive styles for Learning Possibility Section */
@media (max-width: 992px) {
    .learning-possibility-text-wrapper {
        padding: 30px 15px;
    }

    .learning-icon {
        width: 35px;
        height: 35px;
        opacity: 0.3;
    }

    .learning-box {
        min-height: 160px;
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .learning-possibility-section {
        padding: 40px 0;
    }

    .learning-possibility-text-wrapper {
        padding: 20px 10px;
    }

    .learning-icon {
        display: none;
    }

    .learning-box {
        min-height: 140px;
        padding: 20px 15px;
        margin-bottom: 1rem;
    }
}

/* Chairman legacy section (About Chairman page) */
.chairman-legacy-section {
    position: relative;
    background: linear-gradient(to right,
            #F7FFED 0%,
            #F7FFED 70%,
            #E3F5D6 70%,
            #E3F5D6 100%);
    padding: 2.5rem 0;
}

.chairman-legacy-curve {
    position: absolute;
    inset: 0;
    margin: auto;
    transform: translateX(48%);
    max-height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
    rotate: 5deg;
}

.chairman-legacy-container {
    max-width: 1400px;
}

.chairman-legacy-content {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.chairman-legacy-text {
    color: #244221;
    font-family: "Merriweather", Georgia, "Times New Roman", serif;
}

.chairman-legacy-kicker {
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #324E08;
    margin-bottom: 1.5rem;
}

.chairman-legacy-body {
    font-size: 0.98rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    color: #02030285;
    font-family: 'Inter', sans-serif;
}
.chairman-legacy-sign{
    font-size: 1.8rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    color: #02030299;
    font-family: Georgia, serif;
}

.chairman-legacy-signoff {
    margin-top: 2rem;
}

.chairman-legacy-sign-label {
    font-style: italic;
    color: #677b5f;
    margin-bottom: 1.5rem;
}

.chairman-legacy-sign-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
    color: #244221;
}

.chairman-legacy-sign-role {
    font-size: 0.9rem;
    color: #677b5f;
}

.chairman-legacy-photos {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.25rem;
    align-items: stretch;
}

.chairman-legacy-main-photo {
    border-radius: 0;
    overflow: hidden;
    background: #dbead4;
    height: 280px;
}

.chairman-legacy-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.chairman-legacy-secondary-photos {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.25rem;
}

.chairman-legacy-secondary-photo-top {
    border-radius: 1.5rem;
    overflow: hidden;
    background: #dbead4;
    border-radius: 50% 50% 0% 0%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top:120px;
    
}

.chairman-legacy-secondary-photo-bottom {
    border-radius: 1.5rem;
    overflow: hidden;
    background: #dbead4;
    border-radius: 0% 0% 50% 50%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 40px;
    width: 90%;
    margin-left: -220px; /* adjust this value to move the image horizontally */
}

.chairman-legacy-secondary-photo-top img,
.chairman-legacy-secondary-photo-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991.98px) {
    .chairman-legacy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .chairman-legacy-photos {
        max-width: 420px;
        margin: 0 auto;
        grid-template-columns: 1.1fr 0.9fr;
    }
}

@media (max-width: 767.98px) {
    .chairman-legacy-section {
        padding: 3rem 0;
        background-position: top right;
        background-size: auto 70%;
    }

    .chairman-legacy-kicker {
        font-size: 1.2rem;
    }

    .chairman-legacy-body {
        font-size: 0.95rem;
    }

    .chairman-legacy-photos {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .chairman-legacy-secondary-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }
    .chairman-legacy-secondary-photo-top{
      left:200px;
      top:20px;
    }
}


