@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0B2B56; /* Deep Navy Blue */
    --accent-color: #F4A261;  /* Bright Gold/Orange */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    padding-top: 76px; /* Offset for fixed navbar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(244, 162, 97, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background-color: #e78c43;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(244, 162, 97, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(11, 43, 86, 0.7), rgba(11, 43, 86, 0.7)), url('../images/hero_bg.png') center/cover no-repeat;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Cards */
.faculty-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: var(--white);
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.faculty-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.faculty-card .card-body {
    padding: 30px;
    text-align: center;
}

.faculty-card .card-title {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

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

.bg-light-sc {
    background-color: var(--light-bg);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 25px;
}

footer a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

footer .border-top {
    border-color: rgba(255,255,255,0.1) !important;
}

/* Small UI fixes */
.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(244, 162, 97, 0.25);
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
}
.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- New Smooth Interactions & Animations --- */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Smooth Body Load Fade */
body {
    animation: fade-in-page 0.8s ease-out forwards;
    scroll-behavior: smooth;
}

@keyframes fade-in-page {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Scroll Reveal Utilities */
.hidden-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.hidden-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.show-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Dynamic Navbar Scrolled State */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
