body {
    background-image: url('images/kirthar/trees.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
}

/* ==========================================================================
   Kirthar Theme Image & Main Logo
   ========================================================================== */

.kirthar-theme-section {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.kirthar-theme-section .kps-theme {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: kpsThemeFadeIn 5s ease forwards;
}

/* Logo overlay wrapper - centered on top of the theme image */
.kirthar-logo-wrap {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 35%;
    transform: translate(-50%, -50%);
}

.kirthar-logo-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
}

.kirthar-logo-wrap .logo-dark {
    opacity: 1;
    animation: kpsLogoFadeOut 7s ease forwards;
}

.kirthar-logo-wrap .logo-white {
    opacity: 0;
    animation: kpsLogoFadeIn 4s ease forwards;
}

@keyframes kpsThemeFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes kpsLogoFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes kpsLogoFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Mobile - smaller logo */
@media (max-width: 576px) {
    .kirthar-logo-wrap {
        width: 70%;
        top: 35%;
    }

    .kirthar-theme-section {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .kirthar-theme-section .kps-theme {
        width: auto;
        height: 100%;
        max-width: none;
    }
}



/* ==========================================================================
   Title Section
   ========================================================================== */
 
.kirthar-section {
    width: 80%;
    margin: 0 auto;
    padding: 60px 5% 0;
    box-sizing: border-box;
}
 
.title-row {
    display: flex;
    width: 100%;
}
 
.title-row-main {
    margin-bottom: 30px;
}
 
.title-logo-col {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.title-text-col {
    flex: 0 0 70%;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
 
.title-logo {
    width: 100%;
    max-width: 70%;
    height: auto;
}
 
.title-line-1 {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: #4d5725;
    line-height: 1.1;
    margin: 0 0 4px;
}
 
.title-line-2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ca6032;
    margin: 0;
}
 
.title-row-sub {
    width: 100%;
}
 
.title-subtext {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #414340;
    margin: 0;
    text-align: justify;
}
 
.kirthar-section-text {
    width: 100%;
}

/* Tablet / Mobile - stack the logo and text columns */
@media (max-width: 768px) {
    .title-row-main {
        flex-direction: column;
        text-align: center;
    }
 
    .title-logo-col,
    .title-text-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
 
    .title-logo-col {
        margin-bottom: 20px;
    }
 
    .title-line-1 {
        font-size: 35px;
    }
 
    .title-line-2 {
        font-size: 21px;
    }
}


/* ==========================================================================
   Further Sections
   ========================================================================== */


.kirthar-stages-img {
    display: block;
    width: 100%;
    height: auto;
}


.kirthar-pillars-img {
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
}

.kirthar-schedule-img {
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
}

.kirthar-design-img {
    display: block;
    width: 40%;
    height: auto;
    margin: 0 auto;
}

/* Tablet / Mobile - stack the logo and text columns */
@media (max-width: 768px) {
 
    .kirthar-pillars-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    }

    .kirthar-design-img {
    display: block;
    width: 90%;
    height: auto;
    margin: 0 auto;
    }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */


.kirthar-testimonials-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
}

.testimonial-track-wrap {
    overflow: hidden;
    width: 80%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 40%;
    max-width: 40%;
    box-sizing: border-box;
    padding: 0 10px;
}

.testimonial-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.testimonial-nav {
    background: none;
    border: none;
    font-size: 100px;
    cursor: pointer;
    padding: 10px;
}

/* Tablet / Mobile - stack the logo and text columns */
@media (max-width: 768px) {
 
    .testimonial-nav {
    font-size: 70px;
}

    .testimonial-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   Alumni Section
   ========================================================================== */





.kirthar-alumni-section {
    width: 80%;
    margin: 0 auto;
    padding: 10px 3%;
    background-color: rgba(250, 246, 238, 0.6);
    border-radius: 24px;
    box-sizing: border-box;
    border: 1px solid #ddd;

}

.alumni-heading-main {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1670b7;
    font-size: 32px;
    margin: 0;
}

.alumni-heading-sub {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #909c2f;
    font-size: 30px;
    margin: 0;
}

.alumni-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.alumni-card {
    display: flex;
    align-items: center;
    flex: 0 0 calc(33.3333% - 14px);
    max-width: calc(33.3333% - 14px);
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 16px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.alumni-card:hover {
    transform: scale(1.3);
}

.alumni-photo-col {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alumni-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.alumni-text-col {
    flex: 0 0 70%;
    max-width: 70%;
    padding-left: 16px;
    box-sizing: border-box;
}

.alumni-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 4px;
}

.alumni-org {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #555;
    margin: 0 0 6px;
}

.alumni-bio {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #333;
    margin: 0;
}

.alumni-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.alumni-toggle-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.alumni-toggle-arrow.open {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .alumni-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* ==========================================================================
   Video Testimonial
   ========================================================================== */



.kirthar-video-section {
    width: 60%;
    margin: 0 auto;
    padding: 40px 5%;
    box-sizing: border-box;
}

.video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {

    .kirthar-video-section {
    width: 90%;
}

}

/* ==========================================================================
   Call to Action: Apply & Partners
========================================================================== */


.kirthar-cta-section {
    width: 100%;
    margin: 0 auto;
    padding: 60px 5%;
    box-sizing: border-box;
    background-color: rgba(248, 247, 242, 0.8);
}

.cta-row-main {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.cta-text-col {
    flex: 0 0 60%;
    max-width: 60%;
}

.cta-button-col {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cta-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 27px;
    color: #1670b7;
    margin: 0;
    width: 70%;
    padding-left: 10%;
}

.cta-apply-btn {
    display: inline-block;
    background-color: #909c2f;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 25px;
    text-decoration: none;
    padding: 20px 65px;
    border-radius: 40px;
    text-align: center;
    transition: transform 0.2s ease;
}

.cta-apply-btn:hover {
    transform: scale(1.08);
}

.cta-follow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #1670b7;
    text-decoration: none;
    /* border: 2px solid #1670b7; */
    padding: 10px 24px;
    padding-top: 10px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.cta-follow-link:hover {
    transform: scale(1.08);
}

.cta-follow-icon {
    width: 80px;
    height: 80px;
}

.cta-row-partners {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 120px;
    text-align: center;
    
}

.cta-partner-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-partners-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1670b7;
    font-size: 30px;
    margin: 0 0 20px;
}

.cta-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.cta-partner-logo {
    max-height: 100px;
    max-width: 250px;
    height: auto;
}

@media (max-width: 768px) {
    .cta-row-main {
        flex-direction: column;
        gap: 30px;
    }

    .cta-text-col,
    .cta-button-col {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .cta-text {
        font-size: 22px;
        width: 100%;
        padding-left: 0;
        margin: 0 auto;
    }

    .cta-row-partners {
        flex-direction: column;
        align-items: center;
        gap: 40px;
}

}
