/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
}


/* =========================================================
   HEADER / HERO BACKGROUND
========================================================= */

header {
    width: 100%;
    min-height: 100vh;
    position: relative;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.25)
        ),
        url("../_images/cover.png");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-links {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    padding: 10px 17%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    background-color: rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    overflow: hidden;

    transition: height 0.3s ease, background-color 0.3s ease;

    z-index: 9999;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.logo img {
    height: 55px;
    width: auto;

    display: block;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.menu-links {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 0;
    margin: 0;
}

.menu-links li {
    list-style: none;
}

.menu-links a {
    position: relative;

    font-family: Arial, sans-serif;

    text-decoration: none;
    letter-spacing: 1px;

    color: #ffffff;

    transition: 0.3s;
}


/* Navigation hover underline */

.menu-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;

    background-color: #ffffff;

    transition: 0.3s;
}

.menu-links a:hover::after {
    width: 100%;
}


/* =========================================================
   HAMBURGER
========================================================= */

.hamburger {
    display: none;

    width: 40px;
    height: 40px;

    padding: 5px;

    border: none;

    background: transparent;

    cursor: pointer;

    z-index: 10001;
}

.hamburger span {
    display: block;

    width: 30px;
    height: 3px;

    margin: 5px auto;

    background-color: #ffffff;

    border-radius: 3px;

    transition: 0.3s;
}


/* =========================================================
   PHONE BUTTON (desktop)
========================================================= */

.btn-Phone {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 18px;

    border: 1px solid #ffffff;
    border-radius: 5px;

    background-color: transparent;

    color: #ffffff;

    text-decoration: none;

    cursor: pointer;

    white-space: nowrap;

    transition: 0.3s;
}

.btn-Phone:hover {
    background-color: rgba(255, 255, 255, 0.8);

    color: #000000;

    border-color: #000000;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    padding: 100px 8% 40px;
}


/* LEFT CONTENT */

.left-content {
    width: 55%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
}

.left-content > div {
    width: 100%;
    max-width: 650px;
}

.left-content h1 {
    font-family: Georgia, serif;

    font-size: clamp(50px, 5vw, 74px);

    line-height: 1.05;

    margin-bottom: 10px;
}

.left-content p {
    font-family: Georgia, serif;

    font-size: 16px;

    margin-top: 10px;
}


/* RIGHT CONTENT */

.right-content {
    width: 45%;

    display: flex;
    justify-content: center;
}


/* =========================================================
   FORM
========================================================= */

.form-container {
    width: 100%;
    max-width: 520px;

    padding: 15px;

    border: 1px solid #ffffff;
    border-radius: 25px;

    color: #ffffff;

    background-color: rgba(0, 0, 0, 0.30);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-container h2 {
    font-family: Georgia, serif;

    font-size: 30px;

    margin-bottom: 15px;
}

.required {
    color: red;
    font-size: 12px;
}


/* =========================================================
   INPUTS
========================================================= */

.textbox {
    width: 100%;
    height: 35px;

    margin-top: 5px;
    margin-bottom: 12px;

    padding: 0 10px;

    border: none;
    border-radius: 25px;

    outline: none;

    font-family: sans-serif;
    font-size: 14px;
}

.textbox:nth-of-type(6) {
    height: 60px;
}


/* =========================================================
   FORM
========================================================= */

.form-links {
    color: orange;
}

.form-container label {
    font-family: Georgia, serif;

    font-size: 14px;

    line-height: 1.2;
}

.btn-sumbit {
    width: 100%;
    height: 35px;

    margin-top: 10px;

    border: none;
    border-radius: 25px;

    background-color: orange;

    color: #ffffff;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.btn-sumbit:hover {
    background-color: #ffb52e;

    transform: scale(1.01);
}

.formality {
    text-align: center;
}

.formality a {
    color: #ffffff;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    width: 100%;
    min-height: 100vh;

    padding: 100px 5%;

    text-align: center;

    background-color: #ffffff;
}

.services h1,h2 {
    margin-bottom: 40px;
    
    font-size: 48px;
}

.cards {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: stretch;

    gap: 30px;

    flex-wrap: wrap;

    text-align: center;
}

.card {
    width: 30%;
    max-width: 350px;

    flex: 1 1 300px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.card h3 {
    font-size: 24px;
    padding: 25px 0 25px 0;
}

.card img {
    width: 100%;
    height: 500px;

    display: block;

    object-fit: cover;

    border-radius: 25px;
}


/* =========================================================
   ABOUT US
========================================================= */

.about-us {
    width: 100%;
    min-height: 100vh;

    padding-bottom: 100px;

    background-color: #0F172A;

    text-align: center;

    font-family: Georgia, serif;
}

.about-header {
    padding: 100px 0 50px;

    color: #ffffff;

    font-size: 48px;
}

.about-content {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    padding: 0 8%;

    color: #ffffff;
}

.left-about {
    width: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.right-about {
    width: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    line-height: 2rem;
}

.right-about p {
    width: 100%;

    line-height: 2rem;
}


/* =========================================================
   TEAM
========================================================= */

.team {
    width: 100%;
    min-height: 100vh;

    padding-bottom: 80px;

    text-align: center;
}

.team h2 {
    padding: 150px 0 100px;

    color: #000000;

    font-size: 48px;
}

.team-cards {
    width: 90%;

    margin: 0 auto;

    padding: 30px;

    border-radius: 25px;

    background-color: #0F172A;

    color: #ffffff;
}

.cards-group {
    width: 100%;

    display: flex;
    align-items: stretch;
    justify-content: center;

    gap: 30px;

    padding: 30px;

    flex-wrap: wrap;
}

.card-info {
    flex: 1 1 300px;

    min-width: 300px;

    max-width: 400px;

    text-align: center;
}

.card-info img {
    padding: 20px;

    border-radius: 50%;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-around;

    background-color: #0F172A;
}

.left-footer ul {
    padding-top: 23px;

    list-style: none;
}

.left-footer a {
    color: #ffffff;

    line-height: 1.5rem;
}

.middle-footer img {
    width: 210px;
    height: 85px;

    padding-top: 15px;
}

.right-footer ul {
    display: flex;
    justify-content: space-between;

    gap: 10px;

    padding-top: 20px;

    list-style: none;
}

.right-footer li {
    gap: 10px;
}

.right-footer img {
    width: 55px;
    height: 55px;
}


/* =========================================================
   DOCUMENTATION
========================================================= */

.wrapper {
    width: 100%;

    padding: 100px 0;

    display: flex;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #ffb52e 0%,
        #ffd980 50%,
        #ffffff 100%
    );

    color: #ffffff;

    font-family: 'Work Sans', sans-serif;
}

.main-content {
    width: 60%;

    padding: 50px;

    background-color: rgba(15, 23, 42, 0.8);

    border-radius: 25px;
}

.list {
    padding-left: 50px;
}

.list li a {
    color: #ffb52e;

    cursor: pointer;

    transition: 0.5s;
}

.list li a:hover {
    color: #d18902;
}

.link {
    color: #ffb52e;

    cursor: pointer;

    transition: 0.5s;
}

.link:hover {
    color: #d18902;
}

.table-of-contents {
    padding-left: 50px;

    line-height: 1.5rem;
}

.context {
    padding: 10px 50px;
}

.titles {
    margin-top: 30px;

    font-size: 24px;

    scroll-margin-top: 90px;
}

hr {
    height: 1px;

    border: none;

    background-color: #ffb52e;
}

.lists-info {
    padding-left: 20px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .nav-links {
        padding: 10px 7%;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .about-content {
        padding-left: 5%;
        padding-right: 5%;

        gap: 40px;
    }

    .main-content {
        width: 80%;
    }
}


/* =========================================================
   SUCCESS MODAL
========================================================= */

.success-modal {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;

    z-index: 99999;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.success-modal-content {
    position: relative;

    width: 100%;
    max-width: 450px;

    background: #ffffff;

    border-radius: 15px;

    padding: 40px 30px;

    text-align: center;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

    transform: translateY(-20px) scale(0.95);

    transition: all 0.3s ease;
}

.success-modal.active .success-modal-content {
    transform: translateY(0) scale(1);
}

.success-modal-close {
    position: absolute;

    top: 12px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: none;

    background: transparent;

    font-size: 30px;

    line-height: 30px;

    color: #777;

    cursor: pointer;

    transition: 0.2s;
}

.success-modal-close:hover {
    color: #000;
}

.success-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #22c55e;

    color: #ffffff;

    font-size: 40px;
    font-weight: bold;
}

.success-modal-content h2 {
    margin-bottom: 10px;

    font-size: 30px;

    color: #0F172A;
}

.success-modal-content p {
    margin-bottom: 25px;

    font-size: 16px;

    line-height: 1.6;

    color: #555;
}

.success-modal-button {
    width: 100%;

    padding: 13px 25px;

    border: none;

    border-radius: 8px;

    background: #ffb52e;

    color: #ffffff;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.success-modal-button:hover {
    background: #e5a01f;

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    /* =========================
       NAVIGATION BAR

       flex-wrap on .nav-links lets the logo/hamburger
       stay on the top row, while .menu-links and
       .btn-Phone each wrap onto their own full-width
       row underneath (in DOM order) when the menu
       is open. No absolute positioning needed, so
       nothing overlaps and the phone button always
       lands directly below the links, matching the
       burger dropdown mockup.
    ========================= */

    .nav-links {
        height: 70px;

        padding: 10px 5%;

        align-content: flex-start;

        justify-content: space-between;
    }

    /* Let the bar grow to fit the open dropdown */
    .nav-links:has(.menu-links.active) {
        height: auto;

        padding-bottom: 20px;

        background-color: rgba(0, 0, 0, 0.95);
    }

    .logo {
        order: 1;
    }

    .hamburger {
        order: 2;

        margin-left: auto;
    }

    .logo img {
        height: 50px;
    }


    /* =========================
       HAMBURGER
    ========================= */

    .hamburger {
        display: block;
    }


    /* =====================================================
       MOBILE MENU
    ===================================================== */

    .nav-links .menu-links {
        order: 3;

        flex-basis: 100%;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding-top: 15px;

        margin: 0;
    }


    /* MENU OPEN */

    .nav-links .menu-links.active {
        display: flex;
    }


    /* NAVIGATION ITEMS */

    .nav-links .menu-links li {
        width: 100%;

        padding: 15px 0;

        text-align: center;
    }


    /* =====================================================
       PHONE BUTTON

       Sits right after .menu-links in the DOM, so with
       flex-wrap it naturally lands on the row below the
       links. Only shown once the menu is open.
    ===================================================== */

    .nav-links > .btn-Phone {
        order: 4;

        flex-basis: 100%;

        display: none;

        align-items: center;
        justify-content: center;

        gap: 8px;

        width: 85%;
        max-width: 340px;

        margin: 10px auto 5px;

        padding: 14px 20px;

        border: 1px solid #ffffff;
        border-radius: 50px;

        background-color: transparent;

        color: #ffffff;
    }


    /*
       When burger menu is active,
       show the phone button.
    */

    .nav-links:has(.menu-links.active) > .btn-Phone {
        display: inline-flex;
    }


    /* =========================
       HERO
    ========================= */

    .hero {
        min-height: auto;

        flex-direction: column;

        gap: 40px;

        padding: 120px 5% 60px;
    }

    .left-content {
        width: 100%;

        text-align: center;
    }

    .left-content h1 {
        font-size: clamp(40px, 10vw, 60px);
    }

    .right-content {
        width: 100%;
    }


    /* =========================
       SERVICES
    ========================= */

    .services {
        padding: 80px 5%;
    }

    .services h1 {
        font-size: clamp(36px, 8vw, 48px);
    }

    .cards {
        flex-direction: column;

        align-items: center;
    }

    .card {
        width: 100%;

        max-width: 400px;

        flex: none;
    }

    .card img {
        height: 400px;
    }


    /* =========================
       ABOUT
    ========================= */

    .about-header {
        padding: 80px 5% 40px;

        font-size: clamp(36px, 8vw, 48px);
    }

    .about-content {
        flex-direction: column;

        gap: 40px;

        padding: 0 5%;
    }

    .left-about,
    .right-about {
        width: 100%;
    }

    .right-about {
        line-height: 1.8rem;
    }

    .right-about p {
        line-height: 1.8rem;
    }


    /* =========================
       TEAM
    ========================= */

    .team h1 {
        padding: 80px 0 50px;

        font-size: clamp(36px, 8vw, 48px);
    }

    .team-cards {
        width: 90%;

        padding: 20px;
    }

    .cards-group {
        padding: 10px;

        gap: 30px;
    }

    .card-info {
        flex: 1 1 300px;

        min-width: 300px;

        max-width: 400px;
    }


    /* =========================
       FOOTER
    ========================= */

    footer {
        padding: 30px 5%;

        flex-direction: column;

        gap: 25px;

        text-align: center;
    }

    .left-footer ul {
        padding-top: 0;
    }

    .middle-footer img {
        padding-top: 0;
    }

    .right-footer ul {
        padding-top: 0;

        justify-content: center;
    }


    /* =========================
       DOCUMENTATION
    ========================= */

    .wrapper {
        padding: 60px 5%;
    }

    .main-content {
        width: 100%;

        padding: 30px 20px;
    }

    .list {
        padding-left: 25px;
    }

    .table-of-contents {
        padding-left: 25px;
    }

    .context {
        padding: 10px 20px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .nav-links {
        padding: 10px 4%;
    }


    /* HERO */

    .hero {
        padding-top: 110px;
    }

    .left-content h1 {
        font-size: 40px;
    }


    /* FORM */

    .form-container h2 {
        font-size: 25px;
    }


    /* SERVICES */

    .services {
        padding: 70px 4%;
    }

    .card img {
        height: 350px;
    }


    /* ABOUT */

    .about-header {
        font-size: 36px;
    }


    /* TEAM */

    .team-cards {
        width: 94%;

        padding: 15px;
    }

    .cards-group {
        padding: 5px;
    }

    .card-info {
        flex: 1 1 300px;

        min-width: 300px;

        max-width: 100%;
    }

    .card-info img {
        padding: 10px;
    }


    /* DOCUMENTATION */

    .main-content {
        padding: 25px 15px;
    }

    .titles {
        font-size: 21px;
    }

    .table-of-contents,
    .list {
        padding-left: 20px;
    }

    .context {
        padding: 10px;
    }


    /* PHONE BUTTON */

    .nav-links > .btn-Phone {
        width: 90%;

        padding: 13px 15px;
    }


    /* SUCCESS MODAL */

    .success-modal-content {
        padding: 35px 20px;
    }

    .success-modal-content h2 {
        font-size: 26px;
    }

    .success-modal-content p {
        font-size: 15px;
    }
}