* {
              margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #e91e8c;
    --blue: #1e4fa8;
    --dark-bg: #2d2d2d;
    --why-bg: #a8b8cc;
    --font-h: 'Barlow', sans-serif;
    --font-b: 'Lato', sans-serif;
}

body {
    font-family: var(--font-b);
    color: #222;
}

/* ── Typography helpers ── */
h1,
h2,
h3,
.font-h {
    font-family: var(--font-h);
}

.section-title {
    font-family: var(--font-h);
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: var(--pink);
    margin-bottom: 24px;
}

.title-underline-center {
    width: 80px;
    height: 3px;
    background: var(--pink);
    margin: 0 auto 30px;
}

/* ══ HERO ══ */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(120deg, #6b3fa0 0%, #9040b0 30%, #4060a0 70%, #3050b0 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/ECE-bg.jpg') center/cover no-repeat;
    opacity: 0.45;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-top: 10vh;
    font-size: 10vh;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ══ STATS BAR ══ */
.stats-bar {
    background: linear-gradient(to right, #c83ca0, #e84060);
}

.stat-num {
    font-family: var(--font-h);
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 4px;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
}

/* ══ ENQUIRE PANEL ══ */
.enquire-panel {
    background: var(--dark-bg);
    padding: 20px;
    margin: 30px;
}

.enquire-panel h3 {
    color: #7ec846;
}

.enquire-panel .form-control,
.enquire-panel .form-select {
    font-size: 13px;
    border-radius: 4px;
    border: none;
    background: #fff;
}

.enquire-panel .form-control::placeholder {
    color: #999;
}

.captcha-box {
    background: #fff;
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #333;
    white-space: nowrap;
}

.enquire-panel .form-check-label {
    font-size: 11px;
    color: #bbb;
    line-height: 1.5;
}

.enquire-panel .form-check-label strong {
    color: #fff;
}

.btn-submit {
    background: #111;
    color: #fff;
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid #111;
    border-radius: 4px;
    padding: 11px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: transparent;
    color: var(--pink);
    border-color: var(--pink);
}

/* ══ VISION & MISSION ══ */
.vision-mission {
    background: var(--blue);
}

.vm-title {
    font-family: var(--font-h);
    font-size: 28px;
    font-weight: 700;
}

.vm-underline {
    width: 60px;
    height: 3px;
    background: #f5c518;
    margin-bottom: 20px;
}

.vision-mission p {
    font-size: 14.5px;
    font-style: italic;
    line-height: 1.75;
    color: #d8e4f8;
}

/* ══ PEO & PSO ══ */
.peo-section {
    background: #f5f5f5;
}

.peo-section .accordion-button {
    font-weight: 700;
    font-size: 15px;
    background: #f5f5f5;
    color: #222;
    box-shadow: none;
}

.peo-section .accordion-button:not(.collapsed) {
    background: #f5f5f5;
    color: var(--pink);
    box-shadow: none;
}

.peo-section .accordion-item {
    background: #f5f5f5;
    border: none;
    border-bottom: 1px solid #ccc;
}

.peo-section .accordion-body {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
}

/* ══ WHY CSE ══ */
.why-section {
    background-image: url('img/why-bg.png');
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    height: 105vh;
}

.why-section .overlay {
    background-color: #345C7F;
    opacity: 0.5;
    padding: 50px 0;
}

.why-section h2 {
    font-family: var(--font-h);
    font-size: 34px;
    font-weight: 700;
}

.why-bar {
    width: 4px;
    min-height: 80px;
    background: #0a568d;
    border-radius: 2px;
    flex-shrink: 0;
}

.why-item p {
    font-size: 15px;
    line-height: 1.75;
    color:#000000 ;
}

/* ══ FACULTY ══ */
.faculty-section .section-title {
    font-size: 36px;
}

.faculty-section p {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

.faculty-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 4px;
}

.btn-faculty {
    background: #4a7fb5;
    color: #fff;
    border-radius: 30px;
    padding: 11px 28px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #4a7fb5;
    transition: all 0.3s ease;
}

.btn-faculty:hover {
    background: transparent;
    color: var(--pink);
    border-color: var(--pink);
}

/* ══ ACHIEVEMENTS ══ */
/* ══ ACHIEVEMENTS ('JOLLIKITHU' LIGHTS AND STARS) ══ */
.achievements-section {
    position: relative;
    background: #0b1120;
    /* Deep premium night sky */
    overflow: hidden;
    color: #fff;
}

/* Twinkling star particle layer */
.achievements-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 15% 25%, #fff, transparent),
        radial-gradient(2px 2px at 35% 65%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 65% 15%, #fff, transparent),
        radial-gradient(3px 3px at 85% 45%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 95% 85%, #fff, transparent),
        radial-gradient(3px 3px at 45% 95%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 25% 85%, #fff, transparent),
        radial-gradient(2px 2px at 55% 55%, rgba(255, 255, 255, 0.8), transparent);
    background-size: 180px 180px;
    animation: stars-twinkle 3s infinite alternate ease-in-out;
    z-index: 1;
    pointer-events: none;
}


.achievements-section::after {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(circle at 30% 40%, rgba(234, 184, 211, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(131, 168, 226, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 20%, rgba(234, 207, 108, 0.25) 0%, transparent 35%);
    animation: lights-rotate 20s infinite linear;
    z-index: 1;
    pointer-events: none;
}

.achievements-section>.container {
    position: relative;
    z-index: 2;/
}

.achievements-section h2 {
    font-family: var(--font-h);
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes stars-twinkle {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes lights-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.slide-card {
    display: none;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.slide-card.active {
    display: block;
}

.slide-card.active img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.slide-card.active .card-caption {
    padding: 12px 14px;
    min-height: 44px;
    font-size: 13px;
    color: #555;
}

.slider-nav-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    cursor: pointer;
    flex-shrink: 0;
}

.btn-viewmore {
    background: #4a7fb5;
    color: #fff;
    border-radius: 30px;
    padding: 11px 50px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #4a7fb5;
    transition: all 0.3s ease;
}

.btn-viewmore:hover {
    background: transparent;
    color: var(--pink);
    border-color: var(--pink);
}

/* ══ QUICK LINKS ══ */
.ql-card {
    position: relative;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ql-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ql-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(30, 79, 168, 0.4) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.ql-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.ql-card:hover img {
    transform: scale(1.1);
}

.ql-card:hover .ql-card-overlay {
    background: linear-gradient(to top, rgba(233, 30, 140, 0.8) 0%, rgba(30, 79, 168, 0.5) 100%);
}

.ql-icon {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
    transform: translateY(10px);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.ql-card:hover .ql-icon {
    transform: translateY(0);
    opacity: 1;
    text-shadow: 0 0 15px rgba(255,255,255,0.6);
}

.ql-card span {
    color: #fff;
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transform: translateY(5px);
    transition: all 0.4s ease;
}

.ql-card:hover span {
    transform: translateY(0);
}

/* ══ EVENTS ══ */

.events-section h2 {
    font-family: var(--font-h);
    font-size: 30px;
    font-weight: 700;
}

.events-section h2 span {
    color: #4a7fb5;
}

.event-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.event-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.event-card .ev-body {
    padding: 14px;
    font-size: 13px;
    color: #555;
}


@media (max-width: 1200px) {
    .hero h1 {
        font-size: 8vh;
    }
}

@media (max-width: 991px) {
    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 6vh;
        margin-top: 5vh;
    }

    .enquire-panel {
        margin: 30px 15px;
    }

    .why-section {
        height: auto;
    }

    /* Stats Bar Wrap Constraints */
    .stats-bar .row>.col.stat-item {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }

    .stats-bar .stat-divider {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .header {
        background: var(--pink);
    }

    .nav-item {
        color: #fff;
        background-color: var(--blue);
        text-align: center;
    }

    .nav-item:hover {
        cursor: pointer;
    }

    .hero-content {
        margin-top: 50px;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 50px;
        margin-top: 40px;
        text-align: center;
    }

    .hero p {
        text-align: center;
    }

    .vm-title {
        text-align: center;
    }

    .vm-underline {
        margin: 10px auto;
    }

    .stat-num {
        font-size: 32px;
    }

    .enquire-panel {
        margin: 20px 0;
        display: none;
    }

    .faculty-img {
        height: 250px;
        margin-top: 20px;
    }

    .ql-card {
        height: 120px;
    }

    .ql-card span {
        font-size: 18px;
    }

    .ql-icon {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .section-title {
        font-size: 24px;
        text-align: center;
    }

    .title-underline {
        margin: 10px auto;
    }

    /* Override inline grids for faculty & achievements */
    .faculty-grid,
    #achievements-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }

    .stat-num {
        font-size: 28px;
    }

    .stats-bar .row>.col.stat-item {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .faculty-grid,
    #achievements-grid-container {
        grid-template-columns: 1fr !important;
    }

    .btn-viewmore,
    .btn-faculty {
        padding: 10px 30px;
        font-size: 14px;
        width: 100%;
        display: block;
    }

    .ql-card {
        height: 110px;
    }

    .ql-card span {
        font-size: 16px;
    }

    .ql-icon {
        font-size: 20px;
        margin-bottom: 5px;
    }
}

.site-footer {
    background: var(--blue);
    color: #ffffff;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-logo {
    max-height: 80px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ffffff;
    margin-top: 1.5rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--pink);
    transform: translateX(10px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 0.95rem;
}

.footer-contact i {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--pink);
    color: white;
    transform: translateY(-5px) rotate(8deg);
    border-color: var(--pink);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.footer-bottom {
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #ffffff;
}

@media (min-width: 992px) {
    .site-footer .row>[class^="col-"]:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 991.98px) {
    .site-footer {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ══ SCROLL ANIMATIONS ══ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

/* ══ UNIQUE WHY SECTION ANIMATIONS ══ */
.question-mark {
    display: inline-block;
    color: var(--pink);
    animation: float-rotate 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: center bottom;
}

@keyframes float-rotate {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        text-shadow: 0 0 5px rgba(233, 30, 140, 0);
    }

    50% {
        transform: translateY(-8px) rotate(15deg) scale(1.15);
        text-shadow: 0 0 15px rgba(233, 30, 140, 0.8);
    }
}

.why-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    border-radius: 8px;
    padding: 15px;
    background-color: #ffffff;
}

.why-item:hover {
    transform: translateX(10px) translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.why-bar {
    transition: background 0.4s ease, transform 0.4s ease;
}

.why-item:hover .why-bar {
    background: var(--pink);
    transform: scaleY(1.1);
}

/* ══ NAVBAR HOVER EFFECTS ══ */
.navbar-nav .nav-item .nav-link {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-item .nav-link:hover {
    color: var(--pink) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 50%;
    background-color: var(--pink);
    transition: width 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-item .nav-link:hover::after {
    width: 70%;
}

/* ══ GLOBAL BUTTON HOVER EXTENSION FOR ALL PAGES ══ */
.btn-primary,
.btn-outline-dark,
.btn-outline-secondary,
.year-btn,
.apply-btn {
    transition: all 0.3s ease !important;
}

.apply-btn {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary:hover,
.btn-outline-dark:hover,
.btn-outline-secondary:hover,
.year-btn:hover,
.apply-btn:hover {
    background-color: transparent !important;
    color: var(--pink) !important;
    border-color: var(--pink) !important;
}


.alumni-slider-wrapper {
    position: relative;
    padding: 40px 0 60px;
    overflow: hidden;
    background: transparent;
  }

  .swiper-container {
    width: 30%;
    margin-left: 550px;
    padding-top: 20px;
    padding-bottom: 50px;
  }

  .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 250px;
    height: 350px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }

  .swiper-slide-active {
    filter: grayscale(0%) opacity(1);
    box-shadow: 0 30px 60px rgba(233, 30, 140, 0.25);
    border: 2px solid rgba(233, 30, 140, 0.5);
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
  }

  .swiper-slide-active:hover img {
    transform: scale(1.05);
  }

  .alumni-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, transparent 100%);
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    backdrop-filter: blur(5px);
  }

  .swiper-slide-active .alumni-info {
    transform: translateY(0);
    opacity: 1;
  }

  .a-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
  }

  .a-role {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 500;
    margin-bottom: 8px;
  }

  .a-company {
    display: inline-block;
    background: var(--pink);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.4);
  }

  .swiper-pagination-bullet {
    background: #cbd5e1;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    transition: all 0.3s ease;
  }

  .swiper-pagination-bullet-active {
    background: var(--pink);
    width: 30px;
    border-radius: 5px;
  }

  @media (max-width: 768px) {
    .swiper-slide {
      width: 260px;
      height: 350px;
    }
  }