/*==================================================
SUHASINI DENTAL CARE
STYLE.CSS
PART 1
==================================================*/

/*==============================
GOOGLE VARIABLES
==============================*/

:root{

    --primary:#0077b6;
    --secondary:#00b4d8;
    --dark:#023e8a;
    --light:#f7fbff;
    --white:#ffffff;
    --text:#444;
    --heading:#023e8a;

    --shadow:0 12px 30px rgba(0,0,0,.10);

    --radius:18px;

    --transition:.35s ease;

}

/*==============================
RESET
==============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#f7fbff;
    color:var(--text);
    overflow-x:hidden;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/*==============================
COMMON
==============================*/

.container{

    width:min(1200px,92%);
    margin:auto;

}

section{

    padding:90px 0;

}

.section-heading{

    text-align:center;
    margin-bottom:60px;

}

.section-heading h2{

    font-size:42px;
    color:var(--heading);
    font-weight:700;
    margin-bottom:15px;

}

.section-heading p{

    color:#666;
    font-size:18px;
    max-width:750px;
    margin:auto;

}

/*==============================
BUTTONS
==============================*/

.btn-primary,
.btn-secondary{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    gap:10px;

    padding:16px 34px;

    border-radius:50px;

    font-size:17px;

    font-weight:600;

    transition:var(--transition);

}

.btn-primary{

    background:var(--secondary);

    color:white;

}

.btn-primary:hover{

    background:var(--primary);

    transform:translateY(-5px);

}

.btn-secondary{

    background:white;

    color:var(--primary);

}

.btn-secondary:hover{

    background:#dff7ff;

    transform:translateY(-5px);

}

.btn-full{

    width:100%;

}

/*==============================
NAVIGATION
==============================*/

.navbar{

    position:fixed;

    left:0;
    top:0;

    width:100%;

    z-index:9999;

    transition:.4s;

    padding:18px 0;

    background:rgba(2,62,138,.92);

    backdrop-filter:blur(12px);

}

.nav-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo img{

    height:70px;
    width:auto;

}

.nav-links{

    display:flex;

    align-items:center;

    gap:35px;

}

.nav-links a{

    color:white;

    font-size:16px;

    font-weight:600;

    position:relative;

}

.nav-links a::after{

    content:'';

    position:absolute;

    width:0;

    height:2px;

    left:0;

    bottom:-6px;

    background:white;

    transition:.3s;

}

.nav-links a:hover::after{

    width:100%;

}

.mobile-toggle{

    display:none;

    color:white;

    font-size:28px;

    cursor:pointer;

}

/*==============================
HERO
==============================*/

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

}

.heroSwiper{

    width:100%;

    height:100%;

}

.heroSwiper img{

    width:100%;

    height:100%;

    object-fit:cover;

    animation:zoomHero 14s linear infinite;

}

@keyframes zoomHero{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.08);

    }

}

.hero-overlay{

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.40);

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    z-index:2;

}

.hero-content{

    color:white;

    max-width:850px;

    padding:50px;

}

.hero-content h1{

    font-size:62px;

    font-weight:800;

    margin-bottom:20px;

    text-shadow:0 5px 25px rgba(0,0,0,.4);

}

.hero-content p{

    font-size:22px;

    margin-bottom:40px;

    line-height:1.7;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/*==============================
SWIPER HERO
==============================*/

.heroSwiper .swiper-pagination-bullet{

    width:12px;

    height:12px;

    background:white;

    opacity:.6;

}

.heroSwiper .swiper-pagination-bullet-active{

    opacity:1;

    background:var(--secondary);

}

/*==============================
RESPONSIVE
==============================*/

@media(max-width:992px){

    .nav-links{

        position:fixed;

        top:90px;

        right:-100%;

        width:280px;

        height:100vh;

        background:var(--dark);

        flex-direction:column;

        justify-content:flex-start;

        padding-top:60px;

        transition:.4s;

    }

    .nav-links.active{

        right:0;

    }

    .mobile-toggle{

        display:block;

    }

    .hero-content h1{

        font-size:42px;

    }

    .hero-content p{

        font-size:18px;

    }

}

@media(max-width:576px){

    .section-heading h2{

        font-size:32px;

    }

    .hero{

        height:90vh;

    }

    .hero-content{

        padding:20px;

    }

    .hero-content h1{

        font-size:34px;

    }

    .hero-content p{

        font-size:16px;

    }

    .btn-primary,
    .btn-secondary{

        width:100%;

    }

}
/*==================================================
STYLE.CSS
PART 2
Services | Doctors | Gallery | Reviews
==================================================*/

/*==============================
SERVICES
==============================*/

.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.service-card{

    background:linear-gradient(135deg,#00b4d8,#0077b6);

    color:#fff;

    border-radius:22px;

    padding:40px 25px;

    text-align:center;

    transition:all .35s ease;

    box-shadow:0 15px 35px rgba(0,180,216,.25);

    cursor:pointer;

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 45px rgba(0,180,216,.45);

}

.service-card i{

    font-size:52px;

    margin-bottom:20px;

    transition:.35s;

}

.service-card:hover i{

    transform:rotate(10deg) scale(1.15);

}

.service-card h3{

    font-size:21px;

    font-weight:700;

    line-height:1.4;

}


/*==============================
DOCTORS
==============================*/

.doctor-section{

    background:#f7fbff;

}

.doctor-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:40px;

}

.doctor-card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

}

.doctor-card:hover{

    transform:translateY(-10px);

}

.doctor-image{

    padding:35px 35px 0;

    text-align:center;

}

.doctor-image img{

    width:220px;

    height:220px;

    margin:auto;

    border-radius:50%;

    object-fit:cover;

    border:6px solid var(--secondary);

    transition:.4s;

}

.doctor-image img:hover{

    transform:scale(1.08);

}

.doctor-content{

    padding:30px;

    text-align:center;

}

.doctor-content h3{

    color:var(--heading);

    font-size:28px;

    margin-bottom:12px;

}

.designation{

    display:inline-block;

    padding:8px 18px;

    border-radius:40px;

    background:#dff7ff;

    color:var(--primary);

    font-weight:700;

    margin-bottom:20px;

}

.doctor-content p{

    color:#555;

    margin:10px 0;

    line-height:1.7;

}


/*==============================
GALLERY
==============================*/

.gallery-wrapper{
    margin:70px 0;
}

.gallery-header{
    text-align:center;
    margin-bottom:25px;
}

.gallery-header h3{
    font-size:32px;
    color:#0077b6;
    font-weight:700;
}

.clinicSwiper,
.patientSwiper{
    width:100%;
    overflow:hidden;
    padding:20px 0 60px;
}

.clinicSwiper .swiper-slide,
.patientSwiper .swiper-slide{

    height:320px;
    border-radius:18px;
    overflow:hidden;

}

.clinicSwiper .swiper-slide img,
.patientSwiper .swiper-slide img{

    width:100%;
    height:100%;
    object-fit:cover;

    border-radius:18px;

    transition:.4s;

}

.clinicSwiper .swiper-slide:hover img,
.patientSwiper .swiper-slide:hover img{

    transform:scale(1.08);

}

.swiper-button-next,
.swiper-button-prev{

    color:#0077b6;

}

.swiper-pagination{

    bottom:0!important;

}


/*==============================
SWIPER BUTTONS
==============================*/

.swiper-button-next,
.swiper-button-prev{

    color:var(--primary);

    background:#fff;

    width:50px;

    height:50px;

    border-radius:50%;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.swiper-button-next::after,
.swiper-button-prev::after{

    font-size:20px;

    font-weight:bold;

}

.swiper-pagination-bullet{

    background:#00b4d8;

}

.swiper-pagination-bullet-active{

    background:#0077b6;

}


/*==============================
REVIEWS
==============================*/

/*==============================
REVIEWS
==============================*/

.review-section{
    background:#f5fbff;
}

.reviewSwiper{
    width:100%;
    padding:20px 0 70px;
    overflow:hidden;
}

.reviewSwiper .swiper-slide{
    height:auto;
    display:flex;
}

.review-card{
    width:100%;
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:var(--shadow);
    transition:.35s;
    position:relative;
    display:flex;
    flex-direction:column;
}

.review-card:hover{
    transform:translateY(-8px);
}

.review-stars{
    color:#ffc107;
    font-size:22px;
    margin-bottom:18px;
    letter-spacing:2px;
}

.review-card h3{
    color:var(--primary);
    margin-bottom:15px;
    font-size:22px;
}

.review-card p{
    line-height:1.8;
    color:#666;
    flex:1;
}

/* Navigation Buttons */

.review-next,
.review-prev{
    color:var(--primary);
    background:#fff;
    width:50px;
    height:50px;
    border-radius:50%;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.review-next::after,
.review-prev::after{
    font-size:20px;
    font-weight:bold;
}

/* Pagination */

.review-pagination{
    bottom:0 !important;
}

.review-pagination .swiper-pagination-bullet{
    background:#00b4d8;
    opacity:0.6;
}

.review-pagination .swiper-pagination-bullet-active{
    background:#0077b6;
    opacity:1;
}

/* Mobile */

@media(max-width:768px){

    .review-card{
        padding:25px;
    }

    .review-card h3{
        font-size:20px;
    }

    .review-card p{
        font-size:15px;
        line-height:1.7;
    }

    .review-next,
    .review-prev{
        width:42px;
        height:42px;
    }

    .review-next::after,
    .review-prev::after{
        font-size:16px;
    }

}

/*==============================
RESPONSIVE
==============================*/

@media(max-width:768px){

    .doctor-grid{

        grid-template-columns:1fr;

    }

    .doctor-image img{

        width:180px;

        height:180px;

    }

    .gallery-header{

        justify-content:center;

    }

    .gallery-header h3{

        font-size:24px;

    }

    .clinicSwiper img,
    .patientSwiper img{

        height:240px;

    }

}
/*==================================================
STYLE.CSS
PART 3
Appointment | Hours | Contact | Footer
Floating Buttons | Animations | Responsive
==================================================*/

/*==============================
APPOINTMENT
==============================*/

.appointment-wrapper{

    max-width:850px;
    margin:auto;

}

.appointment-form{

    background:#fff;
    padding:45px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.10);

}

.form-group{

    margin-bottom:20px;

}

.form-group input,
.form-group textarea{

    width:100%;
    padding:16px 18px;
    border:1px solid #d8d8d8;
    border-radius:12px;
    outline:none;
    font-size:16px;
    transition:.3s;

}

.form-group textarea{

    resize:none;

}

.form-group input:focus,
.form-group textarea:focus{

    border-color:var(--secondary);
    box-shadow:0 0 0 4px rgba(0,180,216,.15);

}


/*==============================
CLINIC HOURS
==============================*/

.clinic-hours{

    background:#f7fbff;

}

.hours-table{

    max-width:700px;
    margin:auto;
    overflow:hidden;
    border-radius:20px;
    background:white;
    box-shadow:var(--shadow);

}

.hours-table table{

    width:100%;
    border-collapse:collapse;

}

.hours-table td{

    padding:20px;
    border-bottom:1px solid #eee;
    font-size:17px;

}

.hours-table tr:last-child td{

    border-bottom:none;

}

.hours-table tr:hover{

    background:#f0fbff;

}

.hours-table td:first-child{

    font-weight:600;
    color:var(--primary);

}


/*==============================
CONTACT MAP
==============================*/

.contact-section{

    background:white;

}

.map-wrapper{

    border-radius:22px;
    overflow:hidden;
    box-shadow:var(--shadow);

}

.map-wrapper iframe{

    width:100%;
    height:450px;
    border:0;

}


/*==============================
FLOATING BUTTONS
==============================*/

.floating-call,
.floating-whatsapp{

    position:fixed;

    right:25px;

    width:62px;
    height:62px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    font-size:26px;

    z-index:999;

    transition:.35s;

    box-shadow:0 12px 25px rgba(0,0,0,.25);

}

.floating-call{

    bottom:100px;
    background:#0077b6;

}

.floating-whatsapp{

    bottom:25px;
    background:#25D366;

}

.floating-call:hover,
.floating-whatsapp:hover{

    transform:translateY(-6px) scale(1.08);

}


/*==============================
MOBILE CALL BAR
==============================*/

.mobile-call-bar{

    display:none;

}

.mobile-call-bar a{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    color:white;

    font-weight:600;

}


/*==============================
FOOTER
==============================*/

footer{

    background:#023e8a;
    color:white;
    padding:70px 20px 40px;
    text-align:center;

}

.footer-content{

    max-width:900px;
    margin:auto;

}

.footer-content h2{

    font-size:34px;
    margin-bottom:20px;

}

.footer-content p{

    margin:12px 0;
    line-height:1.8;
    color:#d8e8ff;

}

.copyright{

    margin-top:30px;
    border-top:1px solid rgba(255,255,255,.2);
    padding-top:20px;
    font-size:15px;

}


/*==============================
SCROLL ANIMATION
==============================*/

.fade-up{

    opacity:0;
    transform:translateY(50px);
    transition:.8s ease;

}

.fade-up.show{

    opacity:1;
    transform:translateY(0);

}


/*==============================
BACK TO TOP BUTTON
==============================*/

.back-to-top{

    position:fixed;

    left:25px;
    bottom:25px;

    width:55px;
    height:55px;

    background:var(--secondary);

    color:white;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:22px;

    cursor:pointer;

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.back-to-top.show{

    opacity:1;
    visibility:visible;

}

.back-to-top:hover{

    background:var(--primary);

}


/*==============================
LOADER
==============================*/

.loader{

    position:fixed;
    inset:0;

    background:white;

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:999999;

}

.loader::after{

    content:"";

    width:60px;
    height:60px;

    border:6px solid #dff7ff;

    border-top:6px solid var(--secondary);

    border-radius:50%;

    animation:spin 1s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}


/*==============================
RESPONSIVE
==============================*/

@media(max-width:992px){

    section{

        padding:70px 0;

    }

}

@media(max-width:768px){

    .appointment-form{

        padding:30px;

    }

    .hours-table td{

        font-size:15px;
        padding:16px;

    }

    .map-wrapper iframe{

        height:320px;

    }

    .floating-call{

        display:none;

    }

    .mobile-call-bar{

        display:flex;

        position:fixed;

        left:0;
        bottom:0;

        width:100%;

        background:#023e8a;

        padding:16px;

        justify-content:center;

        z-index:9999;

    }

    footer{

        padding-bottom:90px;

    }

}

@media(max-width:576px){

    .footer-content h2{

        font-size:28px;

    }

    .footer-content p{

        font-size:15px;

    }

}

