/* ===================================== */
/* VISION GLOBAL VOCATIONAL CENTRE CSS */
/* Clean Professional Responsive Design */
/* ===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background: #f4f6f9;
    color: #333;
}

/* ===================== */
/* TOP BAR */
/* ===================== */

.top-bar {
    background: #071f3d;
    color: #fff;
    padding: 8px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ===================== */
/* HEADER & NAVIGATION */
/* ===================== */

header {
    background: #0a2e5c;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: #ffd700;
}

/* HAMBURGER MENU */
.menu-toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* ===================== */
/* HERO SECTION */
/* ===================== */

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('images/hero.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
}

/* ===================== */
/* GENERAL SECTIONS */
/* ===================== */

.section {
    padding: 60px 20px;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #0a2e5c;
}

/* ===================== */
/* GRID & CARDS */
/* ===================== */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===================== */
/* BUTTONS */
/* ===================== */

.btn {
    background: #0a2e5c;
    color: #fff;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #071f3d;
}

/* ===================== */
/* FORMS */
/* ===================== */

form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    resize: none;
}

/* ===================== */
/* TABLES */
/* ===================== */

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table th,
table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

table th {
    background: #0a2e5c;
    color: #fff;
}

/* ===================== */
/* FOOTER */
/* ===================== */

footer {
    background: #0a2e5c;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ===================== */
/* RESPONSIVE DESIGN */
/* ===================== */

@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        background: #0a2e5c;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    nav a {
        padding: 12px 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    nav.show {
        display: flex;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 16px;
    }
}