@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Caveat:wght@400..700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

h1 {
    font-family: "Albert Sans", sans-serif;
    font-weight: 500;
    font-size: 36px;
}

p {
    padding: 8px 0;
}

body {
    font-family: "Albert Sans", sans-serif;
    font-size: 16px;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.7;
    color: #000;
    overflow-x: hidden;
}

.top-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 80px;
    background: #00799f;
}

.left-col {
    display: flex;
    align-items: center;
    column-gap: 10px;
    color: #fff;
}

.main-nav-continer {
    display: flex;
    align-items: center;
    padding: 4px 80px 0;
    position: relative;
    justify-content: space-between;
    gap: 6rem;
}

.logo {

    animation-name: moveInLeft;
    animation-duration: 1s;
    animation-delay: 0.5s;
    animation-timing-function: ease-out;
    width: 160px;
}

.logo a {
    font-size: 1.5em;
    font-weight: bold;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: moveInRight 1s ease-out 0.5s;
}

.nav a {
    color: #000;
    text-decoration: none;
    font-size: 1em;
    transition: color .3s ease;
}

.nav a:hover {
    color: #00aced;
}

/* Mobile styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* Overlay for mobile nav */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
    /* below nav */
}

/* Show overlay when nav opens */
.nav.show~.nav-overlay {
    opacity: 1;
    pointer-events: all;
}

/* Mobile animation: slide menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: absolute;
        z-index: 999;
        right: 5%;
        top: 8%;
        border: 1px solid #000;
        padding: 12px 10px;
        border-radius: 100%;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        background: rgba(0, 0, 0, 0.9);
        box-shadow: -6px 0 20px rgba(0, 0, 0, .15);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }

    .nav-sticky.scrolled .menu-toggle{
        border-color: #fff;
    }


    /* Animate menu toggle into “X” */
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav a {
        font-size: 1.2em;
        color: #333;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity .4s ease, transform .4s ease;
    }

    /* Animate links in sequence */
    .nav.show a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav.show a:nth-child(1) {
        transition-delay: .1s;
    }

    .nav.show a:nth-child(2) {
        transition-delay: .2s;
    }

    .nav.show a:nth-child(3) {
        transition-delay: .3s;
    }

    .nav.show a:nth-child(4) {
        transition-delay: .4s;
    }

    .nav.show a:nth-child(5) {
        transition-delay: .5s;
    }
}

.btn {
    background-color: #64DBFF;
    color: white;
    padding: 8px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    height: 45px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #00c4ff;
}




.btn.logbtn {
    background: #ff536d;
}

.btn.logbtn:hover {
    background: #e64760;
}




.hero {
    display: flex;
    position: relative;
    justify-content: center;
    flex-direction: column;
    animation: moveInBottom-to-Top 1s ease-in-out 0.5s;
    background: #1b8fb3;
    background: linear-gradient(180deg, rgba(27, 143, 179, 1) 21%, rgba(78, 184, 217, 1) 69%, rgba(106, 218, 252, 1) 100%);
}

.main-continer {
    padding: 0px 80px;
    margin: 20px 0px;
}

.margin-0 {
    margin: 0;
}

.margin-top-30 {
    margin: 30px 0;
}

.width-small-button {
    width: 104px !important;
}

.card-continer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.card {
    width: 92%;
    height: 240px;
    text-align: center;
    color: #fff;
    flex: 1 1 280px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.sub-card {
    width: 100%;
    height: 220px;
    background: url("../img/bg-pluse.png") #FF6D83 top right no-repeat;
    position: relative;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
}

.sub-card .icon img {
    width: 95px;
    margin-top: 20px;
}


.sub-card .icon {
    display: flex;
    justify-content: center;
}

.title {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4em;
}

.arrow-btn {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: #56e0fd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translate(0, 0);
}

.card:hover .arrow-btn {
    transform: translate(5px, 5px);
}

.arrow-btn span {
    transform: rotate(40deg);
}

.card-bg-sky {
    background-color: #64DBFF;
}

.arrow-bg-pink {
    background-color: #FF6D83;
}

.our-text {
    text-align: center;
    line-height: 1.2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

.treatments_hd {
    text-align: center;
    flex: 1 1 90%;
}

.our-text span {
    font-family: "Caveat", cursive;
    font-size: 32px;
    color: #FF6D83;
}

.card-continer {
    margin-right: 15px;
}


.slider-container {
    margin: auto;
}

.comen-slider {
    display: flex;
    gap: 30px;
    margin: 30px 0px;
}

.slider-wrapper {
    width: 50%;
    overflow: hidden;
}

.inner-slider-container {
    overflow: hidden;
    position: relative;
    margin-top: 25px;
}

.testimonial-text {
    flex: 1;
    max-width: 25%;
}

.main_testimonial {
    flex: 2;
    max-width: 75%;
}

.inner-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    /* flex-shrink: 0; */
}

.slide img {
    width: 101%;
    height: auto;
    display: block;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all {
    color: #FF536D;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
}

.view-all:hover {
    color: #007bff;

}

.sub-continer {
    position: relative;
}

.card-continer button.slick-next.round-button.slick-arrow,
.card-continer button.slick-prev.round-button.slick-arrow {
    width: 36px;
    height: 36px;
    border: 2px solid #00ccff;
    background: transparent;
    border-radius: 50%;
    color: #00ccff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}






.card-continer .slick-prev:before,
.card-continer .slick-next:before {
    color: #00ccff !important;
}

.card-continer button.slick-prev {
    right: 5%;
    top: -35%;
    left: auto;
}

.card-continer button.slick-next {
    right: 1%;
    top: -35%;
    left: auto;
}



.testimonial-slider button.slick-prev,
.testimonial-slider button.slick-next {
    width: 40px;
    height: 40px;
    background: #ff5e75;
    border-radius: 50%;
    color: #00ccff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}



.testimonial-slider button.slick-prev {

    z-index: 9;
}

.testimonial-slider button.slick-next {

    z-index: 9;
}





/* Dots */
.dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background: #007bff;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-block {
    color: #fff;
    display: flex;
    text-align: left;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
}

.text-block h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.text-block p {
    font-size: 15px;
    line-height: 1.4;
}

.purple {
    background: #9b4dff;
}

.pink {
    background: #ff6b81;
}


/* About Us Section */
.about_continer {
    background: #B2EDFF;
    margin: 60px 0;

}

.about-us-section {
    display: flex;
    align-items: stretch;
    padding: 40px 0px 0px;
}

.about-us-image {
    flex: 1.3;
    overflow: hidden;
}

.about-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-us-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-us-text h2 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 500;
}

.about-us-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}


/* Client Review */

.review_client {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.review_box {
    display: flex;
    padding: 9px 10px 14px 10px;
    align-items: center;
    width: 310px;
    gap: 12px;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

.review_box:hover {
    transform: translateY(-5px);
}

.hd_text {
    color: #FF6D83;
    font-family: "Albert Sans";
    font-size: 40px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}



.story_main_div {
    display: flex;
    align-items: stretch;
    /* make both text and image stretch equally */
    gap: 30px;
    flex-shrink: 0;
    margin: 50px 0;
    border: 2px solid #b9dde2;
}

.story_img {
    flex: 1;
    overflow: hidden;
    display: flex;
    /* allows image to stretch */
}

.story_img img {
    width: 100%;
    height: 100%;
    /* match the container height */
    object-fit: cover;
    /* keep proportions while filling space */
}


.story_text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 36px;
}


/* .appoint_img{
    flex: 1.3;
    overflow: hidden;
} */


.appoint_img img {
    position: relative;
    bottom: 5px;
    ;
    /* height: 100%;
    object-fit: cover; */
}

.appoint_continer {
    background: url(../img/bg_appointment.png) #D4F4FF top center no-repeat;
    padding: 80px 0;
    background-size: cover;
}

.bg_continer {
    background: url(../img/mask_appoint.png) #6ad9ff center center no-repeat;
    border-radius: 10px;
    height: 604px;
    position: relative;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-around;

}


.input_fild {
    padding: 20px 0;
}

.form-container {
    width: 100%;
    padding: 16px;
}

.subtitle {
    color: #ff5e75;
    font-family: "Caveat", cursive;
    font-size: 32px;
    line-height: 0;
}

.form-container h2 {
    font-size: 36px;
    color: #222;
    margin: 10px 0 20px;
    font-weight: 500;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-group input {
    flex: 1;
    min-width: 45%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.appointment-form button {
    width: 100%;
    margin-top: 15px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff5e75, #ff7b92);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 94, 117, 0.3);

}

.appointment-form button:hover {
    background: linear-gradient(90deg, #ff7b92, #ff5e75);
    box-shadow: 0 6px 14px rgba(255, 94, 117, 0.4);
    transform: translateY(-2px);
}


.testimonial-section {
    padding: 72px 0 0;
}

.testimonial-title {
    font-family: cursive;
    color: #ff5e75;
    font-size: 32px;
    margin-bottom: 2px;
}


.testimonial-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 4px 2px;
    flex-wrap: wrap;
    position: relative;
    align-items: center;
}






.prev-btn,
.next-btn {
    background: #ff5e75;
    border: none;
    color: #fff;
    font-size: 20px;
    padding: 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: #1ee5ff;
}






.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    margin: 10px;
}

.stars {
    color: #ff5e75;
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.testimonial-card h4 {
    font-size: 16px;
    margin-top: 15px;
    font-weight: bold;
}

.testimonial-card span {
    font-size: 13px;
    color: #777;
}

.quote {
    position: absolute;
    bottom: -57px;
    right: 15px;
    font-size: 90px;
    color: #ff9dab;
}





/* Footer section */

footer {
    background-color: #EF5D73;
}

.footer_continer {
    display: flex;
    padding: 60px 0;
    gap: 60px;
    color: #fff;
}

.footer_colum4 {
    width: 25%;
}


.copyright_continer {
    display: flex;
    padding: 10px 0px;
    border-top: 1px solid #FF9CAB;
    color: #fff;
    justify-content: space-between;
}


.policy_text {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}

footer a {
    color: #fff;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #000000;
    transform: translateX(5px);
}

.footer_colum4 a {
    color: #fff;
    transition: all 0.3s ease;
}

.footer_colum4 a:hover {
    color: #000000;
}

.footer_colum4 li {
    transition: all 0.3s ease;
}

.footer_colum4 li:hover {
    transform: translateX(5px);
}


/*About Us*/

.bgcolor-none {
    background-color: transparent;
}



/*contact us*/

.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.3s ease;
    background: #d4f4ff;
}

.contact-form textarea:focus {
    border-color: #ff5e75;
    outline: none;
}




.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.div_group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.div_group input {
    flex: 1;
    min-width: 45%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    background: #d4f4ff;
}

.contact-form button {
    width: 100%;
    margin-top: 15px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff5e75, #ff7b92);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 94, 117, 0.3);
}

.contact-form button:hover {
    background: linear-gradient(90deg, #ff7b92, #ff5e75);
    box-shadow: 0 6px 14px rgba(255, 94, 117, 0.4);
    transform: translateY(-2px);
}


.contact-form-container h2 {
    line-height: 3em;
}

.contact_content_text span {
    font-weight: 700;
}

.contact_content_text p {
    padding: 0;
}


.location_icon {
    border: 2px solid #6ad9ff;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}



.flex-2 {
    display: flex;
    align-items: center;
}

.colum-1 {
    width: 50%;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    flex-direction: column;
}

.div_group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

ul {
    padding: 10px;
    margin: 10px;
}

li {
    padding: 4px 0px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}

@keyframes moveInLeft {

    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    80% {
        transform: translateX(10px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInRight {

    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    80% {
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInTop-to-Bottom {

    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

    80% {
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInBottom-to-Top {

    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    80% {
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}


.right-col {
    margin-top: 10px;
}

.right-col a {
    margin: 6px;
}

.right-col a:hover img {
    animation: zoom-in-zoom-out 1s ease;
}

@keyframes zoom-in-zoom-out {
    0% {
        scale: 100%;
    }

    50% {
        scale: 150%;
    }

    100% {
        scale: 100%;
    }
}

/*/////////////////////////////////////////////// Phone: stack cards vertically */
@media (max-width: 768px) {

    .main-nav-continer,
    .top-hd,
    .main-continer {
        padding: 10px 30px;
    }


    .main-nav-continer {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0;
    }

    .logo a {
        display: flex;
        width: 130px;
        flex-direction: column;
    }



    .left-col span+span {
        font-size: 12px;

    }

    .right-col {
        display: flex;
        align-items: center;
        column-gap: 10px;
    }




    .nav.show {
        display: flex;
        left: 0;
    }

    .nav a,
    .btn {
        margin: 10px 0;
        color: #fff;
    }

    .card {
        width: 100%;
        flex: 1 1 100%;
    }

    .sub-card {
        width: 100%;
    }

    .card-continer {
        justify-content: center;
    }

    .card {
        width: 96%;
        flex: 1 1 45%;
    }

    .title {
        font-size: 14px;
    }

    .main_testimonial,
    .testimonial-text {
        max-width: 100%;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item {
        height: auto;
    }

    .header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .comen-slider {
        flex-direction: column;
    }

    .slider-wrapper {
        width: 100%;
    }

    .our-text {
        display: block;
    }


    /* About Us Section */

    .about-us-section,
    .review_client {
        display: block;
    }



    .story_main_div {
        display: block;
    }

    .appoint_img img {
        width: 100%;
        position: relative;
        bottom: -8px;
    }



    .form-group {
        flex-direction: column;
    }

    .form-group input {
        min-width: 100%;
    }

    .doctor-image img {
        max-width: 200px;
    }

    .bg_continer {
        height: auto;
        display: block;
    }

    .form-container {
        min-width: auto;

    }

    .appoint_img {
        background: #6ec9eb;
    }



    .prev-btn,
    .next-btn {
        order: 2;
    }

.hero{padding-top: 8rem;}

    .footer_continer,
    .copyright_continer {
        display: block;
    }

    .policy_text {
        justify-content: flex-start;
    }

    .footer_colum4 {
        width: 100%;
    }

    .flex-2 {
        display: block;
    }

    .colum-1 {
        width: 100%;
    }

    .card-continer button.slick-next {
        right: -25px;
        top: 46%;
    }

    .card-continer button.slick-prev {

        left: -15px;
        top: 44%;
        z-index: 9;
    }

    .plus_big_anim,
    .pluse_anim,
    .tube_anim,
    .plus_small_anim,
    .group_anim,
    .scope {
        display: none;
    }

    .cd-hero__content h2::after {
        background: none !important;
    }



    @keyframes moveInRight {

        0% {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .nav-sticky.scrolled {
        padding: 0 10px !important;
    }


}


/*/////////////////////////////////////////////// End Phone: stack cards vertically ////////////////////////////////////////////////////*/


.cd-hero__btn {
    background-color: #000;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    height: 60px;
    width: 180px;
    transition: background-color 0.3s;
}

.cd-hero__btn:hover {
    background-color: #ff536d;
}

.cd-hero__content p {
    font-family: "Caveat", cursive;
    font-size: 45px;
}

.text_red {
    color: #FF536D;
}


@keyframes moveSideways {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(30px);
    }

    100% {
        transform: translateX(0);
    }
}

img.moving-image {
    animation: moveSideways 3s ease-in-out infinite;

}

@keyframes moveUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

img.moveupdown-image {
    animation: moveUpDown 2s ease-in-out infinite;
}


@keyframes moveDiagonal {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 20px);
    }
}

img.diagonal-image {
    animation: moveDiagonal 4s linear infinite;
}


@keyframes rotateAround {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

img.round-animated {
    animation: rotateAround 5s linear infinite;
}



@keyframes spinInPlace {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

img.spin-in-place {
    animation: spinInPlace 3s linear infinite;
}





@keyframes zoomInOut {

    0%,
    100% {
        transform: scale(0.8);
        /* normal size */
    }

    50% {
        transform: scale(1.5);
        /* zoom in */
    }
}



.zoom-animation {
    display: inline-block;
    animation: zoomInOut 2s ease-in-out infinite;
}

.scope {
    width: 414px;
    position: absolute;
    z-index: 0;
    right: -5rem;
}


.pluse_anim {
    width: 194px;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
}

.tube_anim {
    width: 62px;
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 2rem;

}

.plus_big_anim {
    width: 80px;
    position: absolute;
    z-index: 0;
    left: 65rem;
    bottom: 27rem;
}

.plus_small_anim {
    width: 60px;
    position: absolute;
    z-index: 0;
    left: 36rem;
    bottom: 5rem;
}

.group_anim {
    width: 32px;
    position: absolute;
    z-index: 0;
    left: 41rem;
    top: 15rem;
}

.cd-hero__content h2::after {
    content: "";
    display: inline-block;
    width: 35px;
    height: 35px;
    background: url(../img/group-line.png) no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-left: -8px;
    margin-top: -38px;
    position: relative;
    animation: zoomInOut 3s ease-in-out infinite;

}



.nav-sticky img {
    width: 100%;
    transition: width 0.3s ease;

}

.nav-sticky.scrolled {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #00536d;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0px 80px;
}

.nav-sticky.scrolled img {
    width: 150px;
    padding: 10px 0 0;
}


.nav-sticky.scrolled .nav a {
    color: #fff;
}

.nav-sticky.scrolled .menu-toggle span {
    background-color: #fff;
}


.colum-row {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
}

.div_form,
.div_img {
    flex: 1 1 50%;
    max-width: 50%;
}

.appointment-form {
    flex: 1 1 50%;
    background: #d2f5ff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Label style */
.form-group label {
    flex: 1 1 100%;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0px;
}


.form-group input:focus {
    border-color: #007bff;
    outline: none;
}


.colum-row img {
    flex: 1 1 45%;
    max-width: 100%;
    border-radius: 10px;
}


.appointment-form .form-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.reg_button {
    background: #64DBFF !important;
}

.reg_button:hover {
    background: #32c4ec !important;
    transform: translateY(-2px);
}


.forgot-password {
    text-align: right;
}

.forgot-password a {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}


select {
    flex: 1;
    min-width: 45%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* New user text */
.new-user-text {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.new-user-text a {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
}

.new-user-text a:hover {
    text-decoration: underline;
}

.div_img img {
    width: 100%;
    height: 100%;
    /* match parent height */
    object-fit: cover;
    /* maintain aspect ratio, fill space */
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .colum-row {
        flex-direction: column;
        align-items: stretch;
    }

    .div_form,
    .div_img {
        flex: 1 1 100%;
        max-width: 100%;
    }


}


/*//////////////////////////Blog CSS///////////////////////////////////*/

.container {
    width: min(1100px, 92%);
    margin-inline: auto;
    padding: 48px 0 32px;
}


/* Header */
.blog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.blog-title {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 36px);
    letter-spacing: .3px;
}

.blog-sub {
    margin: 4px 0 0 0;
    color: var(--muted);
    font-size: 15px;
}


/* Grid */
.posts {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    margin: 40px 0;
}

.post {
    grid-column: span 12;
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .0));
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.post:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    border-color: rgba(93, 211, 255, .2);
}


.post-media {
    position: relative;
    aspect-ratio: 16 / 9;
    /* modern browsers */
    background: #0e1116;
    overflow: hidden;
}

.post-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.post-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--ink);
    font-size: 12px;
    color: #fff;
}


.post-body {
    padding: 18px 18px 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.dot {
    opacity: .5
}

.post h3 {
    margin: 6px 0 8px;
    font-size: clamp(18px, 2.1vw, 22px);
    line-height: 1.35;
}

.post h3 a {
    color: inherit;
    text-decoration: none;
}


.post h3 a:focus-visible {
    outline: 2px dashed var(--brand);
    outline-offset: 4px;
    border-radius: 6px;
}

.post p {
    margin: 0 0 14px;
    color: #979797;
    font-size: 15px;
}


.post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.blog-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s ease, color .15s ease, transform .1s ease;
}

.blog-btn:hover {
    background: rgba(255, 255, 255, .06);
}

.blog-btn:active {
    transform: translateY(1px);
}

.blog-btn.primary {
    background: linear-gradient(180deg, rgba(93, 211, 255, .18), rgba(93, 211, 255, .12));
    border: 1px solid rgba(93, 211, 255, .35);
}

.blog-btn.primary:hover {
    background: linear-gradient(180deg, rgba(93, 212, 255, 0.651), rgba(93, 211, 255, .18));
}


/* Responsive columns */
@media (min-width: 680px) {
    .post {
        grid-column: span 6;
    }
}

@media (min-width: 980px) {
    .post {
        grid-column: span 4;
    }
}


/* Pagination */
.pager-wrap {
    margin-top: 28px;
    text-align: right;
}

nav.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px;
    flex-wrap: wrap;
}

.page-btn,
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: background .15s ease, border-color .15s ease, transform .1s ease;
}

.page-btn:hover,
.page-num:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .2);
}

.page-num[aria-current="page"] {
    background: linear-gradient(180deg, rgba(93, 211, 255, .25), rgba(93, 211, 255, .15));
    border-color: rgba(93, 211, 255, .45);
    pointer-events: none;
}

.page-btn[aria-disabled="true"] {
    opacity: .4;
    pointer-events: none;
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .post,
    .btn,
    .page-btn,
    .page-num {
        transition: none;
    }
}



.article-head {
    margin-bottom: 28px;
}

.article-category {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(93, 211, 255, .15);
    border: 1px solid rgba(93, 211, 255, .35);
    border-radius: 999px;
    margin-bottom: 12px;
}

h1.title {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
}

.meta {
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
}

.hero-image {
    margin: 28px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

article.content p {
    margin: 1.2em 0;
    font-size: 17px;
    color: #434343;
}

article.content h2 {
    margin-top: 1.8em;
    margin-bottom: .6em;
    font-size: 24px;
}

.page-btn:hover {
    background: rgba(255, 255, 255, .1);
}




/*//////////////////////////Second Index CSS///////////////////////////////////*/

.second-index-css {
    position: absolute;
    z-index: 999;
    left: 0;
    right: 0;
}

.second-index-css .nav a {
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.second-index-css .nav a:hover,
.second-index-css .nav a.active {
    background: #64dbff;
    padding: 8px 20px;
    color: #000;

}