/* DRPSE TUTORIAL - ENHANCED PREMIUM STYLES */

:root {
    --bd: #0a1f4e;
    --bm: #1a3a8f;
    --ba: #1e6fd9;
    --bl: #4a9eff;
    --bp: #dceeff;
    --w: #ffffff;
    --ow: #f4f8ff;
    --gr: #6b7a99;
    --td: #0d1b3e;
    --br: #e0eaff;
    --gd: #f5a623;
    --shadow-sm: 0 2px 8px rgba(10, 31, 78, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 31, 78, 0.12);
    --shadow-lg: 0 10px 40px rgba(10, 31, 78, 0.16);
    --shadow-xl: 0 20px 60px rgba(10, 31, 78, 0.20);
    --gradient-primary: linear-gradient(135deg, var(--bm), var(--ba));
    --gradient-accent: linear-gradient(135deg, var(--gd), #e09610);
    --gradient-hero: linear-gradient(135deg, var(--bd) 0%, #0f2d72 50%, #1255aa 100%);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--td);
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 50%, #f4f8ff 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(30,111,217,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245,166,35,0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(124,77,255,0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* TICKER */
.ticker-wrap {
    background: var(--gd);
    overflow: hidden;
    padding: 0.6rem 0;
    position: relative;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker span {
    padding: 0 3rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bd);
}

/* TOP BAR */
.topbar {
    background: linear-gradient(135deg, #0a1f4e 0%, #1a3a8f 100%);
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.topbar > div {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tb-l {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.tb-l span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.tb-l span i {
    color: #f5a623;
    font-size: 0.9rem;
}

.tb-l span:hover {
    color: #ffffff;
}

.tb-r {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.tb-r a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tb-r a:hover {
    background: #f5a623;
    color: #0a1f4e;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(245,166,35,0.4);
}

/* NAVBAR */
#navbar {
    background: var(--w);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition-normal);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-in {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-txt .nm {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bd);
}

.logo-txt .tg {
    font-size: 0.68rem;
    color: var(--gr);
}

.nl {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
}

.nl a {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-fast);
    font-size: 0.875rem;
    white-space: nowrap;
}

.nl a:hover,
.nl a.active {
    color: var(--ba);
    background: var(--bp);
}

.btn-li {
    background: linear-gradient(135deg, #1e6fd9, #1a3a8f);
    color: white !important;
    padding: 0.55rem 1.1rem !important;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30,111,217,0.35);
    animation: submitPulse 2.5s ease-in-out infinite;
}

@keyframes submitPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(30,111,217,0.35); }
    50% { box-shadow: 0 6px 25px rgba(30,111,217,0.6), 0 0 0 4px rgba(30,111,217,0.12); }
}

.btn-li::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    animation: shimmerBtn 2.2s ease-in-out infinite;
}

@keyframes shimmerBtn {
    0% { left: -75%; }
    60%, 100% { left: 150%; }
}

.btn-li:hover {
    background: linear-gradient(135deg, #f5a623, #e09610) !important;
    color: #0a1f4e !important;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 30px rgba(245,166,35,0.5) !important;
    animation: none;
}

.ham {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--bd);
}

/* MOBILE MENU */
.mmenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--w);
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
}

.mmenu.open {
    right: 0;
}

.mm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--bd);
}

.mmenu ul {
    list-style: none;
    margin-top: 3rem;
}

.mmenu ul li {
    margin: 0.5rem 0;
}

.mmenu ul li a {
    display: block;
    padding: 0.8rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.mmenu ul li a:hover {
    background: var(--bp);
    color: var(--ba);
}

/* HERO SECTION */
#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

/* HERO SLIDER */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-particles,
.hero-bg,
.hero-blob,
.hero-blob-2 {
    position: absolute;
    pointer-events: none;
}

.hero-particles {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(78,139,255,0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-blob {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,111,217,0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    filter: blur(80px);
    z-index: 1;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,166,35,0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    filter: blur(60px);
    z-index: 1;
}

@keyframes floatY {
    from { transform: translateY(0); }
    to { transform: translateY(-30px); }
}

.hero-in {
    position: relative;
    z-index: 1;
    max-width: 1260px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 1.5rem;
}

.typing-container {
    display: inline-block;
    font-size: 0.85em;
}

.typing-text {
    border-right: 3px solid var(--gd);
    padding-right: 8px;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-gd,
.btn-ow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-gd::before,
.btn-ow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-gd:hover::before,
.btn-ow:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gd {
    background: linear-gradient(135deg, #f5a623, #e09610);
    color: white;
    box-shadow: 0 8px 25px rgba(245,166,35,0.3);
}

.btn-gd:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(245,166,35,0.5);
}

.btn-gd:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-ow {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-ow:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

.btn-ow:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-gd i,
.btn-ow i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gd:hover i {
    transform: translateX(3px);
}

.btn-ow:hover i {
    transform: rotate(15deg);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.hs {
    text-align: center;
}

.hn {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    font-family: 'Playfair Display', serif;
}

.hl {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.3rem;
}

/* EXAM BADGES */
.exam-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.exam-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.exam-badge:nth-child(1) { animation-delay: 0.1s; }
.exam-badge:nth-child(2) { animation-delay: 0.2s; }
.exam-badge:nth-child(3) { animation-delay: 0.3s; }
.exam-badge:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.exam-badge:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.eb-icon {
    font-size: 2rem;
    color: var(--gd);
    margin-bottom: 0.5rem;
}

.eb-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

/* HERO CARDS */
.hcard {
    position: relative;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInRight 0.8s ease forwards;
}

.hcard-1 { animation-delay: 0.5s; }
.hcard-2 { animation-delay: 0.7s; }
.hcard-3 { animation-delay: 0.9s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hc-ico {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.hc-t .t {
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 0.2rem;
}

.hc-t .s {
    font-size: 0.813rem;
    color: rgba(255,255,255,0.7);
}

/* SECTIONS */
section {
    padding: 5rem 0;
}

.sec-in {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sec-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.sec-head.in-view {
    opacity: 1;
    transform: translateY(0);
}

.sh-tag {
    display: inline-block;
    background: var(--bp);
    color: var(--ba);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sh-h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--bd);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sh-p {
    font-size: 1.125rem;
    color: var(--gr);
    line-height: 1.7;
}

/* ABOUT SECTION */
#about {
    background: var(--ow);
}

.ab-g {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ab-l {
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slow);
}

.ab-l.visible {
    opacity: 1;
    transform: translateX(0);
}

.ab-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.ab-img {
    width: 100%;
    height: auto;
    display: block;
}

.ab-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: var(--gradient-accent);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.ab-badge-n {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    font-family: 'Playfair Display', serif;
    display: block;
}

.ab-badge-t {
    font-size: 0.875rem;
    color: white;
    font-weight: 600;
}

.ab-img-box-2 {
    margin-top: 2rem;
    width: 70%;
    margin-left: auto;
}

.ab-r {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slow);
}

.ab-r.visible {
    opacity: 1;
    transform: translateX(0);
}

.ab-h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bd);
    margin-bottom: 1rem;
}

.ab-p {
    font-size: 1.063rem;
    color: var(--gr);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ab-feat {
    display: grid;
    gap: 1.5rem;
}

.af {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.af.visible {
    opacity: 1;
    transform: translateY(0);
}

.af:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.af-ico {
    width: 50px;
    height: 50px;
    background: var(--bp);
    color: var(--ba);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.af-t h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bd);
    margin-bottom: 0.3rem;
}

.af-t p {
    font-size: 0.938rem;
    color: var(--gr);
    line-height: 1.6;
}

/* DIRECTOR SECTION */
.dir-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dir-l {
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slow);
}

.dir-l.visible {
    opacity: 1;
    transform: translateX(0);
}

.dir-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dir-img {
    width: 100%;
    height: auto;
}

.dir-badge {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.dir-img-small {
    margin-top: 2rem;
    width: 60%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.5s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.dir-img-small.visible {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dir-r {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slow);
}

.dir-r.visible {
    opacity: 1;
    transform: translateX(0);
}

.dir-h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bd);
    margin-bottom: 1rem;
}

.dir-p {
    font-size: 1.063rem;
    color: var(--gr);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.dir-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ds {
    text-align: center;
    padding: 1.5rem;
    background: var(--ow);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.9);
}

.ds.visible {
    animation: scaleIn 0.5s ease forwards;
}

.ds:nth-child(1).visible { animation-delay: 0.1s; }
.ds:nth-child(2).visible { animation-delay: 0.2s; }
.ds:nth-child(3).visible { animation-delay: 0.3s; }

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ds i {
    font-size: 2rem;
    color: var(--ba);
    margin-bottom: 0.5rem;
}

.ds div {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bd);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.3rem;
}

.ds span {
    font-size: 0.875rem;
    color: var(--gr);
}

.dir-quote {
    background: var(--bp);
    padding: 2rem;
    border-left: 4px solid var(--ba);
    border-radius: 12px;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--bd);
    line-height: 1.7;
}

.dir-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--ba);
    font-size: 0.938rem;
}

/* COURSES SECTION */
#courses {
    background: var(--ow);
}

.crs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.crs-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.crs-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.crs-card:nth-child(1).visible { animation-delay: 0.1s; }
.crs-card:nth-child(2).visible { animation-delay: 0.2s; }
.crs-card:nth-child(3).visible { animation-delay: 0.3s; }
.crs-card:nth-child(4).visible { animation-delay: 0.4s; }

.crs-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.crs-ico {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.crs-h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bd);
    margin-bottom: 1rem;
}

.crs-p {
    color: var(--gr);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.crs-list {
    list-style: none;
    margin-bottom: 2rem;
}

.crs-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.938rem;
    color: var(--td);
}

.crs-list i {
    color: var(--ba);
}

.crs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.crs-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* HOSTEL SECTION */
.hostel-section {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f3ff 100%);
}

.hostel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.hostel-images {
    display: grid;
    gap: 1rem;
}

.hostel-img-main {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hostel-img-main.visible {
    opacity: 1;
}

.hostel-img-main img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.hostel-img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hostel-img-row.visible {
    opacity: 1;
}

.hostel-img-row img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.hostel-h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bd);
    margin-bottom: 2rem;
}

.hostel-feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hostel-feat {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    opacity: 0;
    transform: scale(0.95);
}

.hostel-feat.visible {
    animation: scaleIn 0.5s ease forwards;
}

.hostel-feat:nth-child(1).visible { animation-delay: 0.1s; }
.hostel-feat:nth-child(2).visible { animation-delay: 0.15s; }
.hostel-feat:nth-child(3).visible { animation-delay: 0.2s; }
.hostel-feat:nth-child(4).visible { animation-delay: 0.25s; }
.hostel-feat:nth-child(5).visible { animation-delay: 0.3s; }
.hostel-feat:nth-child(6).visible { animation-delay: 0.35s; }
.hostel-feat:nth-child(7).visible { animation-delay: 0.4s; }
.hostel-feat:nth-child(8).visible { animation-delay: 0.45s; }

.hostel-feat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hf-icon {
    width: 45px;
    height: 45px;
    background: var(--bp);
    color: var(--ba);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hf-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bd);
    margin-bottom: 0.2rem;
}

.hf-text p {
    font-size: 0.875rem;
    color: var(--gr);
}

.hostel-cta {
    text-align: center;
}

/* GALLERY */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gal-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: scale(0.95);
}

.gal-item.visible {
    animation: scaleIn 0.5s ease forwards;
}

.gal-item:nth-child(1).visible { animation-delay: 0.1s; }
.gal-item:nth-child(2).visible { animation-delay: 0.15s; }
.gal-item:nth-child(3).visible { animation-delay: 0.2s; }
.gal-item:nth-child(4).visible { animation-delay: 0.25s; }
.gal-item:nth-child(5).visible { animation-delay: 0.3s; }
.gal-item:nth-child(6).visible { animation-delay: 0.35s; }

.gal-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gal-wide {
    grid-column: span 2;
}

.gal-wide img {
    height: 400px;
}

.gal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,31,78,0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.gal-item:hover .gal-overlay {
    transform: translateY(0);
}

.gal-item:hover img {
    transform: scale(1.05);
}

.gal-overlay h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

/* CONTACT */
#contact {
    background: var(--ow);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.ci-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateX(-30px);
}

.ci-item.visible {
    animation: slideInLeft 0.6s ease forwards;
}

.ci-item:nth-child(1).visible { animation-delay: 0.1s; }
.ci-item:nth-child(2).visible { animation-delay: 0.2s; }
.ci-item:nth-child(3).visible { animation-delay: 0.3s; }
.ci-item:nth-child(4).visible { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ci-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.ci-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.ci-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bd);
    margin-bottom: 0.5rem;
}

.ci-text p {
    color: var(--gr);
    line-height: 1.6;
}

.ci-text a {
    color: var(--ba);
    transition: var(--transition-fast);
}

.ci-text a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bd);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--bd);
    font-size: 0.938rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--br);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ba);
    box-shadow: 0 0 0 3px rgba(30,111,217,0.1);
}

.btn-block {
    width: 100%;
}

/* Enhanced Submit Button Animation */
#enqSubmitBtn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5a623 0%, #e09610 50%, #f5a623 100%);
    background-size: 200% 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: btnGradShift 3s ease-in-out infinite;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@keyframes btnGradShift {
    0%, 100% { background-position: 0% 50%; box-shadow: 0 6px 20px rgba(245,166,35,0.35); }
    50% { background-position: 100% 50%; box-shadow: 0 10px 35px rgba(245,166,35,0.55); }
}

#enqSubmitBtn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
    animation: enqShimmer 2.4s ease-in-out infinite;
}

@keyframes enqShimmer {
    0% { left: -70%; }
    55%, 100% { left: 130%; }
}

#enqSubmitBtn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f5a623, #1e6fd9, #f5a623);
    background-size: 300% 300%;
    z-index: -1;
    animation: enqBorderRotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

#enqSubmitBtn:hover::after { opacity: 1; }

@keyframes enqBorderRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

#enqSubmitBtn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 45px rgba(245,166,35,0.55) !important;
    animation: none;
}

#enqSubmitBtn:active {
    transform: translateY(-1px) scale(0.99);
    transition: all 0.1s ease;
}

#enqSubmitBtn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#enqSubmitBtn:hover i {
    transform: translateX(5px) rotate(15deg);
}

/* Modal Animations Enhancement */
.modal-content {
    animation: modalSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* FOOTER */
footer {
    background: var(--bd);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
}

.footer-in {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.15);
}

.footer-social a:hover { transform: translateY(-5px) scale(1.12); }
.footer-social a.social-fb:hover  { background: #1877F2; border-color: #1877F2; box-shadow: 0 6px 20px rgba(24,119,242,0.5); }
.footer-social a.social-yt:hover  { background: #FF0000; border-color: #FF0000; box-shadow: 0 6px 20px rgba(255,0,0,0.5); }
.footer-social a.social-ig:hover  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #dc2743; box-shadow: 0 6px 20px rgba(220,39,67,0.5); }
.footer-social a.social-wa:hover  { background: #25D366; border-color: #25D366; box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

/* ══════════════════════════════════════════
   FLOATING SOCIAL CLUSTER
══════════════════════════════════════════ */
.social-float-cluster {
    position: fixed;
    bottom: 10.5rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 9998;
}

.sf-btn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    animation: sfEntrance 0.5s ease both;
}
.sf-btn:nth-child(1) { animation-delay: 0.1s; }
.sf-btn:nth-child(2) { animation-delay: 0.2s; }
.sf-btn:nth-child(3) { animation-delay: 0.3s; }

@keyframes sfEntrance {
    from { opacity: 0; transform: translateX(30px) scale(0.7); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* Brand colors */
.sf-fb { background: #1877F2; animation-name: sfEntrance, sfFbPulse; animation-duration: 0.5s, 3s; animation-delay: 0.1s, 1.5s; animation-fill-mode: both, none; animation-iteration-count: 1, infinite; animation-timing-function: ease, ease-in-out; }
.sf-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); animation-name: sfEntrance, sfIgPulse; animation-duration: 0.5s, 3s; animation-delay: 0.2s, 2s; animation-fill-mode: both, none; animation-iteration-count: 1, infinite; animation-timing-function: ease, ease-in-out; }
.sf-yt { background: #FF0000; animation-name: sfEntrance, sfYtPulse; animation-duration: 0.5s, 3s; animation-delay: 0.3s, 2.5s; animation-fill-mode: both, none; animation-iteration-count: 1, infinite; animation-timing-function: ease, ease-in-out; }

@keyframes sfFbPulse { 0%,100%{ box-shadow:0 4px 16px rgba(24,119,242,0.35);} 50%{ box-shadow:0 4px 30px rgba(24,119,242,0.7),0 0 0 8px rgba(24,119,242,0.1);} }
@keyframes sfIgPulse { 0%,100%{ box-shadow:0 4px 16px rgba(220,39,67,0.35);} 50%{ box-shadow:0 4px 30px rgba(220,39,67,0.7),0 0 0 8px rgba(220,39,67,0.1);} }
@keyframes sfYtPulse { 0%,100%{ box-shadow:0 4px 16px rgba(255,0,0,0.35);} 50%{ box-shadow:0 4px 30px rgba(255,0,0,0.7),0 0 0 8px rgba(255,0,0,0.1);} }

.sf-btn:hover {
    transform: scale(1.18) translateX(-4px);
}

/* Tooltip labels */
.sf-tooltip {
    position: absolute;
    right: 56px;
    background: rgba(10,31,78,0.92);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    font-family: 'DM Sans', sans-serif;
}
.sf-tooltip::after {
    content: '';
    position: absolute;
    left: 100%; top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(10,31,78,0.92);
}
.sf-btn:hover .sf-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.footer-col h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--gd);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--gd);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom i {
    color: #e74c3c;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,31,78,0.88);
    backdrop-filter: blur(3px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 18px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    animation: modalSlideUp 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
    box-shadow: 0 8px 40px rgba(10,31,78,0.22), 0 2px 8px rgba(10,31,78,0.10);
    border: 1.5px solid rgba(30,111,217,0.10);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--bp);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--ba);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--ba);
    color: white;
    transform: rotate(90deg);
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    color: var(--bd);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--gr);
    margin-bottom: 2rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-in,
    .ab-g,
    .dir-grid,
    .contact-grid,
    .hostel-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-h1 {
        font-size: 2.75rem;
    }
    
    .exam-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nl,
    .tb-l {
        display: none;
    }
    
    .ham {
        display: block;
    }
    
    .hero-h1 {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .sh-h2 {
        font-size: 2rem;
    }
    
    .crs-grid {
        grid-template-columns: 1fr;
    }
    
    .exam-badges {
        grid-template-columns: 1fr 1fr;
    }
    
    .hostel-feat-grid,
    .dir-stats {
        grid-template-columns: 1fr;
    }
    
    .gal-wide {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-h1 {
        font-size: 1.875rem;
    }
    
    .exam-badges {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
    }
}
/* ═══════════════════════════════════════════
   EXAM LOGOS WITH IMAGES FIX
════════════════════════════════════════════ */
.els-item img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.els-item:hover img {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 8px 24px rgba(30, 111, 217, 0.4);
    background: #ffffff;
}

/* ═══════════════════════════════════════════
   HOSTEL SHOWCASE SECTION
════════════════════════════════════════════ */
.hostel-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.hostel-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hostel-img-large {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: fadeInUp 0.8s ease;
}

.hostel-img-large img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hostel-img-large:hover img {
    transform: scale(1.05);
}

.hostel-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,31,78,0.95), transparent);
    padding: 2rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.hostel-img-large:hover .hostel-img-overlay {
    transform: translateY(0);
}

.hostel-img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.hostel-img-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease;
}

.hostel-img-item:nth-child(1) { animation-delay: 0.1s; }
.hostel-img-item:nth-child(2) { animation-delay: 0.2s; }
.hostel-img-item:nth-child(3) { animation-delay: 0.3s; }
.hostel-img-item:nth-child(4) { animation-delay: 0.4s; }

.hostel-img-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.hostel-img-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.hostel-img-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,31,78,0.9), transparent);
    padding: 1rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.hostel-img-item:hover .hostel-img-label {
    transform: translateY(0);
}

.hostel-text {
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hostel-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--bd);
    margin-bottom: 1rem;
    line-height: 1.3;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ═══════════════════════════════════════════
   FACULTY SECTION
════════════════════════════════════════════ */
.faculty-section {
    background: linear-gradient(135deg, #f4f8ff 0%, #e8f2ff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.faculty-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,111,217,0.08), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.faculty-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.faculty-image-wrap {
    position: relative;
    animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faculty-image-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #1e6fd9, #f5a623);
    border-radius: 24px;
    z-index: 0;
    opacity: 0.15;
}

.faculty-main-img {
    position: relative;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    z-index: 1;
    animation: facultyImageReveal 1.2s ease 0.3s both;
}

@keyframes facultyImageReveal {
    from {
        opacity: 0.3;
        filter: grayscale(100%) blur(5px);
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        filter: grayscale(0%) blur(0);
        transform: scale(1);
    }
}

.faculty-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #f5a623, #e09610);
    color: white;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(245,166,35,0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.faculty-badge i {
    font-size: 2rem;
    opacity: 0.9;
}

.fb-num {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.fb-text {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.faculty-content {
    animation: fadeInRight 0.8s ease 0.2s both;
}

.faculty-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gr);
    margin-bottom: 2rem;
}

.faculty-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.fsm-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fsm-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(30,111,217,0.15);
}

.fsm-item i {
    font-size: 2rem;
    color: #1e6fd9;
}

.fsm-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bd);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.fsm-label {
    font-size: 0.8rem;
    color: var(--gr);
    margin-top: 0.2rem;
}

.faculty-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.fh-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #f5a623;
    transition: all 0.3s ease;
}

.fh-item:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.fh-item i {
    font-size: 1.5rem;
    color: #1e6fd9;
    margin-top: 0.2rem;
}

.fh-item h4 {
    color: var(--bd);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.fh-item p {
    color: var(--gr);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hostel-showcase,
    .faculty-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hostel-img-large img {
        height: 350px;
    }

    .faculty-stats-mini {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hostel-img-grid {
        grid-template-columns: 1fr;
    }

    .faculty-stats-mini {
        grid-template-columns: 1fr;
    }

    .hostel-text h3,
    .faculty-content h2 {
        font-size: 1.75rem;
    }
}

/* ═══════════════════════════════════════════
   Z-INDEX LAYERING FIX
════════════════════════════════════════════ */
/* NEVER give all sections z-index:10 — it breaks the hero slider */
section:not(#home) {
    position: relative;
    z-index: auto;
}

#navbar {
    z-index: 999 !important;
}

.mmenu {
    z-index: 9999 !important;
}

#page-loader {
    z-index: 99999 !important;
}

/* Bottom ticker stays below content */
.bottom-ticker-bar {
    z-index: 5 !important;
}

/* Enquiry modal above everything except loader */
#enqModal {
    z-index: 10000 !important;
}

/* ═══════════════════════════════════════════
   ENHANCED ANIMATIONS
════════════════════════════════════════════ */
@keyframes floatSmooth {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes scaleIn {
    0% { 
        opacity: 0; 
        transform: scale(0.8); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

@keyframes slideInLeft {
    0% { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInRight {
    0% { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(245, 166, 35, 0.6), 0 0 60px rgba(30, 111, 217, 0.3);
    }
}

/* Hover states handled by transform directly, no conflicting infinite animations */

/* Add entrance animations to sections */
.sec-head {
    animation: scaleIn 0.8s ease-out;
}

.ab-l {
    animation: slideInLeft 1s ease-out;
}

.ab-r {
    animation: slideInRight 1s ease-out;
}
/* ═══════════════════════════════════════════════════════════════
   VISUAL UPGRADE — All plain/white sections get image BGs,
   richer animations & better depth
═══════════════════════════════════════════════════════════════ */

/* ── ABOUT SECTION ────────────────────────────────────────────
   Was: plain --ow (off-white). Now: rich layered dark-blue bg
   with classroom photo + gradient overlay.
──────────────────────────────────────────────────────────────*/
#about {
    background: linear-gradient(135deg, #060f2a 0%, #0a1f4e 60%, #0f2d72 100%) !important;
    position: relative;
    overflow: hidden;
}
#about::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://res.cloudinary.com/dop3lgwrn/image/upload/v1775131694/teaching-classroom_cliekh.jpg') center/cover no-repeat;
    opacity: 0.13;
    filter: grayscale(30%) brightness(0.7);
    pointer-events: none;
}
#about::after {
    content: 'SINCE\00a01999';
    position: absolute; bottom: -30px; right: -10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(70px, 14vw, 170px);
    color: rgba(255,255,255,0.025);
    letter-spacing: 0.08em;
    pointer-events: none; user-select: none; line-height: 1;
}
/* Floating glow orb in about */
#about .sec-in::before {
    content: '';
    position: absolute; top: -100px; left: -150px;
    width: 450px; height: 450px; border-radius: 50%;
    background: radial-gradient(circle, rgba(30,111,217,0.2) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: aboutOrb 9s ease-in-out infinite;
}
@keyframes aboutOrb {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(40px, -40px); }
}

/* Text color overrides for dark about bg */
#about .sh-h2 { color: white !important; }
#about .sh-p  { color: rgba(255,255,255,0.6) !important; }
#about .sh-tag {
    background: rgba(245,166,35,0.15) !important;
    color: #f5a623 !important;
    border: 1px solid rgba(245,166,35,0.35);
}
#about .ab-h3 { color: white !important; }
#about .ab-p  { color: rgba(255,255,255,0.65) !important; }

/* About feature cards on dark bg */
#about .af {
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    transition: all 0.35s ease;
}
#about .af:hover {
    background: rgba(255,255,255,0.13) !important;
    transform: translateY(-5px) translateX(6px) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4) !important;
    border-color: rgba(245,166,35,0.35) !important;
}
#about .af-ico {
    background: linear-gradient(135deg, rgba(30,111,217,0.4), rgba(74,158,255,0.25)) !important;
    color: #4a9eff !important;
    border: 1px solid rgba(30,111,217,0.4);
}
#about .af-t h4 { color: white !important; }
#about .af-t p  { color: rgba(255,255,255,0.6) !important; }

/* Entrance animation for about feature items */
#about .af {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease, background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
#about .af.visible { opacity: 1; transform: translateY(0); }
#about .af:nth-child(1).visible { transition-delay: 0.05s; }
#about .af:nth-child(2).visible { transition-delay: 0.15s; }
#about .af:nth-child(3).visible { transition-delay: 0.25s; }
#about .af:nth-child(4).visible { transition-delay: 0.35s; }


/* ── DIRECTOR SECTION ─────────────────────────────────────────
   Was: no background (white). Now: deep navy + photo pattern.
──────────────────────────────────────────────────────────────*/
#director {
    background: linear-gradient(135deg, #0a1f4e 0%, #07163a 50%, #0d2260 100%);
    position: relative;
    overflow: hidden;
}
#director::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://res.cloudinary.com/dop3lgwrn/image/upload/v1775131692/director-blackboard_bmhjwf.jpg') center 30%/cover no-repeat;
    opacity: 0.10;
    filter: grayscale(50%) brightness(0.6);
    pointer-events: none;
}
/* Warm golden glow from the right (director's side) */
#director::after {
    content: '';
    position: absolute; top: 10%; right: -100px;
    width: 550px; height: 550px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    animation: dirOrb 11s ease-in-out infinite;
}
@keyframes dirOrb {
    0%,100% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(-30px); opacity: 1; }
}

/* Watermark text */
#director .sec-in {
    position: relative; z-index: 1;
}
#director .sec-in::before {
    content: 'LEGACY';
    position: absolute; bottom: -50px; left: -20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(80px, 16vw, 200px);
    color: rgba(255,255,255,0.022);
    letter-spacing: 0.06em;
    pointer-events: none; user-select: none; line-height: 1;
}

/* Text overrides */
#director .sh-h2  { color: white !important; }
#director .sh-tag {
    background: rgba(245,166,35,0.15) !important;
    color: #f5a623 !important;
    border: 1px solid rgba(245,166,35,0.3);
}
#director .dir-h3  { color: white !important; }
#director .dir-p   { color: rgba(255,255,255,0.62) !important; }

/* Director stats cards */
#director .ds {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(12px);
    transition: all 0.35s;
}
#director .ds:hover {
    background: rgba(255,255,255,0.14) !important;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    border-color: rgba(245,166,35,0.3);
}
#director .ds i   { color: #4a9eff !important; }
#director .ds div { color: white !important; }
#director .ds span { color: rgba(255,255,255,0.6) !important; }

/* Director quote */
#director .dir-quote {
    background: rgba(255,255,255,0.07) !important;
    border-left: 4px solid #f5a623 !important;
    color: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(10px);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
#director .dir-quote cite { color: #f5a623 !important; }

/* Director gallery thumbnails */
#director .dir-gallery img {
    border: 2px solid rgba(255,255,255,0.15) !important;
    transition: all 0.35s;
}
#director .dir-gallery img:hover {
    border-color: #f5a623 !important;
    box-shadow: 0 8px 24px rgba(245,166,35,0.3);
    transform: scale(1.06) translateY(-4px);
}
/* Director badge */
#director .dir-badge {
    background: linear-gradient(135deg, #f5a623, #e09610) !important;
    color: #0a1f4e !important;
    box-shadow: 0 8px 30px rgba(245,166,35,0.4) !important;
}


/* ── COURSES SECTION ──────────────────────────────────────────
   Was: plain --ow. Now: deep dark + classroom photo + mesh.
──────────────────────────────────────────────────────────────*/
#courses {
    background: linear-gradient(160deg, #06101f 0%, #0a1f4e 55%, #0d2667 100%) !important;
    position: relative;
    overflow: hidden;
}
#courses::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://res.cloudinary.com/dop3lgwrn/image/upload/v1775131694/students-group_z0p9tl.jpg') center/cover no-repeat;
    opacity: 0.10;
    filter: grayscale(40%) brightness(0.5);
    pointer-events: none;
}
#courses::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(30,111,217,0.18) 0%, transparent 45%),
        radial-gradient(circle at 90% 10%, rgba(245,166,35,0.12) 0%, transparent 40%);
    pointer-events: none;
}
#courses .sec-in { position: relative; z-index: 1; }

/* Section head on dark bg */
#courses .sh-h2  { color: white !important; }
#courses .sh-p   { color: rgba(255,255,255,0.6) !important; }
#courses .sh-tag {
    background: rgba(245,166,35,0.15) !important;
    color: #f5a623 !important;
    border: 1px solid rgba(245,166,35,0.3);
}

/* Course cards: glassmorphism on dark bg */
#courses .crs-card {
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.13) !important;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 36px rgba(0,0,0,0.35) !important;
    position: relative; overflow: hidden;
}
#courses .crs-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #1e6fd9, #f5a623);
    opacity: 0; transition: opacity 0.3s;
}
#courses .crs-card:hover {
    background: rgba(255,255,255,0.13) !important;
    border-color: rgba(245,166,35,0.4) !important;
    transform: translateY(-12px) !important;
    box-shadow: 0 28px 60px rgba(0,0,0,0.5) !important;
}
#courses .crs-card:hover::before { opacity: 1; }

/* Course card text on dark */
#courses .crs-h3  { color: white !important; }
#courses .crs-p   { color: rgba(255,255,255,0.62) !important; }
#courses .crs-list li { color: rgba(255,255,255,0.8) !important; }
#courses .crs-list i  { color: #4a9eff !important; }
#courses .crs-ico {
    background: linear-gradient(135deg, #1e6fd9, #4a9eff) !important;
    box-shadow: 0 8px 24px rgba(30,111,217,0.4);
    transition: all 0.35s;
}
#courses .crs-card:hover .crs-ico {
    background: linear-gradient(135deg, #f5a623, #ffd06b) !important;
    box-shadow: 0 8px 24px rgba(245,166,35,0.4) !important;
}


/* ── HOSTEL SECTION ───────────────────────────────────────────
   Was: faint light-blue gradient. Now: dark navy + building photo.
──────────────────────────────────────────────────────────────*/
.hostel-section {
    background: linear-gradient(135deg, #07163a 0%, #0a1f4e 50%, #0f2d72 100%) !important;
    position: relative;
    overflow: hidden;
}
.hostel-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://res.cloudinary.com/dop3lgwrn/image/upload/v1775131692/building1_lec8ou.jpg') center/cover no-repeat;
    opacity: 0.12;
    filter: grayscale(30%) brightness(0.55);
    pointer-events: none;
}
.hostel-section::after {
    content: '';
    position: absolute; bottom: -50px; right: -80px;
    width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.14) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    animation: hostelOrb 12s ease-in-out infinite;
}
@keyframes hostelOrb {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(-30px, -30px); }
}
.hostel-section .sec-in { position: relative; z-index: 1; }

/* Text overrides */
.hostel-section .sh-h2 { color: white !important; }
.hostel-section .sh-p  { color: rgba(255,255,255,0.6) !important; }
.hostel-section .sh-tag {
    background: rgba(245,166,35,0.15) !important;
    color: #f5a623 !important;
    border: 1px solid rgba(245,166,35,0.3);
}
.hostel-section .hostel-h3  { color: white !important; }
.hostel-section .hostel-text p { color: rgba(255,255,255,0.6) !important; }
.hostel-section .hostel-text h3 { color: white !important; }

/* Hostel feature cards on dark */
.hostel-section .hostel-feat {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.3) !important;
    transition: all 0.35s;
}
.hostel-section .hostel-feat:hover {
    background: rgba(255,255,255,0.14) !important;
    transform: translateY(-5px) !important;
    border-color: rgba(245,166,35,0.35) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4) !important;
}
.hostel-section .hf-icon {
    background: linear-gradient(135deg, rgba(30,111,217,0.4), rgba(74,158,255,0.25)) !important;
    color: #4a9eff !important;
    border: 1px solid rgba(30,111,217,0.4);
}
.hostel-section .hf-text h4 { color: white !important; }
.hostel-section .hf-text p  { color: rgba(255,255,255,0.6) !important; }

/* Hostel image items hover ring */
.hostel-img-item { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.hostel-img-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45) !important;
}


/* ── INFRA SECTION ────────────────────────────────────────────
   Was: plain #f8f9fa. Now: mid-tone dark navy + classroom.
──────────────────────────────────────────────────────────────*/
.infra-section {
    background: linear-gradient(135deg, #060e25 0%, #0a1f4e 60%, #0d2363 100%) !important;
    position: relative;
    overflow: hidden;
}
.infra-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://res.cloudinary.com/dop3lgwrn/image/upload/v1775131692/classroom_vgyxvu.jpg') center/cover no-repeat;
    opacity: 0.11;
    filter: grayscale(40%) brightness(0.55);
    pointer-events: none;
}
.infra-section::after {
    content: '';
    position: absolute; top: -80px; left: -80px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(30,111,217,0.2) 0%, transparent 70%);
    filter: blur(90px); pointer-events: none;
    animation: infraOrb 10s ease-in-out infinite;
}
@keyframes infraOrb {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(30px, 30px); }
}
.infra-section .sec-in,
.infra-section .infra-grid { position: relative; z-index: 1; }

/* Text overrides */
.infra-section .sh-h2,
.infra-section .infra-text h3 { color: white !important; }
.infra-section .sh-p,
.infra-section .infra-text p  { color: rgba(255,255,255,0.6) !important; }
.infra-section .sh-tag {
    background: rgba(245,166,35,0.15) !important;
    color: #f5a623 !important;
    border: 1px solid rgba(245,166,35,0.3);
}
.infra-section .infra-list li {
    color: rgba(255,255,255,0.8) !important;
    border-bottom-color: rgba(255,255,255,0.08) !important;
}
.infra-section .infra-list li i { color: #4a9eff !important; }

/* Infra image items */
.infra-img-item {
    box-shadow: 0 8px 32px rgba(0,0,0,0.45) !important;
    border: 2px solid rgba(255,255,255,0.08);
    transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.infra-img-item:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6) !important;
    border-color: rgba(245,166,35,0.3) !important;
}


/* ── CONTACT SECTION ──────────────────────────────────────────
   Was: plain --ow. Now: dark navy + students photo.
──────────────────────────────────────────────────────────────*/
#contact {
    background: linear-gradient(160deg, #060f2a 0%, #0a1f4e 50%, #0d2464 100%) !important;
    position: relative;
    overflow: hidden;
}
#contact::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://res.cloudinary.com/dop3lgwrn/image/upload/v1775131694/students-group_z0p9tl.jpg') center/cover no-repeat;
    opacity: 0.09;
    filter: grayscale(50%) brightness(0.5);
    pointer-events: none;
}
#contact::after {
    content: '';
    position: absolute; top: -50px; right: -100px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
    filter: blur(100px); pointer-events: none;
    animation: contactOrb 13s ease-in-out infinite;
}
@keyframes contactOrb {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(30px); }
}
#contact .sec-in { position: relative; z-index: 1; }

/* Text overrides */
#contact .sh-h2 { color: white !important; }
#contact .sh-p  { color: rgba(255,255,255,0.6) !important; }
#contact .sh-tag {
    background: rgba(245,166,35,0.15) !important;
    color: #f5a623 !important;
    border: 1px solid rgba(245,166,35,0.3);
}

/* Contact info items */
#contact .ci-item {
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    transition: all 0.35s;
}
#contact .ci-item:hover {
    background: rgba(255,255,255,0.13) !important;
    transform: translateY(-5px) !important;
    border-color: rgba(245,166,35,0.35) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4) !important;
}
#contact .ci-text h4 { color: white !important; }
#contact .ci-text p  { color: rgba(255,255,255,0.6) !important; }
#contact .ci-text a  { color: #4a9eff !important; }

/* Contact form */
#contact .contact-form {
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4) !important;
}
#contact .contact-form h3 { color: white !important; }
#contact .form-group input,
#contact .form-group select,
#contact .form-group textarea {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.18) !important;
    color: white !important;
}
#contact .form-group input::placeholder,
#contact .form-group textarea::placeholder { color: rgba(255,255,255,0.4) !important; }
#contact .form-group input:focus,
#contact .form-group select:focus,
#contact .form-group textarea:focus {
    border-color: #f5a623 !important;
    background: rgba(255,255,255,0.12) !important;
    box-shadow: 0 0 0 3px rgba(245,166,35,0.2) !important;
}
#contact .form-group select option { background: #0a1f4e; color: white; }


/* ── GALLERY SECTION ──────────────────────────────────────────
   Already has a background but let's deepen it.
──────────────────────────────────────────────────────────────*/
#gallery {
    background: linear-gradient(135deg, #06101f 0%, #0a1f4e 100%) !important;
    position: relative;
}
#gallery .sh-h2 { color: white !important; }
#gallery .sh-p  { color: rgba(255,255,255,0.55) !important; }
#gallery .sh-tag {
    background: rgba(245,166,35,0.15) !important;
    color: #f5a623 !important;
    border: 1px solid rgba(245,166,35,0.3);
}
#gallery .gal-extra-item img {
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}
#gallery .gal-extra-item:hover img {
    transform: scale(1.06) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}


/* ── PRICING SECTION ──────────────────────────────────────────
   Already not-white but make the header text colours consistent.
──────────────────────────────────────────────────────────────*/
#pricing .sec-head .sh-h2 { color: var(--bd) !important; }


/* ── SHARED: Section "in-view" entrance upgrade ───────────────
   Smoother staggered reveal for headings across all upgraded sections
──────────────────────────────────────────────────────────────*/
#about .sec-head,
#director .sec-head,
#courses .sec-head,
.hostel-section .sec-head,
.infra-section .sec-head,
#contact .sec-head,
#gallery .sec-head {
    position: relative; z-index: 1;
}

/* Pulse ring on section tag badges */
#about .sh-tag,
#director .sh-tag,
#courses .sh-tag,
.hostel-section .sh-tag,
.infra-section .sh-tag,
#contact .sh-tag,
#gallery .sh-tag {
    position: relative;
    animation: tagPulse 3s ease-in-out infinite;
}
@keyframes tagPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
    50% { box-shadow: 0 0 0 6px rgba(245,166,35,0.08); }
}
/* ═══════════════════════════════════════════
   DRPS TUTORIAL — COMPLETE MOBILE FIX
   Paste this at the VERY BOTTOM of styles.css
════════════════════════════════════════════ */

@media (max-width: 768px) {

    html { font-size: 14px; }
    .sec-in { padding: 0 1rem !important; }
    section { padding: 2.5rem 0 !important; }
    .sh-h2 { font-size: 1.5rem !important; }
    .sh-p  { font-size: 0.9rem !important; }
    .sec-head { margin-bottom: 1.5rem !important; }
    .topbar { display: none !important; }
    .ticker span { font-size: 0.78rem; padding: 0 1.5rem; }
    .logo-img { width: 32px !important; height: 32px !important; }
    .logo-txt .nm { font-size: 0.9rem !important; }

    /* HERO */
    .hero-in {
        grid-template-columns: 1fr !important;
        padding: 4.5rem 1rem 2.5rem !important;
        gap: 1.5rem !important;
        text-align: center;
    }
    .hero-h1 { font-size: 1.7rem !important; line-height: 1.2 !important; }
    .hero-p  { font-size: 0.9rem !important; }
    .hero-btns { flex-direction: column !important; align-items: stretch !important; gap: 0.6rem !important; }
    .btn-gd, .btn-ow { padding: 0.8rem 1rem !important; font-size: 0.88rem !important; justify-content: center; width: 100%; }
    .hero-stats { flex-direction: row !important; justify-content: center; gap: 1.2rem !important; flex-wrap: wrap; }
    .hn { font-size: 1.6rem !important; }
    .hl { font-size: 0.72rem !important; }
    .exam-badges { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; }
    .exam-badge { padding: 0.8rem 0.5rem !important; }
    .eb-icon { font-size: 1.2rem !important; }
    .eb-text { font-size: 0.8rem !important; }
    .hcard { padding: 0.8rem !important; gap: 0.6rem !important; }
    .hc-ico { width: 36px !important; height: 36px !important; font-size: 0.9rem !important; }

    /* EXAM LOGOS */
    .els-item img { width: 55px !important; height: 55px !important; padding: 6px !important; }
    .els-label { font-size: 0.6rem !important; }
    .els-track { gap: 1.5rem !important; }

    /* STATS BAR */
    .sbn-grid { grid-template-columns: 1fr 1fr !important; gap: 0.8rem !important; padding: 0 1rem !important; }
    .sbn { padding: 1rem 0.5rem !important; }
    .sbn-n { font-size: 1.8rem !important; }
    .sbn-l { font-size: 0.72rem !important; }
    .stats-bar { padding: 2rem 0 !important; }

    /* ABOUT */
    .ab-g { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .ab-h3 { font-size: 1.3rem !important; }
    .ab-img-box-2 { width: 100% !important; margin-left: 0 !important; }
    .af { padding: 0.85rem !important; gap: 0.6rem !important; }
    .af-ico { width: 36px !important; height: 36px !important; font-size: 0.9rem !important; }
    .af-t h4 { font-size: 0.88rem !important; }
    .af-t p  { font-size: 0.78rem !important; }

    /* FEATURES */
    .feat-grid { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; padding: 0 1rem !important; margin-top: 1.5rem !important; }
    .feat-card { padding: 1.2rem 0.8rem !important; }
    .feat-icon { width: 46px !important; height: 46px !important; font-size: 1rem !important; margin-bottom: 0.6rem !important; }
    .feat-title { font-size: 0.82rem !important; }
    .feat-desc  { font-size: 0.73rem !important; }

    /* WHY DRPS */
    .why-cards { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
    .why-card { padding: 1.2rem !important; }
    .why-drpse { padding: 3rem 0 !important; }
    .why-inner { padding: 0 1rem !important; }

    /* DIRECTOR */
    .dir-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .dir-h3 { font-size: 1.3rem !important; }
    .dir-stats { grid-template-columns: repeat(3, 1fr) !important; gap: 0.5rem !important; }
    .ds { padding: 0.75rem 0.4rem !important; }
    .ds div { font-size: 1.3rem !important; }
    .ds span { font-size: 0.68rem !important; }
    .dir-quote { font-size: 0.85rem !important; padding: 1rem !important; }
    .dir-gallery img { height: 70px !important; }

    /* RESULTS — fix inline grid styles */
    #results [style*="grid-template-columns: 1.4fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    #results [style*="grid-template-columns: repeat(auto-fit, minmax(200px"] {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }
    #results [style*="min-height: 480px"] { min-height: 200px !important; }
    #results [style*="min-height: 228px"] { min-height: 110px !important; }
    #results [style*="padding: 2.5rem 2rem"] { padding: 1rem 0.75rem !important; }
    #results [style*="font-size: 3.5rem"] { font-size: 2rem !important; }
    #resultsScrollInner > div { width: 140px !important; height: 175px !important; }

    /* COURSES */
    .crs-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .crs-card { padding: 1.2rem !important; }
    .crs-ico  { width: 50px !important; height: 50px !important; font-size: 1.2rem !important; }
    .crs-h3   { font-size: 1.1rem !important; }
    .crs-list li { font-size: 0.82rem !important; }

    /* PRICING */
    .pr-grid { grid-template-columns: 1fr !important; gap: 1rem !important; padding: 0 1rem !important; }
    .pr-card.featured { transform: scale(1) !important; }
    .pr-amount { font-size: 1.8rem !important; }
    .dropper-price-big { font-size: 2rem !important; }
    .advert-poster-card { grid-template-columns: 1fr !important; }
    .advert-poster-img { min-height: 160px !important; }
    .price-compare { padding: 0 1rem !important; }
    .compare-table th, .compare-table td { padding: 0.5rem 0.4rem !important; font-size: 0.7rem !important; }
    .poster-content h2 { font-size: 1.3rem !important; }
    .poster-btns { flex-direction: column !important; align-items: stretch !important; }
    .poster-btn { width: 100%; justify-content: center; }

    /* HOSTEL */
    .hostel-showcase { grid-template-columns: 1fr !important; gap: 1.5rem !important; margin-top: 1rem !important; }
    .hostel-img-large img { height: 220px !important; }
    .hostel-img-grid { grid-template-columns: 1fr 1fr !important; gap: 0.5rem !important; }
    .hostel-img-item img { height: 110px !important; }
    .hostel-text h3 { font-size: 1.3rem !important; }
    #hostel .sh-h2  { font-size: 1.5rem !important; }
    .infra-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; padding: 0 1rem !important; margin-top: 1rem !important; }
    .infra-imgs { grid-template-columns: 1fr 1fr !important; }
    .infra-img-item { height: 120px !important; }
    .infra-img-item:first-child { grid-column: span 2 !important; height: 170px !important; }
    .infra-list li { font-size: 0.85rem !important; }
    #hostel [style*="padding:0.5rem 1.1rem"], #hostel [style*="padding: 0.5rem 1.1rem"] { padding: 0.35rem 0.7rem !important; font-size: 0.72rem !important; }

    /* FACULTY */
    .faculty-container { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .faculty-main-img { max-height: 260px; object-fit: cover; }
    .faculty-badge { bottom: 10px !important; right: 10px !important; padding: 0.6rem 0.8rem !important; }
    .fb-num { font-size: 1.2rem !important; }
    .fb-text { font-size: 0.6rem !important; }
    .faculty-stats-mini { grid-template-columns: 1fr 1fr 1fr !important; gap: 0.5rem !important; }
    .fsm-item { padding: 0.7rem 0.4rem !important; }
    .fsm-num  { font-size: 1rem !important; }
    .fsm-label { font-size: 0.62rem !important; }
    .faculty-section .sh-h2 { font-size: 1.4rem !important; }

    /* IMAGE SHOWCASE */
    .showcase-item { width: 170px !important; height: 120px !important; }
    .img-showcase-head h2 { font-size: 1.2rem !important; }

    /* GALLERY */
    .gal-grid { grid-template-columns: 1fr 1fr !important; gap: 0.5rem !important; }
    .gal-item img { height: 130px !important; }
    .gal-wide { grid-column: span 2 !important; }
    .gal-wide img { height: 170px !important; }
    .gal-extra { grid-template-columns: 1fr 1fr 1fr !important; gap: 0.5rem !important; }
    .gal-extra-item { height: 95px !important; }

    /* TESTIMONIALS */
    .test-card { min-width: 84vw !important; padding: 1.2rem !important; }
    .test-main-heading { font-size: 1.4rem !important; }
    .test-text { font-size: 0.84rem !important; }
    .test-trust-bar { gap: 1rem !important; padding: 1rem !important; flex-wrap: wrap !important; }
    .ttb-num { font-size: 1.3rem !important; }
    .ttb-div { display: none !important; }

    /* CONTACT */
    .contact-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .contact-form { padding: 1.2rem !important; }
    .ci-item { padding: 0.85rem !important; gap: 0.75rem !important; margin-bottom: 0.75rem !important; }
    .ci-icon { width: 40px !important; height: 40px !important; font-size: 0.95rem !important; }

    /* FOOTER */
    .footer-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    footer { padding: 2rem 0 1rem !important; }
    .footer-bottom { flex-direction: column !important; text-align: center !important; }

    /* WHATSAPP */
    .wa-float { bottom: 1rem !important; right: 1rem !important; width: 46px !important; height: 46px !important; font-size: 1.3rem !important; }
    .social-float-cluster { bottom: 9.5rem; right: 1rem; gap: 0.5rem; }
    .sf-btn { width: 42px; height: 42px; font-size: 1rem; }
    .sf-tooltip { display: none; }

    /* MODAL */
    .modal { padding: 0.75rem !important; }
    .modal-content { padding: 1.2rem !important; border-radius: 14px !important; max-height: 95vh !important; }
    .modal-content h2 { font-size: 1.3rem !important; }
    .form-group input, .form-group select, .form-group textarea { padding: 0.7rem 0.9rem !important; font-size: 0.88rem !important; }
}

@media (max-width: 400px) {
    .hero-h1 { font-size: 1.4rem !important; }
    .feat-grid { grid-template-columns: 1fr !important; }
    .faculty-stats-mini { grid-template-columns: 1fr !important; }
    .gal-grid { grid-template-columns: 1fr !important; }
    .gal-item img { height: 190px !important; }
    .gal-wide { grid-column: span 1 !important; }
    #results [style*="grid-template-columns: 1.4fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
    #results [style*="grid-template-columns: repeat(auto-fit, minmax(200px"] { grid-template-columns: 1fr !important; }
}