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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('./images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #000418;
    overflow-x: auto;
    font-family: "Roboto Slab", serif;
    position: relative;
    z-index: 0;
}

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

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

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

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

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

.inscription {
    width: 170x;
    height: 80px;
    margin-left: -10px;
}

.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;
}

.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;
}

.aboutbtn img {
    width: 100px;
}

.blogbtn img {
    width: 100px;
}

.menu-toggle {
    display: none;
}

/*Hero Section*/
.hero-section::after {
    background-color: #00ffff;
}

.hero-section {
    background-image: url(./images/1.svg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px;
    height: 500px;
    border: 1px solid var(--jet);
    border-radius: 0 0 0 100px;
    margin-top: 80px;
    animation: slideShow 12s infinite linear;
}

@keyframes slideShow {
    0% {
        background-image: url(./images/1.svg);
    }

    33% {
        background-image: url(./images/2.svg);
    }

    66% {
        background-image: url(./images/3.svg);
    }
}



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

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

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

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

.text h1 {
    font-size: 38px;
    color: #fff;
    margin-bottom: 50px;
}

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

.productsbtns {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 50px;
}

.productsbtns img {
    width: 150px;
}

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

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

/*About Section*/
.mobile-screen {
    display: none;
}

.about-section {
    background-color: #fff;
}

.about-section .wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    width: 90%;
}

.about-us {
    display: flex;
    flex-direction: row;
}

.about-us h1 {
    margin-top: 0;
    display: flex;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #11079b;
    gap: 10px;
}

.about-sum {
    display: flex;
    align-items: center;
    margin-top: -150px;
    gap: 30px;
    margin: 0 auto;
}

.about-sum img {
    width: 300px;
    border-radius: 50px;
}

.about-text {
    text-align: center;
}

.about-text h2 {
    color: #0b0563;
    margin-bottom: 30px;
}

.about-text .abouticon {
    content: url(./images/abouticon.svg);
}

.about-sum .button {
    margin-top: 30px;
}

.button {
    display: flex;
    justify-content: center;
}

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

.about-text p {
    margin-top: -20px;
}

.about-text a img {
    width: 120px;
}

.about-text a img:hover {
    transform: scale(1.05);
}

.about-text a img:active {
    transform: scale(0.97);
}

/*connect form*/

.connect-form {
    background-color: white;
    padding: 30px;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 5px 5px rgb(130, 179, 243);
    width: 500px;
    position: relative;
    z-index: 1;
    margin-top: -159px;
    margin-bottom: -50px;
}

.connect-form h2 {
    background-color: #0312df;
    color: white;
    text-align: center;
    padding: 15px;
    margin: -30px -30px 20px -30px;
}

form {
    align-items: center;
}


label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

select {
    width: 100%;
    padding: 10px;
}

textarea {
    height: 110px;
    resize: vertical;
}

.submit-btn img {
    width: 150px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: -20px;
}

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

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

/*Products Section*/

.products-section {
    background-color: rgb(205, 227, 255);
    padding-top: 50px;
}

.products-section .wrapper {
    padding: 30px;
}

.heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: -80px;
}

.heading h1 {
    font-size: 34px;
}

.heading h1 .prods {
    color: blue;
}

.heading ul {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    list-style: none;
    font-size: 20px;
}

.heading a {
    color: #010a57;
    text-decoration: none;
}

.heading a:hover {
    text-decoration: underline;
    text-decoration-color: #020eb6;
}

.card-container {
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 40px;
    padding: 20px;
    align-items: center;
    height: 60%;
    margin-top: 4rem;
    padding-top: 100px;

}

.card {
    width: 300px;
    height: 250px;
    perspective: 1000px;
    position: relative;
}

.card-front,
.card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
    border-radius: 10px;
}

/* Front Side */
.card-front {
    background: #ddd;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Back Side */
.card-back {
    background: rgb(0, 178, 223);
    color: rgb(0, 8, 43);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    transform: rotateY(180deg);
}

.card-back h3 {
    margin-bottom: 10px;
}

.card-back p {
    font-size: 14px;
    margin-bottom: 15px;
}

.card-back .btn {
    background: white;
    color: #0312df;
    padding: 10px 15px;
    border-radius: 0 0 0 20px;
    text-decoration: none;
    font-weight: bold;
}

/* Flip Effect */
.card:hover .card-front {
    transform: rotateY(180deg);
}

.card:hover .card-back {
    transform: rotateY(0);
}

/*Call to Action*/

.call-to-action {
    background-color: #e3f8f498;
    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%;
    padding: 10px 0;
}

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

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

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

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

.call-to-action .wrapper {
    margin-top: -80px;
}

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

/*Faq Section*/

.faq-section {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: justify;
    padding-bottom: 50px;
}

.faq-section .wrapper {
    margin-top: -80px;
}

.faq-section h1 {
    color: #021449;
    text-align: center;

}

.faq {
    width: 90%;
    max-width: 800px;
}

.question {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(1, 33, 75, 0.753);
    padding: 5px 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all .3s ease-in-out;
    height: 50px;
}

.question p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.question:hover {
    background-color: #8ad0f8;
}

.answer {
    max-height: 0px;
    width: 100%;
    overflow: hidden;
    transition: max-height .3s ease-in-out;
}

.faq i {
    transition: all .3s ease-in-out;
}

.faq-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding-top: 30px;
}

.faq.active .answer {
    max-height: 140px;
    margin-top: -5px;
}

.faq.active i {
    transform: rotate(45deg);
}

.answer p {
    background-color: #ffffff;
    padding: 5px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(1, 33, 75, 0.753);
}


.answer ul {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(1, 33, 75, 0.753);
    padding: 5px;
    font-size: 15px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 20px;
    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: 10px;
    width: 50%;
    height: fit-content;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.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;
}

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: flex-start;
}


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

.modal-content button:hover {
    background: #0c0899;
}

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

.close:hover {
    color: #000;
}

/*footer*/
footer {
    background-color: #012d3ab4;
    color: white;
    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: white;
    text-decoration: none;
}

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

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

.social-icons a {
    color: white;
    font-size: 20px;
    margin-right: 10px;
}

.social-icons a:hover {
    color: #014d94;
}

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

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

.newsletter-form button {
    background-color: rgb(0, 204, 255);
    color: rgb(2, 1, 43);
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 0 0 20px 0;
    height: 36px;
}

.newsletter-form button:hover {
    background-color: #014d94;
}

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

.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 15px;
    }

    .branding {
        scale: 0.8;
    }


    .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-bottom: 20px;
    }

    .navbtns {
        display: none;
    }

    /* Hero Section */
    .hero-section {
        height: auto;
        padding: 20px 0;
    }

    .global-screen {
        display: none;
    }

    .hero-section .wrapper {
        flex-direction: column;
        margin-top: -50px;
    }

    .quotebtn {
        display: flex;
        justify-content: center;
    }

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

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

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

    .text h1 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 10px;
    }

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



    /* About Section */
    .about-section .wrapper {
        flex-direction: column;
        padding-top: 0px;
    }

    .about-us {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-screen {
        display: flex;
    }

    .productsbtns {
        margin-top: 0px;
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .productsbtns img {
        width: 90px;
    }

    .about-sum {
        flex-direction: column;
        margin: 0;
        text-align: center;
    }

    .about-sum img {
        display: none;
    }

    .about-sum .button img {
        display: flex;
    }

    .about-text {
        padding: 0 15px;
    }

    /*connect form*/

    .connect-form {
        width: 80%;
        margin: 20px auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

    input,
    textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 14px;
    }

    select {
        width: 100%;
        padding: 10px;
    }

    textarea {
        height: 110px;
        resize: vertical;
    }

    .submit-btn img {
        width: 150px;
        cursor: pointer;
        margin-top: 10px;
        margin-bottom: -20px;
    }

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

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

    /* Products Section */
    .heading {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .heading h1 {
        margin-bottom: 20px;
    }

    .product-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .card-container {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /*Call to Action Section*/
    .call-to-action {
        display: flex;
        align-items: center;
    }

    .call-to-action p {
        font-size: 14px;
        margin-bottom: 10px;

    }

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

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

    /*FAQ*/
    .question {
        font-size: 14px;

    }

    .faq-section .mobile-screen {
        color: #010d75;
        display: flex;
        justify-content: center;
    }

    .faq-list {
        margin-top: -30px;
    }

    /* Modal */
    .modal-content {
        width: 90%;
        padding: 5px;
    }

    .modal-content input,
    .modal-content select,
    .modal-content textarea {
        display: flex;
        width: 300px;
    }

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

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

    ::placeholder {
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-style: italic;
        color: #666;
    }

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

    .footer-section {
        margin: 20px auto;
    }

    .footer-links {
        margin: 20px 0;
    }

    .footer-contact {
        margin: 20px 0;
    }

    .footer-newsletter {
        margin-top: 0;
        justify-content: center;
    }

    .newsletter-form {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 20px 0;
        width: 90%;
    }

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

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

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

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

    .menu-toggle {
        display: none;
    }

    .navbtns {
        display: flex;
    }

    .navbtns img {
        width: 100px;
    }

    .heading {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .heading h1 {
        margin-bottom: 20px;
    }

    .products-section {
        padding-top: 0;
    }

    .product-tabs {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .card-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 0px;
    }

    .card {
        min-width: 280px;
        max-width: 300px;
        margin: 0 auto;
    }

    .productsbtns img {
        width: 150px;
    }

    .mobile-screen .productsbtns {
        display: flex;
        justify-content: space-between;
        gap: 50px;
    }

    .modal-content input,
    .modal-content select,
    .modal-content textarea {
        display: flex;
        width: 600px;
    }

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

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

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

}

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

    .card-container {
        gap: 60px;
    }

    .card {
        width: 350px;
        height: 300px;
    }
}

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

    .productsbtns {
        flex-wrap: wrap;
    }

    .card-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

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