/*
 * Global Stylesheet
 * Filename: style.css
 * Description: Contains sitewide styles, variables, navbar, and footer.
*/

/* 1. CSS Variables & Base Styles */
:root {
    --primary: #0a1f44;
    --secondary: #ffcc00;
    --light: #f8f9fa;
    --dark: #343a40;
    /* NEW COLORS FOR PROFESSIONAL UI */
    --brand-blue: #0d6efd;
    /* A professional, clean blue */
    --border-color: #e9ecef;
    /* A light, subtle border color */
    --body-font: "Poppins", sans-serif;
}

body {
    font-family: var(--body-font);
    background-color: #fff;
    color: var(--dark);
    line-height: 1.6;
    -ms-overflow-style: none;
    scrollbar-width: none;    
}

/* Splash Screen */
.splash-overlay {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 600ms ease;
}

.splash-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-logo {
    width: min(240px, 60vw);
    height: auto;
    animation: splash-pop 900ms cubic-bezier(.2,.8,.2,1);
}

@keyframes splash-pop {
    0% { transform: scale(.9); filter: blur(2px); opacity: .0; }
    60% { transform: scale(1.02); filter: blur(0); opacity: 1; }
    100% { transform: scale(1); }
}

::-webkit-scrollbar {
  display: none;
}

/* 2. Helper Classes */
.section-title {
    font-weight: 700;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

/* 3. Header / Navbar Styles */
.navbar {
    background-color: var(--primary);
    transition: padding 0.3s ease-in-out;
    /* padding-top: 1.5rem;
    padding-bottom: 1.5rem; */
}

.navbar.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand i {
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

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

#mainNav .navbar-nav .nav-link:hover {
    color: var(--secondary) !important;
}

.cta-btn {
    background-color: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
}

.cta-btn:hover {
    background-color: transparent;
    color: var(--secondary);
    transform: translateY(-2px);
}

/* 4. Footer Styles */
.footer-main {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
}

.footer-title {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-links.contact-info i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #061533;
    color: rgba(255, 255, 255, 0.6);
}

/* 5. Modal Styles */
.modal-header {
    background-color: var(--primary);
    color: #fff;
}

/* 6. Base Button Style for Course Section (NEW) */
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 9999px;
}

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