@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #e8eef2;
    font-family: 'Ubuntu', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
    background: linear-gradient(to right, #001d3d 0%, #003566 100%);
    background-image: url(./images/background.png);
    /* background-image: url(./images/background.jpg); */
    background-size: cover;
    margin: 0;
}

a {
    text-decoration: none;
}

.navbar {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    top: 10px;
    max-width: 75vw;
    width: 100%;
    padding: 0 30px;
    left: 50%;
    transform: translateX(-50%);
    transition: 
        background-color .3s ease,
        width 0.3s ease, 
        max-width 0.3s ease;
    z-index: 1000;
    border-radius: 50px;
}

.nav-links a {
    color: #FAF7F4;
    margin-left: 25px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #F4A261;
    font-size: 18px;
}

.navbar .logo img {
    height: 60px;
}

.navbar.scrolled {
    background-color: rgb(19, 22, 26);
    max-width: 70vw;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hamburger {
    position: relative;
    width: 25px;
    height: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* Overlay for mobile menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none; /* prevent clicks when hidden */
    transition: opacity 0.3s ease;
    z-index: 999;
}

.mobile-links {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 80vw;
    /* max-width: 300px; */
    background-color: rgba(32, 32, 32, 0.95);
    display: flex;
    flex-direction: column;
    padding: 60px 20px 20px 20px; /* top space for navbar */
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.mobile-links a {
    color: #cfcfcf;
    padding: 15px 0;
    text-decoration: none;
    font-weight: 500;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay.active .mobile-links {
    transform: translateX(0);
}

/* Container */

div.container {
    width: 80vw;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

div.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #e8eef2;
    /* border: 2px solid red; */
}

div.intro h1 {
    font-family: 'Ubuntu', sans-serif;
    color: inherit;
    font-size: 45px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

div.intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin: 10px 0 0 0;
    color: inherit;
}

div.intro hr {
    width: 50%;
    border: 1px solid #0071e3;
    margin: 10px 0;
}

.button {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 500;
    color: #e8eef2;
    background-color: #0071e3;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #005bb5;
}

div#info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 3rem 200px;
    width: 70vw;
    margin: 0 auto;
    background: linear-gradient(
        135deg, 
        rgba(49, 97, 117, 0.5),  
        rgba(36, 69, 80, 0.5),   
        rgba(18, 40, 49, 0.5)     
    );
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 50px;
}

.infoarea {
    width: 60%;
    margin: 20px 0; /* remove auto margins */
}

.infoarea:nth-child(odd) {
    align-self: flex-start; /* LEFT */
    text-align: left;
}

.infoarea:nth-child(even) {
    align-self: flex-end;   /* RIGHT */
    text-align: left;
}

.infoarea h2 {
    font-size: 30px;
    color: #F4A261;
    margin: 0;
}

.infoarea h3 {
    margin: 0px 0 20px 0;
    font-weight: 400;
    font-size: 20px;
}
.infoarea h4 {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
}

.infoarea p {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #f8fafc;
}

.infoarea a {
    color: #fcfcfc;
    text-decoration: underline;
    transition: all .3s ease;
}

.infoarea a:hover {
    color: #F4A261;
    text-decoration: underline;
}

.infoarea ul {
    list-style: none;             /* remove default bullets */
    padding-left: 0;              /* remove left padding */
    margin-bottom: 1rem;
}

.infoarea ul li {
    display: flex;                /* make dash and text line up horizontally */
    align-items: flex-start;
    /* margin-bottom: 0.3em; */
}

span.dash {
    width: 1em;                   /* reserve space for the dash */
    display: inline-block;         /* allow fixed width */
    color: #fff;                  /* dash color */
}

/* Contact Form */

.contact-card {
    width: 600px;
    padding: 32px;
    border-radius: 24px;
    background: rgba(20, 20, 30, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
}

h2 {
    font-weight: 500;
    margin-bottom: 24px;
    font-size: 26px;
    color: #fcfcfc;
}

.row {
    display: flex;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    flex: 1;
}

label {
    font-size: 16px;
}

input,
textarea {
    background: rgba(255, 255, 255, .06);
    border: none;
    border-radius: 20px;
    /* text-align: center; */
    padding: 10px 10px;
    font-size: 16px;
    outline: none;
}

input:focus,
textarea:focus {
    border: 1px solid rgba(255, 255, 255, .3);
}

textarea {
    resize: none;
    min-height: 100px;
}

div.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 14px;
    max-width: 420px;  
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

input[type=checkbox] {
    cursor: pointer;
}

.checkbox-grid input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
}

.checkbox-grid input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #6c5ce7, #5ddcff);
  width: 16.5px;
  height: 16.5px;
}

button {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 500;
    color: #e8eef2;
    background-color: #001d3d;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* END Contact Form */

/* Footer */

footer#footer {
    max-width: 100vw;
    width: 100%;
    margin-top: 50px;
    /* height: 100%; */
    padding: 25px;
    background-color: rgb(19, 22, 26);    
    /* position: relative; */
}
.footer_content {
    max-width: 60%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    
}

.footer_list {
    list-style: none;
}
.footer_item {
    text-align: center;
    width: 500px;
    /* border: red 2px solid; */
    margin: auto 0;
}
.footer_item h3 {
    margin: 10px 0;
}
.list_item {
    margin: 5px 0;

}
.footer_link {
    transition: all .3s ease;

}
.footer_link:hover {
    margin-left: 10px;
    color: #F4A261;
}
.legal hr {
    margin: 20px 0;
    opacity: .8;
}
#copyright {
    /* margin: 10px; */
    text-align: center;
}

/* END FOOTER */

@media screen and (max-width: 1600px) {
    div#info {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 3rem 5vw;
    }
}

@media screen and (max-width: 900px) {
    .navbar {
        position: absolute;
        max-width: 80vw;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: none;
        border-radius: 0;
        padding: 0 15px;
    }

    
    .navbar.scrolled {
        background-color: transparent;
        max-width: 100vw;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    div.navbar div.nav-links {
        display: none;
    }
    .desktop-links {
        display: none; /* hide desktop links on mobile */
    }
    .hamburger {
        display: flex; /* show hamburger */
    }
    /* Start Container */

    div#info {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 3rem 20px;
    }

    .infoarea {
        width: 80%;
        margin: 20px auto;
    }



    /* END Container */


    /* Contact Form */
    .contact-card {
        background: transparent;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(0);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0);

        max-width: 80vw;
        width: 100%;
        margin-top: 4vh;
        border-radius: 0;
    }

    .row {
        flex-direction: column;
    }

    div.checkbox-grid {
        display: flex;
        flex-direction: column;
    }
    /* End Contact Form */

}

@media screen and (max-width: 600px) {
    div.container {
        width: 100vw;
        min-height: 100vh;
        margin: 0 auto;
        /* margin-top: -60px; */
    }
    .contact-card {
        max-width:100vw;
        width: 100%;
    }

    /* Start Container */

    div#info {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 2rem 20px;
        border-radius: 0;
    }

    .infoarea {
        width: 80%;
        margin: 20px auto;
    }

    footer#footer {
        margin-top: 0;
    }

    /* End Container */
}