
/* =========================================================
   GLOBAL SETTINGS
========================================================= */

@font-face {
    font-family: 'World Athletics';

    src: url('../Font/WorldAthletics.eot');

    src:
        local('World Athletics'),
        local('WorldAthletics'),
        url('../Font/WorldAthletics.eot?#iefix') format('embedded-opentype'),
        url('../Font/WorldAthletics.woff2') format('woff2'),
        url('../Font/WorldAthletics.woff') format('woff'),
        url('../Font/WorldAthletics.ttf') format('truetype');

    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'World Athletics Headline';

    src: url('../Font/WorldAthleticsHeadline.eot');

    src:
        local('World Athletics Headline'),
        local('WorldAthleticsHeadline'),
        url('../Font/WorldAthleticsHeadline.eot?#iefix') format('embedded-opentype'),
        url('../Font/WorldAthleticsHeadline.ttf') format('truetype');

    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}


body {
    font-family: 'World Athletics', Arial, sans-serif;
    color: var(--text-color);
    background: var(--oydc-white);
}


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --oydc-green: #00843d;
    --oydc-dark-green: #006b32;
    --oydc-black: #111111;
    --oydc-white: #ffffff;

    --border-color: #e5e5e5;
    --text-color: #171717;
    --light-bg: #f6f8f7;
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    width: 100%;
    padding: 90px 0 0;
    margin: 0;
    background: #ffffff;
}


/* =========================================================
   CONTACT CONTAINER
========================================================= */

.contact-container {
    width: 86%;
    max-width: 1250px;

    /* REDUCED SPACE BELOW CONTACT FORM */
    margin: 0 auto 20px;

    padding: 0;

    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 80px;

    align-items: center;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.contact-intro {
    max-width: 500px;
}


.contact-label {
    display: inline-block;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: 2px;

    color: var(--oydc-green);

    margin-bottom: 18px;
}


.contact-intro h1 {
    font-family:
        'World Athletics Headline',
        'World Athletics',
        sans-serif;

    font-size: 52px;
    line-height: 1.05;

    color: var(--oydc-black);

    margin-bottom: 25px;
}


.contact-intro h1 span {
    color: var(--oydc-green);
}


.contact-intro > p {
    font-size: 17px;
    line-height: 1.7;

    color: #555;

    margin-bottom: 40px;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    display: flex;
    flex-direction: column;

    gap: 25px;
}


.contact-detail {
    display: flex;

    align-items: flex-start;

    gap: 18px;
}


.contact-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--oydc-green);

    color: #ffffff;

    border-radius: 50%;

    font-size: 17px;
}


.contact-detail h3 {
    font-family:
        'World Athletics Headline',
        'World Athletics',
        sans-serif;

    font-size: 18px;

    color: var(--oydc-black);

    margin-bottom: 4px;
}


.contact-detail p {
    color: #666;

    font-size: 15px;

    line-height: 1.5;
}


.contact-detail a {
    color: #666;

    text-decoration: none;

    transition: color 0.25s ease;
}


.contact-detail a:hover {
    color: var(--oydc-green);
}


/* =========================================================
   FORM CONTAINER
========================================================= */

.contact-form-wrapper {
    background: #ffffff;

    border: 1px solid var(--border-color);

    padding: 45px;

    border-radius: 4px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.08);
}


.contact-form-header {
    margin-bottom: 30px;
}


.contact-form-header h2 {
    font-family:
        'World Athletics Headline',
        'World Athletics',
        sans-serif;

    font-size: 32px;

    color: var(--oydc-black);

    margin-bottom: 8px;
}


.contact-form-header p {
    color: #666;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.form-row {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 20px;
}


.form-group {
    margin-bottom: 22px;
}


.form-group label {
    display: block;

    font-size: 14px;

    font-weight: bold;

    color: var(--oydc-black);

    margin-bottom: 8px;
}


.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #dddddd;

    background: #ffffff;

    padding: 14px 16px;

    font-family:
        'World Athletics',
        Arial,
        sans-serif;

    font-size: 15px;

    color: var(--oydc-black);

    outline: none;

    border-radius: 2px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.form-group input {
    height: 50px;
}


.form-group textarea {
    resize: vertical;

    min-height: 145px;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--oydc-green);

    box-shadow:
        0 0 0 3px rgba(0, 132, 61, 0.08);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit {
    width: 100%;

    height: 54px;

    border: none;

    background: var(--oydc-green);

    color: #ffffff;

    font-family:
        'World Athletics',
        Arial,
        sans-serif;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    transition:
        background 0.25s ease,
        transform 0.2s ease;
}


.contact-submit:hover {
    background: var(--oydc-dark-green);

    transform: translateY(-1px);
}


.contact-submit i {
    font-size: 14px;
}


/* =========================================================
   LOCATION MAP SECTION
   FULL WIDTH - DIRECTLY ABOVE FOOTER
========================================================= */

.map-section {
    width: 100%;

    max-width: none;

    margin: 0;

    padding: 0;

    background: #ffffff;
}


/* =========================================================
   MAP HEADER
========================================================= */

.map-header {
    width: 100%;
    text-align: center;
    margin: 0;

    padding: 20px 7% 30px;

    background: #ffffff;
}


.map-header span {
    display: block;

    color: var(--oydc-green);

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

  
}


.map-header h2 {
    font-family:
        'World Athletics Headline',
        'World Athletics',
        sans-serif;

    font-size: 38px;

    color: var(--oydc-black);

    margin-bottom: 10px;
}


.map-header p {
    color: #666;

    font-size: 15px;

    margin: 0;
}


/* =========================================================
   MAP CONTAINER
========================================================= */

.map-container {
    width: 100%;

    max-width: none;

    margin: 0;

    padding: 0;

    overflow: hidden;

    border: none;

    border-radius: 0;

    box-shadow: none;

    line-height: 0;
}


/* =========================================================
   GOOGLE MAP IFRAME
========================================================= */

.map-container iframe {
    display: block;

    width: 100%;

    height: 450px;

    margin: 0;

    padding: 0;

    border: 0;
}


/* =========================================================
   SUCCESS MODAL
========================================================= */

.modal {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(0, 0, 0, 0.65);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 9999;
}


.modal-content {
    width: 100%;

    max-width: 460px;

    background: #ffffff;

    padding: 45px 40px;

    text-align: center;

    border-radius: 5px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    animation:
        modalIn 0.3s ease;
}


@keyframes modalIn {

    from {
        opacity: 0;

        transform:
            translateY(20px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


.modal-icon {
    margin-bottom: 18px;
}


.modal-icon i {
    color: var(--oydc-green);

    font-size: 60px;
}


.modal-content h2 {
    font-family:
        'World Athletics Headline',
        'World Athletics',
        sans-serif;

    font-size: 30px;

    color: var(--oydc-black);

    margin-bottom: 12px;
}


.modal-content p {
    color: #666;

    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 25px;
}


.modal-content button {
    min-width: 120px;

    height: 45px;

    padding: 0 25px;

    border: none;

    background: var(--oydc-green);

    color: #ffffff;

    font-family:
        'World Athletics',
        Arial,
        sans-serif;

    font-weight: bold;

    cursor: pointer;

    transition:
        background 0.25s ease;
}


.modal-content button:hover {
    background: var(--oydc-dark-green);
}



/* =========================================================
   PAGE LOAD ANIMATION
========================================================= */

/* ---------------------------------------------------------
   INITIAL PAGE STATE
--------------------------------------------------------- */

.contact-page {
    animation: pageFadeIn 0.9s ease-out both;
}


/* ---------------------------------------------------------
   MAIN CONTACT CONTENT
--------------------------------------------------------- */

.contact-intro {
    animation:
        contactIntroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1)
        0.15s both;
}


.contact-form-wrapper {
    animation:
        contactFormIn 0.9s cubic-bezier(0.22, 1, 0.36, 1)
        0.3s both;
}


/* ---------------------------------------------------------
   CONTACT DETAILS
--------------------------------------------------------- */

.contact-details .contact-detail {
    opacity: 0;

    animation:
        detailIn 0.7s cubic-bezier(0.22, 1, 0.36, 1)
        both;
}


.contact-details .contact-detail:nth-child(1) {
    animation-delay: 0.45s;
}


.contact-details .contact-detail:nth-child(2) {
    animation-delay: 0.58s;
}


.contact-details .contact-detail:nth-child(3) {
    animation-delay: 0.71s;
}


/* ---------------------------------------------------------
   MAP HEADER
--------------------------------------------------------- */

.map-header {
    animation:
        mapHeaderIn 0.9s cubic-bezier(0.22, 1, 0.36, 1)
        0.8s both;
}


/* ---------------------------------------------------------
   MAP
--------------------------------------------------------- */

.map-container {
    animation:
        mapIn 1s cubic-bezier(0.22, 1, 0.36, 1)
        1s both;
}


/* =========================================================
   ANIMATION KEYFRAMES
========================================================= */

@keyframes pageFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes contactIntroIn {

    from {
        opacity: 0;

        transform:
            translateX(-35px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}


@keyframes contactFormIn {

    from {
        opacity: 0;

        transform:
            translateX(35px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}


@keyframes detailIn {

    from {
        opacity: 0;

        transform:
            translateY(18px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


@keyframes mapHeaderIn {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


@keyframes mapIn {

    from {
        opacity: 0;

        transform:
            translateY(35px)
            scale(0.985);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   OPTIONAL GREEN LOADING LINE
========================================================= */

body::before {
    content: "";

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: var(--oydc-green);

    transform-origin: left;

    transform: scaleX(0);

    animation:
        pageLoadingLine 1.1s
        cubic-bezier(0.65, 0, 0.35, 1)
        both;

    z-index: 99999;

    pointer-events: none;
}


@keyframes pageLoadingLine {

    0% {
        transform: scaleX(0);
        opacity: 1;
    }

    70% {
        transform: scaleX(0.85);
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}


/* =========================================================
   ACCESSIBILITY
   Respect users who prefer reduced motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-page,
    .contact-intro,
    .contact-form-wrapper,
    .contact-details .contact-detail,
    .map-header,
    .map-container,
    body::before {
        animation: none !important;

        opacity: 1 !important;

        transform: none !important;
    }
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .contact-section {
        padding: 70px 0 0;
    }


    .contact-container {
        width: 88%;

        max-width: 750px;

        margin:
            0 auto
            70px;

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .contact-intro {
        max-width: 100%;
    }


    .contact-intro h1 {
        font-size: 45px;
    }


.map-header {
    width: 100%;
    text-align: center;
    margin: 0;

    padding: 20px 7% 30px;

    background: #ffffff;
}


    .map-container iframe {
        height: 400px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-section {
        padding: 55px 0 0;
    }


    .contact-container {
        width: 90%;

        max-width: none;

        margin:
            0 auto
            55px;
    }


    .contact-intro h1 {
        font-size: 36px;
    }


    .contact-intro > p {
        font-size: 15px;
    }


    .contact-form-wrapper {
        padding:
            28px
            22px;
    }


    .contact-form-header h2 {
        font-size: 27px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .contact-detail {
        gap: 14px;
    }


    .contact-icon {
        width: 43px;

        height: 43px;

        font-size: 15px;
    }


    /* MAP */

.map-header {
    width: 100%;
    text-align: center;
    margin: 0;

    padding: 20px 7% 30px;

    background: #ffffff;
}


    .map-header h2 {
        font-size: 32px;
    }


    .map-header p {
        font-size: 14px;
    }


    .map-container iframe {
        width: 100%;

        height: 350px;
    }


    /* MODAL */

    .modal-content {
        padding:
            35px
            25px;
    }
}
