/* ========================================
   GENERAL STYLES
======================================== */

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

html {
    scroll-behavior: smooth;
}

/* Prevent sections from hiding behind the sticky navbar */
#home,
#admission,
#campus {
    scroll-margin-top: 70px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
    line-height: 1.6;
}


/* ========================================
   HEADER
======================================== */

.header {
    background: #0f3d6e;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: auto;
    padding: 15px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.logo-icon {
    font-size: 35px;
}

.logo h1 {
    font-size: 20px;
    line-height: 1.2;
}

.logo p {
    font-size: 13px;
    opacity: 0.85;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #93c5fd;
}


/* ========================================
   HERO SECTION
======================================== */

.hero {
    background: linear-gradient(
        135deg,
        #eaf3ff,
        #ffffff
    );

    padding: 70px 25px;
}

.hero-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;

    align-items: center;
}

.hero-text {
    padding: 10px;
}

.badge {
    display: inline-block;

    background: #dbeafe;
    color: #1d4ed8;

    padding: 8px 16px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: bold;

    margin-bottom: 18px;
}

.hero h2 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #123b63;
}

.hero h2 span {
    color: #2563eb;
}

.hero p {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 28px;
    max-width: 600px;
}

.hero-button {
    display: inline-block;

    background: #2563eb;
    color: white;

    text-decoration: none;

    padding: 13px 28px;

    border-radius: 8px;

    font-weight: bold;

    transition: 0.3s;
}

.hero-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: 350px;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.18);
}


/* ========================================
   SECTION HEADING
======================================== */

.section-heading {
    text-align: center;
    max-width: 750px;

    margin: 0 auto 40px;

    padding: 0 20px;
}

.section-heading span {
    color: #2563eb;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;
}

.section-heading h2 {
    color: #123b63;

    font-size: 34px;

    margin: 8px 0 12px;
}

.section-heading p {
    color: #6b7280;
}


/* ========================================
   ADMISSION SECTION
======================================== */

.admission-section {
    max-width: 1100px;

    margin: auto;

    padding: 70px 25px;
}


/* ========================================
   FORM CARD
======================================== */

.form-card {
    background: white;

    border-radius: 15px;

    padding: 30px;

    margin-bottom: 25px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);

    border: 1px solid #e5e7eb;
}

.form-card h3 {
    color: #123b63;

    font-size: 21px;

    margin-bottom: 25px;

    padding-bottom: 12px;

    border-bottom: 2px solid #e5efff;
}


/* ========================================
   FORM GRID
======================================== */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;

    color: #374151;

    font-size: 14px;
}


/* ========================================
   INPUTS
======================================== */

input,
select,
textarea {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    background: #ffffff;

    font-size: 15px;

    font-family: inherit;

    outline: none;

    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(
            37,
            99,
            235,
            0.12
        );
}

textarea {
    resize: vertical;
}

input[type="file"] {
    padding: 9px;
}


/* ========================================
   RADIO BUTTONS
======================================== */

.radio-group {
    display: flex;

    align-items: center;

    gap: 20px;

    min-height: 44px;
}

.radio-option {
    display: flex;

    align-items: center;

    gap: 6px;

    font-weight: normal !important;

    cursor: pointer;
}

.radio-option input {
    width: auto;
}


/* ========================================
   CHECKBOX
======================================== */

.checkbox-option {
    display: flex;

    flex-direction: row !important;

    align-items: flex-start;

    gap: 10px;

    font-weight: normal !important;

    cursor: pointer;
}

.checkbox-option input {
    width: auto;

    margin-top: 5px;
}


/* ========================================
   FORM BUTTONS
======================================== */

.form-actions {
    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 30px;
}

.reset-button,
.submit-button {
    border: none;

    padding: 13px 28px;

    border-radius: 8px;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.reset-button {
    background: #e5e7eb;

    color: #374151;
}

.reset-button:hover {
    background: #d1d5db;
}

.submit-button {
    background: #2563eb;

    color: white;
}

.submit-button:hover {
    background: #1d4ed8;

    transform: translateY(-2px);
}


/* ========================================
   CAMPUS MULTIMEDIA SECTION
======================================== */

.campus-section {
    background: #eef5ff;

    padding: 70px 25px;
}

.media-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;
}

.media-card {
    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(
            0,
            0,
            0,
            0.08
        );

    border: 1px solid #e5e7eb;
}

.media-card > img {
    width: 100%;

    height: 280px;

    object-fit: cover;

    display: block;
}

.media-content {
    padding: 25px;
}

.media-content h3 {
    color: #123b63;

    font-size: 21px;

    margin-bottom: 10px;
}

.media-content p {
    color: #6b7280;

    margin-bottom: 20px;
}

.media-item {
    margin-top: 20px;
}

.media-item h4 {
    color: #374151;

    font-size: 15px;

    margin-bottom: 8px;
}

audio {
    width: 100%;

    height: 45px;
}

video {
    width: 100%;

    max-height: 300px;

    display: block;

    border-radius: 10px;

    background: #111827;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    background: #0f3d6e;

    color: white;

    padding: 35px 25px;
}

.footer-content {
    max-width: 1100px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.footer h3 {
    margin-bottom: 8px;
}

.footer p {
    color: #dbeafe;

    font-size: 14px;
}


/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 900px) {

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

    .hero-text {
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .header-content {
        flex-direction: column;
    }

    nav {
        gap: 15px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .radio-group {
        flex-wrap: wrap;
    }

    .form-actions {
        flex-direction: column;
    }

    .reset-button,
    .submit-button {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}


@media (max-width: 480px) {

    .hero {
        padding: 45px 15px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .admission-section,
    .campus-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .form-card {
        padding: 20px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

}