:root {
    --primary-blue: #003366;
    --accent-orange: #f39c12;
    --dark-maroon: #5d1a1a;
    --light-bg: #fdfdfd;
    --text-dark: #333;
    --white: #ffffff;
    --container-padding: 8%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* TOP BAR */
.top-header {
    background-color: var(--primary-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 52px;
    color: white;
    font-size: 0.82rem;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    /* Above navbar for visibility if needed */
}

.top-header-left {
    background: #21a9e1;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 60px 0 var(--container-padding);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
    z-index: 2;
}

.top-header-left span {
    font-weight: 800;
    margin-right: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-socials a {
    color: white;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.top-socials a:hover {
    transform: scale(1.2);
}

.top-header-right {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0 var(--container-padding) 0 0;
    gap: 35px;
    background-color: var(--primary-blue);
}

.top-contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-contact-box i {
    font-size: 1.3rem;
    color: #21a9e1;
    /* Matching light accent blue */
}

.top-contact-details {
    display: flex;
    flex-direction: column;
}

.top-contact-details .label {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.75;
    line-height: 1.1;
}

.top-contact-details .value {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 var(--container-padding);
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 55px;
    object-fit: contain;
}

.logo-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid #ddd;
    padding-left: 12px;
}

.logo-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.logo-subtitle {
    font-size: 0.72rem;
    font-weight: 700;
    color: #444;
    letter-spacing: 1.2px;
    margin-top: 4px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
    margin-left: auto;
    padding-right: 40px;
}

.nav-links li a {
    text-decoration: none;
    color: #2c3e50;
    /* Darker blue-grey for text */
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #21a9e1;
    /* Professional blue instead of coral */
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #21a9e1;
    border-radius: 2px;
}


.nav-right-tools {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-search-icon {
    font-size: 1.1rem;
    color: #555;
    margin-right: 25px;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-search-icon:hover {
    color: #21a9e1;
}

.admission-btn {
    background-color: #21a9e1;
    /* Professional light blue background */
    color: white;
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 35px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background 0.3s;
}

.admission-btn:hover {
    background-color: var(--primary-blue);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 700px;
    background: url('../images/hero.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-curve {
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 180px;
    background: white;
    clip-path: ellipse(75% 100% at 50% 100%);
}

.hero-banner {
    background: #004080;
    padding: 15px 50px;
    border-radius: 5px;
    color: white;
    text-align: center;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-banner h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 2px;
}

/* UNIVERSITY NEWS SECTION */
.news-section {
    padding: 90px var(--container-padding);
    text-align: center;
    background-color: #f1f1f1;
}

.news-section h2 {
    font-weight: 700;
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 15px;
}

.news-card.orange {
    border-bottom: 6px solid #ffa500;
}

.news-card.dark {
    border-bottom: 6px solid var(--dark-maroon);
}

.news-card.teal {
    border-bottom: 6px solid #008080;
}

.news-date {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-date span {
    display: block;
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.news-date strong {
    display: block;
    font-size: 1.2rem;
    color: #111;
    font-weight: 800;
}

.news-card img {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

.news-card h4 {
    margin: 15px 0 5px;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--primary-blue);
    padding: 0 10px;
    text-align: left;
    font-weight: 700;
}

/* CHANCELLOR / MD SECTION REDESIGN */
.chancellor-section {
    padding: 80px var(--container-padding);
    background: #fff;
    position: relative;
    overflow: hidden;
}

.chancellor-container {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.chancellor-visual {
    flex: 0 0 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark maroon rounded element behind image */
.chancellor-bg-blob {
    position: absolute;
    left: -250px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 480px;
    background: var(--dark-maroon);
    border-radius: 0 100px 100px 0;
    z-index: -1;
}

.chancellor-img-frame {
    position: relative;
    /* border: 8px solid #4b1414; */
    /* border-radius: 40px; */
    /* overflow: hidden; */
    /* box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2); */
    width: 100%;
}

.chancellor-img-frame img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.chancellor-img-frame:hover img {
    transform: scale(1.05);
}

.chancellor-details {
    flex: 1;
    min-width: 350px;
}

.chancellor-details h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.chancellor-details p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .chancellor-container {
        gap: 40px;
    }

    .chancellor-visual {
        flex: 0 0 380px;
    }
}

@media (max-width: 768px) {
    .chancellor-section {
        padding: 60px 5%;
    }

    .chancellor-container {
        flex-direction: column;
        text-align: center;
    }

    .chancellor-visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin-bottom: 40px;
    }

    .chancellor-bg-blob {
        left: -100px;
        width: 110%;
    }

    .chancellor-details p {
        text-align: center;
    }
}

/* IGNITING MINDS SECTION */
.igniting-section {
    padding: 100px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    background: #ffffff;
}

.igniting-left {
    flex: 0 0 40%;
}

.igniting-left h2 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    color: #111;
    margin-bottom: 25px;
}

.igniting-left span {
    color: #0a4f47;
    /* Dark teal for statewide */
}

.igniting-left p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 90%;
}

.igniting-links {
    display: flex;
    gap: 30px;
}

.igniting-links a {
    text-decoration: none;
    font-weight: 800;
    color: #111;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.igniting-links a:hover {
    color: var(--primary-blue);
}

.igniting-links a .arrow {
    font-size: 0.75rem;
}

.igniting-right {
    flex: 1;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.m-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Floating animation for masonry grid columns */
@keyframes masonryFloating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.m-col:nth-child(1) {
    animation: masonryFloating 5s ease-in-out infinite;
}

.m-col:nth-child(2) {
    animation: masonryFloating 6s ease-in-out infinite 1s;
}

.m-col:nth-child(3) {
    animation: masonryFloating 5.5s ease-in-out infinite 2s;
}

.m-col img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.m-col img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.solid-box {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.solid-box:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

/* ANNOUNCEMENTS SECTION */
.announcements {
    padding: 100px var(--container-padding);
    background: #ffffff;
    /* White background for clean look */
    text-align: center;
}

.announcements h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a1a2e;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.announcement-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: white;
    aspect-ratio: 4 / 3.2;
    /* Landscape rectangle like HITS reference */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    border: 1px solid #eee;
}

.announcement-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.announcement-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ann-label {
    display: none;
}

/* FACILITIES SECTION */
.facilities-section {
    padding: 90px var(--container-padding);
    background: #fffaf0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.facility-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.facility-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.facility-card p {
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #003366;
    margin: 0;
}

/* EXTRACURRICULAR ACTIVITIES (BEST MOMENTS REDESIGN) */
.activities-section {
    padding: 100px var(--container-padding);
    background: #fdfdfd;
    text-align: center;
}

.section-title-wrapper {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2.22rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

/* SASTRA STYLE ACTIVITY SLIDER */
.activity-slider-container {
    max-width: 950px;
    margin: 40px auto;
    position: relative;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 60px;
}

.activity-slide {
    display: none;
    align-items: center;
    width: 100%;
    gap: 60px;
}

.activity-slide.active {
    display: flex;
    animation: slideFadeVertical 0.8s ease-out forwards;
}

@keyframes slideFadeVertical {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-image-overlap {
    flex: 0 0 420px;
    height: 380px;
    margin-left: -130px;
    /* Deep overlap */
    z-index: 10;
    transition: all 0.5s ease;
}

.activity-image-overlap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.activity-text-content {
    flex: 1;
    padding-right: 40px;
}

.activity-slide-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.activity-slide-desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}

.activity-know-more {
    background: #003366;
    /* Match Site Navy Blue */
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.2);
}

.activity-know-more:hover {
    background: #21a9e1;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(33, 169, 225, 0.3);
}

/* Vertical dots on the right edge */
.activity-vertical-dots {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    z-index: 20;
}

/* Vertical track bar */
.activity-vertical-dots::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #eef2f6;
    z-index: -1;
}

.dot-progress-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: #003366;
    z-index: 0;
    border-radius: 4px;
    transition: height 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    max-height: 100%;
}

.v-dot {
    width: 12px;
    height: 12px;
    background: #d1d9e6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #d1d9e6;
}

.v-dot.active {
    background: #003366;
    transform: scale(1.3);
    box-shadow: 0 0 0 2px #003366, 0 0 15px rgba(0, 51, 102, 0.3);
    height: 12px; /* Prevent it from being 30px pill if we want dot style */
}

/* Add a line connecting active dots if needed, but the simple track is often cleaner */

@media (max-width: 900px) {
    .activity-slider-container {
        flex-direction: column;
        padding: 20px;
        margin-top: 60px;
        min-height: auto;
        border-radius: 25px;
    }

    .activity-slide {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .activity-image-overlap {
        flex: none;
        width: 100%;
        height: 250px;
        margin: -60px 0 0 0 !important;
        max-width: none;
    }

    .activity-image-overlap img {
        border-radius: 20px;
    }

    .activity-text-content {
        padding: 0 10px 20px;
        text-align: center;
    }

    .activity-slide-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .activity-slide-desc {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .activity-vertical-dots {
        position: static;
        flex-direction: row;
        transform: none;
        justify-content: center;
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .v-dot.active {
        width: 30px;
        height: 10px;
    }

    .dot-progress-bar {
        display: none;
    }
}


/* STATS SECTION */
.stats-section {
    padding: 90px var(--container-padding);
}

.stats-container {
    background: url('../images/students.png') no-repeat center center/cover;
    height: 500px;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    padding: 50px;
}

.stats-overlay {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stats-item h2 {
    color: var(--dark-maroon);
}

.stats-item p {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* PREMIUM FOOTER REDESIGN */
.main-footer {
    background-color: var(--primary-blue);
    /* Match site blue */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle top separator */
    color: #ffffff;
    padding: 80px 10% 40px;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Subtle Curved Lines in Top-Left Corner */
.main-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 45%;
    pointer-events: none;
    z-index: 1;
}

.main-footer::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40%;
    pointer-events: none;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 1.1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.footer-col h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    color: #fff;
    text-transform: capitalize;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    background: #21a9e1;
    /* Professional blue accent */
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: #21a9e1;
    transform: translateY(-5px);
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.92rem;
    transition: 0.3s;
    display: block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Latest Posts */
.post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.post-item:last-child {
    border-bottom: none;
}

.post-thumb {
    width: 65px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info h4 {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #eee;
}

.post-info span {
    font-size: 0.78rem;
    color: #21a9e1;
    font-weight: 600;
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: #21a9e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(33, 169, 225, 0.2);
}

.contact-text {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-text strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: #21a9e1;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(33, 169, 225, 0.4);
    z-index: 100;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
}

.scroll-top:hover {
    transform: translateY(-8px);
    background: var(--primary-blue);
    box-shadow: 0 15px 30px rgba(33, 169, 225, 0.5);
}

.footer-bottom-bar {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating Eligibility Badge */
.eligibility-badge {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    width: 240px;
    border: 3px solid #003366;
    /* Pop-up pulsing animation */
    animation: slideInLeft 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), popBlink 1.2s infinite alternate ease-in-out;
}

@keyframes popBlink {
    from {
        border-color: #003366;
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
    }

    to {
        border-color: #21a9e1;
        transform: scale(1.08);
        /* Pop-up scale */
        box-shadow: 0 20px 50px rgba(33, 169, 225, 0.4);
    }
}



.eligibility-badge h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eligibility-badge p {
    font-size: 0.9rem;
    color: #444;
    font-weight: 700;
    line-height: 1.5;
    margin: 2px 0;
}

.eligibility-badge .highlight {
    color: #21a9e1;
    font-weight: 900;
    font-size: 1.1rem;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Course Cards Styling */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.course-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: #21a9e1;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.course-code {
    font-weight: 900;
    color: #21a9e1;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.course-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.2;
}

.course-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Highlights Section */
.feature-list {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #444;
}

.feature-list i {
    color: #27ae60;
    font-size: 1.2rem;
    margin-top: 4px;
}

/* RESPONSIVE - TABLET */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .navbar {
        padding: 12px 5%;
    }

    .hero-section {
        height: 480px;
    }

    .hero-banner h1 {
        font-size: 1.1rem;
    }

    .hero-curve {
        height: 80px;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .chairman-box {
        flex-direction: column;
        padding: 35px;
        margin: 20px 5%;
    }

    .chairman-img {
        max-width: 100%;
    }

    .chairman-text {
        padding-left: 0;
        padding-top: 25px;
    }

    .igniting-section {
        flex-direction: column;
        padding: 50px 5%;
        gap: 30px;
    }

    .igniting-left {
        flex: 1;
        text-align: center;
    }

    .igniting-left h2 {
        font-size: 3.5rem;
    }

    .igniting-left p {
        margin: 0 auto 30px auto;
    }

    .igniting-links {
        justify-content: center;
    }

    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .announcement-grid {
        grid-template-columns: 1fr 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .moments-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .activity-card {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }

    .activity-image-box {
        margin-left: 0;
        margin-top: -80px;
        margin-bottom: 30px;
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .activity-content {
        padding-left: 0;
    }

    .activity-dots {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
        transform: none;
    }

    .dot.active {
        width: 24px;
        height: 8px;
    }
}

@media (max-width: 768px) {
    .eligibility-badge {
        bottom: 20px;
        left: 20px;
        width: 160px;
        padding: 15px;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 900px) {

    .nav-links,
    .top-header-right,
    .logo-text-box,
    .admission-btn {
        display: none !important;
    }

    .top-header-left {
        clip-path: none !important;
        padding: 0 5% !important;
        width: 100%;
        justify-content: center;
    }

    .navbar {
        height: 70px;
        padding: 0 5%;
    }

    .logo img {
        height: 40px;
        width: auto;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        color: #003366;
        cursor: pointer;
        padding-left: 10px;
        height: 100%;
    }

    .nav-right-tools {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .nav-search-icon {
        margin: 0;
        font-size: 1.15rem;
    }

    /* Stack Sections */
    .chairman-box,
    .igniting-section {
        flex-direction: column !important;
        padding: 50px 5% !important;
        text-align: center !important;
        gap: 30px !important;
    }

    .chairman-img,
    .chairman-text,
    .igniting-left,
    .igniting-right {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .igniting-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .ignite-logos-container {
        justify-content: center !important;
        width: 100% !important;
    }

    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
    }

    .igniting-left h2 {
        font-size: 2.22rem !important;
        line-height: 1.15 !important;
    }

    .igniting-links {
        justify-content: center;
        width: 100%;
    }

    /* Fix grids */
    .news-grid,
    .announcement-grid,
    .facilities-grid,
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 600px) {
    .hero-section {
        height: 350px !important;
    }

    .hero-banner h1 {
        font-size: 1.1rem !important;
    }

    .hero-banner p {
        font-size: 0.8rem !important;
    }
}

/* Mobile Sidebar Fixes */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 10000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-close {
    text-align: right;
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 20px;
}

.mobile-logo {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.mobile-logo img {
    height: 60px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-links li a {
    display: block;
    padding: 18px 0;
    text-decoration: none;
    color: #003366;
    font-weight: 700;
    border-bottom: 1px solid #f5f5f5;
    font-size: 1.15rem;
    transition: 0.3s;
}

.mobile-nav-links li a:active {
    background-color: #f9f9f9;
    padding-left: 10px;
}

.mobile-contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f9f9f9;
}

.mobile-contact-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
}

.mobile-contact-info i {
    width: 25px;
    color: #21a9e1;
}

@media (max-width: 900px) {
    .chairman-box {
        flex-direction: column;
        padding: 22px;
        margin: 15px 5%;
        border-radius: 10px;
    }

    .chairman-text h2 {
        font-size: 1.4rem;
    }

    .igniting-section {
        padding: 40px 5%;
        gap: 20px;
    }

    .igniting-left h2 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .igniting-links {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .igniting-links a {
        justify-content: center;
        width: 100%;
        padding: 15px;
    }

    .masonry-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .announcements {
        padding: 35px 5%;
    }

    .announcement-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .facilities-section {
        padding: 40px 5%;
    }

    .facilities-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .moments-section {
        padding: 50px 5% 0;
    }

    .moments-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        padding-bottom: 50px;
    }

    .stats-section {
        padding: 0 5% 40px;
    }

    .stats-container {
        height: auto;
        padding: 30px 15px;
    }

    .stats-overlay {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 15px;
    }

    .stats-item h2 {
        font-size: 1.2rem;
    }

    .stats-item p {
        font-size: 0.7rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px;
    }

    .main-footer {
        padding: 60px 10% 30px;
    }

    /* Activities Mobile */
    .activity-card {
        padding: 40px 20px;
        border-radius: 20px;
        margin: 0 5%;
    }

    .activity-image-box {
        height: 180px;
        margin-top: -80px;
    }

    .activity-content h3 {
        font-size: 1.3rem;
    }

    .activity-content p {
        font-size: 0.82rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1ebd59;
    transform: scale(1.1);
    color: #FFF;
}

.my-float {
    margin-top: 1px;
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 20px;
        font-size: 25px;
    }
}

@media (max-width: 600px) {
    .eligibility-badge {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .logo img {
        height: 40px;
    }

    .ignite-logos-container img {
        height: 60px !important;
    }
}