/*
|--------------------------------------------------------------------------
| VICE PUBLIC WEBSITE
| Global Styles
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Reset
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    padding: 0;

    font-family:
            Arial,
            Helvetica,
            sans-serif;

    color: #222;

    background: #ffffff;

    line-height: 1.6;

}


img {

    max-width: 100%;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
textarea,
select {

    font: inherit;

}


/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.container {

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: #ffffff;

    border-bottom: 1px solid #e8e8e8;

    box-shadow:
            0 2px 12px
            rgba(0, 0, 0, 0.06);

}


.header-inner {

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}


/*
|--------------------------------------------------------------------------
| Brand
|--------------------------------------------------------------------------
*/

.site-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

}


.site-logo {

    width: 54px;

    height: 54px;

    object-fit: contain;

}


.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.2;

}


.brand-text strong {

    font-size: 17px;

}


.brand-text small {

    margin-top: 3px;

    font-size: 11px;

    letter-spacing: 1.5px;

    color: #666;

}


/*
|--------------------------------------------------------------------------
| Navigation
|--------------------------------------------------------------------------
*/

.main-navigation {

    display: flex;

    align-items: center;

    gap: 5px;

}


.main-navigation a {

    position: relative;

    padding: 10px 12px;

    font-size: 14px;

    font-weight: 600;

    color: #333;

    transition:
            color 0.2s ease,
            background 0.2s ease;

}


.main-navigation a:hover {

    color: #111;

}


.main-navigation a.active {

    color: #111;

}


.main-navigation a.active::after {

    content: "";

    position: absolute;

    left: 12px;

    right: 12px;

    bottom: 2px;

    height: 2px;

    background: #222;

}


.main-navigation .nav-enquiry {

    margin-left: 8px;

    padding: 10px 17px;

    border-radius: 5px;

    background: #222;

    color: #fff;

}


.main-navigation .nav-enquiry:hover {

    background: #444;

    color: #fff;

}


.main-navigation .nav-enquiry::after {

    display: none;

}


/*
|--------------------------------------------------------------------------
| Mobile Menu Button
|--------------------------------------------------------------------------
*/

.mobile-menu-button {

    display: none;

    width: 42px;

    height: 42px;

    padding: 8px;

    border: 1px solid #ddd;

    border-radius: 5px;

    background: #fff;

    cursor: pointer;

}


.mobile-menu-button span {

    display: block;

    height: 2px;

    margin: 5px 0;

    background: #222;

}


/*
|--------------------------------------------------------------------------
| Main
|--------------------------------------------------------------------------
*/

main {

    min-height: 60vh;

}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.site-footer {

    margin-top: 70px;

    background: #171717;

    color: #ffffff;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.4fr;

    gap: 45px;

    padding-top: 55px;

    padding-bottom: 45px;

}


.footer-column h3 {

    margin: 0 0 18px;

    font-size: 16px;

}


.footer-column p {

    margin: 0 0 10px;

    color: #c9c9c9;

    font-size: 14px;

}


.footer-column ul {

    list-style: none;

    margin: 0;

    padding: 0;

}


.footer-column li {

    margin-bottom: 9px;

}


.footer-column li a {

    color: #c9c9c9;

    font-size: 14px;

    transition: color 0.2s ease;

}


.footer-column li a:hover {

    color: #ffffff;

}


.footer-column address {

    font-style: normal;

}


.footer-column address a {

    color: #ffffff;

}


.footer-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

}


.footer-brand img {

    width: 52px;

    height: 52px;

    object-fit: contain;

}


.footer-brand span {

    max-width: 220px;

    font-size: 17px;

    font-weight: bold;

    line-height: 1.3;

}


/*
|--------------------------------------------------------------------------
| Footer Bottom
|--------------------------------------------------------------------------
*/

.footer-bottom {

    border-top: 1px solid #333;

}


.footer-bottom-inner {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    margin: 0;

    color: #aaa;

    font-size: 12px;

}


.legal-links {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #aaa;

    font-size: 12px;

}


.legal-links a:hover {

    color: #fff;

}


/*
|--------------------------------------------------------------------------
| Focus Accessibility
|--------------------------------------------------------------------------
*/

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {

    outline: 3px solid #777;

    outline-offset: 3px;

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {


    .header-inner {

        min-height: 70px;

    }


    .mobile-menu-button {

        display: block;

    }


    .main-navigation {

        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        right: 0;

        padding: 15px 20px 20px;

        flex-direction: column;

        align-items: stretch;

        background: #ffffff;

        border-bottom: 1px solid #ddd;

        box-shadow:
                0 8px 15px
                rgba(0, 0, 0, 0.08);

    }


    .main-navigation.open {

        display: flex;

    }


    .main-navigation a {

        padding: 12px;

    }


    .main-navigation a.active::after {

        display: none;

    }


    .main-navigation .nav-enquiry {

        margin-left: 0;

        margin-top: 5px;

        text-align: center;

    }


    .footer-grid {

        grid-template-columns: 1fr 1fr;

    }


}


@media (max-width: 600px) {


    .container {

        width: min(
                100% - 30px,
                1180px
        );

    }


    .site-logo {

        width: 46px;

        height: 46px;

    }


    .brand-text strong {

        font-size: 14px;

    }


    .brand-text small {

        font-size: 9px;

    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 30px;

        padding-top: 40px;

        padding-bottom: 35px;

    }


    .footer-bottom-inner {

        padding-top: 15px;

        padding-bottom: 15px;

        flex-direction: column;

        align-items: flex-start;

    }


    .legal-links {

        flex-wrap: wrap;

    }

}

/* =========================
   Google Map
========================= */

.map-section {
    padding: 60px 0;
}

.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: #f5f5f5;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/* Tablet */
@media (max-width: 768px) {
    .map-section {
        padding: 45px 0;
    }

    .map-container iframe {
        height: 350px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .map-section {
        padding: 35px 0;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* =========================
   Social Links
========================= */

.footer-social p {
    margin: 0 0 10px;
}

.footer-social a {
    text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus {
    text-decoration: underline;
}

/* =========================================================
   HOME PAGE
========================================================= */


/* =========================
   Hero
========================= */

.home-hero {
    padding: 80px 0;
    background: #f5f7fb;
}

.home-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 700px;
}

.hero-label,
.section-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 12px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.15;
    margin: 0 0 18px;
}

.hero-content h2 {
    font-size: 25px;
    line-height: 1.4;
    margin: 0 0 18px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero-price {
    font-size: 21px;
    margin-bottom: 28px;
}

.hero-buttons,
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-outline {
    background: transparent;
}

.hero-logo-wrapper {
    width: 300px;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}


/* =========================
   Section Heading
========================= */

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.section-heading h2 {
    font-size: 34px;
    margin-bottom: 12px;
}

.section-heading p {
    line-height: 1.7;
}


/* =========================
   Trust
========================= */

.home-trust {
    padding: 70px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-card {
    padding: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
}

.trust-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 17px;
    border: 2px solid currentColor;
}

.trust-card h3 {
    margin-bottom: 10px;
}

.trust-card p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.trust-card strong {
    word-break: break-word;
}


/* =========================
   Main Courses
========================= */

.home-courses {
    padding: 70px 0;
    background: #f5f7fb;
}

.course-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.course-preview-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.course-preview-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.course-preview-card p {
    margin: 0;
    line-height: 1.6;
}

.section-button {
    text-align: center;
    margin-top: 35px;
}


/* =========================
   Programming
========================= */

.home-programming {
    padding: 75px 0;
}

.programming-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.programming-content h2 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.programming-content p {
    line-height: 1.7;
    margin-bottom: 25px;
}

.programming-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.programming-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-weight: 600;
    background: #fff;
}


/* =========================
   Learning Support
========================= */

.home-learning {
    padding: 70px 0;
    background: #f5f7fb;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.learning-card {
    padding: 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.learning-card h3 {
    margin-bottom: 12px;
}

.learning-card p {
    line-height: 1.7;
    margin: 0;
}


/* =========================
   About
========================= */

.home-about {
    padding: 75px 0;
}

.about-home-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-home-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-home-image img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

.about-home-text h2 {
    font-size: 34px;
    margin-bottom: 18px;
}

.about-home-text p {
    line-height: 1.8;
    margin-bottom: 25px;
}


/* =========================
   Affordable
========================= */

.home-affordable {
    padding: 75px 0;
    background: #f5f7fb;
}

.affordable-content {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.affordable-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.affordable-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
}


/* =========================
   Location
========================= */

.home-location {
    padding: 70px 0;
}


/* =========================
   CTA
========================= */

.home-cta {
    padding: 75px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.cta-buttons {
    justify-content: center;
}


/* =========================
   Mobile / Tablet
========================= */

@media (max-width: 1000px) {

    .course-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programming-layout {
        gap: 35px;
    }

}


@media (max-width: 768px) {

    .home-hero {
        padding: 55px 0;
    }

    .home-hero-inner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 35px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h2 {
        font-size: 21px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo-wrapper {
        width: 220px;
        min-width: 180px;
    }

    .hero-logo {
        max-height: 200px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .programming-layout {
        grid-template-columns: 1fr;
    }

    .about-home-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-home-image {
        order: 1;
    }

    .about-home-text {
        order: 2;
    }

    .section-heading h2,
    .programming-content h2,
    .about-home-text h2,
    .affordable-content h2,
    .cta-content h2 {
        font-size: 29px;
    }

}


@media (max-width: 520px) {

    .course-preview-grid,
    .learning-grid,
    .programming-list {
        grid-template-columns: 1fr;
    }

    .home-trust,
    .home-courses,
    .home-programming,
    .home-learning,
    .home-about,
    .home-affordable,
    .home-location,
    .home-cta {
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content h2 {
        font-size: 19px;
    }

    .hero-price {
        font-size: 19px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        text-align: center;
    }

}