:root {
    --primary-color: #0a2558;
    /* Royal Blue - Authoritative */
    --secondary-color: #ffc107;
    /* Bright Gold - Highlight */
    --accent-red: #d32f2f;
    /* For alerts/tickers */
    --white-color: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --text-main: #212529;
    --font-heading: 'Roboto', sans-serif;
    /* Standard, clean, academic */
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #f4f6f9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--white-color);
    text-decoration: none;
    margin-right: 15px;
}

.top-bar i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Header & Navbar */
.main-header {
    background: var(--white-color);
    padding: 15px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.logo-section img {
    height: 100px;
    /* Increased from 70px */
    width: auto;
    transition: transform 0.3s;
}

.logo-section img:hover {
    transform: scale(1.05);
    /* Subtle pop effect */
}

.logo-text h1 {
    font-size: 2rem;
    /* Larger text */
    margin: 0;
    text-transform: uppercase;
    color: var(--primary-color);
}

.logo-text p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
}

.navbar-custom {
    background-color: var(--primary-color);
    padding: 5px 0;
    /* Slightly taller nav */
}

.navbar-custom .nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-custom .nav-item:not(:last-child)::after {
    content: "|";
    color: var(--secondary-color);
    font-weight: bold;
    margin-left: -5px;
    z-index: 1;
}

.navbar-custom .nav-link {
    color: var(--white-color) !important;
    padding: 15px 35px;
    /* Wider spacing */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--secondary-color) !important;
    background-color: transparent;
}

/* News Ticker */
.news-ticker-area {
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    overflow: hidden;
}

.ticker-title {
    background: var(--accent-red);
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.marquee a {
    color: var(--primary-color);
    margin-right: 30px;
    font-weight: 600;
    text-decoration: none;
}

.marquee a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

/* Hero Carousel */
.hero-slider .carousel-item {
    height: 450px;
}

.hero-slider img {
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive Slider Height */
@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: auto;
    }

    .hero-slider img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }
}

.hero-caption-box {
    background: rgba(10, 37, 88, 0.9);
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
}

/* Content Sections */
.section-header {
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.section-header h2 {
    display: inline-block;
    background: var(--white-color);
    padding-right: 20px;
    margin-bottom: -10px;
}

/* Founder Section */
.founder-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.founder-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
}

/* Course Cards */
.course-card-classic {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    padding: 20px;
    transition: transform 0.2s;
    height: 100%;
}

.course-card-classic:hover {
    transform: translateY(-5px);
    border-top-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.course-card-classic h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.btn-academy {
    background-color: var(--primary-color);
    color: white;
    border-radius: 2px;
    padding: 8px 20px;
}

.btn-academy:hover {
    background-color: #001233;
    color: white;
}

/* Hall of Fame */
.rank-card {
    text-align: center;
    background: var(--white-color);
    padding: 15px;
    border: 1px solid #ddd;
}

.rank-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    margin-bottom: 10px;
}

.rank-badge {
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Section */
.video-section {
    background-color: var(--white-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Authentic Form Input */
.form-control-authentic {
    border: 1px solid #ced4da;
    border-radius: 0;
    padding: 12px;
    font-size: 0.95rem;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.form-control-authentic:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(10, 37, 88, 0.15);
}

/* Faculty Card */
.faculty-card {
    border: 1px solid var(--border-color);
    background: white;
    border-bottom: 3px solid var(--primary-color);
}

.faculty-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}

.faculty-info {
    padding: 20px;
    text-align: center;
}

.faculty-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.faculty-des {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding-top: 60px;
    border-top: 5px solid var(--secondary-color);
}

footer h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border-left: 3px solid white;
    padding-left: 15px;
}

footer a {
    color: #cbd3da;
    text-decoration: none;
    transition: all 0.2s;
}

footer a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

footer ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}