@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Noto+Sans:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #001d3d;
    margin: 0;
    padding: 0;
}

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

#nav_bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 25px 20px;
    background-color: #001d3d;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

#nav_bar > li {
    list-style: none;
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
}

#nav_bar > li > a {
    text-decoration: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

#nav_bar > li > a:hover {
    background-color: rgba(0, 167, 225, 0.3);
    color: #00A7E1;
    transform: translateY(-2px);
}

hr {
    display: none;
}

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

.page-header {
    background: linear-gradient(135deg, #001d3d 0%, #003459 50%, #00A7E1 100%);
    padding: 120px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 3rem;
    color: white;
    margin: 0 0 15px 0;
}

.page-header p {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ==================== CONTACT FORM SECTION ==================== */

#contact_element {
    background-color: #001d3d;
    padding: 60px 20px 80px;
}

/* ==================== THANK YOU MESSAGE ==================== */

#thank-you-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.thank-you-icon {
    color: #00A7E1;
    margin-bottom: 30px;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#thank-you-message h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    color: white;
    margin: 0 0 20px 0;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

#thank-you-message p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 0 15px 0;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.thank-you-note {
    color: #00A7E1 !important;
    font-style: italic;
    font-size: 1.2rem !important;
    margin-top: 25px !important;
    animation: fadeInUp 0.6s ease-out 0.6s both !important;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.form-row.full-width {
    display: block;
}

.form-field {
    flex: 1;
    margin-bottom: 20px;
}

.form-field.full {
    width: 100%;
}

.styled-input {
    position: relative;
    width: 100%;
}

.styled-input label {
    color: rgba(255, 255, 255, 0.6);
    padding: 25px 30px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.25s ease;
    pointer-events: none;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
}

input,
textarea {
    padding: 25px 30px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Noto Sans', sans-serif;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus { 
    outline: 0;
    border-color: #00A7E1;
    background-color: rgba(255, 255, 255, 0.15);
}

input:focus ~ label, 
textarea:focus ~ label, 
input:valid ~ label, 
textarea:valid ~ label {
    font-size: 0.75em;
    color: #00A7E1;
    top: -10px;
    left: 10px;
    background-color: #001d3d;
    padding: 5px 10px;
    border-radius: 4px;
}

textarea {
    min-height: 180px;
    resize: vertical;
}

.submit-row {
    text-align: right;
    margin-top: 10px;
}

.submit-btn {
    padding: 15px 50px;
    border-radius: 30px;
    display: inline-block;
    background-color: #00A7E1;
    color: white;
    font-size: 1rem;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 167, 225, 0.3);
    transition: all 300ms ease;
    border: none;
}

.submit-btn:hover {
    background-color: white;
    color: #001d3d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 167, 225, 0.4);
}

/* ==================== LOCATION SECTION ==================== */

#location_section {
    background-color: #003459;
    padding: 80px 40px;
}

.location_container {
    max-width: 1200px;
    margin: 0 auto;
}

.location_header {
    text-align: center;
    margin-bottom: 50px;
}

.location_header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    color: white;
    margin: 0 0 15px 0;
}

.location_header p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.location_content {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.map_wrapper {
    flex: 1;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.map_wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.address_wrapper {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.address_wrapper h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    color: white;
    margin: 0 0 30px 0;
}

.address_item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.address_item:last-child {
    margin-bottom: 0;
}

.address_icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #00A7E1;
    margin-top: 3px;
}

.address_icon svg {
    width: 100%;
    height: 100%;
}

.address_details h4 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #00A7E1;
    margin: 0 0 5px 0;
}

.address_details p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.address_details a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.address_details a:hover {
    color: #00A7E1;
}

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

.footer_section {
    background-color: #001d3d;
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_section p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ==================== MOBILE RESPONSIVE STYLES ==================== */

@media (max-width: 768px) {
    #nav_bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px 10px;
    }

    #nav_bar > li {
        font-size: 14px;
    }

    #nav_bar > li > a {
        padding: 8px 15px;
    }

    .page-header {
        padding: 100px 20px 50px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    #contact_element {
        padding: 40px 20px 60px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    input,
    textarea {
        padding: 20px;
        font-size: 0.95rem;
    }

    .styled-input label {
        padding: 20px;
    }

    input:focus ~ label, 
    textarea:focus ~ label, 
    input:valid ~ label, 
    textarea:valid ~ label {
        background-color: #001d3d;
    }

    .submit-row {
        text-align: center;
    }

    .submit-btn {
        width: 100%;
        padding: 15px 30px;
    }

    #location_section {
        padding: 60px 20px;
    }

    .location_header h2 {
        font-size: 2rem;
    }

    .location_content {
        flex-direction: column;
    }

    .map_wrapper {
        min-height: 300px;
    }

    .map_wrapper iframe {
        min-height: 300px;
    }

    .address_wrapper {
        padding: 30px;
    }

    .address_wrapper h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    #nav_bar {
        gap: 5px;
        padding: 10px 5px;
    }

    #nav_bar > li {
        font-size: 12px;
    }

    #nav_bar > li > a {
        padding: 6px 10px;
    }

    .page-header {
        padding: 90px 15px 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    #contact_element {
        padding: 30px 15px 50px;
    }

    input,
    textarea {
        padding: 18px;
        font-size: 0.9rem;
    }

    .styled-input label {
        padding: 18px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    #location_section {
        padding: 50px 15px;
    }

    .location_header h2 {
        font-size: 1.6rem;
    }

    .address_wrapper {
        padding: 25px;
    }

    .address_item {
        gap: 12px;
    }

    .address_icon {
        width: 20px;
        height: 20px;
    }

    .address_details h4 {
        font-size: 0.9rem;
    }

    .address_details p {
        font-size: 0.9rem;
    }

    .footer_section {
        padding: 25px 15px;
    }

    .footer_section p {
        font-size: 0.8rem;
    }
}
