/* =========================================
   1. GOOGLE FONTS & FACEBOOK BLUE THEME
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Poppins:wght@400;600;700&display=swap');

:root {
    /* --- FACEBOOK STYLE COLORS --- */
    --primary-color: #001C38; /* Dark Navy (Professional Base) */
    --accent-color: #1877F2;  /* Official Facebook Blue */
    
    --text-dark: #050505;     /* Facebook Text Black */
    --text-light: #65676B;    /* Facebook Text Grey */
    --bg-light: #F0F2F5;      /* Facebook Light Background */
    
    /* FIX: Slider Overlay ab 50% Transparent hai (Tasveer dikhegi) */
    --gradient-overlay: linear-gradient(to right, rgba(0, 28, 56, 0.6), rgba(24, 119, 242, 0.3));
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

/* Fail-safe for Yellow replacement */
.text-warning, .bg-warning, .text-accent {
    color: var(--accent-color) !important;
}

/* =========================================
   2. TOP BAR & HEADER
   ========================================= */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar a {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    transition: 0.3s;
}

.top-bar a:hover {
    opacity: 1;
    color: #fff;
}

/* Navbar Styling */
.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle FB Shadow */
    padding: 0;
}

.nav-link {
    color: var(--text-light) !important; /* Grey initially */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding: 28px 20px !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important; /* FB Blue on Hover */
    background-color: #E7F3FF; /* Very light blue hover bg */
}

/* Apply Button */
.btn-apply {
    background-color: var(--accent-color);
    color: #fff !important;
    border-radius: 6px; /* FB uses slightly rounded corners, not full pills */
    padding: 10px 25px !important;
    font-weight: 600;
    border: none;
    transition: 0.2s;
}

.btn-apply:hover {
    background-color: #166fe5; /* Slightly darker blue */
}

/* Dropdowns */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px;
}

.dropdown-item {
    border-radius: 6px;
    padding: 8px 15px;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #F0F2F5;
    color: var(--primary-color);
}

/* =========================================
   3. HERO SLIDER (FIXED VISIBILITY)
   ========================================= */
.carousel-item {
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* IMPORTANT FIX: Is code se tasveer wapis a jayegi */
.overlay {
    background: var(--gradient-overlay);
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.carousel-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Buttons on Slider */
.btn-outline-light {
    border: 2px solid #fff;
    border-radius: 6px;
    font-weight: 600;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--accent-color);
}

/* =========================================
   4. NOTICE BOARD & SECTIONS
   ========================================= */
/* Icons */
.fa-user-graduate, .fa-book-reader, .fa-flask, .fa-bullhorn {
    color: var(--accent-color) !important; 
}

/* Notice Board */
.notice-board-box {
    background: #fff;
    border-radius: 8px;
    border-top: 5px solid var(--accent-color) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.news-link {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.news-link:hover {
    color: var(--accent-color) !important;
    text-decoration: underline;
}

/* Scrollbar */
.news-scroller::-webkit-scrollbar { width: 6px; }
.news-scroller::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

/* Responsive */
@media (max-width: 768px) {
    .carousel-item { height: 60vh; }
    .carousel-content h1 { font-size: 2.2rem; }
    .top-bar { display: none; }
}
/* =========================================
   6. ACADEMIC PROGRAMS SECTION
   ========================================= */
.letter-spacing-2 { letter-spacing: 2px; }

/* Heading Line (Choti si blue line heading k neeche) */
.heading-line {
    width: 60px;
    height: 4px;
    margin-top: 10px;
}
.bg-accent { background-color: var(--accent-color); }

/* Program Card Styling */
.program-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px); /* Upar uthega */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.program-img-box {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.program-img-box img {
    transition: transform 0.5s ease;
    object-fit: cover;
    height: 100%;
}

.program-card:hover .program-img-box img {
    transform: scale(1.1); /* Tasveer Zoom hogi */
}

/* Footer Links Hover */
footer a:hover {
    color: var(--accent-color) !important;
    padding-left: 5px;
    transition: 0.3s;
}