@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap");

:root {
    --main: #2a5776;
    --accent: #80B2b1;
    --secondary: #016bad;
    --dark: #042d4c;
    --highlight: #00ffff;
    --button: linear-gradient(90deg, #03AAA7 22%, #003C61 100%);
}

* {
    box-sizing: border-box;

}

body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #000418;
    overflow-x: hidden;
    font-family: "Roboto Slab", serif;
    position: relative;
    /* important for ::before layering */
    z-index: 0;
    /* optional for stacking context */
}

h1,
h2,
h3 {
    font-family: "Roboto Slab", serif;
}

p,
ul,
li {
    font-family: "Roboto Slab", serif;
}

header {
    background-color: #ffffff;
    position: fixed;
    width: 100vw;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.branding {
    display: flex;
    align-items: center;
}

.logo {
    width: 95px;
    height: 100%;
}


.navbtns img {
    width: 140px;
    height: 40px;
}

main .wrapper {
    padding-top: 100px;
}

.wrapper {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/*Nav Bar*/
nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-left: 50px;
    padding-right: 50px;
}

.menu-toggle {
    display: none;
}

.navbtns {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: center;
}

.navbtns img:hover {
    transform: scale(1.05);
}

.navbtns img:active {
    transform: scale(0.97);
}

.homebtn img {
    width: 100px;
}

.homebtn img:hover {
    transform: scale(1.05);
}

.homebtn img:active {
    transform: scale(0.97);
}

.aboutbtn img {
    width: 100px;
}

.aboutbtn img:hover {
    transform: scale(1.05);
}

.aboutbtn img:active {
    transform: scale(0.97);
}

.blogbtn img {
    width: 100px;
}

/*Hero Section*/

.hero-section {
    background-image: url(./images/career\ hero.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px;
    width: 100vw;
    height: 500px;
    border-radius: 0 0 0 100px;
    margin-top: 80px;
}

.hero-section .wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 50px;
}

.text h1 {
    font-size: 38px;
    color: #ffffff;
}


.career-statement .wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.statement-text {
    font-size: 20px;
    text-align: center;
    background-color: rgb(175, 214, 238);
    max-width: 650px;
    height: 150px;
    padding: 10px 0 0 0;
    border: 1px solidrgb(0, 225, 241);
    box-shadow: 0 10px 15px rgba(4, 16, 184, 0.61);
}

.mission-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
}

/*Open Positions*/

.open-positions .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: -20px;
    width: 100%;
}

.positions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header {
    color: #0011ff;
}

.currents {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.position-cards {
    max-width: 300px;
    height: 300px;
    background-color: rgb(234, 250, 249);
    border: 1 solid #00ffff;
    box-shadow: 0 3px 5px #016bad;
    padding: 0 10px;
    text-align: center;
}

.cards-line1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.cards-line2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.first-card {}

.apply img {
    width: 70px;
}


.apply img:hover {
    transform: scale(1.05);
}

.apply img:active {
    transform: scale(0.97);
}

/*Join Us form*/
.join-team {
    display: flex;
    border: 1 solid #00ffff;
    box-shadow: 0 5px 10px #016bad;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 300px;
    justify-content: center;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px 20px 0 0;
}

.join-team {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px
}

form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

form input,
select {
    height: 30px;
    max-width: 250px;
    border-radius: 10px;
}

textarea {
    resize: vertical;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 20px;
}

form a img {
    width: 150px;
    margin-left: 55px;
}

form a img:hover {
    transform: scale(1.05);
}

form a img:active {
    transform: scale(0.97);
}

form h2 {
    text-align: center;
}

.heading {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #016bad;
    height: 40px;
    width: 300px;
    margin-left: -20px;
    color: #fff;
    border-radius: 20px 20px 0 0;

}

/*Why US Section*/
.why-us .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 1148px;
}

.why-us h2 {
    display: flex;
    color: #0011ff;
}

.why-cards {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}



.why-us-cards {
    max-width: 300px;
    height: 120px;
    background-color: rgb(255, 255, 255);
    border: 1 solid #00ffff;
    box-shadow: 0 5px 10px #016bad;

}

.why-cards img {
    width: 80px;
}

.first {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
}

.second {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
}

.third {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
}

.quotebtn img {
    width: 140px;
    height: 40px;
}

.quotebtn img:hover {
    transform: scale(1.05);
}

.quotebtn img:active {
    transform: scale(0.97);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgb(203, 209, 241);
    padding: 20px;
    width: 50vw;
    height: 90vh;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    align-items: flex-start;
    top: 0px;
}

.modal-content h2 {
    color: #0e0af8;
    font-size: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal form {
    display: flex;
    flex-direction: column;
    align-items: ;
}

form .name-email {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

form .position-resume {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

form .form-group {
    display: flex;
    flex-direction: column;
}


.modal-content input,
.modal-content select {
    width: 100%;
    height: 45px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.modal-content textarea {
    height: 150px;
    resize: vertical;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    position: flex;
    justify-content: center;
}

form .form-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal a img {
    margin-left: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #000;
}

/*Career POP UP*/

.career-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.career-popup-content {
    background: white;
    padding: 20px 30px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 8px;
    margin: auto;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
}

.career-popup h2,
.career-popup h3 {
    color: #00308F;
}

.career-popup label {
    display: block;
    margin-top: 10px;
}

.career-popup input {
    height: fit-content;
}

.career-popup input,
.career-popup textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.career-popup-content .button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button button {
    border: none;
    background-color: #ffffff00;
}

button img {
    width: 150px;
}

/*Footer*/
footer {
    background-color: #ffffffb4;
    color: rgb(0, 0, 0);
    position: relative;
    width: 100%;
    margin-top: 50px;
    border-top: 1px solid rgba(34, 89, 240, 0.541);
}


.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-section {
    display: flex;
    flex: 4;
    flex-direction: column;
    min-width: 250px;
    margin: 10px;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 150px;
}

.footer-about p {
    text-align: center;
    max-width: 18rem;
    font-size: 13px;
}

.footer-links {
    margin-top: 3rem;
    margin-left: 3rem;
}

.footer-contact {
    margin-top: 3rem;
    margin-left: -2rem;
    max-width: 15rem;
}

.footer-contact i {
    font-size: 1.8rem;
}

.footer-newsletter {
    margin-top: 3rem;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-section p,
.footer-section ul {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #014d94;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: rgb(0, 25, 253);
    font-size: 20px;
    margin-right: 10px;
}

.social-icons a:hover {
    color: #25aeb8;
    ;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 0 0 20px 0;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 0;
    height: 35px;
    background-color: #f2fdfd;
}

.newsletter-form button {
    background-color: rgb(0, 4, 255);
    color: rgb(255, 255, 255);
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 0 0 20px 0;
}

.newsletter-form button:hover {
    background-color: #25aeb8;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    padding-top: 10px;
    border-top: 1px solid rgba(34, 89, 240, 0.541);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    z-index: 1;
}

.whatsapp-float img {
    width: 300px;
}

.whatsapp-float img:hover {
    transform: scale(1.05);
}

.whatsapp-float img:active {
    transform: scale(0.97);
}

/* Media Queries */
@media screen and (max-width: 768px) {

    /* Header & Navigation */
    .wrapper {
        width: 100%;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }

    header {
        width: 100%;
        height: fit-content;
    }

    .branding {
        margin-left: -50px;
    }

    .branding {
        scale: 0.8;
    }

    .navbtns {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .slide {
        height: 15rem;
        width: 180px;
        position: absolute;
        right: 0;
        background-color: rgb(255, 255, 255);
        transition: 0.5s ease;
        transform: translateX(180px);
    }

    h1 {
        color: #030252;
        font-weight: 800;
        text-align: left;
        padding: 10px 0;
        padding-left: 30px;
    }

    ul li {
        list-style: none;
    }

    ul li a {
        color: #000000;
        font-weight: 500;
        padding: 5px 0;
        display: block;
        text-transform: capitalize;
        text-decoration: none;
        transition: 0.2s ease-out;
    }

    ul li:hover a {
        color: #fff;
        background-color: #006effb7;
        border-radius: 20%;
    }

    ul li a i {
        width: 40px;
        text-align: center;
    }



    .menu-toggle input {
        display: none;
        visibility: hidden;
        -webkit-appearance: none;
    }

    .toggle {
        position: absolute;
        height: 30px;
        width: 30px;
        top: 20px;
        right: 15px;
        z-index: 1;
        cursor: pointer;
        border-radius: 2px;
        background-color: rgba(255, 255, 255, 0.705);
    }

    .toggle .common {
        position: absolute;
        height: 2px;
        width: 20px;
        background-color: #030252;
        border-radius: 50px;
        transition: 0.3s ease;
    }

    .toggle .topline {
        top: 30%;
        right: 50%;
        transform: translate(50%, -50%);
    }

    .toggle .middleline {
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
    }

    .toggle .bottomline {
        top: 70%;
        right: 50%;
        transform: translate(50%, -50%);
    }

    input:checked~.toggle .topline {
        right: 2px;
        top: 14px;
        width: 25px;
        transform: rotate(-45deg);
    }

    input:checked~.toggle .bottomline {
        right: 2px;
        top: 14px;
        width: 25px;
        transform: rotate(45deg);
    }

    input:checked~.toggle .middleline {
        opacity: 0;
        transform: translateX(-20px);
    }

    input:checked~.slide {
        transform: translateX(0);
        box-shadow: 0 0 20px rgba(28, 0, 71, 0.466);
        border-radius: 0 0 0 30px;
        height: fit-content;
        padding: 0;
        width: 200px;
    }

    input:checked~.slide ul {
        margin-top: -20px;
        margin-left: -20px;
        text-align: left;
    }

    input:checked~.slide ul span {
        margin-left: -10px;
        text-align: left;
    }

    .navbtns {
        display: none;
    }

    /* Hero Section */
    .hero-section {
        width: 100vw;
        height: fit-content;
        padding: 0px;
        margin-top: 80px;
    }

    .hero-section .wrapper {
        padding: 20px;
        text-align: center;
    }

    .text h1 {
        font-size: 20px;
        text-align: left;
        max-width: 220px;
        margin-bottom: -40px;
    }

    .text .quotebtn img {
        width: 100px;
    }

    /* Career Statement */
    .career-statement {
        width: 100vw;
        margin-top: -50px;
        padding: 15px;
        margin-bottom: 50px;
    }

    .statement-text {
        width: 100%;
        height: auto;
        padding: 15px;
    }

    .statement-text p {
        font-size: 16px;
    }

    /* Open Positions */
    .open-positions .wrapper {
        padding: 15px;
    }

    .positions {
        flex-direction: column;
        gap: 30px;
    }

    .currents {
        flex-direction: column;
        width: 100%;
    }

    .cards-line1,
    .cards-line2 {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .position-cards {
        width: 100%;
        margin: 0 auto;
    }

    /* Join Team Form */
    .join-team {
        width: 100%;
        margin: 20px 0;
    }

    .join-team .heading {
        width: 115%;
    }

    .join-team form input,
    .join-team form select,
    .join-team form textarea {
        width: 100%;
    }

    form .submit-btn {
        display: flex;
        align-items: center;
    }

    /* Why Us Section */
    .why-us .wrapper {
        padding: 15px;
    }

    .why-cards {
        flex-direction: column;
        gap: 20px;
    }

    .why-us-cards {
        width: 100%;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        padding: 15px;
        margin: 10px;
    }

    .name-email,
    .position-resume {
        flex-direction: column;
        gap: 15px;
    }

    .modal-content input,
    .modal-content select {
        width: 100%;
    }

    .modal-content textarea {
        width: 100%;
    }

    /* Footer */
    footer {
        width: 100vw;
        margin: 0;
        padding: 15px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin: 20px 0;
        width: 100%;
    }

    .footer-links,
    .footer-contact {
        margin: 0;
    }

    .footer-section .footer-contact {
        justify-content: center;
        margin: auto;
    }

    .newsletter-form {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }


}

/* Desktop version on mobile */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .wrapper {
        max-width: 1207px;
        margin: 0 auto;
    }

    header .wrapper {
        margin-left: -30px;
    }

    .wrapper nav {
        margin-right: -80px;
    }

    .hero-section {
        margin-top: 80px;
    }

    .hero-section .text {
        text-align: center;
    }

    .text h1 {
        font-size: 24px;
    }

    .career-statement {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -50px;
        margin-bottom: 50px;
    }

    .career-statement .wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .statement-text p {
        font-size: 20px;
    }

    .positions {
        flex-wrap: wrap;
    }

    .currents {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }

    .cards-line1 {
        display: flex;
        flex-direction: row;
    }

    .cards-line2 {
        display: flex;
        flex-direction: row;
    }

    .position-cards {
        flex: 0 0 calc(50% - 20px);
        width: 300px;
    }

    .join-team {
        width: 80%;
    }

    form .submit-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .join-team .heading {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 107.5%;
    }

    footer .wrapper {
        display: flex;
        flex-direction: column;
    }

    .footer-section .footer-contact {
        justify-content: center;
        margin: auto;
    }
}

/* Large screens */
@media screen and (min-width: 1440px) {
    .wrapper {
        max-width: 1400px;
    }

    .position-cards {
        width: 320px;
    }

    .why-us-cards {
        width: 350px;
    }
}

/* Landscape mode for mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        padding: 40px 20px;
    }

    .positions {
        flex-direction: row;
    }

    .currents {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .position-cards {
        width: calc(50% - 20px);
    }

    .why-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .why-us-cards {
        width: calc(50% - 20px);
    }
}

/* Zoom Stability */
@media screen and (min-width: 768px) {
    html {
        zoom: 100%;
        -ms-text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
    }

    body {
        min-width: 320px;
        overflow-x: hidden;
    }

    .wrapper {
        min-width: 320px;
        max-width: 100%;
    }
}