* {
    margin: 0;
    padding: 0;
    /* font-family: 'Open Sans', sans-serif; */
}

body {
    font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

/* Inter only for: nav links, hero H1, hero buttons */
.nav-links ul li a,
.hero-banner h1,
.hero-banner .learn-btn,
.hero-banner [class$="btn-ghost"] {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif !important;
}

:root {
    --ink: #0b1324;
    --brand: #1e6091;
    --accent: #2f6fa3;
    --navy: #0a1628;
    --muted: rgba(11, 19, 36, 0.72);
    --line: rgba(11, 19, 36, 0.12);
    --card: #ffffff;
    --shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
    --page-max: 1320px;
}
.header {
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-banner {
    min-height: clamp(520px, 65vh, 980px);
    width: 100%;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.hero-carousel-frame {
    position: absolute;
    inset: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    z-index: 0;
}

.hero-carousel-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 22, 40, 1) 0%,
        rgba(10, 22, 40, 0.92) 18%,
        rgba(10, 22, 40, 0.55) 40%,
        rgba(10, 22, 40, 0.12) 62%,
        rgba(10, 22, 40, 0) 78%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-carousel-frame::after {
    content: none;
}

.hero-banner #heroCarousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-banner .carousel-indicators {
    bottom: 16px;
    margin-bottom: 0;
}

.hero-banner .carousel-indicators [data-bs-target] {
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 0.55;
}

.hero-banner .carousel-indicators .active {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.95);
}

.hero-banner #heroCarousel,
.hero-banner #heroCarousel .carousel-inner,
.hero-banner #heroCarousel .carousel-item {
    height: 100%;
}

.hero-banner #heroCarousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

nav {
    display: flex;
    padding: 8px 6%;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(11, 19, 36, 0.1);
    border-bottom: 1px solid rgba(11, 19, 36, 0.08);
    position: relative;
}

/* Consistent white margin below navbar */
nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 14px;
    background: #ffffff;
    pointer-events: none;
}
nav img {
    display: flex;
    width: 23vh;
    margin-top: 0;
    margin-bottom: 0;
    transform: translateY(-2px);
}

.logotext {
    text-decoration: none;
    color: #ffff;
    font-weight: semi-bold;
}

.nav-links {
    flex: 1;
    text-align: right;
    margin-top: 0;
}

/* Center desktop nav links while logo stays left */
@media (min-width: 831px) {
    .nav-links {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) translateY(12px);
        flex: 0;
        text-align: center;
        margin-top: 0;
    }
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    text-decoration: none;
    color: #0b1324;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Smooth sliding underline on hover */
.nav-links ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: rgba(11, 19, 36, 0.85);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.nav-links ul li a:hover::before {
    transform: scaleX(1);
}

.nav-links ul li a:hover {
    color: #12305e;
}

/* Disable legacy underline to prevent double underline */
.nav-links ul li::after {
    content: none !important;
}

.hero-banner .main-text {
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    width: 40%;
    min-width: 320px;
    top: 54%;
    left: 6%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 2;
    padding: 0 clamp(10px, 2.2vw, 24px) 34px;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.hero-copy {
    max-width: 520px;
}

.hero-since {
    font-size: 10pt;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(160, 198, 221, 0.9);
    margin-bottom: 10px;
}

.main-text h1 {
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.main-text p {
    font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    margin: 12px 0 18px;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    color: white;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

@media (max-width: 900px) {
    .hero-banner .main-text {
        width: min(640px, 90%);
        min-width: 0;
    }
}

.learn-btn {
    display: inline-block;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
    letter-spacing: 0.01em;
    font-weight: 600;
}

.learn-btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #1f6fb8 0%, #163f76 100%);
    box-shadow: 0 12px 26px rgba(10, 22, 40, 0.35);
}

.learn-btn--secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.learn-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.learn-btn--primary:hover {
    box-shadow: 0 16px 32px rgba(11, 19, 36, 0.42);
}

.learn-btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
}

.menu {
    width: 35px;
    height: 5px;
    background-color: black;
    margin: 6px 0;
}

nav .fa-solid {
    display: none;
    color: #0b1324;
}

@media (max-width: 830px) {
    .main-text h1 {
        font-size: 20px;
    }
    nav img {
        width: 32vh;
    }

    .nav-links {
        position: absolute;
        background: #1e6091;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        margin-top: 0;
        transition: 1s;
    }
    .nav-links ul li {
        display: block;
    }
    nav .fa-solid {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul li a {
        color: #fff;
    }
    .nav-links ul li::after {
        background: #ffffff;
    }
    .nav-links ul {
        padding: 30px;
    }
}

/* --------Course------- */
.course {
    font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    width: min(var(--page-max), 92%);
    margin: auto;
    text-align: left;
    padding-top: 50px;
}
h1 {
    font-size: 36px;
    font-weight: 600;
}

/* Course section headline override */
.course > h1 {
    font-size: 20pt;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    max-width: 78ch;
    margin: 0 auto;
}

p {
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.course-col {
    flex-basis: 31%;
    background: #ffffff;
    border-radius: 14px 14px 0 0;
    margin-bottom: 5%;
    padding: 26px 22px;
    box-sizing: border-box;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.card-image-wrap {
    position: relative;
    height: 200px;
    margin-top: 18px;
    /* Bleed to card edges (undo .course-col padding) */
    margin-left: -22px;
    margin-right: -22px;
    margin-bottom: -26px;
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.course-col--custsprt .card-image-wrap img {
    object-position: left center;
}

.card-image-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom right, white 20%, transparent 60%),
        /* Stronger top fade (dissolves into card) */
        linear-gradient(to bottom, white 0%, transparent 40%),
        /* Slightly stronger left fade */
        linear-gradient(to right, white 0%, transparent 40%);
}

.course-col h2 {
    text-align: left;
    font-weight: 700;
    margin: 6px 0 8px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.course-col p {
    line-height: 1.8em;
}

h2 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.course-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.18);
}

.advantage-icon {
    display: none;
}

.advantage-title {
    color: #1f6fb8;
    font-weight: 750;
    font-size: 20px;
    margin: 0;
}

.advantage-accent {
    width: 32px;
    height: 2px;
    background: var(--brand);
    border-radius: 999px;
    margin: 8px 0 12px;
}

.advantage-tagline {
    font-weight: 700;
    font-style: normal;
    color: var(--ink);
    margin: 0 0 12px;
}

.advantage-body {
    padding: 0;
    margin: 0;
    color: #4b4c4d;
    line-height: 1.7em;
}

.advantage-link {
    margin-top: auto;
    padding-top: 14px;
    text-decoration: none;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.advantage-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.trust-bar {
    position: relative;
    padding: 24px 0;
    background: #f4f6f8;
    overflow: hidden;
}

.trust-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    /* Subtle technical-line texture */
    background-image: repeating-linear-gradient(
            90deg,
            rgba(11, 19, 36, 0.06) 0px,
            rgba(11, 19, 36, 0.06) 1px,
            transparent 1px,
            transparent 110px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(11, 19, 36, 0.045) 0px,
            rgba(11, 19, 36, 0.045) 1px,
            transparent 1px,
            transparent 82px
        );
}

.trust-inner {
    width: min(var(--page-max), 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.trust-item {
    text-align: center;
    padding: 8px 24px;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-item + .trust-item {
    border-left: 1px solid rgba(11, 19, 36, 0.12);
}

.trust-icon {
    width: 40px;
    height: 40px;
    color: rgba(11, 19, 36, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.trust-icon svg {
    width: 40px;
    height: 40px;
}

.trust-stat {
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 16px;
    color: rgba(11, 19, 36, 0.92);
}

.trust-desc {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(11, 19, 36, 0.72);
    line-height: 1.4;
}

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    width: min(var(--page-max), 92%);
    margin: 0 auto;
    padding: 44px 0 26px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1.15fr;
    gap: 22px;
}

.footer-logo {
    max-width: 220px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-desc {
    margin: 14px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    font-size: 14px;
}

.footer-title {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer-social-link {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.footer-social-link:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    width: min(var(--page-max), 92%);
    margin: 0 auto;
    padding: 14px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
}

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 980px) {
    .trust-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trust-item + .trust-item {
        border-left: none;
    }
    .trust-item:nth-child(2n) {
        border-left: 1px solid rgba(11, 19, 36, 0.12);
    }
    .trust-item:nth-child(n + 3) {
        border-top: 1px solid rgba(11, 19, 36, 0.12);
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .trust-inner {
        grid-template-columns: 1fr;
    }
    .trust-item {
        border-left: none !important;
        border-top: 1px solid rgba(11, 19, 36, 0.12);
    }
    .trust-item:first-child {
        border-top: none;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .row {
        flex-direction: column;
    }
}

.campus {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.campus-col {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img {
    width: 100%;
    height: 100%;
}

.layer {
    transition: 0.5s;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.layer h3 {
    margin-top: 10px;
}
.layer:hover {
    background: rgba(83, 151, 234, 0.5);
}

#carouselExampleControls {
    width: 70%;
    height: 70%;
    align-content: center;
}
.carousel-item {
    object-fit: fill;
}

.carousel-item img {
    width: auto;
    height: 700px;
    object-fit: contain;
}

.footer-basic {
    padding: 40px 0;
    background-color: #ffffff;
    color: #4b4c4d;
}

.footer-basic ul {
    padding: 0;
    list-style: none;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-basic li {
    padding: 0 10px;
}

.footer-basic ul a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

.footer-basic ul a:hover {
    opacity: 1;
}

.footer-basic .social > a {
    font-size: 24px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #ccc;
    margin: 0 8px;
    color: inherit;
    opacity: 0.75;
}

.footer-basic .social > a:hover {
    opacity: 0.9;
}

.footer-basic .copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 0;
}
