@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

html,
body {
    font-family: "Montserrat", serif !important;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

a {
    text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0px;
    margin-bottom: 0px;
    
}

ul {
    margin-bottom: 0px;
}


section {
    background: #fff;
}

/* Grid 2 */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 991px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* grid 3 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 991px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* 
---------------------------------------------
header
--------------------------------------------- 
*/
/* Initial navbar styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar-padding {
    padding-top: 100px;
    /* Adjust this value as needed */
}

.navbar-brand img {
    width: 140px;
}

.navbar-transparent {
    background: transparent;
    color: white;
}

.navbar-transparent .nav-link {
    color: white;
    transition: color 0.3s ease;
    margin-left: 10px;
    font-size: 16px;
    font-weight: 500;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-transparent .navbar-brand {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-scrolled {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .nav-link {
    color: black;
    margin-left: 10px;
    font-size: 16px;
    font-weight: 500;
}

.navbar-scrolled .navbar-brand {
    color: #005164;
    font-size: 20px;
    font-weight: 600;
}

.navbar li.nav-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* New Banner */

.welcome-area {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.header-text {
    z-index: 2;
    color: white;
}

/* Background Animation */
.welcome-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    /* Ensures consistent sizing */
    background-position: center;
    /* Centers images */
    animation: fadeBackground 30s infinite;
    z-index: 1;
    transition: background-image 5s ease-in-out;
    /* Smooth fade effect */
}

/* Gradient Overlay */
.welcome-area::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, #7bc5ba99, #002028c4); */
    background-image: linear-gradient(135deg, #30cfd0d1 0%, #002028e1 100%);
    z-index: 1;
}

/* Animation Keyframes */
@keyframes fadeBackground {
    0% {
        background-image: url('/assets/images/image1.jpg');
    }

    33% {
        background-image: url('/assets/images/image2.jpg');
    }

    66% {
        background-image: url('/assets/images/image3.jpg');
    }

    100% {
        background-image: url('/assets/images/image4.jpg');
    }
}
/* 
---------------------------------------------
welcome
--------------------------------------------- 
*/
.welcome-area {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/assets/images/banner-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100vh;
}

.welcome-area .header-text {
    position: absolute;
    top: 50%;
    transform: translateY(-55%);
    text-align: center;
    width: 100%;
}

.welcome-area .header-text h1 {
    font-weight: 700;
    font-size: 50px;
    margin-bottom: 30px;
    color: #fff;
}

.welcome-area .header-text p {
    /* font-size: 20px; */
    color: #fff;
    margin-bottom: 40px;
    position: relative;
}

.main-button-slider {
    background: #0ec9ac;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .welcome-area .header-text {
        top: 65% !important;
        transform: perspective(1px) translateY(-60%) !important;
        text-align: center;
    }

    .welcome-area .header-text h1 {
        text-align: center;
        color: #fff;
        margin-bottom: 15px;
    }

    .welcome-area .header-text h1 span {
        color: #fff;
    }

    .welcome-area .header-text p {
        text-align: center;
        color: #fff;
        margin-bottom: 20px;
    }
}

@media (max-width: 820px) {
    .welcome-area .header-text {
        top: 65% !important;
        transform: perspective(1px) translateY(-60%) !important;
    }

    .welcome-area .header-text h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .welcome-area .header-text p {
        margin-bottom: 20px;
    }
}

@media (max-width: 765px) {
    .welcome-area {
        margin-bottom: 100px;
    }

    .welcome-area .header-text {
        top: 50% !important;
        transform: perspective(1px) translateY(-50%) !important;
        text-align: center;
    }

    .welcome-area .header-text .buttons {
        display: none;
    }

    .welcome-area .header-text h1 {
        font-weight: 600;
        font-size: 24px !important;
        margin-bottom: 30px !important;
    }

    .welcome-area .header-text h1 span {
        color: #fff;
    }

    .welcome-area .header-text p {
        text-align: center;
        color: #fff;
        font-size: 14px;
        margin-bottom: 40px;
    }
}



/* 
---------------------------------------------
features
--------------------------------------------- 
*/

.home-feature {
    z-index: 9999;
    position: relative;
    background: transparent;
}

.features-small-item {
    cursor: pointer;
    display: block;
    background: #FFFFFF;
    box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.10);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
}

.features-small-item:hover .icon {
    background: #005164;
}

.features-small-item .icon {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    width: 90px;
    height: 90px;
    margin: auto;
    position: relative;
    margin-bottom: 30px;
    background: #007499;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-small-item .icon i {
    font-size: 35px;
    color: #fff;
}

.features-small-item .features-title {
    font-weight: 600;
    /* font-size: 20px; */
    color: #1e1e1e;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.features-small-item p {
    font-weight: 500;
    /* font-size: 15px; */
    color: #777;
    /* line-height: 25px; */
    position: relative;
    z-index: 2;
}

.features-small-item a {
    float: right;
    position: relative;
    z-index: 2;
}

.home-feature {
    padding-bottom: 0px;
    padding-top: 30px;
    margin-top: -220px;
    z-index: 9;
}

@media (max-width: 991px) {
    .home-feature {
        padding-bottom: 0px;
        padding-top: 0px;
        margin-top: 0px;
    }
}


/* 
---------------------------------------------
services
--------------------------------------------- 
*/
.section.colored {
    /* background: #0051640d; */
    background-image: linear-gradient(135deg, #30abd0d1 0%, #002028e1 100%);
    padding-top: 5rem;
    padding-bottom: 5rem;
    /* overflow: hidden; */
    position: relative;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Gradient overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.services-header {
    color: #fff;
}

.features-title.services {
    font-weight: 600;
}


#services {
    position: relative;
    z-index: 2;
    /* Place content above the particles */
}

.services-item {
    cursor: pointer;
    display: block;
    background: #ffffff2d;
    box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.10);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    color: #fff;
}

.services-item:hover .icon {
    background: #005164;
}

.services-item .icon {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    width: 90px;
    height: 90px;
    margin: auto;
    position: relative;
    margin-bottom: 30px;
    background: #0ec9ac;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-item .icon i {
    font-size: 35px;
    color: #fff;
}

.services-item .features-title {
    font-weight: 600;
    /* font-size: 20px; */
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.services-item p {
    font-weight: 500;
    /* font-size: 15px; */
    color: #ffffff;
    /* line-height: 25px; */
    position: relative;
    z-index: 2;
}

.services-item a {
    float: right;
    position: relative;
    z-index: 2;
}

/* -------- Our Differentiator Starts -------- */
.od .bi {
    font-size: 40px;
    color: #0ec9ac;
}

/* -------- Our Differentiator Ends -------- */


/* -------- AtidLife App Starts -------- */
#atidlife-app {
    padding: 5rem 0;
    background: #0051640d;
    /* background-image: radial-gradient(circle farthest-corner at 83.7% 4.3%, #0c303814 0%, #00516436 90%); */
    /* background-image: linear-gradient(108.7deg, rgba(221, 22, 224, 1) 11%, rgba(111, 22, 190, 1) 88.2%); */
    /* background-image: radial-gradient(circle farthest-corner at 17.1% 22.8%, rgba(226, 24, 24, 1) 0%, rgba(160, 6, 6, 1) 90%); */
    /* background-image: linear-gradient(-225deg, #FF057C 0%, #8D0B93 50%, #321575 100%); */
    color: #161616 !important;
}

@media (max-width:787px) {
    #atidlife-app {
        padding: 5rem 0;
    }
}

@media (max-width:600px) {
    #atidlife-app {
        padding: 2rem 0;
    }
}

.atid-life-grid .bi {
    font-size: 30px;
}

.atid-life-img {
    max-height: 800px;
}
/* -------- AtidLife App Ends -------- */


/* -------- Our Partners Starts -------- */

#our-partners {
    padding: 5rem 0;
}

.logo-slider {
    padding: 5rem 0;
}

.logo-slider .item {
    padding: 1rem;
}

.logo-slider .item img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    background: #ffffff4f !important;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width:768px) {
    .owl-carousel .owl-nav {
        display: none !important;
    }
}

.owl-carousel .owl-nav button:hover {
    background: #005164 !important;
    /* Darker blue on hover */
}

.owl-carousel .owl-nav button.owl-prev {
    left: -120px;
    /* Position left arrow */
}

.owl-carousel .owl-nav button.owl-next {
    right: -120px;
    /* Position right arrow */
}

@media (max-width:600px) {
    #our-partners {
        padding: 2rem 0;
    }
}

@media (max-width:600px) {
    #our-partners {
        padding: 2rem 0;
    }
}
/* -------- Our Partners Ends -------- */


/* -------- Testimonials Starts-------- */
.testimonials-section {
    position: relative;
    background: url('/assets/images/testimonials-bg-1.png');
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 10rem 0;
}

.testimonials-header {
    z-index: 10;
    position: relative;
}

.testimonials-section .section-title {
    color: #fff !important;
    z-index: 2;
    position: relative;
}

.testimonials-section .section-para {
    color: #fff !important;
    z-index: 2;
    position: relative;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #005164f2, #00516447);
    z-index: 1;
}

.testimonials-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.testimonials-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.testimonials-slider .item {
    text-align: center;
    padding: 20px;
    background: #0000005c;
    border-radius: 15px;
    height: 350px;
}

.testimonials-slider .item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    margin: 0 auto 15px;
    border: 3px solid rgb(49, 49, 49);
}

.testimonials-slider .item .quote {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonials-slider .item .name {
    font-weight: bold;
}

.testimonials-slider .item .designation {
    font-size: 0.9rem;
    color: #d8d8d8;
}
/* -------- Testimonials Ends-------- */

/* -------- Contact Starts-------- */
.contact-us-section {
    background: linear-gradient(to right, #f9f9f9, #ffffff);
    padding: 10rem 0;
}

.contact-us-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2d2d2d;
}

.contact-us-section .section-description {
    color: #555555;
}

.contact-us-section .contact-info li {
    color: #333333;
    display: flex;
    flex-direction: column;
}

.contact-info a,
.contact-info p {
    color: #000 !important;
    /* font-size: 17px; */
}

.contact-us-section .contact-info li i {
    color: #005164;
    /* font-size: 1.5rem; */
}

.contact-us-section a.btn-primary {
    background: #005164;
    border: none;
    transition: background 0.3s ease;
}

.contact-us-section a.btn-primary:hover {
    background: #005164;
}

@media (max-width:900px) {
    .grid-2.contact {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
/* -------- Contact Ends-------- */

/* -------- Footer Starts-------- */
footer {
    background: #003c4b;
    padding-top: 30px;
}

footer .social {
    overflow: hidden;
    margin-top: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

footer .social li {
    margin: 0px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .social li a {
    color: #005164;
    text-align: center;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

footer .social li a:hover {
    background: #0ec9ac;
    color: #fff;
}

footer .copyright {
    text-align: center;
    border-top: 1px solid rgba(250, 250, 250, 0.2);
    margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    text-transform: capitalize;
}

@media (max-width: 991px) {
    footer .text {
        margin-bottom: 30px;
    }

    footer h5 {
        margin-bottom: 15px;
    }

    footer .footer-nav {
        margin-bottom: 30px;
    }
}
/* -------- Footer Ends-------- */


/* -------- Gallery Starts-------- */
.gallery .owl-carousel .item {
    margin: 10px;
    width: auto !important;
}

/* .gallery .owl-item {
    width: auto !important;
} */

.gallery .owl-carousel .item img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery h2 {
    color: #333;
    font-weight: bold;
}
/* -------- Gallery Ends -------- */


/* -------- Accessibility button Starts-------- */
.accessibility-button {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translate(50%, -50%);
    background: #0ec9ac;
    color: white;
    padding: 15px;
    cursor: pointer;
    font-size: 30px;
    z-index: 9999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    filter: none !important;
    visibility: visible !important;
    border: 1px solid #fff;
}

.accessibility-button {
    filter: none !important;
}

.accessibility-menu {
    position: fixed;
    top: 50%;
    right: -250px;
    transform: translateY(-50%);
    width: 250px;
    background: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    padding: 7.5px;
    z-index: 999;
    transition: right 0.3s ease;
    height: auto;
}

.accessibility-menu.open {
    right: 50px;
}

.accessibility-button i {
    font-size: 30px;
}

.accessibility-button:hover {
    transform: translate(50%, -50%) scale(1.1);
}

.accessibility-menu button {
    display: block;
    padding: 10px 15px;
    width: 100%;
    background: #005164;
    color: white;
    font-size: 14px !important;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    text-align: left;
}

.accessibility-menu button:hover {
    background: #005164;
}

/* High Contrast Mode */
.high-contrast {
    background: #000 !important;
    color: rgb(255, 230, 0) !important;
}

.high-contrast p,
.high-contrast h1,
.high-contrast h2,
.high-contrast h3,
.high-contrast h4,
.high-contrast h5,
.high-contrast h6,
.high-contrast a,
.high-contrast footer {
    color: rgb(255, 230, 0) !important;
}

.high-contrast section,
.high-contrast div {
    background: #000 !important;
    background-image: linear-gradient(135deg, #000000ef 0%, #000000ea 100%);
}

.high-contrast .welcome-area::after {
    background-image: linear-gradient(135deg, #000000 0%, #000000 100%);
}

.high-contrast nav {
    background: #000 !important;
}

/* Grayscale Mode */
.grayscale div,
.grayscale section,
.grayscale p,
.grayscale h1,
.grayscale h2,
.grayscale h3,
.grayscale h4,
.grayscale h5,
.grayscale h6,
.grayscale a,
.grayscale img,
.grayscale footer {
    filter: grayscale(100%);
}

/* Negative Contrast Mode */
.negative-contrast div,
.negative-contrast section,
.negative-contrast p,
.negative-contrast h1,
.negative-contrast h2,
.negative-contrast h3,
.negative-contrast h4,
.negative-contrast h5,
.negative-contrast h6,
/* .negative-contrast a, */
.negative-contrast img,
.negative-contrast footer,
.negative-contrast nav
 {
    filter: invert(100%) !important;
}

.negative-contrast .gallery .owl-carousel .item a img {
    filter: invert(100%) !important;
}

.negative-contrast #atidlife-app, 
.negative-contrast .section.colored, 
.negative-contrast .section.colored .features-small-item {
    background: #fff;
    filter: invert(100%);
}

/* Light Background */
.light-background {
    background: #fdfdfd !important;
    color: #333 !important;
}
