﻿html {   
    font-size: 14px;
}

/*body {
   margin: 0;
}*/

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }



.site-header {
    position: sticky !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background-color: #cc0000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.7s ease, opacity 0.7s ease;
    transform: translateY(0);
    opacity: 1;
}

    .site-header.hide {
        transform: translateY(-100%);
        opacity: 0;
    }

    .site-header.is-sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10000;
        background-color: #cc0000;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        transform: translateY(0);
        opacity: 1;
    }

/* Simple slide-in animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Offset to prevent content jump */
body.has-sticky {
    padding-top: 75px; /* adjust to navbar height */
}


.mb-4.header {
    margin-bottom: -1.5rem !important;
}

.d-none.d-md-inline {
    font-weight: bold;
    font-size: 25px !important;
}

main.container.my-4
{
 margin-top:0px !important;
}


/* Unique Features Section*/
#unique-features {
    background-color: #fff;
}

    /* make gap larger between title and cards */
    #unique-features .unique-features-title {
        margin-bottom: 130px !important; /* desktop gap — change 60px to taste */
    }

.unique-feature-card {
    background-color: #e3242b; /* Bright red */
    border-radius: 20px;
    padding-top: 70px;
    padding-bottom: 25px;
    position: relative;
    overflow: visible;
    width: 90%;
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


    /* Card + image move upward on hover */
    .unique-feature-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    }

        .unique-feature-card:hover .unique-feature-img {
            transform: translate(-50%, -15px);
        }

/* Circular Image */
.unique-feature-img {
    width: 195px;
    height: 195px;
    border: 6px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: -65px; /* Half above the card */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

    .unique-feature-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Text styling */
.unique-feature-body h4 {
    color: #fff;
    margin-top: 60px !important;
    font-size: 1.15rem;
}

.unique-feature-body p {
    color: #fff;
    font-size: 0.95rem;
}

/* Arrow circle */
.arrow-circle {
    width: 42px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .arrow-circle i {
        color: #fff;
        font-size: 1.2rem;
        transition: transform 0.3s ease, color 0.3s ease;
    }

/* Hover animation for arrow */
.unique-feature-card:hover .arrow-circle {
    background: #fff;
}

    .unique-feature-card:hover .arrow-circle i {
        color: #e3242b;
        transform: translateX(4px);
    }


/* ✅ MOBILE: show only one card per slide */
@media (max-width: 767.98px) {
    #featureCarousel .carousel-item .col-12.col-md-4 {
        display: none; /* hide all cards first */
    }

        #featureCarousel .carousel-item .col-12.col-md-4:first-child {
            display: block; /* show only the first card in the slide */
        }
}

/* ✅ DESKTOP: show all 3 cards normally */
@media (min-width: 768px) {
    #featureCarousel .carousel-item .col-12.col-md-4 {
        display: block !important;
    }
}

/* --- Allow image overflow, keep controls visible --- */
#featureCarousel {
    position: relative !important;
    overflow: visible !important;
    z-index: 1;
}

    #featureCarousel .carousel-inner {
        overflow: visible !important;
        position: relative;
        z-index: 1;
    }

    /* Only make .carousel-item overflow visible — no z-index here */
    #featureCarousel .carousel-item {
        overflow: visible !important;
    }

    /* Cards: more space for image */
    #featureCarousel .unique-feature-card {
        padding-top: 130px !important;
        overflow: visible !important;
        min-height: 420px;
        position: relative;
        z-index: 2;
    }

    /* Circular image placement */
    #featureCarousel .unique-feature-img {
        position: absolute !important;
        top: -90px !important;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 200px;
        border-radius: 50%;
        border: 6px solid #fff;
        background: #fff;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        z-index: 5; /* above card, below controls */
    }

        /* Ensure images fill circle properly */
        #featureCarousel .unique-feature-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    /* --- Carousel Controls (bring above everything) --- */
    #featureCarousel .carousel-control-prev,
    #featureCarousel .carousel-control-next {
        z-index: 10 !important; /* ensures visible above card & image */
        opacity: 1 !important; /* makes them fully visible */
    }

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    #featureCarousel .unique-feature-card {
        padding-top: 110px !important;
        min-height: 360px;
    }

    #featureCarousel .unique-feature-img {
        top: -75px !important;
        width: 170px;
        height: 170px;
    }
}


@media (max-width: 992px) { /* lg and below */
    #unique-features .unique-features-title {
        margin-bottom: 48px !important;
    }
}

@media (max-width: 576px) { /* xs phones */
    #unique-features .unique-features-title {
        margin-bottom: 32px !important;
        font-size: 1.15rem;
    }

    #unique-features .features-row {
        margin-top: 8px;
    }
}
/* Responsive design */
@media (max-width: 768px) {
    .unique-feature-img {
        width: 170px;
        height: 170px;
        top: -55px;
    }

    #unique-features .unique-features-title {
        margin-bottom: 100px !important; /* desktop gap — change 60px to taste */
    }

    .unique-feature-card {
        width: 100%;
        padding-top: 60px;
        margin-bottom: 60px !important;
    }

    .unique-feature-body h4 {
        margin-top: 50px !important;
    }
}

/* Desktop cards centered inside slide */
.unique-feature-card {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}


/* Maintain card overlap layout */
.unique-feature-card {
    padding-top: 110px; /* ensures space for half image inside */
    position: relative;
    overflow: visible;
}

.unique-feature-img {
    top: -95px; /* keeps half image outside */
    z-index: 5;
}

@media (max-width: 768px) {
    .unique-feature-img {
        top: -80px;
    }

    .unique-feature-card {
        padding-top: 95px;
    }
}

/* === HERO VIDEO SECTION === */
.hero-video-section {
    position: relative;
    width: 100vw; /* Full viewport width */
    height: 74vh; /* full screen height */
    overflow: hidden;
    left: 50%; /* Center the section */
    right: 50%;
    margin-top: 0; /* No space above, starts right after navbar */
    padding-top: 0;
    margin-left: -50vw; /* Extend full width to the left */
    margin-right: -50vw; /* Extend full width to the right */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay for desktop text */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-text-wrapper {
    max-width: 100%;
}

.hero-video-section h1 {
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.hero-video-section p {
    color: #f2f2f2;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.btn-apply-now {
    background-color: #ffeb00;
    color: #000;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    margin-top: 20px !important;
    transition: all 0.3s ease;
}

    .btn-apply-now:hover {
        background-color: #ffd500;
        color: #000;
    }

/* === MOBILE VIEW === */
@media (max-width: 767px) {
    .hero-video-section {
        height: 90vh; /* slightly shorter to fit phone browser */
    }

    /* hide desktop overlay text */
    /*.hero-overlay {
        display: none !important;
    }*/

    header{
        display: none;
    }

    .middlebar {
        display:none;
    }
    /* top bar with logo + menu */
    .mobile-top-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;
        background: transparent;
    }

        .mobile-top-overlay img {
            max-height: 45px;
        }

    .btn-menu {
        background: rgba(0,0,0,0.4);
        border-radius: 6px;
        padding: 4px 8px;
    }
}

/* === Leadership Team Section === */
.leadership-team-section {
    background-color: #fff;
}

.leadership-card {
    width: 100%; /* full width of its column */
    max-width: 400px; /* desktop max width */
    margin: 0 auto; /* center in column */
    border: 1px solid #dee2e6;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .leadership-card img {
        width: 100%; /* responsive image */
        height: 400px; /* desktop height */
        object-fit: cover;
    }


.p-3.text-white,
.p-3.text-white * {
    transition: color 0.6s ease-in-out; /* smooth color transition */
}

    .bg-white {
        transition: background-color 1s ease-in-out, color 0.6s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
    }

    .leadership-card:hover {
        transform: translateY(-5px);
        box-shadow: #00008b; /* Dark blue shadow on hover */
        border-color: #134387;
    }

    .bg-white:hover {
        background-color: #134387 !important;
        animation: hoverBg 0.4s forwards;
    }

    .p-3.text-white,
    .p-3.text-white:hover * {
     color: #fff !important;
    }

.leadership-arrow {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.leadership-dots {
    z-index: 0;
    opacity: 0.5;
}

@media (max-width: 992px) {
    .leadership-img {
        height: 300px;
        object-position: center center; /* recenters the image */
    }
}


/* Responsive adjustments */
@media (max-width: 767px) {
    .leadership-card img {
        height: auto; /* allow natural height */
        max-height: 350px; /* limit size if needed */
        width: 100%;
        object-fit: contain; /* show full image, no crop */
        object-position: center center;
    }

       /* .leadership-card img {
            height: 260px !important;
            width: 380px !important;
        }*/

    .leadership-team-section h2 {
        font-size: 2rem;
    }
}

/* === Alternating Sections === */

.rounded-image-wrapper {
    width: 500px; /* adjust size */
    height: 500px; /* adjust size */
    border-radius: 50%; /* circular shape */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* soft shadow */
    position: relative;
    margin-bottom: 1rem;
    border: 5px solid #fff; /* optional white border */
    background: linear-gradient(135deg, #f3f3f3, #e0e0e0); /* subtle background gradient */
}

    .rounded-image-wrapper::before {
        content: '';
        position: absolute;
        top: -10%;
        left: -10%;
        width: 120%;
        height: 120%;
        border-radius: 50%;
        background: rgba(255,0,0,0.05); /* subtle design overlay */
        pointer-events: none;
    }

.rounded-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* ensure image itself is round */
    transition: transform 0.4s ease;
}

.rounded-image-wrapper:hover .rounded-image {
    transform: scale(1.05); /* small zoom on hover */
}

@media (max-width: 767px) {
    .rounded-image-wrapper {
        width: 200px; /* smaller size on mobile */
        height: 200px;
        margin-bottom: 1.5rem;
    }

        .rounded-image-wrapper::before {
            top: -5%;
            left: -5%;
            width: 110%;
            height: 110%;
        }
}


.content-section h2 {
    color: #cc0000;
    margin-bottom: 20px;
}

.section-content {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.feature-card {
    background-color: #ffffff; /* base background */
    border-radius: 1rem;       /* rounded corners */
    padding: 20px;             /* space inside card */
    height: 100%;              /* make all cards full height of column */
    transition: all 0.3s ease; /* smooth hover effects */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* optional subtle shadow */
}

.feature-card:hover {
    background-color: #f8d7da; /* change this to any hover color you like */
    transform: translateY(-5px); /* slight lift effect on hover */
}

.feature-card img {
    border-radius: 50%; /* keeps images circular */
}


/* === Rounded Image Cards (Facilities) === */
.rounded-card-section .feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .rounded-card-section .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    }

.feature-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #fff;
    border-radius: 50%;
}

/* === Rectangular Info Cards (Activities) === */
.info-card-section .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card-section .card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.info-card-section .card-img-top {
    height: 180px;
    object-fit: cover;
}

.info-card-section .card-title {
    color: #cc0000;
    font-weight: 600;
    font-size: 1.05rem;
}

.info-card-section .card-text {
    color: #555;
    font-size: 0.9rem;
}

/* === Responsive Adjustments === */
@media (max-width: 767px) {
    .hero-section {
        height: 300px;
    }

        .hero-section h1 {
            font-size: 1.8rem;
        }

    .feature-img img {
        width: 100px;
        height: 100px;
    }
}


/* footer.css */
/* === Footer Global === */
.footer {
    width: 100%;
    background: #1c1f23;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

/* === Top Section === */
.footer-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Map styling */
.footer-map iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
}

/* Left side: logo + text */
.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.footer-dev-link {
    color: #ffd400; /* golden highlight like your theme */
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-dev-link:hover {
        color: #ffffff; /* turns white on hover */
        text-decoration: underline; /* optional underline on hover */
    }


.footer-logo {
    width: 340px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-description {
    flex: 1;
    max-width: 700px;
    line-height: 1.6;
    font-size: 16px;
    text-align: justify;
}

/* Contact Button */
.btn-contact {
    background: #ffd400;
    color: #000;
    border: none;
    padding: 10px 25px;
    font-weight: 700;
    border-radius: 6px;
    transition: 0.3s;
}

    .btn-contact:hover {
        background: #ffcb05;
    }

/* === Footer Main Links === */
.footer-link {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 5px;
    transition: color 0.3s;
}

    .footer-link:hover {
        color: #ffd400;
    }

/* === Social Icons === */
.social-icon {
    display: inline-block;
    margin: 0 8px;
    color: #fff;
    font-size: 20px;
    transition: color 0.3s;
}

    .social-icon:hover {
        color: #ffd400;
    }

/* === Responsive Design === */
@media (max-width: 767px) {
    .footer-top-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
    }

    .footer-logo {
        width: 260px;
        height: auto;
    }

    .footer-description {
        max-width: 90%;
        text-align: center;
    }

    .footer-right {
        margin-top: 15px;
    }

    .footer-main .row > div {
        text-align: center;
    }
}

/* Base style for all icons */
.social-icon {
    display: inline-block;
    margin: 0 10px;
    font-size: 28px; /* icon size */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

    .social-icon:hover {
        transform: scale(1.2); /* smooth zoom effect */
        opacity: 1;
    }

    /* Individual brand colors */
    .social-icon.facebook {
        color: #1877f2; /* Facebook blue */
    }

    .social-icon.instagram {
        /* Instagram gradient */
        background: -webkit-linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .social-icon.youtube {
        color: #ff0000; /* YouTube red */
    }

    .social-icon.email {
        color: #db4437; /* Gmail red */
    }

    .social-icon.whatsapp {
        color: #25d366; /* WhatsApp green */
    }


/* --- Unique Features Section --- */



/* --- Unique Stats Section --- */

.stats-banner-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.stats-banner {
    position: relative;
    overflow: hidden;
    background-color: #c72c2c; /* Adjusted red to closer match the image's shade */
    background-image: url('/images/stats-background.jpg'); /* Assume a background image with faded student photos; replace with actual blurred/overlay image path */
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply; /* Blends the red color with the background image for faded effect */
    border-radius: 0.5rem; /* Softer rounding to match image */
    padding: 2rem 1rem; /* Increased vertical padding for height match */
}

    .stats-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(199, 44, 44, 0.8); /* Semi-transparent red overlay to fade the background image */
        z-index: 1;
    }

    .stats-banner > * {
        position: relative;
        z-index: 2; /* Ensures text is above the overlay */
    }

    .stats-banner .text-center {
        padding: 0 1.5rem; /* Spacing between stats */
        border-right: 1px solid rgba(255, 255, 255, 0.3); /* Thin vertical separators */
    }

        .stats-banner .text-center:last-child {
            border-right: none; /* No border on the last item */
        }

    .stats-banner .fw-bold {
        font-size: 3rem; /* Larger number size to match visual */
        line-height: 1;
        margin-bottom: 0.25rem;
    }

    .stats-banner .small {
        font-size: 1rem; /* Adjusted label size */
        text-transform: capitalize; /* Matches the title case in image */
        opacity: 0.9;
    }

@media (max-width: 768px) {
    .stats-banner {
        flex-direction: column; /* Stack stats vertically on mobile */
        padding: 1.5rem;
    }

        .stats-banner .text-center {
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            padding: 1rem 0;
            margin-bottom: 1rem;
        }

            .stats-banner .text-center:last-child {
                border-bottom: none;
                margin-bottom: 0;
            }

        .stats-banner .fw-bold {
            font-size: 2.5rem;
        }

        .stats-banner .small {
            font-size: 0.9rem;
        }
}

/* --- Achievements Section --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
}

#achievements {
    padding: 60px 20px;
    background: #ffffff;
}

    #achievements .achievements-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 80px;
        line-height: 1.4; /* Changed from 1.2 */
        max-width: 900px; /* Added */
        margin-left: auto; /* Added */
        margin-right: auto; /* Added */
    }

    #achievements .cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
        max-width: 1400px;
        margin: 0 auto;
        padding-top: 40px;
    }

    #achievements .feature-card-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    #achievements .icon-circle {
        width: 140px;
        height: 140px;
        background: #ffffff;
        border: 4px solid #4a9eff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #4a9eff;
        margin-bottom: -50px;
        position: relative;
        z-index: 10;
        transition: all 0.3s ease;
    }

    #achievements .material-icons {
        font-family: 'Material Icons' !important;
        font-weight: normal;
        font-style: normal;
        font-size: 5rem !important;
        display: inline-block;
        line-height: 1;
        text-transform: none;
        letter-spacing: normal;
        word-wrap: normal;
        white-space: nowrap;
        direction: ltr;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        user-select: none;
    }

    #achievements .feature-card.achievements {
        background: linear-gradient(135deg, #e8f0f8 0%, #f0f5fa 100%), #f0f8ff;
        border-radius: 20px;
        padding: 100px 50px 60px;
        position: relative;
        text-align: center;
        transition: all 0.3s ease;
        overflow: hidden;
        width: 100%;
        background-size: cover;
        background-position: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        background-image: none !important;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        #achievements .feature-card.achievements::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 2;
        }

        #achievements .feature-card.achievements::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: #c5d9f1;
            border-radius: 50% 50% 0 0;
            opacity: 0.6;
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        #achievements .feature-card.achievements:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
            background-image: var(--card-bg-image) !important;
        }

            #achievements .feature-card.achievements:hover::before {
                opacity: 1;
            }

            #achievements .feature-card.achievements:hover::after {
                opacity: 0;
            }

    #achievements .card-content {
        position: relative;
        z-index: 3;
        transition: all 0.3s ease;
    }

    #achievements .card-title {
        font-size: 2rem;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 20px;
        line-height: 1.3;
        transition: color 0.3s ease;
    }

    #achievements .feature-card.achievements:hover .card-title {
        color: #ffffff;
    }

    #achievements .card-description {
        font-size: 1.1rem;
        color: #666666;
        line-height: 1.6;
        transition: color 0.3s ease;
    }

    #achievements .feature-card.achievements:hover .card-description {
        color: #ffffff;
    }

    #achievements .feature-card-wrapper:hover .icon-circle {
        background: #4a9eff;
        border-color: #4a9eff;
        color: #ffffff;
    }

@media (max-width: 1024px) {
    #achievements .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    #achievements .achievements-title {
        font-size: 2rem;
        margin-bottom: 60px;
    }

    #achievements .cards-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #achievements .feature-card.achievements {
        padding: 80px 40px 50px;
        min-height: 350px;
    }

    #achievements .icon-circle {
        width: 120px;
        height: 120px;
        margin-bottom: -40px;
    }

    #achievements .material-icons {
        font-size: 4rem !important;
    }

    #achievements .card-title {
        font-size: 1.5rem;
    }

    #achievements .card-description {
        font-size: 1rem;
    }
}

/* --- Programs Section --- */

/* Icon circle */
.icon-circle.programs {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle.programs .material-icons {
    font-size: 48px;
    color: #fff;
}

/* Text styles */
.programme-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 20px;
    color: #0d1a33;
}

.programme-text {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 5px;
    color: #0d1a33;
}

/* Tunables */
.programme-card {
    --r: 80px; /* base corner radius */
    --r-hover: 120px; /* hover corner radius */
    --inset: 12px; /* distance of inner dashed border from edges */

    background: #fff;
    border-radius: 0 var(--r) var(--r) 0;
    padding: 50px 30px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
    transition: all .3s ease;
    position: relative;
    text-align: center;
    border: 1px solid rgba(0,0,0,.15);
    box-sizing: border-box;
}

    /* Hover state */
    .programme-card:hover {
        background: #0c1624;
        color: #fff;
        transform: translateY(-10px);
        border-radius: 0 var(--r-hover) var(--r-hover) 0;
    }

    /* Inner dashed border */
    .programme-card::after {
        content: "";
        position: absolute;
        top: var(--inset);
        left: var(--inset);
        right: var(--inset); /* keep equal inset on all sides */
        bottom: var(--inset);
        border: 2px dashed rgba(255,255,255,0); /* hidden by default */
        /* IMPORTANT: radius matches parent MINUS inset so it doesn't clip */
        border-radius: 0 calc(var(--r) - var(--inset)) calc(var(--r) - var(--inset)) 0;
        transition: border-color .3s ease, border-radius .3s ease;
        pointer-events: none;
    }

    /* Show dashed border on hover and update radius accordingly */
    .programme-card:hover::after {
        border-color: rgba(255,255,255,.7);
        border-radius: 0 calc(var(--r-hover) - var(--inset)) calc(var(--r-hover) - var(--inset)) 0;
    }

    /* Keep text white on hover */
    .programme-card:hover .programme-title,
    .programme-card:hover .programme-text {
        color: #fff;
    }

/* === Testimonials SECTION === */

/* ===== Testimonials Section ===== */
.testimonials-bg {
    position: relative;
  width: 100vw;             /* full viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;       /* cancel parent container limits */
  margin-right: -50vw;
  overflow: hidden;
}

    /* Blurred full-width background */
    .testimonials-bg::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: var(--bg-image);
        background-size: cover;
        background-position: center;
        filter: blur(10px) brightness(0.55);
        transform: scale(1.1);
        z-index: 1;
    }

/* Overlay to darken background slightly */
.testimonials-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Card design */
.testimonial-modern {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    min-height: 350px;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .testimonial-modern:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    }

/* Quote icon */
.testimonial-quote {
    color: #ffd400;
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Text */
.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    flex: 1;
}

/* User info */
.testimonial-user {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd400;
    margin-right: 15px;
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: #111;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #666;
}

/* Section title */
.section-title {
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .testimonial-modern {
        padding: 20px;
        min-height: auto;
    }

    .testimonial-user {
        flex-direction: column;
    }

    .testimonial-photo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


/* Card base */
.gallery-card {
    background: #0c1624; /* Deep Blue or your color */
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff; /* default white text */
}

    /* Hover effect */
    .gallery-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    }

/* Image wrapper (for zig-zag) */
.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
}

/* Image styles */
.gallery-img {
    height: 300px;
    object-fit: cover;
    display: block;
    width: 100%;
}

/* ✅ Zigzag effect */
.gallery-img-wrapper::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%230c1624' d='M0,96L40,128C80,160,160,224,240,240C320,256,400,224,480,176C560,128,640,64,720,58.7C800,53,880,107,960,149.3C1040,192,1120,224,1200,213.3C1280,203,1360,149,1400,122.7L1440,96L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'></path></svg>") no-repeat bottom center;
    background-size: cover;
}

/* Fix padding for content */
.gallery-body {
    padding: 20px;
}

/* Title */
.gallery-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 10px;
}
 
/* Description */
.gallery-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* Read more link */
.gallery-link {
    color: #ffd700; /* gold or highlight color */
    font-weight: 600;
    text-decoration: none;
}

    .gallery-link:hover {
        text-decoration: underline;
    }
/*body, html, main, .container, .container-fluid {
    overflow: visible !important;
}
*/

