
:root {
    --green: #2e8b57;
    --blue: #1f4fa3;
     --primary: #1c3f8f;        /* deeper */
  --primary-soft: #274fd3;   /* elegant accent */
  --primary-light: #6b9cff; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

/* =========================
DARK BLUE SCROLLBAR
========================= */


/* For WebKit browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: #0d1117; /* dark base */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    270deg,
    #0f1c3f,
    #1c3f8f,
    #274fd3,
    #0f1c3f
  );
  background-size: 400% 400%;
  animation: scrollGlow 6s ease infinite;
}

@keyframes scrollGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}


/* Hover effect */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #1c3f8f,
    #274fd3,
    #6b9cff
  );
  box-shadow: 
    0 0 18px rgba(31,79,163,0.7),
    inset 0 0 8px rgba(255,255,255,0.2);
}


body {
    font-family: "Poppins", sans-serif;
    background: rgb(255, 255, 255);
    animation: pageFade 0.8s ease;
    overflow-x: hidden;
}
@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* NAVBAR */
.navbar {
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    padding-top: 15px;
    border-bottom: 2px solid #e6e6e6;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 8px 24px rgba(0, 32, 173, 0.06),
        0 20px 50px rgba(0, 32, 173, 0.04);

    animation: navbarGlowIn 1.2s ease-out forwards;

}

@keyframes navbarGlowIn {
    from {
        box-shadow:
            0 0 0 rgba(0, 0, 0, 0),
            0 0 0 rgba(0, 32, 173, 0),
            0 0 0 rgba(0, 32, 173, 0);
    }

    to {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.8),
            0 8px 24px rgba(0, 32, 173, 0.06),
            0 20px 50px rgba(0, 32, 173, 0.04);
    }
}


/* LEFT */
.nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-left a {
    display: inline-block;
}
.nav-left a img {
    cursor: pointer;
}

.nav-left img {
    width: 110px;
    height: 100px;
    opacity: 0;
    animation: logoReveal 0.9s ease-out forwards;
    animation-delay: 0.15s;
    will-change: transform, opacity;

}

img {
    max-width: 100%;
    height: auto;
}


.college-text h1 {
    font-size: 30px;
    color: rgb(0, 0, 190);
    font-weight: 600;
    animation-delay: 0.35s;
}

.college-text h1,
.college-text p {
    opacity: 0;
    animation: textReveal 0.8s ease-out forwards;
}

.college-text p {
    color: rgb(22, 22, 22);
    font-size: 18px;
    animation-delay: 0.45s;

}

/* RIGHT MENU */
.nav-menu {
    display: flex;
    gap: 10px;
    font-weight: 600;
}

.nav-menu a {
    position: relative;
    text-decoration: none;
    color: #0b1c3d;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 999px;
    transition: color 0.4sec ease, transform 0.4 ease;
    z-index: 1;
    opacity: 0;
    animation: navItemReveal 0.6s ease-out forwards;
    will-change: transform, opacity;
    font-weight: 600;
    background: white;
}

/* GLASS BACKGROUND */
.nav-menu a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
  #1c3f8f,
  #274fd3
  
  );

  background-size: 200% 200%;
  transition: 0.6s cubic-bezier(.19,1,.22,1);
  opacity: 0;
  z-index: -1;
}
.about-btn::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );

  transform: translateX(-120%);
  transition: 0.8s cubic-bezier(.19,1,.22,1);
}

.about-btn:hover::after {
  transform: translateX(120%);
}


/* BORDER */
.nav-menu a::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    border: 2px solid rgb(0, 0, 0);
    opacity: 0;
    transform: scale(1);
    transition:
        opacity 0.35s ease-in-out,
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s ease-in-out;
    pointer-events: none;

}

/* HOVER */
.nav-menu a:hover {

    color: white;
    transform: scale(1.08);
}
.nav-menu a:hover::before,
.nav-menu a.active::before {
  opacity: 1;
  background-position: 100% 50%;
}

.nav-menu a:hover::before,
.nav-menu a:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* ACTIVE */
.nav-menu a.active {
    color: white;
    font-weight: 700;
}

.nav-menu a.active::before,
.nav-menu a.active::after {
    opacity: 1;
    transform: scale(1);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    opacity: 1;
    transform: scale(1);
    box-shadow:
         0 6px 20px rgba(28,63,143,0.25),
  0 15px 40px rgba(28,63,143,0.18);
}

@keyframes navbarReveal {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes navItemReveal {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nav-menu a:nth-child(1) {
    animation-delay: 0.35s;
}

.nav-menu a:nth-child(2) {
    animation-delay: 0.42s;
}

.nav-menu a:nth-child(3) {
    animation-delay: 0.49s;
}

.nav-menu a:nth-child(4) {
    animation-delay: 0.56s;
}

.nav-menu a:nth-child(5) {
    animation-delay: 0.63s;
}

.nav-menu a:nth-child(6) {
    animation-delay: 0.70s;
}

.nav-menu a:nth-child(7) {
    animation-delay: 0.77s;
}

.nav-menu a:nth-child(8) {
    animation-delay: 0.84s;
}

.nav-menu a:nth-child(9) {
    animation-delay: 0.91s;
}

.nav-menu a:nth-child(10) {
    animation-delay: 0.98s;
}

@keyframes logoReveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-wrapper {
    position: relative;
    width: 100%;
    padding: 20px;

}

.slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 520px;
    max-height: 750px;
    overflow: hidden;
    border-radius: 22px;
    border: #1f4fa3 2px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    background: #000;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}


/* Slides */

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transform: scale(1.08);
    transition:
        opacity 0.8s ease,
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}



.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* slide leaving to left */
.slide.exit-left {
    opacity: 0;
    transform: translateX(-60px) scale(0.98);
    z-index: 1;
}

/* slide leaving to right */
.slide.exit-right {
    opacity: 0;
    transform: translateX(60px) scale(0.98);
    z-index: 1;
}

/* Arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: white;
    border: none;
    font-size: 36px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: scale(1.1) translateY(-50%);
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* =========================
   SLIDER LOADING OVERLAY
========================= */

.slider-wrapper {
    position: relative;
}

/* Loader overlay */
.slider-loader {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffffff, #f2f5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    border-radius: 20px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slider-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Loader content */
.loader-inner {
    text-align: center;
}

/* Premium rotating ring */
.loader-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid rgba(31, 79, 163, 0.15);
    border-top-color: var(--blue);
    margin: 0 auto 14px;
    animation: sliderSpin 1.1s linear infinite;
}

/* Text */
.slider-loader span {
    font-size: 14px;
    font-weight: 600;
    color: #1c3f8f;
    letter-spacing: 0.4px;
}

/* Animation */
@keyframes sliderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframe slider-animation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;

    }
}

/* =========================
   SLIDER BANNER MARQUEE
========================= */

/* =========================
   INFINITE MARQUEE BANNER
========================= */

.slider-banner {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(60% - 80px);
    height: 58px;
    overflow: hidden;
    border-radius: 16px;
    z-index: 12;

    background: linear-gradient(135deg,
            rgba(40, 87, 173, 0.92),
            rgba(3, 43, 112, 0.92));

    backdrop-filter: blur(14px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);

    transition: transform 0.45s ease, box-shadow 0.45s ease;

    /* Fade edges */

}

/* Lift on hover */
.slider-banner:hover {
    transform: translateX(-50%) translateY(-6px) scale(1.01);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* Marquee container */
.banner-marquee {
    display: flex;
    width: max-content;
    height: 100%;
    animation: marqueeLoop 28s linear infinite;

    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 12%,
            black 88%,
            transparent 100%);

    mask-image: linear-gradient(to right,
            transparent 0%,
            black 12%,
            black 88%,
            transparent 100%);
}

/* Pause when hovered */
.slider-banner:hover .banner-marquee {
    animation-play-state: paused;
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 6%,
            black 94%,
            transparent 100%);

    mask-image: linear-gradient(to right,
            transparent 0%,
            black 6%,
            black 94%,
            transparent 100%);
}

/* Track */
.banner-track {
    display: flex;
    align-items: center;
}

/* Links */
.banner-track a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 50px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.4px;
    position: relative;
    transition: color 0.35s ease, transform 0.35s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    position: relative;
    will-change: transform;
    transition: transform 0.25s ease-out;
}



/*  underline glow */
.banner-track a::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 12px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.9),
            transparent);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Link hover */
.banner-track a:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    z-index: 2;
}

.banner-track a:hover::after {
    opacity: 1;
    tr
}

@keyframes marqueeLoop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.glass-bloom {
    z-index: 0;
}

.highlight-card>*:not(.glass-bloom) {
    position: relative;
    z-index: 1;
}

.slider-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent);
    transform: translateX(-120%);
    transition: transform 0.9s ease;
}

.slider-banner:hover::before {
    transform: translateX(120%);
}

/* =========================
   GLASSMORPHISM HIGHLIGHTS
========================= */

.highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 40px 60px;

    background:
        linear-gradient(180deg, #f6f8ff, #ffffff);
}

/* Glass Card */
.highlight-card {
    background: rgba(255,255,255,0.85);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.45);

    box-shadow:
        0 18px 45px rgba(31, 79, 163, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.25);

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease,
        background 0.5s ease;

    position: relative;
    overflow: hidden;
}

/* Neon glass border */
.highlight-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;

    background: linear-gradient(135deg,
            rgba(61, 95, 175, 0.9),
            rgba(15, 54, 184, 0.6),
            rgba(42, 67, 126, 0.9));

    opacity: 0;
    filter: blur(10px);
    z-index: -1;

    transition: opacity 0.6s ease, filter 0.6s ease;
}

/* Inner light bloom */
.highlight-card .glass-bloom {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center,
            rgba(255, 255, 255, 0.35),
            transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.highlight-card:hover .glass-bloom {
    opacity: 1;
}


.highlight-card:hover::before {
    opacity: 1;
    filter: blur(18px);
}


/* Hover lift */
.highlight-card:hover {
    transform:
        translateY(14px) scale(1.05) perspective(800px) rotateX(4deg);

    background: rgba(0, 22, 95, 0.92);

    box-shadow:
        0 40px 90px rgba(31, 79, 163, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}


/* =========================
   ICON GLASS
========================= */

.highlight-card .icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgb(255, 255, 255);

    box-shadow:
        0 14px 35px rgba(31, 79, 163, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

/* Icon image */
.highlight-card .icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    transition: transform 0.45s ease;
}

/* Hover magic */
.highlight-card:hover .icon {
    transform: translateY(-8px) rotate(-3deg);

    box-shadow:
        0 25px 55px rgba(31, 79, 163, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.highlight-card:hover .icon img {
    transform: scale(1.2) rotate(6deg);
}

/* =========================
   TEXT
========================= */

.highlight-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1c3f8f;
    margin-bottom: 6px;
}



.highlight-card p {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    opacity: 0.85;
}

/* =========================
   GLASS SHIMMER SWEEP
========================= */

.highlight-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent);

    transform: translateX(-120%);
    transition: transform 1s ease;
}

.highlight-card:hover::after {
    transform: translateX(120%);
}

.highlight-card:hover h3 {
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(120, 160, 255, 0.9),
        0 0 18px rgba(120, 160, 255, 0.6);
}

.highlight-card:hover p {
    color: #e6ecff;
}

.admin-panel {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    padding: 80px 60px;
    background: #ffffff;
}
.admin-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1c3f8f;
    margin-bottom: 10px;
}
.admin-card h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #1f4fa3;
    margin-top: 8px;
    border-radius: 2px;
}
.admin-card {
    position: relative;
    background: rgba(255,255,255,0.85);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 22px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.45);

    box-shadow:
        0 25px 60px rgba(31, 79, 163, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);

    overflow: hidden;
    transition: all 0.6s ease;
}

.admin-card:hover {
     transform: translateY(-8px);
    box-shadow:
        0 30px 80px rgba(31, 79, 163, 0.25);
}

.announcement-marquee {
    height: 260px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;

    -webkit-mask-image: linear-gradient(to top,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);

    mask-image: linear-gradient(to top,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
}

.announcement-track {
    display: flex;
    flex-direction: column;
    animation: scrollUp 18s linear infinite;
}

/* Pause on hover */
.announcement-marquee:hover .announcement-track {
    animation-play-state: paused;
}

.announcement-track a {
    text-decoration: none;
    padding: 14px 6px;
    font-weight: 600;
    color: #1c3f8f;

    transition: transform 0.3s ease, color 0.3s ease;
}

.admin-card:hover .announcement-track a {
    color: #e6ecff;
}

.announcement-track a:hover {
    transform: translateX(8px);
    text-decoration: underline;
}

@keyframes scrollUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

.principal-card {
    text-align: center;
}

.principal-card img {
    width: 180px;
    height: 220px;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 18px;
}

.principal-card h3 {
    color: #1c3f8f;
    font-weight: 700;
}

.principal-card .role {
      color: #ff9800;
    font-weight: 600;
}

.glass-btn {
    margin-top: 24px;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    background: #1f4fa3;
    color: white;
    cursor: pointer;
    transition: 0.6s cubic-bezier(.19,1,.22,1);

}
.glass-btn:hover {
    background: #163a7c;
    transform: translateY(-3px);
}

.admin-card {
    position: relative;
    background: rgba(255, 255, 255, 0.55);
    background: rgba(255,255,255,0.85);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 22px;
    padding: 32px;

    transition:
        background 0.7s ease,
        box-shadow 0.7s ease,
        transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.admin-card * {
    position: relative;
    z-index: 2;
    transition: color 0.5s ease, opacity 0.5s ease;
}

.admin-card:hover h2,
.admin-card:hover h3,
.admin-card:hover p,
.admin-card:hover a {
    color: #ffffff;
}

.admin-card:hover img {
    opacity: 0.95;
}

.admin-card:hover .glass-btn {
    background: #ffffff;
    transform: scale(1.08);
}



/* Directions */
.reveal {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(60px) scale(0.95);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s ease;
}

.reveal[data-reveal="left"] {
    transform: translateX(-80px) scale(0.95);
}

.reveal[data-reveal="right"] {
    transform: translateX(80px) scale(0.95);
}

.reveal[data-reveal="bottom"] {
    transform: translateY(80px) scale(0.95);
}

.reveal.active {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) translateY(0) scale(1);
}


/* ACTIVE STATE */
.reveal.active {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) translateY(0) scale(1);
}

.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal:nth-child(4) {
    transition-delay: 0.4s;
}


@keyframes glowPop {
    0% {
        box-shadow: none;
    }

    100% {
        box-shadow:
            0 30px 80px rgba(31, 79, 163, 0.35),
            inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    }
}
/* =========================
   ADMIN PANEL REDESIGN
========================= */

.admin-panel {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding: 100px 80px;
    background: #f8faff;
}

/* SECTION HEADER */
.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1c3f8f;
}

.section-header p {
    font-size: 14px;
    color: #777;
    margin-top: 6px;
}

/* ANNOUNCEMENTS LIST */
.announcement-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 26px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.85);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    text-decoration: none;
    color: #111;
    transition: all 0.6s cubic-bezier(.19,1,.22,1);
    overflow: hidden;
}
.announcement-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );
    transform: translateX(-120%);
    transition: transform 0.8s ease;
}

/* Gradient shine overlay */
.announcement-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
        transparent,
        rgba(31, 79, 163, 0.08),
        transparent);
    transform: translateX(-120%);
    transition: 0.8s ease;
}

.announcement-item:hover::before {
    transform: translateX(120%);
}

.announcement-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 25px 60px rgba(31, 79, 163, 0.18);
}
.announcement-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 35px 80px rgba(31,79,163,0.25);
}
.announcement-item:hover::after {
    transform: translateX(120%);
}

/* DATE BOX */
.date-box {
     width: 68px;
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg,#1f4fa3,#4e7dff);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.5s cubic-bezier(.19,1,.22,1);
}

.announcement-item:hover .date-box {
   transform: scale(1.2) rotate(-6deg);
    box-shadow: 0 25px 45px rgba(31,79,163,0.6);
}


.date-box .day {
    font-size: 18px;
}

.date-box .month {
    font-size: 12px;
}

/* BUTTON */
.primary-btn {
    margin-top: 40px;
    padding: 14px 32px;
    background: linear-gradient(135deg,#1f4fa3,#274fd3);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(31,79,163,0.25);
}

.primary-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 45px rgba(31,79,163,0.45);
}

/* =========================
   PRINCIPAL CARD
========================= */

.principal-card-new {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transition: all 0.6s cubic-bezier(.19,1,.22,1);
}

.principal-card-new::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        #1f4fa3,
        #274fd3,
        #6ea8ff,
        #1f4fa3
    );
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderGlow 6s linear infinite;
}
.principal-card-new:hover::before {
    opacity: 1;
}

.principal-card-new:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 40px 90px rgba(31,79,163,0.35);
}
@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}


.principal-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;   /* keeps proper portrait ratio */
    overflow: hidden;
    border-radius: 22px 22px 0 0;
}

.principal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(.19,1,.22,1);
}

/* Smooth zoom */
.principal-card-new:hover .principal-image img {
    transform: scale(1.12);
}

.principal-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,0.4) 100%);
}

.principal-content {
    padding: 28px;
    text-align: center;
}

.principal-content h3 {
    font-size: 20px;
    color: #1c3f8f;
    margin-bottom: 6px;
}

.principal-role {
    font-size: 13px;
    color: #ff9800;
    font-weight: 600;
}

.principal-content p {
    font-size: 14px;
    color: #555;
    margin: 18px 0;
    line-height: 1.6;
}

.secondary-btn {
    padding: 12px 22px;
    border: 2px solid #1f4fa3;
    background: transparent;
    color: #1c3f8f;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.6s cubic-bezier(.19,1,.22,1);
}

.secondary-btn:hover {
    background: #1f4fa3;
    color: white;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .admin-panel {
        grid-template-columns: 1fr;
        padding: 60px 30px;
    }
}
/* =========================
   ADMIN SECTION
========================= */

.admin-section {
  position: relative;
  background: #f8fafc;
  padding: 140px 100px;
  overflow: hidden;
}
/* ambient light blobs */
.admin-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(31,79,163,0.08) 0%,
      transparent 70%);
  top: -200px;
  left: -200px;
  z-index: 0;
}
.admin-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(99,102,241,0.08) 0%,
      transparent 70%);
  bottom: -150px;
  right: -150px;
  z-index: 0;
}

.admin-container {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 2fr 1fr; /* left bigger, right smaller */
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

/* LEFT SIDE */

.admin-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1c2b4a;
}

.admin-sub {
  display: block;
  margin-top: 8px;
  color: #6b7280;
  font-size: 14px;
}

.admin-list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 34px;
  border-radius: 18px;
  background: white;
  transition: all 0.5s cubic-bezier(.19,1,.22,1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  cursor: pointer;
  overflow: hidden;
}

/* animated side accent bar */
.admin-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom,#1f4fa3,#4f7cff);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.admin-item:hover::before {
  transform: scaleY(1);
}

.admin-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}
.admin-date {
  width: 60px;
  height: 60px;
  background: #1f4fa3;
  color: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.admin-date span {
  font-size: 18px;
  font-weight: 700;
}

.admin-date small {
  font-size: 11px;
  text-transform: uppercase;
}

.admin-item p {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
}

.admin-btn {
  display: inline-block;
  margin-top: 45px;
  padding: 14px 30px;
  background: #1f4fa3;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.6s cubic-bezier(.19,1,.22,1);
}

.admin-btn:hover {
  background: #163a7c;
}

/* RIGHT SIDE */

.principal-card {
  position: relative;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.05);
  transition: all 0.6s cubic-bezier(.19,1,.22,1);
}

.principal-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  
}

.principal-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.principal-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0) 50%,
      rgba(0,0,0,0.45) 100%
  );
}

.principal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.principal-info {
  padding: 30px;
  text-align: center;
}

.principal-info h3 {
  font-size: 40px;
 color: #1c3f8f;
}

.principal-info span {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  color: #00730a;
  font-weight: 600;
}

.principal-info p {
  margin: 20px 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.principal-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #1f4fa3;
  color: #1c3f8f;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.6s cubic-bezier(.19,1,.22,1);
}

.principal-btn:hover {
  background: #2e2e2e;
  color: white;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .admin-container {
    grid-template-columns: 1fr;
  }
}

.admin-link {
  color: #111827;          /* default text color */
  text-decoration: none;   /* no underline */
  font-weight: 500;
  transition: color 0.3s ease;
}
.about-left {
    position: relative;
    z-index: 2;
}

.about-right {
    position: relative;
    z-index: 1;
}


.admin-link:hover {
  color: #1c3f8f;        /* hover color */
  text-decoration: underline; /* optional underline for clarity */
}
/* =========================
   ABOUT SECTION
========================= */

.about-section {
  padding: 120px 100px;
  background: linear-gradient(180deg, #ffffff, #f5f8ff);
  position: relative;
  overflow: hidden;
}

/* soft ambient glow */
.about-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(31,79,163,0.08),
      transparent 70%);
  top: -200px;
  right: -200px;
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* LEFT */

.about-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  transition: 0.6s cubic-bezier(.19,1,.22,1);
}

.about-media iframe,
.about-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.about-media:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(31,79,163,0.25);
}


/* RIGHT */

.about-right h2 {
  font-size: 36px;
  color: #1c3f8f;
  margin-bottom: 24px;
  font-weight: 700;
}

.about-right p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  background: linear-gradient(135deg,#1f4fa3,#274fd3);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.4s ease;
  box-shadow: 0 10px 30px rgba(31,79,163,0.25);
}

.about-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 50px rgba(31,79,163,0.4);
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-section {
    padding: 80px 30px;
  }

  .about-media iframe,
  .about-media img {
    height: 300px;
  }
}
/* =========================
   GLIMPSE SECTION
========================= */

.glimpse-section {
  padding: 120px 80px;
  background: linear-gradient(180deg,#ffffff,#f3f6ff);
  text-align: center;
}

.glimpse-header h2 {
  font-size: 34px;
  font-weight: 700;
  color: #1c3f8f;
}

.glimpse-header p {
  margin-top: 10px;
  color: #6b7280;
}

/* GRID */
.glimpse-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Responsive */
@media (max-width:1100px){
  .glimpse-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width:768px){
  .glimpse-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:500px){
  .glimpse-grid { grid-template-columns: 1fr; }
}

/* CARD */
.glimpse-card {
  position: relative;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: #e5e9ff;
  cursor: pointer;
  transition: transform 0.3s ease,
              box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

/* IMAGE */
.glimpse-card img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.glimpse-card:hover img {
  transform: scale(1.08);
}

/* Hover lift */
.glimpse-card:hover {
  transform: scale(1.05);
  box-shadow: 0 35px 80px rgba(31,79,163,0.25);
}

/* Overlay gradient */
.glimpse-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glimpse-card:hover::after {
  opacity: 1;
}
/* =========================
   PREMIUM FOOTER
========================= */

.premium-footer {
  position: relative;
  padding: 120px 80px 40px;
  background: #0d1117;
  color: #d1d5db;
  overflow: hidden;
}

/* Animated Gradient Glow */
.premium-footer::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(31,79,163,0.25),
      transparent 70%);
  top: -200px;
  left: -200px;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  0% { transform: translate(0,0); }
  100% { transform: translate(150px,100px); }
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 60px;
  position: relative;
  z-index: 2;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
}

.footer-column h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #1f4fa3;
  margin-top: 8px;
  transition: width 0.4s ease;
}

.footer-column:hover h3::after {
  width: 80px;
}

/* Links */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 12px 0;
}

.footer-column ul li a {
  text-decoration: none;
  color: #9ca3af;
  position: relative;
  transition: 0.3s;
}

.footer-column ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #1f4fa3;
  transition: 0.4s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-column ul li a:hover::after {
  width: 100%;
}

/* Social Icons */
.footer-socials {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  color: white;
  transition: 0.4s ease;
}

.footer-socials a:hover {
  background: #1f4fa3;
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 15px 30px rgba(31,79,163,0.4);
}

/* Bottom Bar */
.footer-bottom {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #6b7280;
}

/* Scroll Top */
.scroll-top {
  background: #1f4fa3;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: 0.4s;
}
.social {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  background: transparent;
  transition: all 0.4s ease;
  border: 2px solid;
}
/* FACEBOOK */
.social.facebook {
  border-color: #1877f2;
  color: #1877f2;
}
.social.facebook:hover {
  background: #1877f2;
  color: #fff;
}

/* YOUTUBE */
.social.youtube {
  border-color: #ff0000;
  color: #ff0000;
}
.social.youtube:hover {
  background: #ff0000;
  color: #fff;
}

/* INSTAGRAM */
.social.instagram {
  border-color: #e1306c;
  color: #e1306c;
}
.social.instagram:hover {
  background: #e1306c;
  color: #fff;
}

/* LINKEDIN */
.social.linkedin {
  border-color: #0077b5;
  color: #0077b5;
}
.social.linkedin:hover {
  background: #0077b5;
  color: #fff;
}

/* Smooth hover animation */
.social:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.scroll-top:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(31,79,163,0.4);
}

/* Responsive */
@media (max-width:1000px){
  .footer-container {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:600px){
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {

  .navbar {
    padding: 15px 20px;
  }

  .nav-menu a {
    padding: 8px 14px;
    font-size: 13px;
  }

  .admin-section,
  .about-section,
  .glimpse-section {
    padding: 90px 50px;
  }

}
@media (max-width: 992px) {

  /* NAVBAR STACK */
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .nav-left {
    flex-direction: column;
  }

  .nav-left img {
    width: 80px;
    height: auto;
  }

  .college-text h1 {
    font-size: 22px;
  }

  .college-text p {
    font-size: 14px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* SLIDER */
  .slider {
    height: 55vh;
    min-height: 380px;
  }

  .slider-banner {
    width: 90%;
  }

  /* HIGHLIGHTS */
  .highlights {
    grid-template-columns: repeat(2, 1fr);
    padding: 60px 30px;
  }

  /* ADMIN SECTION */
  .admin-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* ABOUT */
  .about-container {
    grid-template-columns: 1fr;
  }

}
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* NAV MENU */
  .nav-menu {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .nav-menu a {
    width: 90%;
    text-align: center;
  }

  /* SLIDER */
  .slider {
    height: 45vh;
    min-height: 280px;
    border-radius: 12px;
  }

  .arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .slider-banner {
    height: 45px;
    font-size: 13px;
  }

  /* HIGHLIGHTS */
  .highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlight-card {
    padding: 25px 20px;
  }

  /* ADMIN ITEMS */
  .admin-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .admin-date {
    width: 50px;
    height: 50px;
  }

  /* PRINCIPAL */
  .principal-info h3 {
    font-size: 28px;
  }

  /* ABOUT */
  .about-right h2 {
    font-size: 26px;
  }

  .about-right p {
    font-size: 14px;
  }

  /* GLIMPSE */
  .glimpse-section {
    padding: 80px 20px;
  }

}
@media (max-width: 480px) {

  .college-text h1 {
    font-size: 18px;
  }

  .college-text p {
    font-size: 12px;
  }

  .slider {
    height: 35vh;
    min-height: 220px;
  }

  .slider-banner {
    display: none; /* optional: hide banner on tiny screens */
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

}

/* =========================
   MID-LAPTOP FIX (1100px)
========================= */

@media (max-width: 1100px) and (min-width: 993px) {

  .nav-menu {
    gap: 6px;
  }

  .nav-menu a {
    padding: 8px 12px;
    font-size: 12px;
  }

  .college-text h1 {
    font-size: 26px;
  }

  .college-text p {
    font-size: 15px;
  }

}
