@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ===================================
   PRINCIPAL DENTAL - STYLE.CSS
   Logo-matched: Sky Blue + Deep Navy
=================================== */

:root{
--primary:#1AAEE0;
--primary-dark:#1B2A5E;
--primary-light:#D6F0FA;
--secondary:#EDF7FC;
--accent:#1AAEE0;
--soft:#EDF7FC;
--ink:#1B2A5E;
--body-color:#334155;
--muted:#64748B;
--line:#B3DDF0;
--grad:linear-gradient(135deg,#1AAEE0 0%,#1B2A5E 100%);
--heading-font:'Poppins',sans-serif;
--body-font:'Inter',sans-serif;

/* Bootstrap variable overrides */
--bs-primary:#1AAEE0;
--bs-primary-rgb:26,174,224;
--bs-link-color:#1B2A5E;
--bs-link-hover-color:#1AAEE0;
}

/* Global */

body{
    font-family:var(--body-font);
    color:var(--body-color);
	background:#ffffff;
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
}

html{
    scroll-behavior:smooth;
}

a{
    text-decoration:none;
}

section{
    position:relative;
}

/* Navbar */

.navbar{
    padding:15px 0;
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
	position:sticky;
    top:0;
    z-index:999;
}

.page-banner{
    padding:60px 0;
}

.navbar-brand{
    font-size:1.6rem;
    font-weight:700;
}

.hero-title{
    font-size:4rem;
    font-weight:800;
    line-height:1.2;
}

.nav-link{
    font-weight:500;
    margin-left:15px;
}

.nav-link:hover{
    color:var(--primary)!important;
}

/* Hero */

.hero-section{
	background:#F5FAFF;
	color:#1E293B;
    background-size:cover;
    background-position:center;
    padding:120px 0;
}

.hero-section h1{
    font-size:3rem;
    font-weight:700;
}

.hero-section p{
    font-size:1.2rem;
}

/* Buttons */

.btn{
    border-radius:50px;
    padding:10px 25px;
    font-weight:600;
}

.btn-whatsapp{
    background:#25D366;
    color:#fff;
    border:none;
}

.hero-image img{
    max-width:90%;
}

.btn-primary{
    background:var(--primary);
    border:none;
}

.btn-primary:hover{
    transform:translateY(-2px);
}

/* Cards */

.card{
    border:none;
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.card img{
    height:240px;
    object-fit:cover;
}

/* Service Cards */

.service-card{
    text-align:center;
    padding:30px;
}

.service-card i{
    font-size:3rem;
    color:var(--primary);
    margin-bottom:20px;
}

/* About */

.about-img{
    border-radius:15px;
    overflow:hidden;
}

.about-img img{
    width:100%;
    max-height: 450px;
    object-fit: cover;
}

/* Statistics */

.stats{
    background:#f8f9fa;
}

.stats h2{
    color:var(--primary);
    font-weight:700;
    font-size:2.5rem;
}

/* Testimonials */

.testimonial-card{
    padding:30px;
    border-radius:15px;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.testimonial-card img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
}

/* FAQ */

.accordion-button{
    font-weight:600;
}

.accordion-button:not(.collapsed){
    background:#eaf4ff;
    color:var(--primary);
}

/* Forms */

.form-control,
.form-select{
    padding:12px;
    border-radius:10px;
}

.form-control:focus,
.form-select:focus{
    border-color:var(--primary);
    box-shadow:none;
}

/* Gallery */

.gallery-item{
    overflow:hidden;
    border-radius:12px;
}

.gallery-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.4s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/* Blog */

.blog-card img{
    height:250px;
    object-fit:cover;
}

/* Blog article hero — taller section + properly sized hero image */
.blog-hero{
    padding-top:4rem;
    padding-bottom:4rem;
}
.blog-hero .col-lg-5 img,
.blog-hero .col-lg-5 img.img-fluid{
    min-height:320px;
    max-height:420px;
    width:100%;
    object-fit:cover;
    border-radius:16px;
}
@media(max-width:991px){
    .blog-hero .col-lg-5 img,
    .blog-hero .col-lg-5 img.img-fluid{
        min-height:220px;
        max-height:300px;
        margin-top:1.5rem;
    }
}

/* Doctor Section */

.doctor-card{
    text-align:center;
}

.doctor-card img{
    width:250px;
    height:250px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #fff;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

/* Contact */

.contact-info i{
    color:var(--primary);
    margin-right:10px;
}

/* Map */

iframe{
    border:0;
    border-radius:15px;
}

/* Footer */

.footer{
    background:#111827;
    color:#fff;
}

.footer h4,
.footer h5{
    margin-bottom:20px;
}

.footer a{
    color:#fff;
}

.footer a:hover{
    color:#0d6efd;
}

.footer p{
    color:#d1d5db;
}

/* WhatsApp Button */

.whatsapp-float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:25px;
    right:25px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    text-align:center;
    font-size:30px;
    line-height:60px;
    z-index:9999;
    box-shadow:0 5px 20px rgba(0,0,0,.2);
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
    color:#fff;
}

/* Page Banner */

.page-banner{
    background:linear-gradient(
        rgba(13,110,253,.85),
        rgba(13,110,253,.85)
    );
    color:#fff;
    padding:80px 0;
}

/* Section Title */

.section-title{
    margin-bottom:50px;
}

.section-title h2{
    font-weight:700;
}

.section-title p{
    color:#6c757d;
}

/* Utility */

.shadow-soft{
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.rounded-custom{
    border-radius:15px;
}

/* Responsive */

@media(max-width:991px){

    .hero-section{
        padding:80px 0;
        text-align:center;
    }

    .hero-section h1{
        font-size:2.2rem;
    }

}

@media(max-width:768px){

    .hero-section h1{
        font-size:1.8rem;
    }

    .card img{
        height:220px;
    }

    .gallery-item img{
        height:220px;
    }

    .doctor-card img{
        width:180px;
        height:180px;
    }

}

/* =========================================================
   MODERN & CLEAN REDESIGN LAYER
   (loaded after Bootstrap + base rules above, so wins)
========================================================= */

h1,h2,h3,h4,h5,h6{
    font-family:var(--heading-font);
    color:var(--ink);
    letter-spacing:-.01em;
}

p{color:var(--body-color);}

.text-primary{color:var(--primary)!important;}
.text-muted{color:var(--muted)!important;}
.bg-primary{background:var(--grad)!important;}
.bg-light{background:var(--soft)!important;}
.fw-bold{font-weight:700!important;}

::selection{background:var(--primary);color:#fff;}

/* Keep text readable on teal (gradient) sections */
.bg-primary h1,.bg-primary h2,.bg-primary h3,.bg-primary h4,.bg-primary h5,.bg-primary p,.bg-primary .lead,
.text-white h1,.text-white h2,.text-white h3,.text-white h4,.text-white h5,.text-white p,.text-white .lead{
    color:#fff!important;
}

@media(min-width:1200px){
    .container{max-width:1180px;}
}

/* ---- Top Bar ---- */
.top-bar{
    background:var(--grad)!important;
    font-size:.9rem;
    letter-spacing:.01em;
}
.top-bar i{margin-right:6px;opacity:.9;}

/* ---- Navbar ---- */
.navbar{
    padding:14px 0;
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.82)!important;
    -webkit-backdrop-filter:saturate(180%) blur(14px);
    backdrop-filter:saturate(180%) blur(14px);
    box-shadow:0 1px 0 rgba(15,23,42,.06),0 8px 30px -20px rgba(15,23,42,.25);
}
.navbar-brand{
    font-family:var(--heading-font);
    font-weight:700;
    font-size:1.5rem;
    color:var(--ink)!important;
    display:inline-flex;
    align-items:center;
    gap:10px;
}
.navbar .nav-link{
    font-weight:500;
    color:var(--body-color);
    margin:0 2px;
    padding:8px 16px!important;
    border-radius:999px;
    transition:.25s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active{
    color:var(--primary-dark)!important;
    background:var(--primary-light);
}

/* ---- Buttons ---- */
.btn{
    border-radius:999px;
    padding:11px 26px;
    font-weight:600;
    font-family:var(--body-font);
    transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease;
}
.btn-lg{padding:14px 32px;}
.btn-primary{
    background:var(--grad)!important;
    border:none!important;
    color:#fff!important;
    box-shadow:0 12px 26px -10px rgba(26,174,224,.55);
}
.btn-primary:hover,
.btn-primary:focus{
    transform:translateY(-3px);
    box-shadow:0 18px 34px -12px rgba(26,174,224,.65);
    color:#fff!important;
}
.btn-outline-primary{
    border:2px solid var(--primary)!important;
    color:var(--primary-dark)!important;
    background:transparent!important;
}
.btn-outline-primary:hover{
    background:var(--primary)!important;
    color:#fff!important;
    transform:translateY(-3px);
}
.btn-light{
    background:#ffffff!important;
    color:var(--primary-dark)!important;
    box-shadow:0 12px 26px -14px rgba(0,0,0,.5);
}
.btn-light:hover{transform:translateY(-3px);color:var(--primary-dark)!important;}

/* ---- Badge / eyebrow ---- */
.badge.bg-primary{
    background:var(--primary-light)!important;
    color:var(--primary-dark)!important;
    font-weight:600;
    font-size:.78rem;
    padding:9px 16px;
    border-radius:999px;
    letter-spacing:.04em;
    text-transform:uppercase;
}

/* ---- Hero ---- */
.hero-section{
    background:
        radial-gradient(1000px 520px at 88% -12%,rgba(26,174,224,.25),transparent 60%),
        radial-gradient(760px 480px at -5% 115%,rgba(27,42,94,.10),transparent 55%),
        #F4FAFD;
    padding:110px 0 96px;
    overflow:hidden;
}
.hero-section h1{
    font-family:var(--heading-font);
    font-weight:800;
    font-size:3.25rem;
    line-height:1.08;
    color:#1B2A5E;
}
.hero-section .lead{
    color:var(--body-color);
    font-size:1.15rem;
}
.hero-section img{
    border-radius:28px!important;
    box-shadow:0 45px 90px -35px rgba(15,23,42,.4)!important;
}

/* ---- Section rhythm & titles ---- */
section.py-5:not(.bg-primary):not(.blog-hero){padding-top:5.5rem!important;padding-bottom:5.5rem!important;}
section.bg-primary.py-5{padding-top:2.5rem!important;padding-bottom:2.5rem!important;}
.section-title h2,.text-center>h2.fw-bold{position:relative;}

/* ---- Cards ---- */
.card{
    border:1px solid var(--line)!important;
    border-radius:22px!important;
    box-shadow:0 1px 2px rgba(15,23,42,.04);
    transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.card:hover{
    transform:translateY(-8px);
    box-shadow:0 32px 55px -26px rgba(15,23,42,.28);
    border-color:transparent!important;
}
.card-body{padding:1.75rem;}

/* Icon chips inside cards (why-choose / services) */
.card-body>i.fa-3x,
.service-card>i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:84px;
    height:84px;
    border-radius:50%;
    background:var(--primary-light);
    color:var(--primary-dark)!important;
    font-size:1.9rem!important;
    margin-bottom:1.25rem;
}

/* ---- Stats ---- */
.stats,.stats h2,h2.text-primary{font-family:var(--heading-font);}
h2.text-primary{color:var(--primary)!important;font-weight:800;}

/* ---- Testimonials ---- */
.testimonial-card{
    border-radius:22px;
    border:1px solid var(--line);
    box-shadow:0 20px 45px -30px rgba(15,23,42,.35);
}

/* ---- Accordion / FAQ ---- */
.accordion-item{
    border:1px solid var(--line);
    border-radius:16px!important;
    overflow:hidden;
    margin-bottom:12px;
}
.accordion-button{border-radius:16px!important;}
.accordion-button:not(.collapsed){
    background:var(--primary-light);
    color:var(--primary-dark);
    box-shadow:none;
}
.accordion-button:focus{box-shadow:0 0 0 4px var(--primary-light);}

/* ---- Forms ---- */
.form-control,.form-select{
    border-radius:14px;
    border:1px solid var(--line);
    padding:13px 16px;
}
.form-control:focus,.form-select:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px var(--primary-light);
}

/* ---- Gallery ---- */
.gallery-item{border-radius:18px;}
.gallery-item img{border-radius:18px;}

/* ---- Map iframe ---- */
iframe{border-radius:18px;}

/* ---- Footer ---- */
.footer{
    background:#0E1A3A!important;
    color:#E2E8F0;
    padding-bottom:2rem;
}
.footer h4,.footer h5{font-family:var(--heading-font);color:#fff;}
.footer p,.footer li{color:#9AA7B8;}
.footer a{color:#CBD5E1;transition:.25s;}
.footer a:hover{color:var(--accent)!important;}

/* ---- Floating WhatsApp ---- */
.whatsapp-float{box-shadow:0 14px 30px -8px rgba(37,211,102,.6);}

/* ---- Responsive ---- */
@media(max-width:991px){
    .hero-section{padding:70px 0;text-align:center;}
    .hero-section .d-flex{justify-content:center;}
    .navbar .nav-link{margin:2px 0;}
}
@media(max-width:768px){
    .hero-section h1{font-size:2.1rem;}
    section.py-5:not(.bg-primary):not(.blog-hero){padding-top:3.5rem!important;padding-bottom:3.5rem!important;}
    section.bg-primary.py-5{padding-top:2rem!important;padding-bottom:2rem!important;}
}

/* ---- Brand-aligned tables (replace Bootstrap default light blue) ---- */
.table-primary{
    --bs-table-bg:var(--primary);
    --bs-table-color:#fff;
    --bs-table-border-color:rgba(255,255,255,.25);
}
.table-primary,
.table-primary th,
.table-primary td{
    background:var(--primary)!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.25)!important;
}

/* ---- Brand-aligned info alerts (replace Bootstrap default cyan) ---- */
.alert-info{
    background:var(--soft)!important;
    color:var(--primary-dark)!important;
    border:1px solid var(--primary-light)!important;
    border-left:4px solid var(--primary)!important;
}
.alert-info h5,
.alert-info strong,
.alert-info .alert-link{color:var(--primary-dark)!important;}