/* =========================================================
   RGUKT Mahabubnagar - Main Stylesheet
   ========================================================= */

/* ── CSS Custom Properties ── */
:root {
    --primary-blue: #1e3a5f;
    --secondary-blue: #2c5282;
    --accent-orange: #e67e22;
    --light-gray: #f8f9fa;
    --dark-gray: #2d3748;
    --text-dark: #2d3748;
    --white: #ffffff;
    --border-light: #e2e8f0;

    /* ── Nav colours — edit only these to restyle nav/dropdown globally ────────
       Inspired by IIT Madras: white navbar, maroon hover fill, gold accent bar   */
    --nav-link-color:       #2d3748;   /* default nav link text (dark grey)         */
    --nav-hover-color:      #8c1515;   /* top-link hover text (IIT-M maroon)        */
    --nav-hover-bg:         #fdf3f3;   /* top-link hover background (light tint)    */
    --nav-hover-underline:  #8c1515;   /* bottom-border on hovered/active top-link  */
    --dropdown-hover-bg:    #8c1515;   /* dropdown item hover fill (IIT-M maroon)   */
    --dropdown-hover-color: #ffffff;   /* dropdown item hover text (white)          */
    --dropdown-hover-bar:   #c8a951;   /* dropdown item left-bar accent (gold)      */
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* =========================================================
   SHARED / UTILITY CLASSES
   ========================================================= */

/* Shared icon-badge (used in nce-icon, announcement-label, etc.) */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--accent-orange);
    color: #fff;
}

/* Shared card base */
.card-base {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.card-base:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(10, 45, 110, 0.2);
}

/* Shared section padding */
.section-pad {
    padding: 60px 0;
}

.section-pad-lg {
    padding: 80px 0;
}

/* Section title — left-aligned underline */
.section-title {
    color: var(--primary-blue);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
}

/* Section title — center-aligned underline */
.section-title-center {
    color: var(--primary-blue);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.section-title-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
}

.section-title-center i {
    color: var(--accent-orange);
    margin-right: 10px;
}

/* Shared subtitle */
.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Shared section header block */
.section-header {
    margin-bottom: 30px;
}

/* Shared auto-scroll pause on hover */
.scroll-pause:hover .scroll-track,
.marquee-content:hover,
.media-slider:hover,
.news-scroll-wrapper:hover {
    animation-play-state: paused;
}

/* Shared swiper nav button base */
.swiper-nav-btn {
    color: #fff !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background 0.3s, transform 0.2s;
    z-index: 20;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    pointer-events: all;
}

/* Shared gradient background (warm/orange-tinted) */
.bg-warm {
    background: linear-gradient(135deg, #fffbf0 0%, #fff4e6 100%);
}

/* Shared orange-left-border highlight bar */
.highlight-bar {
    border-left: 4px solid var(--accent-orange);
}

/* Shared "pill" tag */
.tag-pill {
    font-size: 0.58rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 4px;
}

/* Pulse animation (shared by badge, announcement icon) */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

/* FadeInUp animation (hero content) */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
    background: linear-gradient(135deg, #fffbf0 0%, #fff4e6 100%);
    color: #92400e;
    padding: 0;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar a {
    color: #92400e;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.top-bar a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-orange);
}

.top-bar a:last-child {
    border-right: none;
}

.top-bar i {
    margin-right: 5px;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
    /* background: linear-gradient(90deg, #0b3c5d, #1f6fa8); */
    background: linear-gradient(90deg, #8c1515, #ad1a1a);    
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* KEY LINE */
}

.logo-section {
   
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 0;
}

.compact-header {
    min-height: 70px;
    gap: 12px;
}

.logo-img {
    width: 55px;
    height: 55px;
    margin-right: 20px;
}

.logo-text h1 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.logo-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}
.logo-text-block h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.logo-text-block h5 {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* RIGHT SIDE (Govt logos) */
.govt-logos {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Govt logo size */
.govt-logos img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s;
    opacity: 0.95;
}

.govt-logos img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar {
    background: white !important;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-blue);
}



.navbar-nav {
    width: 100%;
    justify-content: space-around;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    color: var(--nav-link-color) !important;
    padding: 12px 14px !important;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 3px solid transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--nav-hover-color) !important;
    background: var(--nav-hover-bg);
    border-bottom-color: var(--nav-hover-underline);
}

.navbar-toggler {
    border-color: var(--dark-gray);
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 55, 72, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(45, 55, 72, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown panel */
.dropdown-menu {
    background: #ffffff;
    border: none;
    border-top: 3px solid #8c1515;
    border-radius: 0 0 4px 4px;
    margin-top: 0 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    padding: 6px 0;
    /* NO display:none — Bootstrap controls visibility via .show */
}

/* Desktop only: open on hover */
@media (min-width: 993px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Always honour Bootstrap's .show (mobile tap + desktop JS) */
.dropdown-menu.show {
    display: block !important;
}

/* Dropdown items — default state */
.dropdown-item {
    color: #2d3748 !important;
    padding: 8px 16px 8px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s, color 0.2s, border-left-color 0.2s, padding-left 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Dropdown items — IIT-M hover: maroon fill, white text, gold left bar */
.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--dropdown-hover-bg) !important;
    color:      var(--dropdown-hover-color) !important;
    border-left-color: var(--dropdown-hover-bar);
    padding-left: 20px;
}

.dropdown-item.active{
        background-color: var(--dark-gray);
        color: var(--white) !important
}

.dropdown-toggle::after {
    margin-left: 8px;
}

/* =========================================================
   ANNOUNCEMENTS MARQUEE
   ========================================================= */
.announcements-marquee {
    background: linear-gradient(135deg, #fffbf0 0%, #fff4e6 100%);
    border-left: 4px solid var(--accent-orange);
    padding: 10px 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.announcements-marquee .row {
    margin: 0;
}

.announcement-label {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 6px;
    margin-right: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(45, 55, 72, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.announcement-label i {
    animation: pulse 2s ease-in-out infinite;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    flex: 1;
    height: 40px;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    animation: marquee 35s linear infinite;
    white-space: nowrap;
    align-items: center;
}

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

.marquee-item {
    padding: 0 40px;
    color: #92400e;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.marquee-item i {
    color: var(--accent-orange);
    font-size: 0.4rem;
    margin-right: 8px;
}

/* =========================================================
   MEDIA SECTION
   ========================================================= */
.media-section {
    padding: 60px 0;
    background: white;
}

.media-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.media-title i {
    color: var(--accent-orange);
    margin-right: 10px;
}

.media-slider-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.media-slider {
    display: flex;
    gap: 25px;
    animation: slideMedia 40s linear infinite;
}

.media-slider:hover {
    animation-play-state: paused;
}

.media-slide {
    min-width: 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    cursor: pointer;
}

.media-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(10, 45, 110, 0.3);
}

.media-slide:hover .media-slider {
    animation-play-state: paused;
}

.media-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.media-content {
    padding: 20px;
}

.media-content h5 {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 45px;
}

.media-source {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

@keyframes slideMedia {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-325px * 6)); }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.hero-swiper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

/* Default overlay */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,32,44,0.85) 0%, rgba(45,55,72,0.80) 50%, rgba(74,85,104,0.75) 100%);
}

.hero-slide-1 { background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1920&q=90'); }
.hero-slide-1::before { background: linear-gradient(135deg, rgba(28,28,30,0.88) 0%, rgba(44,44,46,0.82) 50%, rgba(58,58,60,0.75) 100%); }

.hero-slide-2 { background-image: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=1920&q=90'); }
.hero-slide-2::before { background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,41,59,0.82) 100%); }

.hero-slide-3 { background-image: url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?w=1920&q=90'); }
.hero-slide-3::before { background: linear-gradient(135deg, rgba(42,51,64,0.86) 0%, rgba(58,71,88,0.80) 50%, rgba(72,85,102,0.74) 100%); }

.hero-slide-4 { background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?w=1920&q=90'); }
.hero-slide-4::before { background: linear-gradient(135deg, rgba(31,31,31,0.87) 0%, rgba(51,51,51,0.80) 100%); }

.hero-slide-5 { background-image: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1920&q=90'); }
.hero-slide-5::before { background: linear-gradient(135deg, rgba(17,24,39,0.88) 0%, rgba(31,41,55,0.82) 50%, rgba(55,65,81,0.76) 100%); }

/* Video slide */
.hero-slide-video { background-image: none !important; }

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide-video .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1.2s ease-out;
}

.hero-section .btn-custom {
    animation: fadeInUp 1.4s ease-out;
}

/* Hero stats */
.hero-stats {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat-item {
    text-align: center;
    padding: 20px 30px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-width: 140px;
    border: 2px solid rgba(255,255,255,0.25);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-stat-item:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 8px 25px rgba(230,126,34,0.2);
}

.hero-stat-item i {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.hero-stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.hero-stat-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* Swiper – Hero nav buttons */
#hero-swiper .swiper-button-next,
#hero-swiper .swiper-button-prev {
    color: white !important;
    background: rgba(45,55,72,0.65);
    width: 50px; height: 50px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
    backdrop-filter: blur(5px);
    z-index: 20;
    pointer-events: all;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#hero-swiper .swiper-button-next { right: 20px; }
#hero-swiper .swiper-button-prev { left: 20px; }

#hero-swiper .swiper-button-next:hover,
#hero-swiper .swiper-button-prev:hover {
    background: var(--accent-orange);
    transform: translateY(-50%) scale(1.1);
}

#hero-swiper .swiper-button-next::after,
#hero-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

/* Swiper pagination & progress bar */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 14px; height: 14px;
    background: white;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.swiper-pagination-bullet-active {
    background: var(--accent-orange);
    opacity: 1;
    width: 40px;
    border-radius: 7px;
    border-color: white;
}

.swiper-pagination-progressbar {
    background: rgba(255,255,255,0.25) !important;
    height: 5px !important;
    bottom: 0 !important;
    top: auto !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: linear-gradient(90deg, var(--accent-orange) 0%, #f39c12 100%) !important;
    height: 100% !important;
    box-shadow: 0 0 8px rgba(230,126,34,0.5);
}

/* CTA Button */
.btn-custom {
    background: var(--accent-orange);
    color: var(--primary-blue);
    padding: 12px 35px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* =========================================================
   QUICK LINKS
   ========================================================= */
.quick-links {
    background: var(--light-gray);
    padding: 40px 0;
}

.quick-link-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(10,45,110,0.2);
}

.quick-link-card i {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: all 0.3s;
}

.quick-link-card:hover i {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.quick-link-card h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-section {
    padding: 40px 0;
}

/* =========================================================
   STATISTICS SECTION
   ========================================================= */
.stats-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: var(--dark-gray);
    padding: 60px 0;
    border-top: 3px solid var(--accent-orange);
    border-bottom: 3px solid var(--accent-orange);
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-card i {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* =========================================================
   PROGRAMS SECTION
   ========================================================= */
.programs-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.program-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(10,45,110,0.2);
}

.program-card-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.program-card-body {
    padding: 25px;
}

.program-card-body ul {
    list-style: none;
    padding: 0;
}

.program-card-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.program-card-body ul li::before {
    content: "▸";
    color: var(--accent-orange);
    margin-right: 10px;
    font-weight: bold;
}

/* =========================================================
   RESEARCH ACTIVITIES SECTION
   ========================================================= */
.research-activities-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.research-swiper-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.research-swiper {
    height: 650px;
    padding-right: 20px;
}

.research-swiper .swiper-wrapper {
    display: flex;
    flex-direction: column;
}

.research-swiper .swiper-slide {
    height: auto !important;
    margin-bottom: 30px;
}

.research-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: row;
    height: 100%;
}

.research-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(10,45,110,0.15);
}

.research-card-image {
    position: relative;
    overflow: hidden;
    width: 40%;
    min-height: 200px;
}

.research-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.research-card:hover .research-card-image img {
    transform: scale(1.08);
}

.research-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,45,110,0.7), rgba(10,45,110,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.research-card:hover .research-card-overlay {
    opacity: 1;
}

.research-card-overlay i {
    color: white;
    font-size: 3rem;
    opacity: 0.9;
}

.research-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.research-card-body h5 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.research-card-body h5 i {
    color: var(--accent-orange);
    margin-right: 8px;
    font-size: 1rem;
}

.research-card-body p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.research-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.research-link:hover {
    color: var(--accent-orange);
    gap: 10px;
}

.research-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.research-link:hover i {
    transform: translateX(3px);
}

/* Research scrollbar */
.research-swiper .swiper-scrollbar {
    position: absolute;
    right: 0; top: 0;
    width: 8px; height: 100%;
    background: rgba(10,45,110,0.1);
    border-radius: 10px;
}

.research-swiper .swiper-scrollbar-drag {
    background: linear-gradient(180deg, var(--primary-blue), var(--accent-orange));
    border-radius: 10px;
    cursor: grab;
    transition: background 0.3s ease;
}

.research-swiper .swiper-scrollbar-drag:hover {
    background: var(--accent-orange);
}

/* =========================================================
   NEWS SECTION
   ========================================================= */
.news-section {
    padding: 50px 0;
    background: white;
}

.news-scroll-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.news-scroll-wrapper {
    display: flex;
    gap: 20px;
    animation: newsScroll 40s linear infinite;
}

.news-scroll-wrapper:hover {
    animation-play-state: paused;
}

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

.news-scroll-item {
    min-width: 450px;
    flex-shrink: 0;
}

.news-card-compact {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent-orange);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
    height: 100%;
}

.news-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(10,45,110,0.15);
    border-left-color: var(--primary-blue);
}

.news-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-icon i {
    color: white;
    font-size: 1.5rem;
}

.news-compact-content {
    flex: 1;
}

.news-date-compact {
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-compact h6 {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 700;
    margin: 5px 0 8px;
    line-height: 1.4;
}

.news-card-compact p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* =========================================================
   GALLERY SECTION
   ========================================================= */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title-gallery {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-gallery h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title-gallery h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.section-title-gallery p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 25px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding: 25px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay h5 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0;
}

.gallery-icon {
    position: absolute;
    top: 20px; right: 20px;
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
    transform: scale(1);
}

.gallery-icon i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.thumb-post {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* GLightbox */
.glightbox-clean .gslide-description {
    background: rgba(0,0,0,0.9);
    padding: 20px;
}

/* =========================================================
   NCE — NEWS | CAROUSEL | EVENTS
   ========================================================= */
.nce-section {
    background: linear-gradient(135deg, #0b2a42 0%, #1a3a5c 50%, #0b2a42 100%);
    border-top: 3px solid var(--accent-orange);
    border-bottom: 3px solid var(--accent-orange);
    overflow: hidden;
}

.nce-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    height: 330px;
}

.nce-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nce-news   { border-right: 1px solid rgba(255,255,255,0.08); }
.nce-events { border-left:  1px solid rgba(255,255,255,0.08); }

.nce-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.nce-panel-header h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
    flex: 1;
}

.nce-icon {
    width: 26px; height: 26px;
    background: var(--accent-orange);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.72rem;
    flex-shrink: 0;
}

.nce-badge {
    background: #e53e3e;
    color: #fff;
    font-size: 0.58rem; font-weight: 800;
    padding: 2px 6px; border-radius: 20px;
    letter-spacing: 0.5px;
    animation: pulse 1.5s ease-in-out infinite;
}

.badge-events { background: #2f855a; }

/* NCE marquee viewport */
.nce-marquee-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.nce-marquee-viewport:hover .nce-marquee-track {
    animation-play-state: paused;
}

.nce-marquee-track {
    display: flex;
    flex-direction: column;
    animation: nceScrollUp var(--marquee-dur, 28s) linear infinite;
    will-change: transform;
}

@keyframes nceScrollUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* NCE news items */
.nce-item {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.nce-tag {
    font-size: 0.58rem; font-weight: 800;
    padding: 1px 7px; border-radius: 10px;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: inline-block; margin-bottom: 4px;
}

.tag-academic    { background: rgba(99,179,237,0.18);  color: #90cdf4; }
.tag-placement   { background: rgba(154,230,180,0.18); color: #9ae6b4; }
.tag-research    { background: rgba(246,173,85,0.18);  color: #f6ad55; }
.tag-infra       { background: rgba(183,148,244,0.18); color: #b794f4; }
.tag-achievement { background: rgba(252,129,129,0.18); color: #fc8181; }

.nce-headline {
    color: #e2e8f0; font-size: 0.8rem; font-weight: 500;
    line-height: 1.4; margin: 2px 0 4px;
}

.nce-date { color: #5a7a8a; font-size: 0.68rem; }
.nce-date i { margin-right: 3px; }

/* NCE event items */
.nce-event-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.nce-event-date {
    background: var(--accent-orange); color: #fff;
    border-radius: 6px; text-align: center;
    padding: 4px 8px; min-width: 40px; flex-shrink: 0;
}

.ev-day { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1; }
.ev-mon { display: block; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; }

.nce-event-info h6 {
    color: #e2e8f0; font-size: 0.78rem; font-weight: 600;
    margin: 0 0 3px; line-height: 1.3;
}

.nce-event-info p {
    color: #5a7a8a; font-size: 0.68rem; margin: 0 0 3px;
}

.nce-event-info p i { margin-right: 3px; }

.ev-type {
    font-size: 0.58rem; font-weight: 700; padding: 1px 6px;
    border-radius: 8px; background: rgba(99,179,237,0.15); color: #90cdf4;
    text-transform: uppercase;
}

/* NCE carousel (middle) */
.nce-carousel { background: #0a1929; position: relative; }
.nce-carousel-header { background: rgba(0,0,0,0.45) !important; }

.nce-swiper {
    flex: 1;
    width: 100%; height: 100%;
    overflow: hidden;
}

.nce-swiper .swiper-wrapper { align-items: stretch; height: 100%; }
.nce-swiper .swiper-slide  { height: auto; position: relative; }
.nce-swiper .swiper-slide  { border-right: 2px solid rgba(0,0,0,0.35); }

.nce-slide-img {
    position: relative;
    width: 100%; height: 100%;
    overflow: hidden;
    background: #0b2a42;
}

.nce-slide-img img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 6s ease, opacity 0.4s ease;
}

.nce-swiper .swiper-slide-active .nce-slide-img img {
    transform: scale(1.05);
    opacity: 1;
}

.nce-slide-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px 14px 12px;
    background: linear-gradient(to top, rgba(10,25,41,0.97) 0%, transparent 100%);
    z-index: 3;
    transform: translateY(55%);
    transition: transform 0.4s ease;
}

.nce-swiper .swiper-slide-active .nce-slide-caption,
.nce-swiper .swiper-slide-next .nce-slide-caption {
    transform: translateY(0);
}

.nce-slide-tag {
    background: var(--accent-orange); color: #fff;
    font-size: 0.58rem; font-weight: 800;
    padding: 2px 8px; border-radius: 10px;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: inline-block; margin-bottom: 5px;
}

.nce-slide-caption h4 {
    color: #fff; font-size: 0.85rem; font-weight: 700;
    margin: 0 0 2px; line-height: 1.2;
}

.nce-slide-caption p {
    color: rgba(255,255,255,0.65); font-size: 0.7rem; margin: 0;
}

/* NCE swiper pagination */
.nce-swiper-pagination { bottom: 6px !important; }

.nce-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,0.4); opacity: 1;
    width: 5px; height: 5px;
}

.nce-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--accent-orange); width: 16px; border-radius: 3px;
}

/* NCE swiper nav buttons */
#nce-swiper .swiper-button-next,
#nce-swiper .swiper-button-prev {
    color: #fff !important;
    background: rgba(11,42,66,0.75);
    width: 36px; height: 36px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s, transform 0.2s;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
}

#nce-swiper .swiper-button-next { right: 10px; }
#nce-swiper .swiper-button-prev { left: 10px; }

#nce-swiper .swiper-button-next:hover,
#nce-swiper .swiper-button-prev:hover {
    background: var(--accent-orange);
    transform: translateY(-50%) scale(1.1);
}

#nce-swiper .swiper-button-next::after,
#nce-swiper .swiper-button-prev::after {
    font-size: 14px; font-weight: 800;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 20px 0 0px;
}

.footer h5 {
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.footer a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 8px 0;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-orange);
}

.footer-bottom-single-line {
    border-top: 1px solid rgba(255,255,255,0.1);
    /* margin-top: 30px;
    padding-top: 20px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: white;
    font-size: 0.9rem;
}

.footer-copyright a {
    color: white;
    text-decoration: none;
    display: inline;
}

.footer-copyright a:hover {
    color: var(--accent-orange);
}

.footer-social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.footer-social-links a:hover {
    color: var(--accent-orange);
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {

    /* Collapsed nav panel — white background, matches navbar */
    .navbar-collapse {
        background: #ffffff;
        border-top: 2px solid #e2e8f0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        padding: 4px 0 10px;
        max-height: 75vh;
        overflow-y: auto;
    }

    .navbar-nav {
        background: transparent;
    }

    /* Mobile nav links — dark text on white */
    .navbar-nav .nav-link {
        color: #2d3748 !important;
        padding: 10px 16px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-left: 3px solid transparent;
        font-size: 0.8rem;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #8c1515 !important;
        background: #fdf3f3;
        border-left-color: #8c1515;
        border-bottom-color: #e2e8f0 !important;
    }

    /* Caret floats right */
    .dropdown-toggle::after {
        float: right;
        margin-top: 6px;
    }

    /* Mobile dropdown panel — light grey indent */
    .dropdown-menu {
        background: #f8f8f8 !important;
        border-top: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 4px 0 !important;
    }

    /* Mobile dropdown items — same IIT-M maroon hover */
    .dropdown-item {
        color: #2d3748 !important;
        padding: 8px 16px 8px 26px !important;
        font-size: 0.78rem;
        border-bottom: 1px solid #e8e8e8 !important;
        border-left: 3px solid transparent !important;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background: #8c1515 !important;
        color: #ffffff !important;
        border-left-color: #c8a951 !important;
        padding-left: 32px !important;
    }

    .dropdown-item:last-child {
        border-bottom: none !important;
    }

    .nce-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .nce-news,
    .nce-events {
        border: none;
        height: 240px;
    }

    .nce-carousel { height: 260px; }
    .nce-slide-img { min-height: 220px; }
}

@media (max-width: 768px) {
    /* Hero */
    .hero-section,
    .hero-slide { height: 500px; }

    .hero-section h2 { font-size: 1.8rem; }
    .hero-section p  { font-size: 1rem; }

    #hero-swiper .swiper-button-next,
    #hero-swiper .swiper-button-prev { width: 40px; height: 40px; }

    #hero-swiper .swiper-button-next::after,
    #hero-swiper .swiper-button-prev::after { font-size: 16px; }

    .hero-stats { gap: 10px; margin-top: 30px; }

    .hero-stat-item { min-width: 100px; padding: 15px 10px; }
    .hero-stat-item i  { font-size: 1.5rem; }
    .hero-stat-item h3 { font-size: 1.5rem; }
    .hero-stat-item p  { font-size: 0.8rem; }

    .btn-custom { padding: 10px 20px; font-size: 0.9rem; }

    .hero-video { min-height: 100%; object-fit: cover; }

    /* Top bar — hidden on mobile */
    .top-bar { display: none; }

    /* Logo */
    .logo-text h1 { font-size: 1.2rem; }

    /* Stat card */
    .stat-card h3 { font-size: 2rem; }

    /* Announcement */
    .announcement-label { font-size: 0.75rem; padding: 5px 10px; }
    .announcement-label span { display: none; }
    .marquee-item { font-size: 0.8rem; padding: 0 25px; }
    .announcements-marquee { padding: 6px 0; }

    /* Media */
    .media-slide { min-width: 250px; }

    @keyframes slideMedia {
        0%   { transform: translateX(0); }
        100% { transform: translateX(calc(-275px * 6)); }
    }

    /* Research */
    .research-card { flex-direction: column; }
    .research-card-image { width: 100%; min-height: 180px; }
    .research-card-body { padding: 18px; }
    .research-card-body h5 { font-size: 1rem; }
    .research-card-body p  { font-size: 0.875rem; }
    .research-activities-section { padding: 50px 0; }
    .research-swiper { height: 500px; }

    /* News */
    .news-scroll-item { min-width: 320px; }
    .news-card-compact { padding: 15px; flex-direction: column; align-items: center; text-align: center; }
    .news-icon { width: 45px; height: 45px; }
    .news-icon i { font-size: 1.2rem; }
    .news-section { padding: 30px 0; }

    /* Gallery */
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
    .section-title-gallery h2 { font-size: 2rem; }

    /* Footer */
    .footer-bottom-single-line { flex-direction: column; text-align: center; gap: 15px; }
    .footer-copyright { font-size: 0.8rem; }
    .footer-social-links { justify-content: center; }
}

/* =========================================================
   SCROLL PROGRESS — BACK TO TOP BUTTON
   ========================================================= */
#scroll-progress-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 52px;
    height: 52px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

#scroll-progress-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#scroll-progress-btn svg {
    width: 52px;
    height: 52px;
    transform: rotate(360deg);
}

#scroll-progress-btn .progress-track {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 3.5;
}

#scroll-progress-btn .progress-arc {
    fill: none;
    stroke: #8c1515;
    stroke-width: 3.5;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}

#scroll-progress-btn .progress-bg {
    fill: #8c1515;
    transition: fill 0.2s;
}

#scroll-progress-btn .progress-arrow {
    fill: #ffffff;
}

#scroll-progress-btn:hover .progress-bg { fill: #6b0f0f; }
#scroll-progress-btn:hover .progress-arc { stroke: #6b0f0f; }

@media (max-width: 768px) {
    #scroll-progress-btn { bottom: 20px; right: 20px; width: 44px; height: 44px; }
    #scroll-progress-btn svg { width: 44px; height: 44px; }
}

/* =========================================================
   SHARED PAGE HERO + BREADCRUMB
   (contact.html style — dark navy→maroon gradient,
    pill breadcrumb sits inside the hero)
   ========================================================= */
 
.page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #8c1515 100%);
    color: #fff;
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}
.page-hero::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");
    pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
 
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 8px;
}
.page-hero p.hero-sub {
    font-size: 1.05rem;
    opacity: 0.88;
    margin-bottom: 0;
}
 
/* Orange label pill above title */
.page-hero-label,
.hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    background: rgba(230,126,34,0.15);
    border: 1px solid rgba(230,126,34,0.35);
    border-radius: 50px;
    padding: 5px 16px;
    margin-bottom: 14px;
}
 
/* Orange underline rule */
.page-hero-divider,
.hero-rule {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), #f6ad55);
    border-radius: 2px;
    margin-top: 18px;
    display: block;
}
 
/* Pill breadcrumb — lives inside .page-hero */
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.83rem;
    margin-top: 14px;
    backdrop-filter: blur(6px);
}
.page-breadcrumb a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    transition: color 0.2s;
}
.page-breadcrumb a:hover  { color: #fff;color: var(--accent-orange); }
.page-breadcrumb .bc-sep  { color: rgba(255,255,255,0.4); font-size: 0.6rem; }
.page-breadcrumb .bc-current,
.page-breadcrumb .bc-cur  { color: #fff; font-weight: 600; }
 
/* ── Generic page-section wrapper ── */
.page-section      { padding: 64px 0 72px; background: var(--light-gray); }
.page-section.bg-white { background: #fff; }

/* =========================================================
   CAMPUS LIFE — shared .rule utility
   (used by bento-head and pillars-head)
   ========================================================= */
.rule {
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), #f6ad55);
    border-radius: 2px;
    margin: 14px auto 0;
    display: block;
}

.blink-new{
    background: linear-gradient(135deg, #8c1515 0%, #1e3a5f 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-right: 8px;
    animation: blinkNew 1s infinite;
    display: inline-block;
}

@keyframes blinkNew{
    0%{opacity:1;}
    50%{opacity:0.25;}
    100%{opacity:1;}
}
