/* Sticky Admission Banner */
.sticky-admission-banner {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--theme-red);
    color: #fff;
    padding: 6px 15px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(173, 1, 25, 0.3);
    min-height: auto;
    line-height: 1.3;
}

.sticky-admission-banner .container-fluid {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.admission-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    flex-wrap: wrap;
}

.countdown-section {
    display: flex;
    gap: 1px;
    align-items: center;
    flex-shrink: 0;
}

.timer-box {
    background-color: #fff;
    color: #000;
    padding: 3px 5px;
    border-radius: 2px;
    font-weight: bold;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.timer-unit {
    margin-left: 1px;
    font-size: 11px;
}

.banner-text {
    color: #fff;
    font-weight: 600;
    white-space: normal;
    word-wrap: break-word;
}

.countdown-text {
    color: var(--theme-yellow);
    font-weight: bold;
    white-space: normal;
}

.apply-now-btn {
    background-color: var(--theme-yellow);
    color: #000;
    padding: 5px 12px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: normal;
    border: 2px solid var(--theme-yellow);
    flex-shrink: 0;
    font-size: 12px;
}

.apply-now-btn:hover {
    background-color: transparent;
    color: var(--theme-yellow);
    border-color: var(--theme-yellow);
}

/* Adjust body to account for fixed banner */
/* body {
    padding-bottom: 50px;
} */

/* Desktop (1200px and above) */
@media (min-width: 1200px) {
    .sticky-admission-banner {
        padding: 8px 20px;
    }
    
    .timer-box {
        padding: 4px 6px;
        font-size: 13px;
    }
    
    .timer-unit {
        font-size: 12px;
    }
    
    .banner-text {
        white-space: nowrap;
    }
    
    .apply-now-btn {
        white-space: nowrap;
        padding: 6px 15px;
        font-size: 13px;
    }
    
    /* body {
        padding-bottom: 55px;
    } */
}

/* Tablet/Large (992px to 1199px) */
@media (max-width: 1199px) {
    .sticky-admission-banner {
        padding: 7px 15px;
    }
    
    .admission-banner-content {
        font-size: 12px;
        gap: 7px;
        justify-content: center;
    }
    
    .timer-box {
        padding: 3px 5px;
        font-size: 12px;
    }
    
    .banner-text {
        white-space: normal;
        flex: 1;
        text-align: center;
    }
    
    .apply-now-btn {
        white-space: normal;
        padding: 5px 12px;
        font-size: 12px;
    }
    
    /* body {
        padding-bottom: 52px;
    } */
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .sticky-admission-banner {
        padding: 6px 12px;
    }
    
    .admission-banner-content {
        font-size: 11px;
        gap: 6px;
        justify-content: center;
    }
    
    .countdown-section {
        gap: 1px;
        flex-shrink: 0;
    }
    
    .timer-box {
        padding: 3px 4px;
        font-size: 11px;
    }
    
    .timer-unit {
        font-size: 10px;
    }
    
    .banner-text {
        flex: 1;
        text-align: center;
        font-size: 12px;
        white-space: normal;
    }
    
    .apply-now-btn {
        padding: 4px 10px;
        font-size: 16px;
        white-space: normal;
        flex-shrink: 0;
    }
    
    /* body {
        padding-bottom: 50px;
    } */
}

/* Mobile Large (640px to 767px) */
@media (max-width: 767px) {
    .sticky-admission-banner {
        padding: 5px 10px;
    }
    
    .admission-banner-content {
        font-size: 12px;
        gap: 5px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    
    .countdown-section {
        gap: 2px;
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        min-width: 0;
    }
    
    .timer-box {
        padding: 4px 6px;
        font-size: 14px;
        min-width: 32px;
        min-height: 28px;
    }
    
    .timer-unit {
        font-size: 12px;
        margin-left: 1px;
    }
    
    .banner-text {
        order: 3;
        flex: 1 1 100%;
        text-align: center;
        font-size: 13px !important;
        white-space: normal;
        word-break: break-word;
        margin-top: 4px;
    }
    
    .apply-now-btn {
        order: 2;
        padding: 3px 8px;
        font-size: 16px;
        white-space: nowrap;
        flex: 0 0 auto;
        margin-left: auto;
    }
    
    /* body {
        padding-bottom: 55px;
    } */
}

/* Mobile Medium (576px to 639px) */
@media (max-width: 639px) {
    .sticky-admission-banner {
        padding: 5px 8px;
    }

    .admission-banner-content {
        font-size: 9px;
        gap: 6px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .countdown-section {
        gap: 2px;
        order: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: 1 1 auto;
        min-width: 0;
    }

    .timer-box {
        padding: 4px 6px;
        font-size: 12px;
        min-width: 32px;
        min-height: 28px;
        justify-content: center;
    }

    .timer-unit {
        font-size: 10px;
        margin-left: 1px;
    }

    .banner-text {
        order: 3;
        flex: 1 1 100%;
        text-align: center;
        font-size: 8px;
        line-height: 1.2;
        margin-top: 4px;
        white-space: normal;
        word-break: break-word;
    }

    .apply-now-btn {
        order: 2;
        padding: 3px 8px;
        font-size: 16px;
        min-height: 24px;
        display: flex;
        align-items: center;
        white-space: nowrap;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* body {
        padding-bottom: 55px;
    } */
}

/* Mobile Small (480px to 575px) */
@media (max-width: 575px) {
    .sticky-admission-banner {
        padding: 4px 6px 8px;
    }

    .admission-banner-content {
        font-size: 8px ;
        gap: 4px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .countdown-section {
        gap: 2px;
        order: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: 1 1 auto;
        min-width: 0;
    }

    .timer-box {
        padding: 4px 6px;
        font-size: 11px;
        min-width: 30px;
        min-height: 26px;
    }

    .timer-unit {
        font-size: 9px;
        margin-left: 1px;
    }

    .banner-text {
        order: 3;
        flex: 1 1 100%;
        text-align: center;
        font-size: 12px !important;
        line-height: 1.2;
        margin-top: 3px;
        white-space: normal;
        word-break: break-word;
    }

    .apply-now-btn {
        order: 2;
        padding: 2px 6px;
        font-size: 15px;
        min-height: 22px;
        white-space: nowrap;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* body {
        padding-bottom: 50px;
    } */
}

/* Mobile Tiny (below 480px) */
@media (max-width: 479px) {
    .sticky-admission-banner {
        padding: 3px 5px;
    }
    
    .admission-banner-content {
        font-size: 7px;
        gap: 2px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    
    .countdown-section {
        gap: 2px;
        order: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .timer-box {
        padding: 3px 5px;
        font-size: 10px;
        min-width: 28px;
        min-height: 24px;
        justify-content: center;
    }
    
    .timer-unit {
        font-size: 10px;
        margin-left: 1px;
    }
    
    .banner-text {
        order: 3;
        flex: 1 1 100%;
        text-align: center;
        font-size: 11px !important;
        line-height: 1.2;
        margin-top: 2px;
        white-space: normal;
        word-break: break-word;
    }
    
    .apply-now-btn {
        order: 2;
        padding: 4px 6px;
        font-size: 14px;
        min-height: 20px;
        white-space: nowrap;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    /* body {
        padding-bottom: 45px;
    } */
}



/* Placement Banner Slider */ .placement-banner-slider .swiper { width: 100%; overflow: hidden; padding-bottom: 20px; } 
.placement-banner-slider .swiper-wrapper { display: flex; } 
.placement-banner-slider .swiper-slide { flex-shrink: 0; height: auto; } 
.placement-banner-slider .banner-slide { height: 100%; min-height: 200px; } /* Hero banner: keep full image visible on all screens, no cropping */
.hero-banner {
	width: 100%;
    height:auto !important;
	background-color: #000;
	/* Push hero banner below the fixed/absolute header */
	margin-top: 80px; /* Adjust based on header height */
	position: relative;
}
.hero-banner::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 30%; /* Height of the gradient overlay */
	background: linear-gradient(to top, var(--header), transparent);
	opacity: 0.3; /* Adjust opacity as needed */
	z-index: 1;
	pointer-events: none;
}
.hero-banner__img {
	position: relative;
	z-index: 0;
}

/* Mobile Banner - Hidden by default, shown on mobile */
.mobile-banner {
    display: none !important;
}

/* Show mobile banner on screens smaller than 1000px */
@media (max-width: 999px) {
	.mobile-banner {
        display: block !important;
        padding-top: 40px !important;
    }
}

@media (max-width: 999px) {
	.hero-banner {
		margin-top: 55px; /* Reduced margin for mobile */
	}
	/* Reduce placement banner slider vertical space */
	.placement-banner-slider .swiper {
		padding-bottom: 10px;
	}
	.placement-banner-slider .banner-slide {
		min-height: 150px;
	}
}
.hero-banner__inner {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}
.hero-banner__img {
    
	width: 100%;
	height: auto; /* full viewport height */
	object-fit: contain; /* show whole image, don't crop */
	display: block;
	background-color: #000; /* fills empty space when aspect differs */
}

/* smaller height on mobile to avoid excessive vertical space */
@media (max-width: 999px) {
	.hero-banner__img { height: auto !important; }
}
@media (max-width: 420px) {
	.hero-banner__img { height: auto !important; }
}

/* CT Group Legacy Stats Icons - Equal Alignment Fix */
.home-stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.home-stats-wrapper .flex-child {
    flex: 0 0 calc(16.666% - 20px);
    min-width: 150px;
    max-width: calc(16.666% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    text-align: center;
    padding: 15px 10px;
}

.home-stats-wrapper .stats-icon {
    width: 120px !important;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    max-width: 120px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.home-stats-wrapper .stats-icon img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-stats-wrapper .home-stats-text {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-stats-wrapper .home-stats-text h4 {
    margin: 0;
    line-height: 1.2;
}

.home-stats-wrapper .home-stats-text span {
    margin: 5px 0;
    line-height: 1.2;
}

.home-stats-wrapper .home-stats-text p {
    margin: 8px 0 0 0;
    line-height: 1.3;
    font-size: 0.9rem;
}

/* CT Group Legacy: show 3 boxes per row on medium/small screens */
@media (max-width: 1101px) {
	.home-stats-wrapper {
		justify-content: center;
	}
	.home-stats-wrapper .flex-child {
		flex: 0 0 calc(33.333% - 20px) !important;
		max-width: calc(33.333% - 20px) !important;
		box-sizing: border-box;
	}
}

@media (max-width: 757px) {
	.home-stats-wrapper {
		gap: 12px;
	}
	.home-stats-wrapper .flex-child {
		flex: 0 0 calc(33.333% - 12px) !important;
		max-width: calc(33.333% - 12px) !important;
	}
	.home-stats-wrapper .stats-icon {
		width: 100px !important;
		height: 100px;
		min-width: 100px;
		min-height: 100px;
		max-width: 100px !important;
	}
	.home-stats-wrapper .stats-icon img {
		max-width: 50px;
		max-height: 50px;
	}
	.home-stats-wrapper .stats-icon img,
	.home-stats-wrapper .stats-icon {
		/* max-width: 100%; */
		height: auto;
	}
	.home-stats-wrapper .home-stats-text h4 { font-size: 1rem; }
	.home-stats-wrapper .home-stats-text p { font-size: 0.85rem; }
}

@media (max-width: 500px) {
    .home-stats-wrapper {
        gap: 10px;
    }
    .home-stats-wrapper .flex-child {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
        padding: 10px 5px;
    }
    .home-stats-wrapper .stats-icon {
        width: 80px !important;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        max-width: 80px !important;
        margin: 0 auto 10px auto;
    }
    .home-stats-wrapper .stats-icon img {
        max-width: 40px;
        max-height: 40px;
    }
    .home-stats-wrapper .home-stats-text h4 { font-size: 1.1rem; }
    .home-stats-wrapper .home-stats-text p { font-size: 0.75rem; }
    .home-stats-wrapper .home-stats-text span { font-size: 0.85rem; }
}

/* Campus Life Square Collage Section */
.campus-life-collage {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.early-bird-widget-body {
    padding: 15px;
}

.early-bird-widget-content {
    text-align: center;
}

.early-bird-title {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.early-bird-subtitle {
    color: #ccc;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.early-bird-subtitle span {
    color: #ff6b6b;
    font-weight: 600;
}

.early-bird-countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.early-bird-widget .countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 55px;
    transition: all 0.3s ease;
}

.early-bird-widget .countdown-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.early-bird-widget .countdown-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1.2;
    margin-bottom: 3px;
}

.early-bird-widget .countdown-label {
    display: block;
    font-size: 0.65rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.early-bird-widget .countdown-cta .theme-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.early-bird-widget .countdown-cta .theme-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.countdown-ended {
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .early-bird-widget {
        width: calc(100% - 40px);
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 360px) {
    .early-bird-widget .countdown-item {
        padding: 8px 10px;
        min-width: 45px;
    }
    
    .early-bird-widget .countdown-number {
        font-size: 1.2rem;
    }
    
    .early-bird-widget .countdown-label {
        font-size: 0.6rem;
    }
}

.campus-life-collage .section-header {
    margin-bottom: 50px;
}

.campus-life-collage .section-header h6 {
    color: #e63946;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.campus-life-collage .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}


.square-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;   /* fixed nice height */
    gap: 12px;
}

.square-item {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    /* transition: all 0.4s ease; */
}

.square-item:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.square-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition: transform 0.5s ease; */
}

.square-item:hover img {
    /* transform: scale(1.08); */
}

/* Large wide item - spans 2 columns and 2 rows */
.square-large-wide {
    grid-column: span 2;
    grid-row: span 2;
}

/* Small items */
.square-small {
    grid-column: span 1;
    grid-row: span 1;
}

/* 2x2 Grid items */
.square-grid-item {
    grid-column: span 1;
    grid-row: span 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .square-collage {
        grid-template-rows: repeat(2, 180px);
    }
}

@media (max-width: 992px) {
    .campus-life-collage {
        padding: 50px 0;
    }
    
    .campus-life-collage .section-header h2 {
        font-size: 32px;
    }
    
    .square-collage {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 160px);
        gap: 10px;
    }
    
    .square-large-wide {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    /* Hide last small item on tablet */
    .square-small:nth-child(9) {
        display: none;
    }
}

@media (max-width: 768px) {
    .campus-life-collage {
        padding: 40px 0;
    }
    
    .campus-life-collage .section-header h2 {
        font-size: 28px;
    }
    
    .square-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
        gap: 8px;
    }
    
    .square-large-wide {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .square-small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .square-grid-item {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* Hide some items on mobile for cleaner look */
    .square-small:nth-child(8),
    .square-small:nth-child(9) {
        display: none;
    }
}

@media (max-width: 480px) {
    .square-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 130px);
        gap: 6px;
    }
    
    .square-large-wide {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .square-small {
        grid-column: span 1;
    }
    
    /* Hide grid items on small mobile */
    .square-grid-item:nth-child(6),
    .square-grid-item:nth-child(7) {
        display: none;
    }
}

/* Mobile Campus Life Slider Styles */
.campus-life-mobile-slider {
    padding: 0 0 40px 0;
    overflow: hidden;
}

.campus-life-mobile-slider .swiper {
    width: 100%;
    padding-bottom: 30px;
    overflow: hidden;
}

.campus-life-mobile-slider .swiper-slide {
    width: 100% !important;
}

.campus-life-mobile-slider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* border-radius: 12px; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.campus-life-mobile-slider .swiper-pagination {
    position: relative;
    margin-top: 15px;
}

.campus-life-mobile-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.campus-life-mobile-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Show mobile slider and hide desktop collage on mobile */
@media (max-width: 768px) {
    .desktop-collage {
        display: none !important;
    }
    
    .campus-life-mobile-slider.d-none {
        display: block !important;
    }
}

/* Hide mobile slider on desktop */
@media (min-width: 769px) {
    .campus-life-mobile-slider {
        display: none !important;
    }
}

.campus-life-mobile-slider .swiper-pagination {
    position: relative;
    margin-top: 15px;
}

.campus-life-mobile-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.campus-life-mobile-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Show mobile slider and hide desktop collage on mobile */
@media (max-width: 768px) {
    .desktop-collage {
        display: none !important;
    }
    
    .campus-life-mobile-slider.d-none {
        display: block !important;
    }
}

/* ===== Elegant Technical Partner Section ===== */
.tech-partner-elegant {
    background: #ffffff;
}

/* Header */
.tech-partner-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #0d1b4c;
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
}

.tech-partner-subtitle::before,
.tech-partner-subtitle::after {
    content: "";
    width: 40px;
    height: 1px;
    background: #0d1b4c;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
}

.tech-partner-title {
    font-size: 40px;
    font-weight: 700;
    color: #b30000;
    line-height: 1.3;
     text-transform: capitalize !important;
}

.awards-heading h6 {
  color: var(--theme-red);
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.awards-heading h6::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 6px;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../../assets/img/bar/red-bar.webp);
  animation: width 1.5s linear !important;
  animation-fill-mode: both;
  background-position: center;
}
.awards-heading h2 {
  font-size: 36px;
  margin: 12px 0;
  color: #0b1f33;
  font-weight: 700;
text-transform: capitalize !important;
}


.tech-partner-title span {
    display: block;
}

/* Partner Grid */
.tech-partner-wrapper {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.partner-item {
    padding: 45px 30px;
    /*border-right: 3px solid #e2e6ea;*/
    /*border-bottom: 3px solid #e2e6ea;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  
}

.partner-item img {
    max-height: 85px;
    max-width: 100%;
    object-fit: contain;
   
}

/* Remove extra borders */
.partner-item:nth-child(3n) {
    border-right: none;
}

.partner-item:nth-last-child(-n+3) {
    border-bottom: none;
}

/* Subtle elegant hover */
.partner-item:hover {
    background: #f8f9fb;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
@media (max-width: 999px) {
    .tech-partner-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-item {
        border-right: 3px solid #e2e6ea !important;
        border-bottom: 3px solid #e2e6ea !important;
    }

    .partner-item:nth-child(2n) {
        border-right: none !important;
    }

    .partner-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .partner-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .tech-partner-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .partner-item {
        border-right: 3px solid #e2e6ea !important;
        border-bottom: 3px solid #e2e6ea !important;
    }

    .partner-item:nth-child(2n) {
        border-right: none !important;
    }

    .partner-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .partner-item:last-child {
        border-bottom: none;
    }
}
.awards-title h2{
    font-size: 40px !important;
    font-weight: 800 !important;
    color: var(--header);
    line-height: 1.2;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.awards--text {
    margin-top: 15px;
    color: #6c757d;
    font-size: 16px;
}
/* Prevent border overflow issues everywhere */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ===== Affiliations Section ===== */
.affiliations-section {
    background: #f8f9fb;
    overflow: hidden; /* prevents horizontal scroll bugs */
}

/* LEFT CONTENT */
.affiliations-title {
    font-size: 40px;
    font-weight: 800;
    color: #e10600;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

@media (min-width:390px) and (max-width: 420px)  {
    
    .voice {
        font-size: 25px !important;
    }
}

@media (max-width: 575px) {
    .affiliations-title {
        font-size: 30px !important;
    }
    .voice {
        font-size: 30px !important;
    }
}

/* .affiliations-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../../assets/img/Tag.webp);
    animation: width 1.5s linear !important;
    animation-fill-mode: both;
    background-position: center;
} */

.affiliations-title span {
    display: block;
}

.affiliations-text {
    margin-top: 15px;
    color: #6c757d;
    font-size: 16px;
}


/* ===== Logo Grid ===== */
.affiliations-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 2px solid #0d1b4c;
}

/* Logo Box */
.logo-box {
    border-right: 2px solid #0d1b4c;
    border-bottom: 2px solid #0d1b4c;
    padding: 35px 25px; /* more space */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove extra borders on desktop */
.logo-box:nth-child(4n) {
    border-right: none;
}
.logo-box:nth-last-child(-n+4) {
    border-bottom: none;
}

/* Bigger Logos */
.logo-box img {
    max-width: 100%;
    max-height: 110px;   /* 🔥 increased size */
    height: auto;
    object-fit: contain;
    display: block;
    transition: 0.3s ease;
}

/* Hover effect (optional but nice) */
.logo-box:hover img {
    transform: scale(1.08);
}

@media (min-width:576px) and ( max-width: 999px) {
    .affiliations-logos {
        grid-template-columns: repeat(4, 1fr);
    }

    .logo-box {
        padding: 30px 20px;
    }

    .logo-box img {
        max-height: 95px;
    }

    .logo-box:nth-child(2n) {
        border-right: 2px solid #0d1b4c !important;;
    }
     .logo-box:nth-last-child(-n+1) {
        border-right: none !important;
    }
    .logo-box:nth-last-child(-n+5) {
        border-left: none !important;
    }
}

@media (max-width: 575px) {
    .affiliations-logos {
        grid-template-columns: repeat(2, 1fr); /* ✅ 2 logos on mobile */
    }

    .logo-box {
        padding: 20px 15px;
        border-right: 2px solid #0d1b4c !important;
        border-bottom: 2px solid #0d1b4c !important;
    }

    .logo-box img {
        max-height: 75px;
    }

    /* Fix borders for 2-column layout */
    .logo-box:nth-child(2n) {
        border-right: none !important;
    }
    .logo-box:nth-last-child(-n+2) {
        border-bottom: none !important;
    }
}

/* Big Numbers */
.home-stats-text h4 {
    font-size: 32px;   /* increase number size */
    font-weight: 700;
    margin-bottom: 8px;
}
.home-stats-text span {
    font-size: 18px;   /* added size label */
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}
/* Title + small description text */
.home-stats-text p {
    font-size: 14px;   /* smaller supporting text */
    line-height: 1.4;
    margin: 0;
}
@media (max-width: 576px) {
    .home-stats-text h4 {
        font-size: 24px;
    }
    .home-stats-text p {
        font-size: 13px;
    }
    .home-stats-text span {
        font-size: 16px;
    }
}

/* ================= HERO SECTION ================= */

.hero-banner-with-form {
    position: relative;
    width: 100%;
    margin-top: 80px;
}

.hero-banner {
    position: relative;
    width: 100%;
}

.hero-banner__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ================= DESKTOP OVERLAY FORM ================= */

.hero-form-container {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: 460px;
    max-width: 95%;
    z-index: 5;
}

/* Form Card */
.form-card {
    background : #1c589b;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
    
    /*min-height: 516px !important;*/
    height:100% !important;
    position: relative;
}

/*.form-loader {*/
/*  width: 100%;*/
/*  height: 600px;*/
/*  height:100% !important;*/
/*  border-radius: 8px;*/
/*  background: #1c589b;*/
/*  background-size: 200% 100%;*/
/*  animation: shimmer 1.5s infinite;*/
/*}*/

/*@keyframes shimmer {*/
/*  0% { background-position: 200% 0; }*/
/*  100% { background-position: -200% 0; }*/
/*}*/


.form-card h3 {
    color: #fff ;
    font-weight: 700;
    margin-bottom: 1.5rem;
  
    padding-bottom: 10px;
}

/* Fix iframe */
/*.npf_wgts iframe {*/
/*    width: 100% !important;*/
/*    min-height: 500px;*/
/*    height:100% !important;*/
/*    border: none;*/
/*    display: block;*/
/*}*/



.form-card {
    background: #1c589b;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    overflow: hidden;  
    position: relative; 
}

/*.npf_wgts iframe {*/
/*    width: 100% !important;*/
    /*min-height: 516px !important;*/
/*    border: none;*/
/*    display: block;*/
/*}*/


/* Form responsive for 1000px to 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-form-container {
        position: absolute;
        top: 50%;
        right: 4.5%;
        transform: translateY(-50%);
        width: 420px;
        
        max-width: 90%;
        z-index: 5;
    }
    .form-card {
        background: #1c589b;
        padding: 20px;
        border-radius: 12px;
        overflow: hidden !important;  
 
        min-height: 410px !important;
        box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    }
    /*.npf_wgts iframe {*/
    /*    width: 100% !important;*/
    /*    min-height: 380px !important;*/
    /*    height: 100% !important;*/
    /*    border: none;*/
    /*    display: block;*/
    /*}*/
}

@media (min-width: 1000px) and (max-width: 1199px) {
   
    .hero-form-container {
        position: absolute;
        top: 60%;
        right: 4%;
        transform: translateY(-60%);
        width: 380px;
        max-width: 90%;
        z-index: 5;
    }
    .form-card {
        background: #1c589b;
        padding: 20px;
        border-radius: 12px;
        overflow: hidden !important;  
      
        min-height: 360px !important;
        box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    }
    .form-card h3 {
        color: #fff;
        font-weight: 700;
        margin-bottom: 1.2rem;
        padding-bottom: 8px;
        font-size: 1.25rem;
    }
    
    /*.npf_wgts iframe {*/
    /*    width: 100% !important;*/
    /*    min-height: 350px !important;*/
    /*    height:100% !important;*/
    /*    border: none;*/
    /*    display: block;*/
    /*}*/
}


@media (min-width: 1400px) and (max-width: 1599px) {
    .hero-form-container {
        position: absolute;
        /*top: 45%;*/
        right: 6%;
        transform: translateY(-50%);
        width: 410px;
        max-width: 90%;
        z-index: 5;
    }
    .form-card {
        background: #1c589b;
        padding: 20px;
        border-radius: 12px;
        overflow: hidden !important;
        /*height: 450px !important;*/
        box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    }
    /*.npf_wgts iframe {*/
    /*    width: 100% !important;*/
    /*    min-height: 350px !important;*/
    /*    height:100% !important;*/
    /*    border: none;*/
    /*    display: block;*/
    /*}*/
}
/* Hide desktop form, show mobile form */
@media (max-width: 999px) {

    .hero-form-container {
        display: none !important;
    }

    .mobile-form-section {
        display: block !important;
    }

    .hero-banner-with-form {
        margin-top: 20px !important;
    }
}



/* ================= MOBILE FORM SECTION ================= */

.mobile-form-section {
    display: none;
    padding: 40px 15px 60px;
    background: #fff;
}

.mobile-form-section .form-card {
    max-width: 520px;
    margin: auto;
}


@media(max-width: 999px) {
    .mobile-form-section {
        padding: 40px 12px 0px;
    }

    .form-card {
        padding: 18px;
        border-radius: 12px;
        min-height: 610px !important;
    }
    
    .npf_wgts iframe {
        width: 100% !important;
        min-height: 582px !important;
        height:100% !important;
        border: none;
        display: block;
    }
}

@media (max-width: 576px) {
    .form-card {
        padding: 15px;
        border-radius: 10px;
        min-height: 590px !important;
    }
    
    /*.npf_wgts iframe {*/
    /*    width: 100% !important;*/
    /*    padding-bottom: 20px;*/
    /*    height:100% !important;*/
    /*    border: none;*/
    /*    display: block;*/
    /*}*/
}


/* Global Section Subtitle Style (like "Established in 1997") */
.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFD200; /* Your yellow accent */
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}

/* Decorative line before subtitle */
.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 25px;
    height: 2px;
    background: #FFD200;
    transform: translateY(-50%);
}

@media (min-width: 420px) and (max-width: 475px) {
    .about-wrapper-2 .about-image .counter-box {
        bottom: 0;
        right: 190px;
        padding: 20px 20px;
    }
    
}
@media (max-width: 576px) {
    .tech-partner-title {
        font-size: 26px !important;
    }
}

@media (min-width:380px) and (max-width: 420px) {
    .tech-partner-title .affiliations-title {
        font-size: 26px !important;
        margin-bottom:0 !important;
    }
    .tech-partner-wrapper {
    margin-top: 0px !important;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    }
    .section-padding {
        padding: 40px 0 !important;
    }  
    
    .program-title{
        font-size: 28px !important;
        margin-bottom: 20px !important;
        
    }
    .section-title h2{
    text-align: center;
    margin-bottom: 30px !important;
    font-size: 25px !important;
  }
    .awards-title h2 {
        padding: 30px 0 !important;
        margin-bottom: 30px !important;
        font-size: 30px !important;
    }  
    .awards-text {
        margin: 20px 0 !important;
        color: #444;
        font-weight:600;
        font-size: 14px !important;
    }
    .students {
        padding: 0 !important;
    }
    .virtual-title {
    color: var(--header);
    font-weight: 700;
    font-size: 28px !important ;
    margin-bottom: 15px;
    }

    .chairman-subtitle {
    max-width: 100%;
    margin: 0 auto;
    font-size: 14px;
    font-weight:600;
    color: #555;
    line-height: 1.4;
   }

   .footer-bottom-wrapper p{
    font-size: 9px !important;
   }

  
}

/* Custom Testimonial Slider Styles */
.testimonial-section-3 {position: relative; background: #f7f8fb; padding: 40px 0 60px;}
.slider-container {overflow: hidden; width: 100%;}
.slider {display: flex; gap: 14px; transition: transform 0.4s ease; will-change: transform;}
.slider-card {flex: 0 0 calc(33.333% - 9px); background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 8px 18px rgba(0,0,0,0.08);}
.slider-card-inner img {width: 100%; height: auto; display: block; border-radius: 10px;}
.progress-indicators {margin-top: 18px; display: flex; justify-content: center; gap: 8px;}
.progress-indicator {width: 10px; height: 10px; border-radius: 50%; background: #d7d7d7; transition: background-color 0.35s ease, transform 0.3s ease;}
.progress-indicator.active {background: #AD0119; transform: scale(1.1);}
@media (max-width: 1024px) { .slider-card {flex: 0 0 calc(50% - 8px);}}
@media (max-width: 767px) { .slider-card {flex: 0 0 100%;}}

/* Early bird fixed callout styles */
.early-bird-banner {position: fixed; right: 20px; bottom: 20px; z-index: 9999; background: #ffffff; border: 1px solid #ddd; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); padding: 12px 14px; min-width: 230px; max-width: 280px;}
.early-bird-banner-content {display: grid; gap: 4px;}
.early-bird-tag {font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #b00;}
.early-bird-label {font-size: 14px; color: #333; line-height: 1.3;}
.early-bird-btn {display: inline-block; margin-top: 8px; background: #ad0119; color: #fff; border-radius: 25px; padding: 8px 14px; text-decoration: none; font-weight: 700; font-size: 12px; border: none; cursor: pointer;}
.early-bird-btn:hover {background: #85000f;}
@media (max-width: 768px) {.early-bird-banner {right: 10px; bottom: 10px; min-width: auto; width: calc(100% - 20px);}}

/* Early-bird badge style */
.early-bird-badge {position: fixed; right: 20px; bottom: 110px; z-index: 9999; width: 155px; border: 4px solid #f8d789; border-radius: 16px; background: #fff; text-align: center; font-family: 'Poppins', sans-serif; color: #111; padding: 6px; box-shadow: 0 8px 20px rgba(0,0,0,0.18); cursor: pointer;}
.early-bird-badge-top {font-size: 10px; color: var(--header); margin-bottom: 0; line-height: 1.2;}.early-bird-badge-top strong {font-size: 28px; color: #d6001f; display: block; line-height: 1; margin-top: 2px;}
.early-bird-badge-mid {font-size: 10px; font-weight: 700; letter-spacing: 1px; background: #003f71; color: #fff; margin: 6px 0 0; border-radius: 2px; padding: 2px 4px;}
.early-bird-badge-bottom {font-size: 10px; font-weight: 800; color: #d6001f; margin-top: 0px;}
.early-bird-badge-date {font-size: 10px; margin-top: 0px; color: #333; font-weight: 600;}
@media (max-width: 768px) { .early-bird-badge {right: 0px; bottom: 100px; width: 110px;}}
