﻿/* ===============================
   HEADER SECTION
================================ */
.HeaderFlex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.HeaderTextBlock {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
}

.Headertext {
    margin-left: 15px;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ff0080, #7928ca, #2afadf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===============================
   CARDS & CONTAINERS
================================ */
.Headercontainer {
    width: min(75rem, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 20px;
}

.HeaderCard {
    flex: 1;
    min-width: 260px;
    padding: 20px;
    background-image: linear-gradient(to bottom left, #e0e4e5, #f2f6f9);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    color: #444447;
    box-shadow: inset -2px 2px #fff, -15px 15px 35px rgba(0, 0, 0, 0.2);
}

/* ===============================
   SECTION TITLES
================================ */
.section-title {
    font-size: 2rem;
    color: #1a237e;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: "";
        display: block;
        width: 60%;
        height: 3px;
        background: linear-gradient(to right, #00bcd4, #3f51b5);
        margin: 10px auto 0;
        border-radius: 2px;
    }

/* ===============================
   INFO BOXES
================================ */
.info-box {
    display: inline-block;
    white-space: nowrap;
    background-color: #ffffff;
    border: 2px solid #cce5ff;
    border-radius: 12px;
    padding: 10px 20px;
    margin: 0 10px 10px 0;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .info-box:hover {
        transform: translateY(-3px);
        background-color: #e8f4ff;
    }

/* ===============================
   HERO SECTION
================================ */
.hero {
    background: linear-gradient(to right, #004e92, #000428);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

    .hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.1rem;
        margin-top: 10px;
    }

/* ===============================
   SUBJECT CARDS
================================ */
.subject-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .subject-card:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

/* ===============================
   FORM SECTIONS
================================ */
.form-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-label {
    font-weight: 600;
    color: #333;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    transition: all 0.3s ease-in-out;
}

    .form-control:focus, .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 5px rgba(13, 110, 253, 0.25);
    }

/* ===============================
   FOOTER
================================ */
footer {
    background: #222;
    color: #bbb;
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
}

/* ===============================
   RESPONSIVENESS
================================ */
@media (max-width: 992px) {
    .Headertext {
        font-size: 2.5rem;
        margin-left: 0;
        text-align: center;
    }

    .Headercontainer {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .form-section {
        padding: 25px 15px;
    }
}

@media (max-width: 576px) {
    .Headertext {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .info-box {
        font-size: 14px;
        padding: 8px 15px;
    }

    .hero {
        padding: 60px 15px;
    }
}
