/* Base theme */
:root {
    --bg: #eef4fb;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: #ffffff;
    --ink: #162033;
    --muted: #5a6780;
    --brand: #1d4ed8;
    --brand-dark: #163ea7;
    --accent: #0891b2;
    --line: rgba(22, 32, 51, 0.1);
    --shadow: 0 20px 50px rgba(29, 58, 124, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --transition: 220ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'Manrope', sans-serif;
    line-height: 1.7;
    font-size: 16px;
    background:
        radial-gradient(circle at top left, rgba(29, 78, 216, 0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(8, 145, 178, 0.14), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

a:hover,
a:focus {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.set-pad {
    padding: 96px 0;
}

.set-row-pad {
    padding-top: 28px;
}

.section-intro {
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.08);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-kicker:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.section-intro p,
.hero-copy p,
.about-div p,
.course-copy p,
.contact-card p,
.tag-line p,
.faculty-copy p {
    color: var(--muted);
    font-size: 16px;
}

.header-line {
    margin: 18px 0 12px;
    color: var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.header-line:after,
h1::after {
    display: none;
}

.btn-set,
.hero-actions .btn,
.result-link,
.social-pill,
.course-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn-set:hover,
.hero-actions .btn:hover,
.result-link:hover,
.social-pill:hover,
.course-link:hover {
    transform: translateY(-2px);
}

.btn-primary-soft {
    background: linear-gradient(135deg, var(--brand) 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.22);
}

.btn-primary-soft:hover,
.btn-primary-soft:focus {
    color: #fff;
    box-shadow: 0 18px 34px rgba(29, 78, 216, 0.28);
}

.btn-outline-soft {
    color: var(--brand-dark);
    border-color: rgba(29, 78, 216, 0.24);
    background: rgba(255, 255, 255, 0.66);
}

.btn-outline-soft:hover,
.btn-outline-soft:focus {
    color: var(--brand-dark);
    border-color: rgba(29, 78, 216, 0.4);
    background: rgba(255, 255, 255, 0.92);
}

/* Navigation */
#menu {
    background: rgba(13, 24, 44, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 78px;
    padding: 10px 0;
    transition: background-color var(--transition), box-shadow var(--transition), padding var(--transition);
}

#menu.navbar-shrink {
    background: rgba(13, 24, 44, 0.94);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    padding: 4px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 15px;
    height: auto;
}

.logo-custom {
    width: 52px;
    height: 52px;
    max-height: none;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.brand-copy {
    color: #fff;
}

.brand-copy span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-copy strong {
    display: block;
    max-width: 360px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.navbar-inverse .navbar-toggle {
    margin-top: 12px;
    border-color: rgba(255, 255, 255, 0.25);
    border-radius: 14px;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background: rgba(255, 255, 255, 0.08);
}

.navbar-inverse .navbar-nav > li > a {
    color: rgba(255, 255, 255, 0.82);
    padding: 18px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    color: #fff;
    background: transparent;
}

/* Hero */
.home-sec {
    position: relative;
    overflow: hidden;
    padding: 140px 0 96px;
    background:
        linear-gradient(135deg, rgba(7, 17, 38, 0.82), rgba(20, 39, 88, 0.46)),
        url(../img/header.jpg) no-repeat center center;
    background-size: cover;
    color: #fff;
}

.home-sec:before,
.home-sec:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.home-sec:before {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -110px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.28), transparent 72%);
}

.home-sec:after {
    width: 340px;
    height: 340px;
    bottom: -130px;
    left: -90px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.22), transparent 70%);
}

.home-sec .overlay {
    background: transparent;
    min-height: auto;
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.hero-panel,
.hero-highlights,
.about-div,
.faculty-div,
.course-card,
.contact-card,
.result-card,
.highlight-bar {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-panel {
    padding: 44px;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.14);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-eyebrow:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d3ee;
}

.home-sec h1 {
    margin: 18px 0 16px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-transform: none;
}

.home-sec h3 {
    margin: 20px 0 0;
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.hero-point {
    padding: 18px;
    border-radius: 18px;
    background: rgba(9, 19, 40, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-point strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.hero-point span {
    display: block;
    color: rgba(219, 234, 254, 0.82);
    font-size: 14px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-highlights {
    padding: 34px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.14);
}

.hero-highlights h4 {
    margin: 0 0 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
}

.hero-metric {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metric:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hero-metric strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    line-height: 0.95;
}

.hero-metric span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.45;
}

.hero-metric p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.65;
}

/* Tagline */
.tag-line {
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
}

.highlight-bar {
    padding: 24px 30px;
}

.tag-line h2 {
    margin: 0;
    color: var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.tag-line p {
    margin: 10px 0 0;
}

/* Cards */
.about-div,
.faculty-div,
.course-card,
.contact-card {
    height: 100%;
    padding: 32px;
    border: 1px solid var(--line);
}

.about-div {
    position: relative;
    overflow: hidden;
}

.about-div:before {
    content: "";
    position: absolute;
    inset: auto -60px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.12), transparent 68%);
}

.icon-round-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border: 0;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(8, 145, 178, 0.12));
    color: var(--brand);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
}

.about-div:hover .icon-round-border {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #2563eb);
    box-shadow: 0 16px 30px rgba(29, 78, 216, 0.22);
    transform: translateY(-2px);
}

.about-div hr,
.faculty-div hr {
    width: 72px;
    margin: 18px 0;
    border: 0;
    border-top: 3px solid rgba(29, 78, 216, 0.18);
}

.about-div h3,
.faculty-div h3,
.course-card h3,
.contact-card h3 {
    margin: 22px 0 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

#faculty-sec {
    background:
        radial-gradient(circle at top right, rgba(8, 145, 178, 0.12), transparent 24%),
        linear-gradient(180deg, #152849 0%, #101b31 100%);
    color: #fff;
}

#faculty-sec .header-line {
    color: #fff;
}

#faculty-sec .section-intro p,
.faculty-copy p {
    color: rgba(255, 255, 255, 0.72);
}

.faculty-div {
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.faculty-div img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 0;
    border-radius: 28px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.faculty-div h4 {
    margin: 12px 0 0;
    color: #93c5fd;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.8;
    text-transform: uppercase;
}

.course-showcase {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.certificate-frame {
    position: relative;
    height: 100%;
    min-height: 460px;
    padding: 24px;
    border-radius: var(--radius-xl);
        background: linear-gradient(180deg, rgba(249, 252, 255, 0.92), rgba(255, 255, 255, 0.78));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.certificate-frame:before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(29, 78, 216, 0.12);
    border-radius: 22px;
    pointer-events: none;
}

.certificate-frame img {
    width: 100%;
    height: 100%;
    min-height: 412px;
    object-fit: cover;
    border-radius: 18px;
}

.course-list {
    display: grid;
    gap: 18px;
}

.course-card {
    padding: 26px 28px;
}

.course-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.08);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.course-link {
    margin-top: 12px;
    padding: 0;
    min-height: 0;
    border: 0;
    color: var(--brand);
    background: transparent;
}

.course-link:hover {
    color: var(--accent);
    transform: none;
}

.course-highlight {
    margin-top: 20px;
    padding: 20px 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    color: #fff;
    box-shadow: 0 20px 34px rgba(29, 78, 216, 0.2);
}

.course-highlight h4 {
    margin: 0 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

/* Contact */
#contact-sec {
    position: relative;
    padding: 96px 0 110px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(21, 40, 73, 0.96), rgba(11, 24, 48, 0.94)),
        url(../img/header.jpg) no-repeat center center;
    background-size: cover;
}

#contact-sec .overlay {
    background: transparent;
    min-height: auto;
}

#contact-sec .header-line {
    color: #fff;
}

#contact-sec .section-intro p {
    color: rgba(255, 255, 255, 0.74);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
}

.contact-card h2,
.contact-card h3 {
    color: #fff;
}

.contact-card p,
.contact-card a {
    color: rgba(255, 255, 255, 0.8);
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7dd3fc;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.social-pill {
    min-height: 52px;
    padding: 0 18px 0 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
}

.social-pill img {
    width: 26px;
    height: 26px;
}

#footer {
    padding: 18px 24px;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    text-align: center;
}

#footer a {
    color: #93c5fd;
}

/* Motion */
[data-scroll-reveal] {
    transition: transform 300ms ease, opacity 300ms ease;
}

.lift-on-hover {
    transition: transform var(--transition), box-shadow var(--transition);
}

.lift-on-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 42px rgba(29, 58, 124, 0.18);
}

/* Responsive */
@media (max-width: 991px) {
    #menu {
        background: rgba(13, 24, 44, 0.94);
    }

    .navbar-inverse .navbar-collapse {
        margin-top: 12px;
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.04);
        border-radius: 18px;
        padding: 8px 10px;
    }

    .navbar-inverse .navbar-nav > li > a {
        padding: 12px 10px;
    }

    .hero-wrap,
    .course-showcase,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .hero-highlights {
        padding: 30px;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .home-sec h1 {
        font-size: 44px;
    }

    .header-line {
        font-size: 34px;
    }

    .set-pad {
        padding: 82px 0;
    }

    .tag-line {
        margin-top: -24px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .navbar-brand {
        gap: 10px;
    }

    .logo-custom {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .brand-copy span {
        font-size: 10px;
    }

    .brand-copy strong {
        font-size: 14px;
        max-width: 220px;
    }

    .home-sec {
        padding: 122px 0 74px;
    }

    .home-sec h1 {
        font-size: 36px;
    }

    .header-line {
        font-size: 30px;
    }

    .hero-actions,
    .social-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-metric {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn-set,
    .hero-actions .btn,
    .social-pill {
        width: 100%;
    }

    .highlight-bar,
    .about-div,
    .faculty-div,
    .course-card,
    .contact-card {
        padding: 24px;
    }

    .certificate-frame {
        min-height: 320px;
    }

    .certificate-frame img {
        min-height: 272px;
    }

    .section-intro {
        margin-bottom: 36px;
    }
}
