@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;
    overflow-x: hidden;
}

body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #000418;
    overflow-x: hidden;
    font-family: "Roboto Slab", serif;
    position: relative;
    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: flex;
    width: 100vw;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    justify-content: center;
}

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



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

/*About Us section*/
.aboutus {
    padding: 0px;
}

.mobile img {
    display: none;
}

.aboutus .wrapper {
    margin-top: 10px;
    width: 100%;
}

.about-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.about-flex img {
    width: 500px;
    height: 480px;
}

.about-text {
    max-width: 600px;
    text-align: center;
}

.about-text li {
    list-style: none;
}

/*Mission Section*/
.our-mission {

    margin-top: 50px;
}

.our-mission h2 {
    color: #03AAA7;
    margin-bottom: 50px;
    font-size: 32px;
}

.wrapper .mission-text {
    font-size: 20px;
    text-align: center;
    background-color: rgb(175, 214, 238);
    max-width: 965px;
    height: fit-content;
    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;
    justify-content: center;
    margin-bottom: 100px;
}

/*Vision Statement Section*/
.vision {

    margin-top: 50px;
}

.vision h2 {
    color: #03AAA7;
    margin-bottom: 50px;
    font-size: 32px;
}

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

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


/*Gallery Section*/

.gallery h2 {
    text-decoration: underline;
    text-decoration-color: #03AAA7;
    text-underline-offset: 5px;
    font-size: 32px;
}

/* Carousel container */
.carousel {
    position: relative;
    width: 80%;
    max-width: 600px;
    height: f;
    margin: auto;
    overflow: hidden;
    border: 2px solid #9dd4f3;
    border-radius: 10px;
}

/* Carousel inner wrapper */
.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Carousel slides */
.carousel-item {
    min-width: 100%;
    flex: 1 0 100%;
    box-sizing: border-box;
    object-fit: cover;
}

/* Carousel navigation buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-button:hover {
    background-color: #0a6f8893;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/* Optional: Image styling */
img {
    width: 100%;
    border-radius: 10px;
}

.divider {
    margin-top: 100px;
    background-color: #016bad;
    width: 100vw;
    height: 2px;
}

.accreditations {
    padding: 30px;
    display: flex;
    align-items: center;
}

.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: 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: 100%;
    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: 100%;
}

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

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


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

.modal-content button img {
    width: 150px;
}

.modal-content button img:hover {
    transform: scale(1.05);
}

.modal-content button img:active {
    transform: scale(0.97);
}

.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;
    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: #0897c2;
}

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

.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: #0897c2;
}

.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: 0px;
    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 - Add these at the end of your CSS file */
@media screen and (max-width: 768px) {
    .wrapper {
        width: 100%;
        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);
    }

    .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;
        z-index: 1000;
    }

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

    header {
        display: flex;
    }

    .aboutus .wrapper {
        padding: 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .about-flex {
        flex-direction: column;
    }

    .about-text {
        width: 90vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: auto;
    }

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

    .about-text ul {
        margin-top: -10px;
        display: flex;
        flex-direction: column;
        max-width: 600px;
    }

    .mobile img {
        display: flex;
    }

    .mobile img {
        width: 100vw;
        height: auto;
        padding: 0 20px;
    }

    .about-image {
        display: none;
    }

    .our-mission {
        width: 95vw;
    }

    .mission-container {
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mission-text {
        width: 100%;
        height: auto;
        padding: 5px;
    }

    .mission-text p {
        font-size: 15px;
        text-align: center;
        max-width: 400px;
    }

    .vision {
        width: 95vw;
        margin-top: -20px;
        padding: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .vision-container {
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .vision-statement {
        width: 100%;
        height: auto;
        padding: 5px;
    }

    .vision-statement p {
        font-size: 15px;
        text-align: center;
        max-width: 400px;
    }

    .gallery {
        width: 100vw;
    }

    .gallery .wrapper {
        padding: 20px;
        margin-top: -20px;
    }

    .accreditations .wrapper {
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .accreditations img {
        width: 200px;
    }

    .call-to-action {
        width: 100vw;
    }

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

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

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

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

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

    .email-phone input {
        width: 100%;
    }

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

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

    .footer-links {
        margin-top: -20px;
        align-items: center;
    }

    .footer-contact {
        margin-left: auto;
        margin-top: -20px;

    }
}

/* Desktop version on mobile */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    html {
        -ms-text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
    }

    body {
        zoom: 1;
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    .menu-toggle {
        display: none;
    }

    header {
        padding: 0 30px;
    }

    .navbtns {
        display: flex;
    }

    .navbtns img {
        width: 100px;
    }

    .about-text img {
        width: 80%;
    }

    .about-text .mobile {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .our-mission .wrapper {
        display: flex;
        flex-direction: column;
    }

    .mission-container {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .mission-text {
        justify-content: center;
    }

    .mission-text p {
        max-width: 100%;
        font-size: 18px;
    }

    .modal input,
    .modal textarea {
        width: 500px;
    }

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

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

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


}

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

/* Landscape mode */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .about-flex img {
        max-height: 70vh;
        width: auto;
    }

    .mission-text {
        height: auto;
    }
}

/* Zoom Stability */
@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}