/* ==========================================
   GTLE HOME PAGE
   HOME.CSS
========================================== */


/* ==========================================
   RESET
========================================== */

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


/* ==========================================
   BODY
========================================== */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    color: #333;
    min-height: 100vh;
}


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

.header {
    width: 100%;
    min-height: 82px;

    background: #003366;
    color: white;

    padding: 12px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.15);
}


/* ==========================================
   LOGO AREA
========================================== */

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


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

.logo-image {
    width: 62px;
    height: 62px;

    object-fit: contain;

    background: white;

    border-radius: 50%;

    padding: 3px;

    display: block;
}


/* ==========================================
   LOGO TEXT
========================================== */

.logo-text h1 {
    font-size: 21px;
    font-weight: 700;

    margin-bottom: 5px;
}


.logo-text p {
    font-size: 13px;

    opacity: 0.85;
}


/* ==========================================
   NAVIGATION
========================================== */

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}


nav a {
    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    padding: 9px 14px;

    border-radius: 5px;

    transition: 0.3s;
}


nav a:hover {
    background: rgba(255, 255, 255, 0.15);
}


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

.hero {
    width: 100%;

    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    /*
       DARKER BUT CLEARER BACKGROUND IMAGE

       The first layer is a dark transparent overlay.
       The image remains visible underneath it.
    */

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("images/background.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}


/* ==========================================
   HERO CONTENT
========================================== */

.hero-content {
    width: 100%;

    max-width: 900px;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* ==========================================
   HERO LOGO
========================================== */

.hero-logo {
    width: 125px;
    height: 125px;

    object-fit: contain;

    background: white;

    border-radius: 50%;

    padding: 5px;

    margin-bottom: 22px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.25);
}


/* ==========================================
   HERO TITLE
========================================== */

.hero-content h2 {
    color: white;

    font-size: 32px;

    margin-bottom: 20px;

    line-height: 1.3;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.6);
}


/* ==========================================
   HERO TEXT
========================================== */

.hero-content p {
    max-width: 800px;

    color: white;

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 28px;

    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.7);
}


/* ==========================================
   BUTTON CONTAINER
========================================== */

.buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* ==========================================
   GENERAL BUTTON
========================================== */

.btn {
    display: inline-block;

    text-decoration: none;

    padding: 13px 25px;

    border-radius: 5px;

    font-size: 14px;

    font-weight: bold;

    transition: all 0.3s ease;
}


/* ==========================================
   CHECK RESULTS BUTTON
   RED
========================================== */

.btn.primary {
    background: #b42318;

    color: white;

    border: 2px solid #b42318;
}


.btn.primary:hover {
    background: #8f1c14;

    border-color: #8f1c14;

    color: white;

    transform: translateY(-2px);

    box-shadow:
        0 5px 12px rgba(180, 35, 24, 0.35);
}


.btn.primary:active {
    transform: translateY(0);
}


/* ==========================================
   LEARN MORE BUTTON
========================================== */

.btn.secondary {
    background: #003366;

    color: white;

    border: 2px solid #003366;
}


.btn.secondary:hover {
    background: #00264d;

    border-color: #00264d;

    transform: translateY(-2px);
}


/* ==========================================
   IMPORTANT NOTICE
========================================== */

.notice-section {
    width: 100%;

    padding: 55px 20px;

    background: #ffffff;
}


.notice-container {
    width: 100%;

    max-width: 950px;

    margin: 0 auto;

    padding: 35px;

    background: #ffffff;

    border-radius: 8px;

    border: 1px solid #e1e6eb;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.06);
}


/* ==========================================
   NOTICE TITLE
========================================== */

.notice-container h2 {
    color: #b42318;

    text-align: center;

    font-size: 25px;

    margin-bottom: 25px;

    padding-bottom: 15px;

    border-bottom: 2px solid #b42318;
}


/* ==========================================
   NOTICE TEXT
========================================== */

.notice-container > p {
    font-size: 15px;

    line-height: 1.7;

    color: #444;

    margin-bottom: 18px;
}


.notice-container a {
    color: #003366;

    font-weight: bold;

    text-decoration: none;
}


.notice-container a:hover {
    text-decoration: underline;
}


/* ==========================================
   NOTICE HIGHLIGHT
========================================== */

.notice-highlight {
    margin: 25px 0;

    padding: 20px;

    background: #fff4f2;

    border-left: 5px solid #b42318;

    border-radius: 5px;
}


.notice-highlight p {
    font-size: 15px;

    line-height: 1.6;

    margin-bottom: 10px;
}


.notice-highlight p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   VOUCHER TITLE
========================================== */

.notice-container h3 {
    color: #003366;

    font-size: 19px;

    margin-top: 28px;

    margin-bottom: 15px;
}


/* ==========================================
   CONTACT INFORMATION
========================================== */

.contact-info {
    margin-top: 15px;

    padding: 18px;

    background: #f4f6f9;

    border-radius: 5px;

    border: 1px solid #e1e6eb;
}


.contact-info p {
    margin-bottom: 8px;

    font-size: 14px;
}


.contact-info p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   SERVICES
========================================== */

.services {
    width: 100%;

    padding: 60px 20px;

    background: #f4f6f9;

    text-align: center;
}


.services > h2 {
    color: #003366;

    font-size: 28px;

    margin-bottom: 35px;
}


/* ==========================================
   SERVICE CONTAINER
========================================== */

.service-container {
    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    display: grid;

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

    gap: 25px;
}


/* ==========================================
   SERVICE CARD
========================================== */

.service-card {
    background: white;

    padding: 30px 25px;

    border-radius: 8px;

    border: 1px solid #e1e6eb;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.06);

    transition: 0.3s;
}


.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.10);
}


/* ==========================================
   SERVICE ICON
========================================== */

.icon {
    font-size: 38px;

    margin-bottom: 15px;
}


/* ==========================================
   SERVICE TITLE
========================================== */

.service-card h3 {
    color: #003366;

    font-size: 19px;

    margin-bottom: 12px;
}


/* ==========================================
   SERVICE TEXT
========================================== */

.service-card p {
    color: #666;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 18px;
}


/* ==========================================
   SERVICE LINK
========================================== */

.service-card a {
    color: #003366;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;
}


.service-card a:hover {
    text-decoration: underline;
}


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

footer {
    width: 100%;

    padding: 22px 20px;

    background: #003366;

    color: white;

    text-align: center;
}


footer p {
    font-size: 13px;

    opacity: 0.9;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 850px) {

    .header {
        padding: 12px 4%;
    }


    .service-container {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .hero-content h2 {
        font-size: 28px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .header {
        flex-direction: column;

        gap: 15px;

        padding: 15px 4%;
    }


    .logo-area {
        width: 100%;

        justify-content: center;

        text-align: center;
    }


    .logo-image {
        width: 52px;
        height: 52px;
    }


    .logo-text h1 {
        font-size: 16px;
    }


    .logo-text p {
        font-size: 11px;
    }


    nav {
        width: 100%;

        justify-content: center;

        gap: 10px;
    }


    nav a {
        font-size: 13px;

        padding: 8px 11px;
    }


    .hero {
        min-height: auto;

        padding: 45px 18px;

        /*
           Slightly stronger darkness on mobile
           so the text stays easy to read.
        */

        background:
            linear-gradient(
                rgba(0, 0, 0, 0.58),
                rgba(0, 0, 0, 0.58)
            ),
            url("images/background.jpg");

        background-size: cover;

        background-position: center;
    }


    .hero-logo {
        width: 100px;
        height: 100px;

        margin-bottom: 18px;
    }


    .hero-content h2 {
        font-size: 24px;

        margin-bottom: 15px;
    }


    .hero-content p {
        font-size: 14px;

        line-height: 1.65;
    }


    .buttons {
        width: 100%;

        flex-direction: column;

        gap: 10px;
    }


    .btn {
        width: 100%;

        max-width: 300px;

        text-align: center;
    }


    .notice-section {
        padding: 35px 12px;
    }


    .notice-container {
        padding: 22px 18px;
    }


    .notice-container h2 {
        font-size: 21px;
    }


    .notice-container > p {
        font-size: 14px;
    }


    .services {
        padding: 40px 12px;
    }


    .services > h2 {
        font-size: 24px;
    }


    .service-container {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .service-card {
        padding: 25px 20px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 400px) {

    .logo-area {
        gap: 8px;
    }


    .logo-text h1 {
        font-size: 14px;
    }


    .logo-text p {
        font-size: 10px;
    }


    .hero-content h2 {
        font-size: 21px;
    }


    .hero-content p {
        font-size: 13px;
    }


    .hero-logo {
        width: 85px;
        height: 85px;
    }

}