/* =================================================================
   COMFY DENTAL - SHARED CSS (header, footer, base, buttons)
   Header ya footer ka design badalna ho to yahin badlein.
   ================================================================= */
body.comfy-page{margin:0;}
.cdh{--navy:#173a6a;--blue:#1f6fb8;--teal:#13b4d1;--teal-d:#0e93ad;--green:#6cbb6f;--mist:#eef6fb;--ice:#f7fbfd;--ink:#2a3544;--muted:#5b6878;--line:#d8e6ef;
  font-family:'Open Sans',Arial,sans-serif;color:var(--ink);font-size:18px;line-height:1.7;width:100%;overflow-x:clip;}
.cdh *{box-sizing:border-box;}
.cdh img{max-width:100%;height:auto;display:block;}
.cdh .w{max-width:1260px;margin:0 auto;padding:0 24px;}
.cdh section{padding:115px 0;}
.cdh h1,.cdh h2,.cdh h3{font-family:'Montserrat',Arial,sans-serif;color:var(--navy);margin:0 0 16px;line-height:1.22;letter-spacing:0;text-transform:none;}
.cdh h1{font-size:54px;font-weight:800;}
.cdh h2{font-size:46px;font-weight:800;}
.cdh h3{font-size:24px;font-weight:700;}
.cdh p{margin:0 0 16px;}
.cdh a{color:var(--blue);}
.cdh ul{list-style:none;margin:0;padding:0;}
.cdh ul li{margin:0;padding:0;}
.cdh ul li::before{content:none;}
.cdh .center{text-align:center;}
.cdh .intro{max-width:800px;margin:0 auto 60px;text-align:center;color:var(--muted);font-size:19px;}
.cdh .kicker{display:block;font-family:'Montserrat',Arial,sans-serif;font-weight:700;font-size:16px;color:var(--teal-d);margin-bottom:10px;}

/* Buttons */
.cdh .btns{display:flex;flex-wrap:wrap;gap:14px;}
.cdh .btn{text-transform:none !important;letter-spacing:0 !important;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 30px;border-radius:50px;font-family:'Montserrat',Arial,sans-serif;font-weight:700;font-size:15px;text-decoration:none;border:2px solid transparent;transition:none;line-height:1.2;}
.cdh .btn svg{width:18px;height:18px;flex:none;}
.cdh .btn-teal{background:var(--teal);color:#fff;}
.cdh .btn-teal:hover{background:var(--teal-d);color:#fff;}
.cdh .btn-white{background:#fff;color:var(--navy);}
.cdh .btn-white:hover{background:var(--mist);color:var(--navy);}
.cdh .btn-ghost{border-color:rgba(255,255,255,.75);color:#fff;background:transparent;}
.cdh .btn-ghost:hover{background:#fff;color:var(--navy);}
.cdh .btn-blue{background:var(--blue);color:#fff;}
.cdh .btn-blue:hover{background:var(--navy);color:#fff;}
.cdh .btn-line{border-color:var(--blue);color:var(--blue);background:transparent;}
.cdh .btn-line:hover{background:var(--blue);color:#fff;}
.cdh a:focus-visible,.cdh summary:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}

/* ================= NEW HEADER ================= */
.cdh-topbar{background:#173a6a;color:#cfe0f2;font-size:14px;}
.cdh .cdh-topbar .w{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap;}
.cdh .cdh-topbar span,.cdh .cdh-topbar a{display:inline-flex;align-items:center;gap:7px;color:#cfe0f2;text-decoration:none;margin-right:22px;}
.cdh .cdh-topbar a:hover{color:#fff;}
.cdh .cdh-topbar svg{width:15px;height:15px;color:var(--teal);flex:none;}
.cdh .cdh-topbar .tb-r a:last-child{margin-right:0;}
.cdh .cdh-hdr{position:sticky;top:0;z-index:999;background:#fff;box-shadow:0 4px 20px rgba(23,58,106,.08);}
body.admin-bar .cdh-hdr{top:32px;}
@media (max-width:782px){body.admin-bar .cdh-hdr{top:46px;}}
@media (max-width:600px){body.admin-bar .cdh-hdr{top:0;}}
.cdh .cdh-hdr .w{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:90px;}
.cdh .cdh-navwrap{flex:1;display:flex;justify-content:center;min-width:0;}
.cdh .cdh-logo{flex:none;}
.cdh .cdh-logo img{height:52px;width:auto;max-width:none;display:block;}
.cdh .cdh-nav{display:flex;align-items:center;gap:6px;margin:0;padding:0;list-style:none;}
.cdh .cdh-nav > li{position:relative;margin:0;padding:0;}
.cdh .cdh-nav > li::before{content:none;}
.cdh .cdh-nav > li > a{display:flex;align-items:center;gap:5px;padding:12px 11px;font-family:'Montserrat',Arial,sans-serif;font-weight:600;font-size:14.5px;white-space:nowrap;color:var(--navy);text-decoration:none;border-radius:8px;}
.cdh .cdh-nav > li > a:hover,.cdh .cdh-nav > li.cur > a{color:var(--teal-d);}
.cdh .cdh-nav > li.cur > a::after{content:"";position:absolute;left:14px;right:14px;bottom:4px;height:2px;background:var(--teal);border-radius:2px;}
.cdh .cdh-nav .cdh-caret{width:12px;height:12px;}
.cdh .cdh-sub{position:absolute;left:0;top:100%;min-width:250px;background:#fff;border-radius:12px;box-shadow:0 18px 40px rgba(23,58,106,.16);padding:10px;list-style:none;margin:0;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s,transform .2s,visibility .2s;}
.cdh .cdh-nav > li:hover > .cdh-sub,.cdh .cdh-nav > li:focus-within > .cdh-sub{opacity:1;visibility:visible;transform:none;}
.cdh .cdh-sub li{margin:0;padding:0;}
.cdh .cdh-sub li::before{content:none;}
.cdh .cdh-sub a{display:block;padding:9px 12px;border-radius:8px;font-size:14.5px;color:var(--ink);text-decoration:none;}
.cdh .cdh-sub a:hover{background:var(--mist);color:var(--blue);}
.cdh .cdh-hdr-cta{display:flex;align-items:center;gap:18px;}
.cdh .cdh-hdr-phone{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy);}
.cdh .cdh-hdr-phone .pi{width:42px;height:42px;border-radius:50%;background:var(--mist);color:var(--teal-d);display:flex;align-items:center;justify-content:center;}
.cdh .cdh-hdr-phone svg{width:19px;height:19px;}
.cdh .cdh-hdr-phone small{display:block;font-size:12px;color:var(--muted);line-height:1.2;}
.cdh .cdh-hdr-phone strong{font-family:'Montserrat',Arial,sans-serif;font-size:16px;line-height:1.3;}
.cdh .cdh-hdr-cta{flex:none;}
.cdh .cdh-hdr .btn{padding:13px 22px;font-size:14.5px;white-space:nowrap;}
.cdh .cdh-burger{display:none;width:46px;height:46px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--navy);align-items:center;justify-content:center;cursor:pointer;padding:0;}
.cdh .cdh-burger svg{width:24px;height:24px;}
.cdh .sub-tg{display:none;}
@media (max-width:1500px){.cdh .cdh-hdr-phone{display:none;}}
@media (max-width:1280px){
  .cdh .cdh-burger{display:flex;}
  .cdh .cdh-hdr .w{min-height:78px;}
  .cdh .cdh-logo img{height:48px;}
  .cdh .cdh-navwrap{display:block;position:absolute;left:0;right:0;top:100%;background:#fff;box-shadow:0 18px 30px rgba(23,58,106,.12);max-height:0;overflow:hidden;transition:max-height .35s ease;}
  .cdh .cdh-hdr.open .cdh-navwrap{max-height:80vh;overflow-y:auto;}
  .cdh .cdh-nav{flex-direction:column;align-items:stretch;gap:0;padding:10px 20px 20px;}
  .cdh .cdh-nav > li{border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;}
  .cdh .cdh-nav > li > a{flex:1;padding:14px 4px;}
  .cdh .cdh-nav > li.cur > a::after{display:none;}
  .cdh .cdh-nav .cdh-caret{display:none;}
  .cdh .sub-tg{display:flex;width:40px;height:40px;border:0;background:var(--mist);border-radius:8px;color:var(--navy);align-items:center;justify-content:center;cursor:pointer;padding:0;}
  .cdh .sub-tg svg{width:16px;height:16px;transition:transform .2s;}
  .cdh li.sopen .sub-tg svg{transform:rotate(180deg);}
  .cdh .cdh-sub{position:static;box-shadow:none;opacity:1;visibility:visible;transform:none;width:100%;padding:0 0 10px 10px;display:none;transition:none;}
  .cdh li.sopen > .cdh-sub{display:block;}
}
@media (max-width:600px){.cdh .cdh-hdr-cta .btn{display:none !important;}}
@media (max-width:900px){.cdh .cdh-topbar .tb-l{display:none;}.cdh .cdh-topbar .w{justify-content:center;}}
@media (max-width:420px){.cdh .cdh-topbar{font-size:13px;}.cdh .cdh-topbar a{margin-right:14px;}}

/* ================= NEW FOOTER ================= */
.cdh-ftr{background:#102c52;color:#c3d4e8;font-size:15.5px;}
.cdh .cdh-ftr-top{padding:90px 0 60px;}
.cdh .cdh-ftr-grid{display:grid;grid-template-columns:1.3fr .9fr 1fr 1.2fr;gap:50px;}
.cdh .cdh-ftr-logo{display:inline-block;background:#fff;border-radius:14px;padding:12px 18px;margin-bottom:22px;}
.cdh .cdh-ftr-logo img{height:48px;width:auto;display:block;}
.cdh .cdh-ftr p{color:#c3d4e8;margin:0 0 18px;}
.cdh .cdh-ftr h4{font-family:'Montserrat',Arial,sans-serif;font-size:19px;font-weight:700;color:#fff;margin:0 0 22px;padding-bottom:14px;position:relative;}
.cdh .cdh-ftr h4::after{content:"";position:absolute;left:0;bottom:0;width:42px;height:3px;border-radius:3px;background:var(--teal);}
.cdh .cdh-ftr ul{list-style:none;margin:0;padding:0;}
.cdh .cdh-ftr li{margin:0 0 11px;padding:0;}
.cdh .cdh-ftr li::before{content:none;}
.cdh .cdh-ftr-links a{color:#c3d4e8;text-decoration:none;}
.cdh .cdh-ftr-links a:hover{color:#fff;}
.cdh .cdh-ftr-links a::before{content:"\203A";color:var(--teal);font-weight:700;margin-right:9px;}
.cdh .cdh-hours li{display:flex;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.1);}
.cdh .cdh-hours li span:last-child{color:#fff;font-weight:600;}
.cdh .cdh-hours li.closed span:last-child{color:#8fa7c2;font-weight:400;}
.cdh .cdh-fcontact li{display:flex;gap:12px;align-items:flex-start;}
.cdh .cdh-fcontact svg{width:18px;height:18px;color:var(--teal);flex:none;margin-top:4px;}
.cdh .cdh-fcontact a{color:#fff;text-decoration:none;}
.cdh .cdh-fcontact a:hover{color:#7fe0f0;}
.cdh .cdh-social{display:flex;gap:10px;margin-top:8px;}
.cdh .cdh-social a{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center;}
.cdh .cdh-social a:hover{background:var(--teal);}
.cdh .cdh-social svg{width:18px;height:18px;}
.cdh .cdh-ftr-bot{background:#0b2240;padding:20px 0;font-size:14px;}
.cdh .cdh-ftr-bot .w{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
.cdh .cdh-ftr-bot a{color:#fff;text-decoration:none;}
.cdh .cdh-ftr-bot a:hover{color:#7fe0f0;}
@media (max-width:1060px){.cdh .cdh-ftr-grid{grid-template-columns:1fr 1fr;gap:40px;}}
@media (max-width:600px){.cdh .cdh-ftr-grid{grid-template-columns:1fr;}.cdh .cdh-ftr-top{padding:64px 0 40px;}.cdh .cdh-ftr-bot .w{justify-content:center;text-align:center;}}

/* Bootstrap ke .caret se bachne ke liye apna arrow icon */
.cdh .cdh-nav .cdh-caret{display:inline-block !important;width:12px !important;height:12px !important;border:0 !important;margin:0 0 0 2px !important;vertical-align:middle;background:none !important;flex:none;}
