:root {
    --primary: #0b3d91;
    --primary-dark: #082d6c;
    --secondary: #d9a441;
    --secondary-dark: #b88624;

    --bg: #ffffff;
    --bg-light: #f5f7fb;
    --card: #ffffff;

    --text: #172033;
    --muted: #697386;
    --border: #e5e9f2;

    --shadow: 0 15px 40px rgba(15, 35, 70, 0.08);
    --radius: 20px;

    --transition: all .3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body.dark-mode {

    --bg: #0d1420;
    --bg-light: #121b29;
    --card: #172131;

    --text: #f0f4fa;
    --muted: #aeb9c9;
    --border: #263548;

    background: var(--bg);
}

body.dark-mode .header {
    background: #111a28;
}

body.dark-mode .section-light,
body.dark-mode .statistics {
    background: #121b29;
}

body.dark-mode .program-card,
body.dark-mode .department-card,
body.dark-mode .service-card,
body.dark-mode .news-card {
    background: #172131;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background: #101926;
    color: white;
    border-color: #2b3b51;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    z-index: 1000;

    background: rgba(255, 255, 255, .95);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);
}

.nav-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;

    border-radius: 12px;

    display: grid;
    place-items: center;

    background: var(--primary);
    color: white;

    font-size: 21px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
}

.logo-text span {
    font-size: 10px;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav a {
    padding: 10px 13px;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    color: var(--muted);

    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    background: #eef4ff;
    color: var(--primary);
}

body.dark-mode .nav a:hover,
body.dark-mode .nav a.active {
    background: #1b3558;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.icon-btn,
.menu-btn {
    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    background: var(--card);

    border-radius: 10px;

    cursor: pointer;

    color: var(--text);

    transition: var(--transition);
}

.icon-btn:hover,
.menu-btn:hover {
    background: var(--primary);
    color: white;
}

.menu-btn {
    display: none;
}

/* ================= HERO ================= */

.hero {
    min-height: 800px;

    display: flex;
    align-items: center;

    position: relative;

    background:
        url("image/005.png")
        center / cover
        no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 24, 57, .94),
            rgba(8, 44, 95, .74),
            rgba(7, 31, 65, .35)
        );
}

.hero-content {
    position: relative;

    color: white;

    padding-top: 90px;
}

.hero-badge {
    width: max-content;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 14px;

    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.1);

    border-radius: 50px;

    backdrop-filter: blur(12px);

    font-size: 13px;
    margin-bottom: 25px;
}

.hero h1 {
    max-width: 760px;

    font-family: "Poppins", sans-serif;

    font-size: clamp(42px, 6vw, 76px);

    line-height: 1.08;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #ffd86a;
}

.hero p {
    max-width: 650px;

    font-size: 18px;

    color: rgba(255,255,255,.85);

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 14px 22px;

    border-radius: 12px;

    border: none;

    font-weight: 700;

    cursor: pointer;

    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero .btn-primary {
    background: var(--secondary);
}

.hero .btn-primary:hover {
    background: var(--secondary-dark);
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

.hero-trust {
    display: flex;
    gap: 35px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-trust div {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    font-size: 17px;
}

.hero-trust span {
    font-size: 12px;
    color: rgba(255,255,255,.7);
}

/* ================= STATS ================= */

.statistics {
    background: var(--bg-light);
    padding: 25px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    background: var(--card);

    padding: 22px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    gap: 15px;

    box-shadow: var(--shadow);

    border: 1px solid var(--border);
}

.stat-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: #edf3ff;

    color: var(--primary);

    font-size: 20px;
}

body.dark-mode .stat-icon {
    background: #1b3558;
}

.stat-card h2 {
    font-size: 28px;
    font-family: "Poppins";
}

.stat-card p {
    color: var(--muted);
    font-size: 13px;
}

/* ================= GENERAL SECTION ================= */

.section {
    padding: 100px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-title span,
.mini-title {
    color: var(--secondary-dark);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.section-title h2 {
    margin: 10px 0 15px;

    font-family: "Poppins";

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.2;
}

.section-title p {
    color: var(--muted);
}

/* ================= ABOUT ================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;

    height: 500px;

    object-fit: cover;

    border-radius: 25px;

    box-shadow: var(--shadow);
}

.about-floating {
    position: absolute;

    left: 25px;
    bottom: 25px;

    background: white;

    border-radius: 15px;

    padding: 15px 18px;

    display: flex;
    align-items: center;
    gap: 12px;

    box-shadow: var(--shadow);
}

.about-floating i {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: #edf3ff;
    color: var(--primary);
}

.about-floating div {
    display: flex;
    flex-direction: column;
}

.about-floating strong {
    font-size: 13px;
}

.about-floating span {
    color: var(--muted);
    font-size: 11px;
}

.feature {
    display: flex;
    gap: 18px;

    margin-bottom: 35px;
}

.feature-icon {
    flex-shrink: 0;

    width: 53px;
    height: 53px;

    border-radius: 14px;

    display: grid;
    place-items: center;

    background: #edf3ff;

    color: var(--primary);
}

.feature h3 {
    margin-bottom: 5px;

    font-size: 18px;
}

.feature p {
    color: var(--muted);

    font-size: 14px;
}

/* ================= PROGRAMS ================= */

.program-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.program-card {
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 22px;

    padding: 30px;

    position: relative;

    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.program-card.featured {
    border: 2px solid var(--secondary);
}

.recommended {
    position: absolute;

    top: -14px;
    right: 22px;

    padding: 6px 12px;

    background: var(--secondary);

    color: white;

    border-radius: 50px;

    font-size: 11px;

    font-weight: 700;
}

.program-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.program-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: #edf3ff;

    color: var(--primary);

    font-size: 22px;
}

.program-tag {
    background: #eef5ee;

    color: #247438;

    padding: 6px 10px;

    border-radius: 50px;

    font-size: 10px;

    font-weight: 700;
}

.program-card h3 {
    font-family: "Poppins";

    font-size: 25px;

    margin-bottom: 10px;
}

.program-card p {
    color: var(--muted);

    font-size: 14px;

    margin-bottom: 20px;
}

.program-card ul {
    list-style: none;

    margin-bottom: 25px;
}

.program-card li {
    margin-bottom: 10px;

    font-size: 13px;
}

.program-card li i {
    color: #269d4b;

    margin-right: 8px;
}

.program-link {
    color: var(--primary);

    font-weight: 700;

    font-size: 13px;

    display: inline-flex;

    align-items: center;

    gap: 7px;
}

/* ================= DEPARTMENT ================= */

.departments-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.department-card {
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 28px;

    transition: var(--transition);
}

.department-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.department-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.department-top > span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

.department-icon {
    width: 50px;
    height: 50px;

    border-radius: 14px;

    background: #edf3ff;

    color: var(--primary);

    display: grid;
    place-items: center;
}

.department-card h3 {
    font-size: 20px;

    margin-bottom: 15px;

    font-family: "Poppins";
}

.department-card ul {
    padding-left: 18px;
}

.department-card li {
    margin-bottom: 10px;

    color: var(--muted);

    font-size: 13px;
}

/* ================= ADMISSION ================= */

.admission-section {
    padding: 90px 0;

    background:
        linear-gradient(
            120deg,
            var(--primary),
            #092b61
        );

    color: white;
}

.admission-grid {
    display: grid;

    grid-template-columns: 1.2fr .8fr;

    align-items: center;

    gap: 70px;
}

.admission-info h2 {
    font-family: "Poppins";

    font-size: clamp(35px, 5vw, 52px);

    margin: 10px 0 15px;
}

.admission-info p {
    color: rgba(255,255,255,.78);

    max-width: 600px;
}

.admission-points {
    margin: 25px 0 30px;
}

.admission-points div {
    margin-bottom: 10px;
}

.admission-points i {
    color: #ffd86a;

    margin-right: 8px;
}

.admission-card {
    background: white;
    color: var(--text);

    border-radius: 24px;

    padding: 35px;

    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.admission-card-icon {
    width: 55px;
    height: 55px;

    background: #edf3ff;

    color: var(--primary);

    display: grid;
    place-items: center;

    border-radius: 15px;

    font-size: 22px;

    margin-bottom: 20px;
}

.admission-card h3 {
    font-family: "Poppins";

    font-size: 25px;
}

.admission-card p {
    color: var(--muted);

    font-size: 14px;

    margin: 8px 0 30px;
}

.process {
    display: flex;

    align-items: center;

    gap: 10px;
}

.process-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    text-align: center;
}

.process-item strong {
    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    display: grid;
    place-items: center;

    font-size: 12px;
}

.process-item span {
    font-size: 10px;

    color: var(--muted);
}

.process-line {
    height: 1px;

    flex: 1;

    background: var(--border);
}

/* ================= DOCUMENTS ================= */

.documents-grid {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 18px;
}

.document-item {
    display: flex;

    gap: 15px;

    padding: 22px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: var(--card);
}

.document-number {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: #edf3ff;

    color: var(--primary);

    border-radius: 10px;

    font-weight: 800;

    font-size: 12px;
}

.document-item h3 {
    font-size: 16px;

    margin-bottom: 4px;
}

.document-item p {
    color: var(--muted);

    font-size: 13px;
}

/* ================= NEWS ================= */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.news-card {
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 20px;

    overflow: hidden;

    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);
}

.news-card img {
    width: 100%;

    height: 220px;

    object-fit: cover;
}

.news-content {
    padding: 22px;
}

.news-content > span {
    font-size: 10px;

    color: var(--secondary-dark);

    font-weight: 800;
}

.news-content h3 {
    font-family: "Poppins";

    font-size: 18px;

    margin: 7px 0;
}

.news-content p {
    color: var(--muted);

    font-size: 13px;

    margin-bottom: 15px;
}

.news-content a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    font-size: 12px;

    color: var(--primary);

    font-weight: 700;
}

/* ================= SERVICES ================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 20px;
}

.service-card {
    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.service-card > i {
    color: var(--primary);

    font-size: 28px;

    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 17px;

    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);

    font-size: 12px;
}

/* ================= CONTACT ================= */

.contact-section {
    padding: 90px 0;

    background: var(--bg-light);
}

.contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.contact-grid h2 {
    font-family: "Poppins";

    font-size: 45px;

    margin: 10px 0;
}

.contact-grid > div:first-child p {
    color: var(--muted);

    max-width: 500px;
}

.contact-list {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-item {
    display: flex;

    gap: 15px;

    align-items: flex-start;

    padding: 18px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 15px;
}

.contact-item > div {
    width: 43px;
    height: 43px;

    border-radius: 10px;

    background: #edf3ff;

    color: var(--primary);

    display: grid;
    place-items: center;

    flex-shrink: 0;
}

.contact-item p {
    color: var(--muted);

    font-size: 13px;
}

/* ================= FOOTER ================= */

footer {
    background: #08182f;

    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 40px;

    padding: 60px 0;
}

.footer-logo {
    font-family: "Poppins";

    font-size: 20px;

    font-weight: 800;

    margin-bottom: 15px;
}

.footer-grid p {
    color: rgba(255,255,255,.65);

    font-size: 13px;

    max-width: 330px;
}

.footer-grid h4 {
    margin-bottom: 18px;
}

.footer-grid > div:not(:first-child) {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-grid a {
    color: rgba(255,255,255,.68);

    font-size: 13px;
}

.footer-grid a:hover {
    color: white;
}

.socials {
    display: flex !important;

    flex-direction: row !important;

    gap: 10px !important;
}

.socials a {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: rgba(255,255,255,.08);
}

.copyright {
    text-align: center;

    padding: 20px;

    border-top: 1px solid rgba(255,255,255,.08);

    font-size: 12px;

    color: rgba(255,255,255,.55);
}

/* ================= MODAL ================= */

.modal {
    position: fixed;

    inset: 0;

    background: rgba(4,10,20,.7);

    backdrop-filter: blur(5px);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    z-index: 3000;
}

.modal.show {
    display: flex;
}

.modal-content {
    width: min(800px,100%);

    max-height: 90vh;

    overflow-y: auto;

    background: var(--card);

    border-radius: 25px;

    padding: 35px;

    position: relative;

    box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

.modal-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border);

    background: var(--card);

    color: var(--text);

    border-radius: 10px;

    cursor: pointer;
}

.modal-header {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 30px;
}

.modal-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: #edf3ff;

    color: var(--primary);

    font-size: 22px;
}

.modal-header h2 {
    font-family: "Poppins";
}

.modal-header p {
    color: var(--muted);

    font-size: 13px;
}

.form-grid {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 18px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-bottom: 18px;
}

.form-group label {
    font-size: 12px;

    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid var(--border);

    background: var(--bg);

    color: var(--text);

    border-radius: 10px;

    padding: 12px;

    outline: none;

    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.checkbox {
    display: flex;

    gap: 10px;

    align-items: flex-start;

    font-size: 12px;

    color: var(--muted);

    margin-bottom: 20px;
}

/* ================= TOAST ================= */

.toast {
    position: fixed;

    right: 25px;

    bottom: 25px;

    background: #173b22;

    color: white;

    padding: 16px 18px;

    border-radius: 14px;

    display: flex;

    gap: 12px;

    align-items: center;

    box-shadow: 0 15px 30px rgba(0,0,0,.2);

    transform: translateY(130px);

    opacity: 0;

    transition: .4s;

    z-index: 5000;
}

.toast.show {
    transform: translateY(0);

    opacity: 1;
}

.toast > i {
    color: #63dc84;

    font-size: 20px;
}

.toast strong {
    display: block;

    font-size: 13px;
}

.toast p {
    font-size: 11px;

    margin-top: 3px;

    color: rgba(255,255,255,.7);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    .nav {
        position: fixed;

        top: 78px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        background: var(--card);

        padding: 20px;

        border-bottom: 1px solid var(--border);
    }

    .nav.show {
        display: flex;
    }

    .nav a {
        width: 100%;
    }

    .menu-btn {
        display: block;
    }

    .stats-grid,
    .program-grid,
    .departments-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

}

@media (max-width: 800px) {

    .hero {
        min-height: 760px;
    }

    .about-grid,
    .admission-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .container {
        width: min(100% - 25px, 1180px);
    }

    .logo-text span {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-trust {
        gap: 20px;
    }

    .stats-grid,
    .program-grid,
    .departments-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .modal-content {
        padding: 25px 18px;
    }

}