:root {
    --red: #E8192C;
    --blue: #1565C0;
    --navy: #0D1B4B;
    --light-blue: #2196F3;
    --white: #fff;
    --light: #F4F7FF;
    --gray: #6c757d
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    overflow-x: hidden
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 3px
}

/* TOP BAR */
.top-bar {
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    padding: 6px 0
}

.top-bar a {
    color: #fff;
    text-decoration: none
}

.top-bar a:hover {
    color: #ffd700
}

/* NAVBAR */
.navbar {
    /* background: rgba(13, 27, 75, 0.97); */
    background: white;
    backdrop-filter: blur(10px);
    /* padding: 10px 0; */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0rem !important;
}

.navbar-brand img {
    height: 60px
}

.navbar-brand span {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.2
}

.navbar-brand span small {
    display: block;
    color: #90CAF9;
    font-size: 0.7rem;
    font-weight: 400
}

.nav-link {
    color: #000 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: all 0.3s
}

.nav-link:hover,
.nav-link.active {
    background: var(--red) !important;
    color: #fff !important
}

.nav-cta {
    background: var(--red) !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 8px 22px !important;
    font-weight: 600 !important
}

.nav-cta:hover {
    background: #c01020 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 25, 44, 0.4) !important
}

/* HERO */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--navy) 0%, #1A237E 40%, #1565C0 70%, #0D47A1 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800"><circle cx="200" cy="200" r="300" fill="rgba(255,255,255,0.03)"/><circle cx="1200" cy="600" r="400" fill="rgba(255,255,255,0.03)"/><circle cx="800" cy="100" r="200" fill="rgba(232,25,44,0.08)"/></svg>');
    background-size: cover
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.hero-particles span {
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 8s infinite
}

.hero-particles span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 6s
}

.hero-particles span:nth-child(2) {
    left: 25%;
    top: 80%;
    animation-delay: 2s;
    animation-duration: 8s
}

.hero-particles span:nth-child(3) {
    left: 60%;
    top: 15%;
    animation-delay: 4s;
    animation-duration: 7s
}

.hero-particles span:nth-child(4) {
    left: 80%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 9s
}

.hero-particles span:nth-child(5) {
    left: 45%;
    top: 50%;
    animation-delay: 3s;
    animation-duration: 5s
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3
    }

    50% {
        transform: translateY(-40px) scale(1.5);
        opacity: 0.8
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 25, 44, 0.2);
    border: 1px solid rgba(232, 25, 44, 0.5);
    color: #ff6b7a;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px
}

.hero-title span {
    background: linear-gradient(135deg, #E8192C, #ff6b7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 550px
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--red), #c01020);
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(232, 25, 44, 0.4)
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232, 25, 44, 0.5);
    color: #fff
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    margin-left: 15px
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-3px)
}

.hero-img-wrap {
    position: relative;
    text-align: center
}

.hero-logo-glow {
    width: 100%;
    max-width: 100%;
    filter: drop-shadow(0 0 40px rgba(21, 101, 192, 0.6));
    animation: glow-pulse 3s ease-in-out infinite
}

@keyframes glow-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 40px rgba(21, 101, 192, 0.6))
    }

    50% {
        filter: drop-shadow(0 0 60px rgba(232, 25, 44, 0.5))
    }
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 12px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    animation: card-float 4s ease-in-out infinite
}

.hero-floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s
}

.hero-floating-card.card-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 2s
}

.hero-floating-card i {
    font-size: 1.2rem;
    margin-right: 8px;
    color: #ffd700
}

@keyframes card-float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

/* STATS */
.stats-section {
    background: linear-gradient(135deg, var(--red) 0%, #c01020 100%);
    padding: 60px 0
}

.stat-card {
    text-align: center;
    color: #fff;
    padding: 10px
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 700;
    display: block;
    line-height: 1
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 5px;
    font-weight: 500;
    letter-spacing: 0.5px
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    align-self: stretch;
    margin: 10px 0
}

/* ABOUT */
.about-section {
    padding: 90px 0;
    background: #fff
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(232, 25, 44, 0.1), rgba(21, 101, 192, 0.1));
    border: 1px solid rgba(21, 101, 192, 0.2);
    color: var(--blue);
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--navy);
    /* margin-bottom: 18px; */
    line-height: 1.2
}

.section-title span {
    color: var(--red)
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--blue));
    border-radius: 2px;
    margin-bottom: 20px
}

.about-text {
    color: #555;
    line-height: 1.9;
    font-size: 0.98rem
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 18px;
    background: #F4F7FF;
    border-radius: 12px;
    transition: all 0.3s;
    border-left: 4px solid transparent
}

.feature-item:hover {
    transform: translateX(8px);
    border-left-color: var(--red);
    background: #EEF2FF
}

.feature-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--red), #c01020);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 15px
}

.feature-text h6 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    font-size: 0.95rem
}

.feature-text p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6
}

/* COURSES */
.courses-section {
    padding: 90px 0;
    background: var(--light)
}

.course-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px
}

.filter-btn {
    background: #fff;
    border: 2px solid #ddd;
    color: #555;
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff
}

.course-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 22px;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--red), var(--blue))
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(13, 27, 75, 0.12);
    border-color: transparent
}

.course-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 15px;
    flex-shrink: 0
}

.course-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.4
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    flex-grow: 1;
}

.badge-duration {
    background: rgba(21, 101, 192, 0.1);
    color: var(--blue);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600
}

.badge-fee {
    background: rgba(232, 25, 44, 0.1);
    color: var(--red);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700
}

.btn-apply-now {
    background: linear-gradient(135deg, var(--red), #c01020);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    width: auto;
    margin-top: 0;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(232, 25, 44, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.btn-apply-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 25, 44, 0.4);
    background: linear-gradient(135deg, #c01020, #a01019);
    color: #fff;
}

.btn-apply-now:active {
    transform: translateY(0);
}

/* TABLE SECTION */
.table-section {
    padding: 90px 0;
    background: #fff
}

.courses-table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(13, 27, 75, 0.1)
}

.courses-table thead th {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 15px 20px;
    border: none
}

.courses-table tbody tr {
    transition: all 0.2s
}

.courses-table tbody tr:hover {
    background: #EEF4FF
}

.courses-table tbody td {
    padding: 12px 20px;
    font-size: 0.87rem;
    color: #333;
    vertical-align: middle;
    border-bottom: 1px solid #eee
}

.courses-table tbody tr:nth-child(even) td {
    background: #F8FAFF
}

/* WHY US */
.why-section {
    padding: 90px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden
}

.why-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(232, 25, 44, 0.08)
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 35px 28px;
    text-align: center;
    transition: all 0.35s;
    height: 100%
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(232, 25, 44, 0.4)
}

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #ff6b7a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    margin: 0 auto 20px
}

.why-card h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.05rem
}

.why-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.8;
    margin: 0
}

/* CTA */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--red) 0%, #c01020 50%, #E8192C 100%);
    position: relative;
    overflow: hidden
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05)
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px
}

.cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 30px
}

.btn-cta-white {
    background: #fff;
    color: var(--red);
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2)
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--red)
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    margin-left: 15px
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff
}

/* FOOTER */
.footer {
    background: #060e24;
    padding: 70px 0 0
}

.footer-logo img {
    height: 65px;
    margin-bottom: 15px
}

.footer-about {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.9;
    margin-bottom: 20px
}

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--red);
    border-radius: 2px
}

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

.footer-links li {
    margin-bottom: 10px
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px
}

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

.footer-links a i {
    font-size: 0.75rem;
    color: var(--red)
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s
}

.social-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-4px)
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.87rem
}

.footer-contact-item i {
    color: var(--red);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0
}

.footer-bottom {
    background: #03080f;
    padding: 18px 0;
    margin-top: 50px
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    margin: 0;
    text-align: center
}

.footer-bottom span {
    color: var(--red)
}

/* SEARCH */
.search-wrap {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px
}

.search-wrap input {
    width: 100%;
    padding: 10px 50px 10px 20px;
    border-radius: 30px;
    border: 2px solid #ddd;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s
}

.search-wrap input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.1)
}

.search-wrap button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 9px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s
}

.search-wrap button:hover {
    background: var(--red)
}

/* SCROLL TO TOP */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--red), #c01020);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(232, 25, 44, 0.4)
}

.scroll-top.show {
    opacity: 1;
    pointer-events: all
}

.scroll-top:hover {
    transform: translateY(-4px)
}

/* AFFILIATIONS */
.affil-section {
    padding: 50px 0;
    background: var(--light)
}

.affil-badge {
    background: #fff;
    border-radius: 14px;
    padding: 20px 30px;
    text-align: center;
    border: 2px solid #eee;
    transition: all 0.3s;
    height: 100%
}

.affil-badge:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.1)
}

.affil-badge p {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 0
}

.affil-badge span {
    color: #555;
    font-size: 0.8rem
}

/* RESPONSIVE */
@media(max-width:768px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0 60px
    }

    .hero-floating-card {
        display: none
    }

    .btn-hero-outline {
        margin-left: 0;
        margin-top: 10px
    }

    .hero-logo-glow {
        width: 220px
    }
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px
}

.mobile-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff
}

.mobile-logo img {
    height: 40px;
    display: block
}

.mobile-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

.mobile-logo-text {
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem
}

.mobile-logo-text small {
    display: block;
    color: #90CAF9;
    font-size: 0.5rem;
    font-weight: 400;
    line-height: 1
}