:root {
    --primary: #0c2340;
    --primary-dark: #061525;
    --primary-light: #1a3a5c;
    --secondary: #c9922e;
    --secondary-dark: #a9781f;
    --secondary-light: #f0d99a;
    --light: #f4f7fb;
    --text: #2d3748;
    --muted: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 4px 20px rgba(12, 35, 64, 0.06);
    --shadow-md: 0 12px 40px rgba(12, 35, 64, 0.1);
    --shadow-lg: 0 24px 60px rgba(12, 35, 64, 0.14);
    --radius: 14px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

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

/* =====================================================
   TOP BAR
===================================================== */

.topbar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: #fff;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 2px solid var(--secondary);
}

.topbar a {
    color: rgba(255, 255, 255, 0.92);
    transition: var(--transition);
}

.topbar a:hover {
    color: var(--secondary-light);
}

.topbar .badge-affiliation {
    background: rgba(201, 146, 46, 0.15);
    border: 1px solid rgba(201, 146, 46, 0.35);
    color: var(--secondary-light);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 13px;
}

.social-links a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* =====================================================
   COLLEGE HEADER
===================================================== */

.college-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.college-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
}

.college-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.college-name {
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: clamp(20px, 3vw, 32px);
    line-height: 1.2;
}

.college-name-hindi {
    color: var(--secondary-dark);
    font-size: 15px;
    font-weight: 600;
    margin-top: 2px;
}

.college-address {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.college-affiliation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--primary-light);
    font-weight: 600;
}

.college-affiliation i {
    color: var(--secondary);
}

.header-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.header-btn {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(201, 146, 46, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 146, 46, 0.45);
}

.header-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.header-btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* =====================================================
   NAVBAR
===================================================== */

.main-nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.navbar {
    padding: 0;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 18px 15px !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-light) !important;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: 28px;
}

.apply-btn {
    background: var(--secondary) !important;
    color: #fff !important;
    border-radius: 6px;
    margin: 8px 0 8px 10px;
    padding: 10px 18px !important;
}

.apply-btn::after {
    display: none !important;
}

.apply-btn:hover {
    background: var(--secondary-dark) !important;
    color: #fff !important;
}

.navbar-nav .dropdown-menu {
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 0;
    box-shadow: var(--shadow-md);
    min-width: 210px;
}

.navbar-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    transition: var(--transition);
}

.navbar-nav .dropdown-item i {
    color: var(--secondary);
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background: rgba(201, 146, 46, 0.15);
    color: var(--secondary-light);
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
}

/* =====================================================
   HERO
===================================================== */

.hero {
    background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
    padding: 22px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 20px;
}

.hero-slider {
    width: 100%;
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: #111;
    box-shadow: var(--shadow-md);
}

.hero-slider .carousel,
.hero-slider .carousel-inner {
    width: 100%;
    height: 100%;
}

.hero-slider .carousel-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1624;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 21, 37, 0.55) 0%,
        rgba(6, 21, 37, 0.15) 50%,
        rgba(6, 21, 37, 0.75) 100%
    );
    z-index: 1;
}

.hero-caption {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 40px;
    color: #fff;
    z-index: 2;
}

.hero-caption span {
    display: inline-block;
    color: var(--secondary-light);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(201, 146, 46, 0.2);
    border: 1px solid rgba(201, 146, 46, 0.4);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.hero-caption h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-caption p {
    max-width: 580px;
    font-size: 15px;
    opacity: 0.92;
    margin-bottom: 18px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: #fff;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.hero-cta:hover {
    background: var(--secondary-dark);
    color: #fff;
    transform: translateX(4px);
}

.hero-slider .carousel-indicators {
    margin-bottom: 18px;
    z-index: 3;
}

.hero-slider .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
}

.hero-slider .carousel-indicators button.active {
    background: var(--secondary);
    width: 28px;
    border-radius: 5px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.hero-slider .carousel-control-prev { left: 16px; }
.hero-slider .carousel-control-next { right: 16px; }

/* =====================================================
   NOTICE BOARD
===================================================== */

.notice-board {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 480px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.notice-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.notice-header h3 {
    font-size: 17px;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-header i.bi-pin-angle {
    color: var(--secondary);
    font-size: 20px;
}

.notice-view-all {
    font-size: 12px;
    color: var(--secondary-light);
    font-weight: 600;
    transition: var(--transition);
}

.notice-view-all:hover {
    color: #fff;
}

.notice-list-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.notice-list {
    animation: noticeScroll 20s linear infinite;
}

.notice-list:hover {
    animation-play-state: paused;
}

@keyframes noticeScroll {
    0%, 15% { transform: translateY(0); }
    25%, 40% { transform: translateY(-25%); }
    50%, 65% { transform: translateY(-50%); }
    75%, 90% { transform: translateY(-75%); }
    100% { transform: translateY(0); }
}

.notice-item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.notice-item:hover {
    background: var(--light);
}

.notice-date {
    min-width: 52px;
    height: 54px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fdf3dc, #f5e0b0);
    color: var(--secondary-dark);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    border: 1px solid rgba(201, 146, 46, 0.2);
}

.notice-date strong {
    font-size: 18px;
    line-height: 1;
}

.notice-date small {
    font-size: 9px;
    letter-spacing: 0.5px;
}

.notice-content h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    transition: var(--transition);
}

.notice-item:hover .notice-content h5 {
    color: var(--secondary-dark);
}

.notice-content p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.notice-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.notice-tag.new { background: #dcfce7; color: #166534; }
.notice-tag.exam { background: #dbeafe; color: #1e40af; }
.notice-tag.urgent { background: #fee2e2; color: #991b1b; }

/* =====================================================
   QUICK LINKS
===================================================== */

.quick-links {
    background: var(--primary);
    padding: 0;
    position: relative;
}

.quick-links::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), #fff, var(--secondary));
}

.quick-item {
    color: #fff;
    padding: 22px 15px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.quick-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--secondary);
    transform: translateY(100%);
    transition: var(--transition);
    z-index: 0;
}

.quick-item:hover::before {
    transform: translateY(0);
}

.quick-item i,
.quick-item span {
    position: relative;
    z-index: 1;
}

.quick-item:hover {
    color: #fff;
}

.quick-item i {
    display: block;
    font-size: 26px;
    margin-bottom: 6px;
    transition: var(--transition);
}

.quick-item:hover i {
    transform: scale(1.15);
}

.quick-item span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* =====================================================
   COMMON SECTION
===================================================== */

.section {
    padding: 85px 0;
}

.section-light {
    background: var(--light);
}

.section-title {
    max-width: 680px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-title span {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.section-title h2 {
    font-family: "Playfair Display", serif;
    color: var(--primary);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin: 0 0 14px;
}

.section-title p {
    color: var(--muted);
    font-size: 15px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
    margin: 14px auto 0;
    border-radius: 2px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =====================================================
   ABOUT
===================================================== */

.about-image {
    height: auto;
    max-width: 100%;
    aspect-ratio: 1671 / 941;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f4f6f8;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

.about-image::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid var(--secondary);
    border-radius: var(--radius);
    z-index: 1;
    pointer-events: none;
    margin: 12px;
    opacity: 0.5;
}

.experience-box {
    position: absolute;
    right: 24px;
    bottom: 24px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    padding: 22px 28px;
    border-radius: 10px;
    text-align: center;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.experience-box strong {
    display: block;
    font-size: 32px;
    font-family: "Playfair Display", serif;
    line-height: 1;
}

.experience-box span {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
}

.about-content .label {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content h2 {
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: clamp(26px, 3vw, 36px);
    margin: 10px 0 18px;
}

.about-content p {
    color: var(--muted);
    font-size: 15px;
}

.about-content h3 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    margin: 22px 0 4px;
}

.about-tagline {
    color: var(--primary) !important;
    font-style: italic;
    font-weight: 600;
    margin-top: 8px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-list li {
    display: flex;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    align-items: flex-start;
}

.about-list i {
    color: var(--secondary);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    border: 0;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(201, 146, 46, 0.3);
}

.btn-gold:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 146, 46, 0.4);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 11px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* =====================================================
   LEADERS
===================================================== */

.leader-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 146, 46, 0.3);
}

.leader-photo {
    width: 42%;
    min-height: 340px;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-photo img {
    transform: scale(1.05);
}

.leader-photo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
}

.leader-content {
    width: 58%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leader-content span {
    color: var(--secondary);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.leader-content h3 {
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin: 8px 0 4px;
}

.leader-content .designation {
    font-size: 13px;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.leader-content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* =====================================================
   TEAM
===================================================== */

.team-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.team-photo {
    height: 290px;
    overflow: hidden;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.08);
}

.team-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(12, 35, 64, 0.6));
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-photo::after {
    opacity: 1;
}

.team-info {
    text-align: center;
    padding: 22px 16px;
    border-top: 3px solid var(--secondary);
}

.team-info h4 {
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 4px;
}

.team-info span {
    display: block;
    color: var(--secondary-dark);
    font-size: 12px;
    font-weight: 700;
}

.team-info small {
    color: var(--muted);
    font-size: 11px;
}

.home-leader-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px 32px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.home-leader-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 146, 46, 0.35);
}

.home-leader-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--secondary-light);
    font-size: 26px;
}

.home-leader-card span {
    display: block;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.home-leader-card h3 {
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin: 0 0 6px;
}

/* =====================================================
   COURSES
===================================================== */

.course-card {
    background: #fff;
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    border-color: rgba(201, 146, 46, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.course-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #fdf3dc, #f5e0b0);
    color: var(--secondary-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.course-card:hover .course-icon {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}

.course-card h4 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.course-link {
    color: var(--secondary-dark);
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.course-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* =====================================================
   FACILITIES
===================================================== */

.facility-card {
    position: relative;
    height: 290px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.facility-card:hover img {
    transform: scale(1.1);
}

.facility-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 40px 22px 22px;
    background: linear-gradient(transparent, rgba(6, 21, 37, 0.92));
    color: #fff;
    transition: var(--transition);
}

.facility-overlay h4 {
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 700;
}

.facility-overlay p {
    font-size: 12px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    margin: 0;
}

.facility-card:hover .facility-overlay p {
    opacity: 0.85;
    max-height: 60px;
    margin-top: 6px;
}

.facility-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.facility-card:hover .facility-icon {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   STATISTICS
===================================================== */

.stats {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px;
}

.stat-item i {
    color: var(--secondary);
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.stat-item strong {
    display: block;
    font-size: 38px;
    font-weight: 800;
    font-family: "Playfair Display", serif;
    margin: 4px 0;
    color: #fff;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 500;
}

/* =====================================================
   GALLERY
===================================================== */

.gallery-item {
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: "\F52A";
    font-family: "bootstrap-icons";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    background: rgba(12, 35, 64, 0.5);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* =====================================================
   TESTIMONIAL
===================================================== */

.testimonial {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 146, 46, 0.25);
}

.testimonial i.bi-quote {
    color: var(--secondary);
    font-size: 36px;
    opacity: 0.7;
}

.testimonial p {
    font-size: 15px;
    color: var(--muted);
    margin: 16px 0 20px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial .student {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}

.testimonial small {
    color: var(--secondary-dark);
    font-weight: 600;
}

.testimonial-stars {
    color: var(--secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

/* =====================================================
   CTA
===================================================== */

.admission-cta {
    background:
        linear-gradient(135deg, rgba(6, 21, 37, 0.94), rgba(12, 35, 64, 0.85)),
        url("https://images.unsplash.com/photo-1562774053-701939374585?w=1400&q=80") center/cover fixed;
    color: #fff;
    padding: 80px 0;
    position: relative;
}

.admission-cta h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
}

.admission-cta p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 560px;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.72);
    padding-top: 70px;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), #fff, var(--secondary));
}

footer h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 22px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

footer h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

footer p,
footer li {
    font-size: 14px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: rgba(255, 255, 255, 0.72);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

footer a:hover {
    color: var(--secondary-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--secondary);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 13px;
}

.footer-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

footer a.footer-login-btn:hover {
    background: var(--secondary-dark);
    color: #fff !important;
    padding-left: 16px;
    transform: none;
}

/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(201, 146, 46, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-dark);
    transform: translateY(-4px);
}

/* =====================================================
   PAGE BANNER (Inner Pages)
===================================================== */

.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 10px;
}

.page-banner p {
    opacity: 0.85;
    font-size: 15px;
    margin-bottom: 0;
    max-width: 600px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    font-size: 13px;
}

.page-breadcrumb a {
    color: var(--secondary-light);
    transition: var(--transition);
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb li + li::before {
    content: "/";
    color: rgba(255, 255, 255, 0.4);
    margin-right: 8px;
}

.page-breadcrumb li.active {
    color: rgba(255, 255, 255, 0.7);
}

/* =====================================================
   HOME PREVIEW
===================================================== */

.home-preview {
    background: #fff;
}

.preview-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    transition: var(--transition);
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 146, 46, 0.3);
}

.preview-card i {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 14px;
    display: block;
}

.preview-card h4 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.preview-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}

/* =====================================================
   CONTACT PAGE
===================================================== */

.contact-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 146, 46, 0.3);
}

.contact-info-card i {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fdf3dc, #f5e0b0);
    color: var(--secondary-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.contact-info-card h5 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
    color: var(--primary);
    font-family: "Playfair Display", serif;
    margin-bottom: 24px;
}

.contact-form-wrap .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.contact-form-wrap .form-control {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form-wrap .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(201, 146, 46, 0.15);
}

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 320px;
    border: 1px solid var(--border);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

/* =====================================================
   NOTICES PAGE
===================================================== */

.notice-full-item {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.notice-full-item:hover {
    border-color: rgba(201, 146, 46, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.notice-full-date {
    min-width: 70px;
    height: 70px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fdf3dc, #f5e0b0);
    color: var(--secondary-dark);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.notice-full-date strong {
    font-size: 24px;
    line-height: 1;
}

.notice-full-date small {
    font-size: 11px;
    letter-spacing: 0.5px;
}

.notice-full-content h4 {
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 8px;
}

.notice-full-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.notice-download {
    color: var(--secondary-dark);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notice-download:hover {
    color: var(--primary);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .notice-board {
        height: 420px;
    }

    .hero-slider,
    .hero-slider img {
        height: 420px;
    }

    .navbar-nav .nav-link {
        padding: 12px 8px !important;
    }

    .about-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .topbar .contact-info {
        justify-content: center !important;
        margin-bottom: 6px;
        flex-wrap: wrap;
        gap: 10px !important;
    }

    .topbar .social-links {
        justify-content: center;
    }

    .topbar .badge-affiliation {
        display: none;
    }

    .college-header {
        text-align: center;
    }

    .college-brand {
        justify-content: center;
        text-align: left;
    }

    .header-actions {
        justify-content: center;
        margin-top: 16px;
    }

    .hero-slider,
    .hero-slider img {
        height: 340px;
    }

    .hero-caption {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .hero-caption h1 {
        font-size: 26px;
    }

    .leader-card {
        display: block;
    }

    .leader-photo,
    .leader-content {
        width: 100%;
    }

    .leader-photo {
        height: 280px;
        min-height: 280px;
    }

    .section {
        padding: 60px 0;
    }

    .about-image {
        height: auto;
        margin-bottom: 30px;
    }

    .team-photo {
        height: 280px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}
