:root {
    --nc-blue: #0053a6;
    --nc-blue-dark: #003b74;
    --nc-gold: #ffc928;
    --nc-red: #e53935;
    --nc-black: #151515;
    --nc-green: #2e7d32;
    --nc-purple: #7b1fa2;
    --nc-orange: #f57c00;
    --nc-teal: #00796b;
    --nc-pink: #c2185b;
    --nc-indigo: #303f9f;
    --nc-amber: #ff8f00;
}

* { box-sizing: border-box; }

body {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #111;
}

.full-width-wrap { padding-left: 0; padding-right: 0; }

/* Top slim bar */
.top-strip { background-color: var(--nc-blue); color: #fff; font-size: 0.85rem; }
.top-strip a { color: #fff; text-decoration: none; font-size: 0.85rem; }
.top-strip a:hover { text-decoration: underline; }
.top-strip .item-separator { margin: 0 0.75rem; opacity: 0.6; }

/* Header */
.main-header { background-color: #ffffff; padding: 0.75rem 0; border-bottom: 1px solid #e0e0e0; }
.college-logo { width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--nc-blue); display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--nc-blue); font-size:0.85rem; background: radial-gradient(circle at 30% 30%, #fff, #f3f6ff); }
.college-title-main { font-size: 1.45rem; font-weight: 700; margin-bottom: 0.25rem; }
.college-title-local { font-size: 1.05rem; font-weight: 500; color: #111; }
.college-subtitle { font-size: 0.95rem; color: #555; }
.college-accredit { font-size: 0.9rem; color: #444; }
.college-accredit .badge-highlight { background-color: #e3f2fd; color: #0d47a1; padding: 0.15rem 0.4rem; border-radius: 0.2rem; font-weight: 500; }

/* WHAT'S NEW */
.whats-new-strip { background-color: #111111; color: #ffffff; font-size: 0.95rem; }
.whats-new-btn { background-color: var(--nc-red); border-radius: 0; border: none; padding: 0.35rem 1.4rem; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; color: #fff; }
.whats-new-marquee { white-space: nowrap; overflow: hidden; }
.whats-new-marquee span { display: inline-block; padding-left: 100%; animation: whatsnew-marquee 18s linear infinite; }
@keyframes whatsnew-marquee { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }

/* NEWS strip */
.news-strip { background-color: var(--nc-blue); color: #fff; padding: 0.75rem 0; font-size: 0.95rem; }
.top-news-btn { background-color: var(--nc-gold); color: #000; border-radius: 0.2rem; border: none; font-weight: 700; padding: 0.35rem 1.1rem; text-transform: uppercase; font-size: 0.9rem; }
.news-link { color: #ffeb3b; text-decoration: none; margin-left: 1.4rem; white-space: nowrap; }
.news-link::before { content: "•"; margin-right: 0.4rem; }
.news-link:hover { text-decoration: underline; color: #fff59d; }

/* Navbar - UPDATED WITH SMALLER FONTS */
.main-nav { 
    background-color: var(--nc-blue-dark); 
    padding: 0; 
    font-size: 0.85rem; /* Reduced base font size */
}
.main-nav .nav-link { 
    padding: 0.65rem 0.8rem; /* Reduced padding */
    color: #ffffff; 
    font-size: 0.82rem; /* Reduced font size */
    display: flex; 
    align-items: center; 
    gap: 0.3rem; /* Reduced gap */
    white-space: nowrap; 
    border-right: none; 
    font-weight: 500; /* Slightly bolder for better readability */
}
.main-nav .nav-link:hover, .main-nav .nav-link:focus { 
    background-color: #002e54; 
    color: #ffffff; 
}

/* Dropdown arrow styling */
.main-nav .navbar-toggler { border: none; color: #ffffff; display:flex; align-items:center; gap:0.35rem; padding-left:0; }
.nav-item.dropdown { position: relative; }
.dropdown-toggle-arrow { 
    background: transparent; 
    border: none; 
    color: #ffffff; 
    padding: 0 0.5rem 0 0.2rem; /* Reduced padding */
    display:flex; 
    align-items:center; 
    border-right: 1px solid rgba(255,255,255,0.06); 
    font-size: 0.8rem; /* Reduced icon size */
}
.dropdown-toggle::after { display: none !important; }

/* Dropdown menu */
.navbar .dropdown-menu { 
    background-color: var(--nc-blue-dark); 
    border-radius: 0; 
    border: none; 
    margin-top: 0; 
    padding-top: 0; 
    padding-bottom: 0; 
    min-width: 180px; /* Slightly reduced width */
    font-size: 0.82rem; /* Reduced font size */
}
.navbar .dropdown-item { 
    color: #ffffff; 
    padding: 0.45rem 0.9rem; /* Reduced padding */
    border-bottom: 1px solid rgba(255,255,255,0.06); 
    background: transparent; 
    font-size: 0.8rem; /* Reduced font size */
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:active {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.06) !important;
    text-decoration: none;
}
.navbar .dropdown-menu.show { background-color: var(--nc-blue-dark); }

/* Dropdown submenu styling */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0;
    border-radius: 0;
    font-size: 0.8rem; /* Reduced font size */
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

.dropdown-submenu .dropdown-toggle::after {
    content: "›";
    position: absolute;
    right: 10px;
    transform: rotate(90deg);
}

.dropdown-submenu .dropdown-item {
    padding: 0.4rem 0.9rem; /* Reduced padding */
    font-size: 0.78rem; /* Smaller font for submenu items */
}

@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.1);
        border: 0;
        box-shadow: none;
    }
    
    .dropdown-submenu .dropdown-toggle::after {
        transform: rotate(0deg);
    }
}

/* HERO (full-bleed) */
.hero-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background: transparent;
}

.hero-carousel .hero-slide-wrapper {
    position: relative;
    width: 100%;
    height: clamp(220px, 35vh, 520px);
    display: block;
    background: transparent;
}

.hero-carousel .hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: transparent;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.30), rgba(0,0,0,0.55));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 1rem;
}

.hero-heading { font-size: 2.3rem; font-weight: 700; margin-bottom: 0.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero-subheading { font-size: 1.1rem; margin-bottom: 1.1rem; }
.hero-accredit { font-size: 0.95rem; font-weight: 500; background-color: rgba(0,0,0,0.35); display: inline-block; padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1.5rem; }
.hero-explore-btn { background-color: var(--nc-gold); border: none; border-radius: 0.2rem; padding: 0.6rem 2.4rem; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; color: #000000; }

.hero-carousel .carousel-indicators [data-bs-target] { background-color: #ffffff; opacity: 0.9; }
.hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon { filter: invert(1); }

/* DESKTOP: exact aspect ratio */
@media (min-width: 992px) {
    .hero-carousel .hero-slide-wrapper {
        height: auto;
        aspect-ratio: 1280 / 520;
        max-height: 900px;
    }

    .hero-carousel .hero-img {
        object-fit: contain;
        object-position: center top;
        height: 100%;
        width: 100%;
        background: transparent;
    }

    .hero-overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.45)); }
}

/* --- Beautified Info Blocks Section --- */
.info-blocks {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    position: relative;
}

.info-blocks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--nc-blue), var(--nc-gold), var(--nc-green));
}

.info-blocks .card {
    border: none;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.info-blocks .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.info-blocks .card-header {
    background: linear-gradient(135deg, var(--nc-blue) 0%, var(--nc-blue-dark) 100%);
    border-bottom: none;
    padding: 1.2rem 1.5rem;
    color: white;
    border-radius: 12px 12px 0 0 !important;
    position: relative;
}

/* Color variations for each card header */
.info-blocks .card:nth-child(1) .card-header {
    background: linear-gradient(135deg, var(--nc-blue) 0%, #004a8f 100%);
}

.info-blocks .card:nth-child(2) .card-header {
    background: linear-gradient(135deg, var(--nc-green) 0%, #1b5e20 100%);
}

.info-blocks .card:nth-child(3) .card-header {
    background: linear-gradient(135deg, var(--nc-purple) 0%, #6a1b9a 100%);
}

.info-blocks .card:nth-child(4) .card-header {
    background: linear-gradient(135deg, var(--nc-orange) 0%, #e65100 100%);
}

.info-blocks .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    color: white;
}

.info-blocks .card-title i {
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.info-blocks .card-header small {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.info-blocks .block-body {
    background: white;
    padding: 0;
    border: 1px solid #e1e5eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    min-height: 300px;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--nc-blue) #f0f0f0;
}

.info-blocks .block-body::-webkit-scrollbar {
    width: 6px;
}

.info-blocks .block-body::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.info-blocks .block-body::-webkit-scrollbar-thumb {
    background: var(--nc-blue);
    border-radius: 3px;
}

.info-item {
    padding: 1.2rem 1.5rem;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item:hover {
    background-color: #f8fafc;
}

.info-item .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.info-item .meta .date {
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item .meta .date::before {
    content: "📅";
    font-size: 0.8rem;
}

.info-item .meta .new-flag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
    background: linear-gradient(135deg, #ffeb3b 0%, #ff9800 100%);
    color: #000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.info-item .caption {
    color: #111;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.info-item .actions a {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--nc-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    background: #f0f7ff;
}

.info-item .actions a:hover {
    text-decoration: none;
    background: var(--nc-blue);
    color: white;
    transform: translateX(3px);
}

.info-item .actions a::after {
    content: "→";
    transition: transform 0.2s ease;
}

.info-item .actions a:hover::after {
    transform: translateX(3px);
}

/* Tabs Styling */
.info-blocks .nav-tabs {
    border: none;
    background: #f8f9fa;
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid #e1e5eb;
}

.info-blocks .nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-right: 0.5rem;
}

.info-blocks .nav-tabs .nav-link:hover {
    color: var(--nc-blue);
    background: #e3f2fd;
}

.info-blocks .nav-tabs .nav-link.active {
    color: white;
    background: var(--nc-blue);
    box-shadow: 0 2px 8px rgba(0, 83, 166, 0.3);
}

.tab-content {
    padding: 1rem 0;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--nc-blue);
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--nc-blue), var(--nc-gold));
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* --- FULL-WIDTH MoU Section Styling --- */
.mou-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.mou-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--nc-teal), var(--nc-indigo), var(--nc-pink));
}

.mou-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.mou-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--nc-teal);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.mou-title i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--nc-teal), var(--nc-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mou-subtitle {
    color: #555;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FULL WIDTH CONTAINER for desktop */
@media (min-width: 992px) {
    .mou-full-width-container {
        position: relative;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0;
        overflow: hidden;
    }
}

/* MoU Carousel Styling */
.mou-carousel-container {
    position: relative;
    max-width: 1600px; /* Increased for desktop */
    margin: 0 auto;
    padding: 0 70px; /* Increased padding for desktop */
}

.mou-carousel {
    overflow: hidden;
    background: transparent;
    padding: 2rem 0;
}

.mou-carousel .carousel-inner {
    border-radius: 12px;
    overflow: hidden;
}

.mou-carousel .carousel-item {
    padding: 1.5rem 0;
}

/* Logo Grid for Desktop */
.mou-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 logos per row on desktop */
    gap: 2rem;
    padding: 0 2rem;
}

.mou-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mou-logo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    background: white;
    border-color: #ddd;
}

.mou-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    padding: 0.5rem;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mou-logo-title {
    font-weight: 600;
    color: #222;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.mou-logo-country {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f0f0f0;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

/* Custom carousel controls - POSITIONED OUTSIDE */
.mou-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nc-teal), var(--nc-indigo));
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.mou-carousel-control:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.mou-carousel-control.prev {
    left: 10px;
}

.mou-carousel-control.next {
    right: 10px;
}

.mou-carousel-control i {
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

/* Carousel indicators */
.mou-carousel-indicators {
    position: relative;
    margin-top: 2.5rem;
    justify-content: center;
    gap: 0.5rem;
}

.mou-carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    transition: all 0.3s ease;
}

.mou-carousel-indicators button.active {
    background: linear-gradient(135deg, var(--nc-teal), var(--nc-indigo));
    transform: scale(1.3);
}

/* Responsive adjustments for MoU section */
@media (max-width: 1399.98px) {
    .mou-logo-grid {
        grid-template-columns: repeat(5, 1fr); /* 5 logos on large screens */
        gap: 1.8rem;
        padding: 0 1.5rem;
    }
    
    .mou-carousel-container {
        padding: 0 60px;
    }
}

@media (max-width: 1199.98px) {
    .mou-logo-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 logos on medium-large screens */
        gap: 1.5rem;
    }
    
    .mou-carousel-container {
        padding: 0 50px;
    }
    
    .mou-logo-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 991.98px) {
    /* Remove full-width for tablet and mobile */
    .mou-full-width-container {
        width: 100%;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }
    
    .mou-logo-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 logos on tablets */
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .mou-carousel-container {
        padding: 0 40px;
    }
    
    .mou-carousel-control {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .college-logo { width: 70px; height: 70px; font-size: 0.7rem; }
    .college-title-main { font-size: 1.25rem; }
    .hero-heading { font-size: 1.6rem; }
    .dropdown-toggle-arrow { border-right: none; padding-left: 0.4rem; }
    .main-nav .nav-link { border-right: none; }
}

@media (max-width: 767.98px) {
    .mou-section {
        padding: 3rem 0;
    }
    
    .mou-title {
        font-size: 1.8rem;
    }
    
    .mou-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Mobile view: 2 logos per row */
    .mou-logo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 logos on mobile */
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .mou-logo-img {
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
    }
    
    .mou-logo-title {
        font-size: 0.85rem;
    }
    
    .mou-logo-country {
        font-size: 0.75rem;
    }
    
    .mou-carousel-container {
        padding: 0 35px;
    }
    
    .mou-carousel-control {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .top-strip { font-size: 0.8rem; }
    .whats-new-strip { font-size: 0.8rem; }
    .whats-new-marquee span { animation-duration: 22s; }
    .news-strip { font-size: 0.85rem; }
    .main-nav .nav-link { font-size: 0.85rem; padding: 0.55rem 0.75rem; }
    .hero-heading { font-size: 1.35rem; }
    
    .info-blocks .block-body {
        max-height: 280px;
    }
    
    .info-blocks .card-header {
        padding: 1rem;
    }
    
    .info-item {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    /* Small mobile: 2 logos per row (reduced gap) */
    .mou-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0;
    }
    
    .mou-logo-item {
        padding: 1rem 0.75rem;
    }
    
    .mou-logo-img {
        width: 80px;
        height: 80px;
        margin-bottom: 0.75rem;
    }
    
    .mou-logo-title {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .mou-logo-country {
        font-size: 0.7rem;
        padding: 0.15rem 0.6rem;
    }
    
    .mou-carousel-container {
        padding: 0 30px;
    }
    
    .mou-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .mou-carousel-control.prev {
        left: 5px;
    }
    
    .mou-carousel-control.next {
        right: 5px;
    }
}

/* Very small screens: Show 1 logo but keep 2 for better UX */
@media (max-width: 400px) {
    .mou-logo-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 even on very small */
        gap: 0.5rem;
    }
    
    .mou-logo-img {
        width: 70px;
        height: 70px;
    }
    
    .mou-logo-title {
        font-size: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .info-blocks .block-body {
        max-height: 280px;
    }
}

/* --- NEW: Photo Gallery & Achievements Section --- */
.gallery-achievements-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.gallery-achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--nc-amber), var(--nc-red), var(--nc-purple));
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nc-blue-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-header h2 i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--nc-amber), var(--nc-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom fade transition for gallery */
.fade-transition-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

@media (min-width: 992px) {
    .fade-transition-container {
        height: 450px;
    }
}

@media (max-width: 767.98px) {
    .fade-transition-container {
        height: 350px;
    }
}

@media (max-width: 575.98px) {
    .fade-transition-container {
        height: 300px;
    }
}

.fade-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fade-item.active {
    opacity: 1;
    z-index: 1;
}

.fade-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, transparent 70%);
    z-index: -1;
}

.fade-content {
    color: white;
    max-width: 90%;
    z-index: 2;
}

.fade-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.fade-content p {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* Sub-section headers */
.subsection-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, var(--nc-blue), transparent) 1;
}

.subsection-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.subsection-header h3 i {
    font-size: 1.6rem;
}

.photo-gallery-header h3 {
    color: var(--nc-blue);
}

.photo-gallery-header h3 i {
    color: var(--nc-blue);
}

.achievements-header h3 {
    color: var(--nc-green);
}

.achievements-header h3 i {
    color: var(--nc-green);
}

/* Custom navigation buttons */
.custom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--nc-blue-dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.custom-nav-btn:hover {
    background: white;
    color: var(--nc-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.custom-nav-btn.prev-btn {
    left: 20px;
}

.custom-nav-btn.next-btn {
    right: 20px;
}

/* Achievements items */
.achievement-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.achievement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.achievement-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.achievement-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.achievement-item:hover .achievement-img {
    transform: scale(1.05);
}

.achievement-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--nc-gold), var(--nc-orange));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.achievement-content {
    padding: 1.5rem;
}

.achievement-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.achievement-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.achievement-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #777;
    font-size: 0.85rem;
    font-weight: 500;
}

.achievement-date::before {
    content: "📅";
    font-size: 0.8rem;
}

/* Custom indicators */
.custom-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.custom-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-indicator.active {
    background: var(--nc-blue);
    transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .subsection-header h3 {
        font-size: 1.6rem;
    }
    
    .fade-content h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 991.98px) {
    .gallery-achievements-section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .subsection-header h3 {
        font-size: 1.5rem;
    }
    
    .custom-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .achievement-img-container {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .subsection-header {
        margin-bottom: 1.2rem;
    }
    
    .subsection-header h3 {
        font-size: 1.4rem;
    }
    
    .fade-content {
        padding: 1.5rem;
    }
    
    .fade-content h3 {
        font-size: 1.4rem;
    }
    
    .fade-content p {
        font-size: 0.9rem;
    }
    
    .custom-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .custom-nav-btn.prev-btn {
        left: 10px;
    }
    
    .custom-nav-btn.next-btn {
        right: 10px;
    }
    
    .achievement-content {
        padding: 1.2rem;
    }
    
    .achievement-content h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .subsection-header h3 {
        font-size: 1.3rem;
    }
    
    .fade-content h3 {
        font-size: 1.2rem;
    }
    
    .achievement-img-container {
        height: 180px;
    }
}

/* FIX: Add proper font-family for Font Awesome icons */
.fa, .fas, .far, .fal, .fab {
    font-family: "Font Awesome 6 Free" !important;
}

/* Footer Section Styles */
.footer-section {
    background: linear-gradient(135deg, var(--nc-blue-dark) 0%, #002e54 100%);
    color: #ffffff;
    position: relative;
    margin-top: 3rem;
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--nc-gold);
    display: flex;
    align-items: center;
}

.footer-block {
    margin-bottom: 1.5rem;
}

.footer-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-address p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-address i {
    margin-top: 0.2rem;
    width: 20px;
    text-align: center;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.8rem;
    padding-left: 0;
}

.footer-list li:before {
    content: none;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--nc-gold);
    text-decoration: underline;
    transform: translateX(5px);
}

.map-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--nc-blue-dark);
    border-color: white;
}

.copyright-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.visitor-stats {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

.powered-by {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.powered-link {
    color: var(--nc-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.powered-link:hover {
    color: white;
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nc-blue) 0%, var(--nc-blue-dark) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, var(--nc-blue-dark) 0%, #001f3d 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles for Footer */
@media (max-width: 991.98px) {
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .back-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 2rem 0 1rem;
    }
    
    .footer-block {
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-right {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .back-to-top-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 575.98px) {
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-content {
        font-size: 0.9rem;
    }
    
    .map-container iframe {
        height: 180px;
    }
    
    .visitor-stats {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Additional responsive adjustments for navigation */
@media (max-width: 1199.98px) {
    .main-nav .nav-link { 
        padding: 0.6rem 0.7rem; /* Further reduced padding */
        font-size: 0.8rem; /* Smaller font */
    }
    
    .navbar .dropdown-menu {
        min-width: 170px; /* Slightly smaller */
    }
    
    .dropdown-toggle-arrow {
        padding: 0 0.4rem 0 0.2rem; /* Less padding */
    }
}

@media (max-width: 991.98px) {
    .main-nav .nav-link { 
        padding: 0.55rem 0.75rem; 
        font-size: 0.9rem; /* Slightly larger for mobile for readability */
        border-right: none; 
    }
    
    .dropdown-toggle-arrow { 
        border-right: none; 
        padding-left: 0.4rem; 
        font-size: 0.9rem; /* Larger for mobile */
    }
    
    /* Restore normal font size for mobile dropdowns */
    .navbar .dropdown-menu {
        font-size: 0.9rem;
    }
    
    .navbar .dropdown-item {
        font-size: 0.88rem;
    }
}

@media (max-width: 767.98px) {
    .main-nav .nav-link { 
        font-size: 0.85rem; 
        padding: 0.55rem 0.75rem; 
    }
    
    .navbar .dropdown-menu {
        font-size: 0.85rem;
    }
    
    .navbar .dropdown-item {
        font-size: 0.83rem;
    }
}

/* Additional adjustment for very wide menus */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .main-nav .nav-link {
        padding: 0.6rem 0.7rem;
        font-size: 0.8rem;
    }
}

/* For extra large screens - keep original size */
@media (min-width: 1400px) {
    .main-nav .nav-link {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
}