@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%);
}

*,
*::after,
*::before {
    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: 100%;
    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;
}

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

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

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

.wrapper {
    max-width: 1207px;
    margin: 0 auto;
}

/*Nav Bar*/
nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.menu-toggle {
    display: none;
}

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

.homebtn img {
    width: 100px;
}

.aboutbtn img {
    width: 100px;
}

.blogbtn img {
    width: 100px;
}

/*Hero Section*/

.hero-section {
    background-image: url(./images/contactUs-hero.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px;
    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: #000000;
}

.text p {
    color: #020202;
    font-size: 20px;
}

/*Contact Us*/
.contact-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    text-align: center;
    margin-bottom: 20px;
}

.contact-links a {
    text-decoration: none;
    color: #000000;
}

.phone img {
    margin-bottom: -40px;
    width: 130px;
}

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

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

.email img {
    margin-bottom: -30px;
    width: 110px;
}

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

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

.map img {
    margin-top: 20px;
    margin-bottom: -15px;
}

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

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

.mobile-links {
    display: none;
}


.contactform form {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    border: 1px solid #00ffff;
    box-shadow: 0 5px 5px #067a78;
    border-radius: 0 0 50px 50px;
    height: fit-content;
    max-width: 600px;
    width: 600px;
    gap: 20px;
    margin-bottom: 50px;
    padding-top: 10px;
}

.contactus form {
    display: flex;
    padding-top: 20px;
    align-items: center;
}


.contactus {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    padding: auto;
}

.contactUs-form h1 {
    display: flex;
    justify-content: left;
    gap: 5px;

}

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

form input {
    height: 35px;
    max-width: 500px;
    width: 500px;
    border-radius: 5px;
    background-color: #d4fafa;
    border: #00ffff;
}

form .phone-email {
    display: flex;
    gap: 10px;
}

form .phone-email input {
    max-width: 245px;
    width: 245px;
}

form textarea {
    max-width: 500px;
    width: 500px;
    height: 150px;
    background-color: #d4fafa;
    border: #00ffff;
}

.contactform .submit-btn {
    margin-bottom: 50px;
}

form .submit-btn img {
    width: 150px;
}

.submit-btn img:hover {
    transform: scale(1.05);
}

.submit-btn img:active {
    transform: scale(0.97);
}

form button {
    border: none;
    background-color: #00000000;
}


form a img {
    width: 200px;
    display: flex;
    align-content: center;
    justify-content: center;
}

.working-hours {
    margin-top: -30px;
    align-items: center;
}

.working-hours h3 {
    font-size: 24px;
    text-decoration: underline;
    text-decoration-color: blue;
}

.working-hours ul li {
    font-size: 20px;
    list-style-type: disc;
    color: #011c94;
}

.working-hours ul {
    margin-top: -10px;
}

iframe {
    margin-bottom: 20px;
}

/*Call to action section*/

.call-to-action {
    background-color: #98b4f198;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    height: fit-content;
    text-align: center;
    max-width: 100%;
}

.call-to-action p {
    font-size: 20px;
}

.contactbtn img {
    width: 160px;
    height: 40px;
}

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

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

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.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: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-content h2 {
    color: #0e0af8;
    font-size: 28px;
    margin-bottom: 20px;
    text-decoration: underline;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    gap: 15px;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 500px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    justify-content: center;
}

form .email-phone {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.email-phone input {
    width: 240px;
}

.modal-content textarea {
    height: 100px;
    resize: vertical;
}

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


.modal-content button {
    background: #0e0af8;
    color: white;
    padding: 10px 20px;
    margin: 0 10%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 80%;
    transition: background-color 0.3s;
}



.modal-content button:hover {
    background: #065ca1;
}

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

.close:hover {
    color: #000;
}

/*Footer section*/

footer {
    background-color: #ffffffb4;
    color: rgb(0, 0, 0);
    padding: 40px 20px;
    position: relative;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.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: #03AAA7;
}

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

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

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

.newsletter-form button:hover {
    background-color: #03AAA7;
}

.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 auto;
        margin: 0;
        overflow-x: hidden;
    }



    .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;
        display: flex;
        text-align: left;
        padding-right: auto;
    }

    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: left;
    }



    .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);
        padding-right: 50px;
    }

    .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: -20px;
        text-align: left;
    }


    .navbtns {
        display: none;
    }

    /* Hero Section */
    .hero-section {
        width: 100vw;
        margin-top: 80px;
        height: auto;
        margin-right: auto;
    }

    .hero-section .wrapper {
        padding: 0px;
    }

    .hero-section .text {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: left;
        text-align: center;
    }

    .text h1 {
        margin-bottom: -10px;
        text-align: left;
    }

    .text p {
        font-size: 16px;
        text-align: left;
        max-width: 240px;
        color: #01081d;
    }

    /* Contact Links */
    .contact-links {
        display: flex;
        gap: 5px;
    }

    .contact-links img {
        width: 100px;
    }

    .contact-links p {
        font-size: 14px;
    }

    .map img {
        margin-top: 50px;
    }


    /* Contact Form Section */
    .contactus {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contactform {
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contactform form {
        width: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: fit-content;
    }

    form input,
    form textarea {
        max-width: 280px;
    }

    form input {
        max-width: 280px;
        height: 35px;
    }

    form .phone-email {
        flex-direction: column;
    }

    form .phone-email input {
        max-width: 280px;
    }

    form textarea {
        max-height: 100px;
    }


    /* Working Hours */
    .working-hours {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hours {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Google Map */
    iframe {
        width: 100%;
        height: 300px;
    }

    /* Call to Action */
    .call-to-action {
        width: 100vw;
    }

    .call-to-action p {
        font-size: 15px;
    }

    .cta-btns {
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .cta-btns img {
        width: 100px;
    }

    /* Modal */
    .modal-content {
        width: 100%;
        margin: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }



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

    .email-phone {
        flex-direction: column;
    }

    /*footer */

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

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

    .footer-links ul {
        margin-top: -10px;
    }

    .footer-links ul li {
        margin-top: -10px;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        margin-left: auto;
        text-align: center;
        margin-top: -200px;
    }

    .footer-contact p {
        margin-top: -10px;
    }

    .footer-newsletter {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: -10px;
    }

    .footer-bottom {
        border-top: 1px solid rgba(34, 89, 240, 0.541);
    }
}

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

    .navbtns {
        display: flex;
        align-items: flex-end;
    }

    .navbtns img {
        width: 100px;
    }

    .menu-toggle {
        display: none;
    }

    header {
        padding: 0 20px;
    }

    .hero-section .wrapper {
        display: flex;
        flex-direction: row;
    }

    .wrapper .text {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .hero-section p {
        max-width: 80%;
        font-size: 20px;
    }

    .contactUs-form form {
        width: 60%;
    }

    .contactUs .wrapper {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .contactUs .contactus {
        display: flex;
        flex-direction: row;
        justify-content: left;
        width: 100%;
        margin-left: -50px;
    }

    .contactus {
        padding: 0 20px;
    }

    .hours .working-hours {
        display: flex;
        align-items: center;
        justify-content: left;
    }

    .working-hours {
        display: flex;
        align-items: center;
        justify-content: left;
        text-align: left;
        margin-left: -150px;
    }

    .working-hours ul {
        flex-direction: column;
        align-items: center;
        justify-content: left;

    }


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

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

    .footer-links ul {
        margin-top: 5px;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        margin-left: 0;
        text-align: center;
        margin-top: 0px;
    }


}

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

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

    .contact-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

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