/* Global Styles & Variables */
:root {
    --primary-color: #003a65;
    --primary-hover: #00233d;
    --primary-soft: rgba(0, 58, 101, 0.1);
    --secondary-color: #fdb913;
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-primary-soft { background-color: var(--primary-soft) !important; }

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

.letter-spacing-1 { letter-spacing: 1px; }
.letter-spacing-2 { letter-spacing: 2px; }

/* Custom Utilities */
.section-bg { background-color: #fbfcff; }
.divider-custom {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Header & Navbar */
.custom-navbar {
    background-color: var(--primary-color) !important;
}

.college-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kbsf-text {
    font-size: 11px;
    letter-spacing: 0.5px;
}

.college-title {
    font-size: 16px;
    letter-spacing: 0.5px;
    margin: 2px 0;
}

.college-subtitle {
    font-size: 11px;
}

.college-affiliation {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

@media (min-width: 1200px) {
    .college-title { font-size: 18px; }
    .kbsf-text, .college-subtitle { font-size: 12px; }
    .college-affiliation { font-size: 10px; }
}

.custom-navbar .nav-link {
    color: #fff !important;
    font-size: 13px;
    padding: 0.8rem 0.6rem !important;
    transition: all 0.3s ease;
}
.custom-navbar .nav-link:hover, 
.custom-navbar .nav-link.active {
    color: var(--secondary-color) !important;
}
.custom-navbar .dropdown-menu {
    border-radius: 0 0 8px 8px;
    padding: 0;
    margin-top: 0;
    border-top: 3px solid var(--primary-color) !important;
}
.custom-navbar .dropdown-item {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}
.custom-navbar .dropdown-item:last-child { border-bottom: none; }
.custom-navbar .dropdown-item:hover {
    background-color: var(--primary-soft);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Hero Carousel */
#heroCarousel .hero-slide {
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}
#heroCarousel .slide-1 { background-image: url('../images/banner_campus.png'); }
#heroCarousel .slide-2 { background-image: url('../images/banner_library.png'); }
#heroCarousel .slide-3 { background-image: url('../images/banner_lab.png'); }
#heroCarousel .slide-4 { background-image: url('../images/banner_building.png'); }

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.text-shadow-lg { text-shadow: 2px 4px 8px rgba(0,0,0,0.5); }
.btn-custom { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* Academics & Programs */
.course-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.icon-box {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}
.course-card:hover .icon-box {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    transform: scale(1.1);
}
.course-link { transition: all 0.3s ease; }
.course-card:hover .course-link { color: var(--primary-color) !important; }

/* Contact Section */
.contact-info-wrap { border-radius: 20px; }
.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.custom-input {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 1rem 1.2rem;
}
.custom-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem var(--primary-soft);
}
.social-icon-btn {
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}
.custom-social-hover:hover {
    background-color: var(--secondary-color) !important;
    color: var(--text-dark) !important;
    transform: translateY(-3px);
}

/* Footer */
.footer-links a.custom-footer-link { transition: all 0.3s ease; display: inline-block; }
.footer-links a.custom-footer-link:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}
.custom-newsletter input:focus {
    background-color: rgba(255,255,255,0.2) !important;
    color: #fff;
}

/* Animations */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -30px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate__fadeInDown { animation-name: fadeInDown; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 30px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate__fadeInUp { animation-name: fadeInUp; }
