:root {
    --primary: #07294d;
    --secondary: #ffc600;
    --white: #ffffff;
}

/* ======================
   HEADER (COMPACT)
====================== */
.main-header {
    background: var(--primary);
    color: var(--white);
    padding: 12px 0 8px;
}

.header-logo {
    max-width: 65px;
    background: var(--white);
    padding: 4px;
    border-radius: 50%;
}

/* Titles */
.site-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.site-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
}

/* Contact Info */
.header-contact {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
}

.header-contact i {
    color: var(--secondary);
    margin-right: 4px;
}

/* ======================
   TICKER (SLIM)
====================== */
.top-bar {
    background: var(--secondary);
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    padding: 3px 0;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker {
    display: inline-block;
    padding-left: 100%;
    animation: tickerMove 18s linear infinite;
}

.ticker span {
    display: inline-block;
    padding-right: 100%;
}

@keyframes tickerMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* ======================
   NAVBAR
====================== */
.main-nav {
    background: var(--primary);
    border-top: 2px solid var(--secondary);
}

.main-nav .nav-link {
    color: var(--white) !important;
    font-weight: 600;
}

.main-nav .nav-link:hover {
    color: var(--secondary) !important;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 768px) {
    .header-contact span {
        display: block;
    }

    .site-title {
        font-size: 20px;
    }

    .site-subtitle {
        font-size: 14px;
    }

    .header-logo {
        max-width: 55px;
    }

    .ticker {
        animation-duration: 24s;
    }
}
/* ======================
   MODERN NAVBAR
====================== */
/* ======================
   MODERN LIGHT NAVBAR
====================== */
.main-nav {
    background: #ffffff;
    border-bottom: 3px solid var(--secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
}

/* Brand */
.navbar-brand {
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 800;
    color: var(--primary) !important;
}

/* Nav links */
.main-nav .nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    padding: 10px 16px;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover underline */
.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 60%;
}

/* Hover text */
.main-nav .nav-link:hover {
    color: var(--primary) !important;
}

/* Dropdown */
.dropdown-menu {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 8px 0;
}

/* Dropdown items */
.dropdown-item {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.25s ease;
}

.dropdown-item:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* Mobile navbar */
@media (max-width: 991px) {
    .main-nav {
        padding: 12px 0;
    }

    .navbar-collapse {
        background: #ffffff;
        padding: 10px 0;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .dropdown-menu {
        box-shadow: none;
        background: transparent;
    }

    .dropdown-item {
        padding-left: 30px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: transparent;
        padding-left: 20px;
        margin-top: 0;
    }

    .navbar-collapse .dropdown-item {
        color: var(--primary);
    }
}
/* Smooth slide down for dropdowns */
@media (min-width: 992px) {
    .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .dropdown:hover > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icons spacing */
.nav-link i {
    margin-right: 6px;
    font-size: 14px;
}

/* Active link */
.main-nav .nav-link.active {
    font-weight: 800;
}

.main-nav .nav-link.active::after {
    width: 60%;
}

/* SHRINK EFFECT */
.main-nav.shrink {
    padding: 4px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.main-nav.shrink .navbar-brand {
    font-size: 18px;
}

.main-nav.shrink .nav-link {
    padding: 6px 14px;
}

/* =========================
   FIX DROPDOWN DISPLAY
========================= */
.dropdown-menu {
    z-index: 1050;
    margin-top: 0;
}

/* === FIX DROPDOWN OVERLAP PROPERLY === */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    top: 100%;
    left: 0;
    margin-top: 0.4rem;
    z-index: 1050;
}


/* Smooth animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   FOOTER
========================= */
.site-footer {
    background: var(--primary);
    color: var(--white);
}

.footer-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary);
    text-transform: uppercase;
}

.footer-text {
    font-size: 14px;
    line-height: 1.7;
    color: #e2e2e2;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #e2e2e2;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* Contact */
.footer-contact {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contact i {
    color: var(--secondary);
    margin-right: 8px;
}

/* Bottom Bar */
.footer-bottom {
    background: #051f3a;
    font-size: 13px;
    color: #dcdcdc;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-title {
        font-size: 15px;
    }
}
/* =========================
   HERO SECTION (LARGE & MODERN)
========================= */
.hero-section {
    width: 100%;
    position: relative;
}

/* Big visual area */
.hero-slide {
    min-height: 85vh;   /* MAIN CHANGE */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

/* Overlay for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 41, 77, 0.7);
    z-index: 1;
}

/* Text container */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: var(--white);
}

/* Headings */
.hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #f2f2f2;
}

/* CTA button */
.hero-btn {
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 30px;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Carousel arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
    .hero-slide {
        min-height: 75vh;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }
}
.stats-section {
    background: #f8f9fa;
}

.stat-card h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
/* Floating effect for images and cards */
@keyframes floatUp {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes floatSide {
    0% { transform: translateX(0); }
    50% { transform: translateX(6px); }
    100% { transform: translateX(0); }
}

.hero-img, .stat-card, .about-section img, .courses-section .card {
    animation: floatUp 6s ease-in-out infinite;
    transition: transform 0.3s;
}

.hero-img:hover, .stat-card:hover, .about-section img:hover, .courses-section .card:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

/* AOS adjustments for floating text */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}
/* EVENTS / TESTIMONIALS FLOATING EFFECT */
.event-card, .testimonial-card {
    transition: transform 0.3s;
    animation: floatUp 6s ease-in-out infinite;
}

.event-card:hover, .testimonial-card:hover {
    transform: scale(1.03);
    animation-play-state: paused;
}

.event-content h5 {
    color: var(--primary);
    font-weight: 700;
}

.event-content p {
    font-size: 14px;
}

/* Testimonial card */
.testimonial-card p {
    font-style: italic;
    font-size: 15px;
}

.testimonial-card h6 {
    color: var(--primary);
}

.testimonial-card span {
    font-size: 13px;
    color: #555;
}
.facilities-section {
    background: #f8f9fa;
}

.facility-card {
    background: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: floatUp 6s ease-in-out infinite;
    cursor: pointer;
}

.facility-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    animation-play-state: paused;
}

.facility-card h5 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.facility-card p {
    font-size: 14px;
    color: #555;
}

.facility-card img {
    object-fit: cover;
    height: 220px;
}

@media (max-width: 768px) {
    .facility-card img {
        height: 180px;
    }
}
.instructor-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: floatUp 6s ease-in-out infinite;
}

.instructor-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    animation-play-state: paused;
}

.instructor-card img {
    width: 100%;
    height: auto;           /* <-- Let the height adjust */
    object-fit: contain;    /* <-- Show full image without cutting */
    transition: transform 0.5s ease;
}

.instructor-card:hover img {
    transform: scale(1.05);
}

/* Overlay for name and department */
.instructor-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(180deg, rgba(7, 41, 77, 0) 0%, rgba(7, 41, 77, 0.85) 100%);
    color: #ffc600;
    text-align: center;
    transition: all 0.3s ease;
}

.instructor-overlay h5 {
    margin: 0;
    font-weight: 700;
}

.instructor-overlay p {
    margin: 0;
    font-size: 14px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .instructor-card img {
        height: auto;
    }
}
.cta-section {
    background: linear-gradient(135deg, #07294d 0%, #061f3b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Floating circles background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.animated-bg .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: floatCircle 15s linear infinite;
}

.circle-1 {
    width: 120px; height: 120px;
    background: #ffc600;
    top: 10%; left: 20%;
    animation-duration: 18s;
}

.circle-2 {
    width: 80px; height: 80px;
    background: #ffffff;
    top: 30%; left: 70%;
    animation-duration: 22s;
}

.circle-3 {
    width: 150px; height: 150px;
    background: #ffc600;
    top: 60%; left: 40%;
    animation-duration: 20s;
}

.circle-4 {
    width: 60px; height: 60px;
    background: #ffffff;
    top: 80%; left: 15%;
    animation-duration: 25s;
}

.circle-5 {
    width: 100px; height: 100px;
    background: #ffc600;
    top: 50%; left: 80%;
    animation-duration: 19s;
}

@keyframes floatCircle {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* CTA content on top */
.cta-section .cta-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05); /* Slight translucent effect */
    padding: 50px 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-section .cta-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.cta-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cta-text {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-btn {
    font-weight: 700;
    padding: 12px 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #ffffff;
    color: #07294d;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .cta-title {
        font-size: 24px;
    }

    .cta-text {
        font-size: 14px;
    }
}
.stats-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 2;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.stat-card i {
    color: #07294d;
    transition: transform 0.3s;
}

.stat-card:hover i {
    transform: scale(1.2);
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 900;
    margin: 10px 0;
    color: #ffc600;
}

.stat-card p {
    font-size: 16px;
    font-weight: 600;
    color: #07294d;
}

/* Floating animation */
.stat-card {
    animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 768px) {
    .stat-card h3 {
        font-size: 28px;
    }
    .stat-card p {
        font-size: 14px;
    }
}
.about-video-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.about-video-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #07294d;
}

.about-video-section .section-subtitle {
    font-size: 16px;
    color: #07294d;
    max-width: 700px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    max-width: 900px;
    width: 100%;
}

.video-bg {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Play button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: #ffc600;
    background: rgba(7, 41, 77, 0.7);
    border: none;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: rgba(7, 41, 77, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .video-play-btn {
        font-size: 45px;
        width: 80px;
        height: 80px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }
}
