/* Static rebuild additions for drfhh.com (menu + page components) */
:root{--fh-teal:#299ca8;--fh-teal-d:#1d7680;--fh-red:#de5a5d;--fh-dark:#222;--fh-gray:#606871;--fh-bg:#f4f9fa}
body{background:#fff;overflow-x:hidden}
a{color:var(--fh-teal)}a:hover{color:var(--fh-red)}

/* ---------- Mega menu (replaces lost maxmegamenu/style.css + js) ---------- */
header .menu-wrapper{overflow-x:clip;overflow-y:visible}
header .navbar{position:relative}
#mega-menu-wrap-main{position:static;width:100%}
#mega-menu-wrap-main .mega-menu-toggle{display:none}
#mega-menu-main{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px}
#mega-menu-main>li{position:static;list-style:none}
#mega-menu-main>li>a.mega-menu-link{display:block;color:#fff;font-size:15px;line-height:1.4;padding:10px 18px;border-radius:25px;text-decoration:none;transition:.2s}
#mega-menu-main>li:hover>a.mega-menu-link,#mega-menu-main>li>a.mega-menu-link[aria-current],#mega-menu-main>li.fh-open>a.mega-menu-link{background:#fff;color:var(--fh-red)}
#mega-menu-main .mega-indicator:after{content:"\f107";font-family:FontAwesome;margin-right:7px;font-size:13px}
#mega-menu-main>li>ul.mega-sub-menu{display:none;position:absolute;right:0;left:0;top:100%;margin-top:6px;background:#fff;border-radius:0 0 10px 10px;border-top:3px solid var(--fh-red);box-shadow:0 14px 30px rgba(0,0,0,.15);padding:18px 20px;z-index:1000}
#mega-menu-main>li:hover>ul.mega-sub-menu,#mega-menu-main>li.fh-open>ul.mega-sub-menu{display:block}
#mega-menu-main>li>ul.mega-sub-menu:before{content:"";position:absolute;top:-12px;left:0;right:0;height:12px}
#mega-menu-main ul.mega-sub-menu{list-style:none;margin:0;padding:0}
#mega-menu-main li.mega-menu-row>ul.mega-sub-menu{display:flex;flex-wrap:wrap}
#mega-menu-main li.mega-menu-column{flex:1 1 25%;min-width:180px;padding:0 6px}
#mega-menu-main li.mega-menu-column a.mega-menu-link{display:block;color:#333;padding:9px 12px;border-radius:6px;font-size:14.5px;text-decoration:none;border-right:3px solid transparent}
#mega-menu-main li.mega-menu-column a.mega-menu-link:hover{background:var(--fh-bg);color:var(--fh-teal);border-right-color:var(--fh-teal)}
@media (max-width:767px){
  header .navbar-default{margin:0;padding:6px 10px}
  header .navbar-default:before,header .navbar-default:after{display:none}
  header .menu-wrapper{background:var(--fh-teal)}
  #mega-menu-wrap-main .mega-menu-toggle{display:flex;justify-content:flex-end;cursor:pointer;color:#fff;padding:8px 6px;font-size:16px}
  #mega-menu-wrap-main .mega-menu-toggle .mega-toggle-label:after{content:"\f0c9";font-family:FontAwesome;margin-right:8px}
  #mega-menu-wrap-main .mega-toggle-label-open{display:none}
  #mega-menu-main{display:none;flex-direction:column;align-items:stretch;padding-bottom:8px}
  #mega-menu-wrap-main.fh-menu-open #mega-menu-main{display:flex}
  #mega-menu-main>li>a.mega-menu-link{border-radius:6px}
  #mega-menu-main>li>ul.mega-sub-menu{position:static;box-shadow:none;margin:4px 0;padding:8px;border-radius:8px}
  #mega-menu-main>li:hover>ul.mega-sub-menu{display:none}
  #mega-menu-main>li.fh-open>ul.mega-sub-menu{display:block}
  #mega-menu-main li.mega-menu-column{flex:1 1 100%;min-width:0}
  header .logo img{width:200px}
  header .top-header .social{text-align:center}
  header .top-header .contact-info ul{text-align:center}
}

/* ---------- Home ---------- */
.slider .carousel-item img{height:560px;object-fit:cover}
.slider .carousel-caption{background:rgba(0,0,0,.35);border-radius:14px;padding:18px 24px;bottom:12%}
.fh-mobile-hero{position:relative;min-height:340px;background-size:cover;background-position:center;display:flex;align-items:flex-end}
.fh-mobile-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.65),rgba(0,0,0,.05))}
.fh-mobile-hero>div{position:relative;color:#fff;padding:24px 18px}
.fh-mobile-hero h1{font-size:24px;font-weight:700;margin-bottom:6px}
.single-hospital-doctor .avi{height:220px}
.single-hospital-doctor .avi img{height:100%;width:100%;object-fit:cover;object-position:center top}
.single-hospital-doctor .name{color:#524646;font-size:18px!important;font-weight:bold}
.single-hospital-doctor p.fh-spec{font-weight:bold;color:var(--fh-red);min-height:42px}
.single-hospital-section .icon img{width:80px;height:80px;object-fit:contain}
.video-wrapper{min-height:300px;background-size:cover!important}
.single-blog-news .news-img img{width:100%;height:100%;object-fit:cover}
.fh-home-about{padding:4em 0;background:var(--fh-bg)}
.fh-home-about p{line-height:2}
.google-maps iframe{display:block;width:100%;filter:saturate(.9)}

/* ---------- Generic page ---------- */
.fh-page{padding:2.5em 15px 3em}
.fh-page-h1{font-size:30px;font-weight:700;color:var(--fh-teal);margin:0 0 .6em}
.fh-lead{font-size:17px;line-height:2;color:#444}
.fh-article{line-height:2.1;font-size:16.5px;color:#333}
.fh-article h3{font-size:21px;color:var(--fh-teal);margin:1.2em 0 .5em;font-weight:700}
.fh-article ul,.fh-article ol{padding-right:1.4em}
.fh-article li{margin-bottom:.35em}
.fh-block{margin:2em 0}
.fh-h{font-size:21px;font-weight:700;color:var(--fh-red);margin-bottom:.8em;padding-bottom:.4em;border-bottom:2px solid #eee}
.fh-checklist{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px 18px}
.fh-checklist li{background:var(--fh-bg);border-radius:8px;padding:10px 14px;line-height:1.7}
.fh-checklist i{color:var(--fh-teal);margin-left:6px}
.fh-note{margin-top:1.5em;background:#fff6f6;border-right:4px solid var(--fh-red);padding:12px 16px;border-radius:6px;font-size:14px;color:#555}
.fh-rounded{border-radius:12px}
.fh-faq-q{display:block;color:var(--fh-teal);font-size:17px;margin-top:1em}
.breadcrumbs .current-item{color:var(--fh-red)}
.breadcrumbs i{margin:0 8px;font-size:12px}

/* Sidebar */
.fh-sidebar{position:sticky;top:20px}
.fh-side-box{background:#fff;border:1px solid #e6eef0;border-radius:12px;padding:22px;margin-bottom:22px;box-shadow:0 4px 18px rgba(0,0,0,.05)}
.fh-side-box h4{font-size:18px;font-weight:700;color:var(--fh-teal);margin-bottom:12px}
.fh-side-box ul li a{display:block;padding:8px 4px;color:#333;border-bottom:1px dashed #e5e5e5}
.fh-side-box ul li.active a,.fh-side-box ul li a:hover{color:var(--fh-red)}
.fh-side-cta{text-align:center;background:linear-gradient(140deg,#2fb0bd,#1d7680);color:#fff;border:0}
.fh-side-cta>i{font-size:40px;margin-bottom:8px}
.fh-side-cta h4,.fh-side-cta a{color:#fff}
.fh-side-cta p a{font-size:22px;font-weight:700}
.fh-side-cta .btn{display:block;margin:8px 0}
.fh-side-cta .btn-orange{background:var(--fh-red)}
.fh-btn-wa{background:#25d366;color:#fff!important;border-radius:4px}
.fh-btn-white{background:#fff;color:var(--fh-teal)!important;border-radius:4px;padding:10px 22px;font-weight:700}
.fh-btn-outline{border:2px solid #fff;color:#fff!important;border-radius:4px;padding:8px 20px}
.fh-btn-outline-dark{border:2px solid var(--fh-teal);color:var(--fh-teal)!important;border-radius:4px;padding:8px 18px}
.fh-more{font-weight:700;color:var(--fh-red)}

/* Departments */
.fh-dept-head{display:flex;align-items:center;gap:18px;background:var(--fh-bg);border-radius:14px;padding:18px 22px;margin-bottom:1.5em}
.fh-dept-head img{width:84px;height:84px;object-fit:contain;background:#fff;border-radius:50%;padding:10px}
.fh-dept-head h1{font-size:28px;color:var(--fh-teal);font-weight:700;margin:0}
.fh-dept-list{margin-top:2em}
.fh-dept-row{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #e6eef0;border-radius:12px;padding:14px;margin-bottom:16px;color:#333;transition:.2s;height:calc(100% - 16px)}
.fh-dept-row:hover{box-shadow:0 8px 20px rgba(0,0,0,.08);transform:translateY(-3px);color:#333}
.fh-dept-row img{width:56px;height:56px;object-fit:contain}
.fh-dept-row b{display:block;color:var(--fh-teal);font-size:17px}
.fh-dept-row small{color:#777;line-height:1.7}
.fh-inline-sections{padding:0!important;background:none!important}

/* Doctors */
.fh-doc-photo{border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.1);margin-bottom:20px}
.fh-doc-photo img{width:100%}
.fh-doc-name{padding:10px 0 14px;border-bottom:3px solid;border-image:linear-gradient(45deg,grey,#DE5A5D) 10;margin-bottom:10px}
.fh-doc-name h1,.fh-doc-name h2{font-size:30px;font-weight:700;color:var(--fh-red)}
.fh-doc-name h5{color:#555;font-weight:700}
.fh-tags{margin-top:8px}
.fh-tag{display:inline-block;background:var(--fh-bg);color:var(--fh-teal);border-radius:20px;padding:4px 14px;margin:4px 0 0 6px;font-size:14px}
.fh-related{margin-top:2em}

/* Video cards */
.fh-video{display:block;margin-bottom:24px;color:#333;text-decoration:none}
.fh-video-thumb{display:block;position:relative;border-radius:12px;overflow:hidden;aspect-ratio:16/9;background:#ddd}
.fh-video-thumb img{width:100%;height:100%;object-fit:cover;transition:.3s}
.fh-video-thumb i{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:58px;color:#fff;text-shadow:0 4px 18px rgba(0,0,0,.4);transition:.2s}
.fh-video:hover .fh-video-thumb img{transform:scale(1.05)}
.fh-video:hover .fh-video-thumb i{color:var(--fh-red)}
.fh-video-title{display:block;margin-top:10px;font-weight:700;line-height:1.7;font-size:15px}
.fh-video-lg .fh-video-thumb i{font-size:80px}

/* About */
.fh-mv .fh-side-box{height:calc(100% - 22px)}
.fh-mv p{line-height:2}
.fh-values{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.fh-val{width:130px;background:var(--fh-bg);border-radius:12px;padding:16px 8px}
.fh-val b{display:block;font-size:34px;color:var(--fh-red);font-family:Arial,sans-serif}
.fh-val span{display:block;font-weight:700;color:var(--fh-teal)}
.fh-val small{color:#888;font-size:11px;letter-spacing:.5px}

/* Contact / forms */
.fh-contact-card{text-align:center;background:#fff;border:1px solid #e6eef0;border-radius:14px;padding:24px 16px;margin-bottom:24px;height:calc(100% - 24px);box-shadow:0 4px 16px rgba(0,0,0,.04)}
.fh-contact-card i{font-size:34px;color:#fff;background:var(--fh-teal);width:70px;height:70px;line-height:70px;border-radius:50%;margin-bottom:12px}
.fh-contact-card h4{font-weight:700;color:var(--fh-teal)}
.fh-contact-card p{direction:rtl;word-break:break-word;color:#444}
.fh-social a{display:inline-block;width:46px;height:46px;line-height:46px;text-align:center;border-radius:50%;background:var(--fh-teal);color:#fff;margin:0 0 8px 8px;font-size:20px}
.fh-social a:hover{background:var(--fh-red);color:#fff}
.fh-form .form-control,.fh-form .form-select{border-radius:8px;padding:10px 12px;min-height:46px}
.fh-form .form-label{font-weight:700;color:#444}
.fh-form .btn{margin:0 0 8px 8px}
.fh-form-note{font-size:14px;color:#666;margin-top:8px}
.fh-steps{margin:1.5em 0}
.fh-step{text-align:center;background:var(--fh-bg);border-radius:14px;padding:20px 14px;margin-bottom:16px;height:calc(100% - 16px)}
.fh-step span,.fh-step>i{display:inline-block;width:52px;height:52px;line-height:52px;border-radius:50%;background:var(--fh-red);color:#fff;font-size:22px;font-weight:700;margin-bottom:8px}
.fh-step h4{font-size:17px;font-weight:700;color:var(--fh-teal)}
.fh-step p{font-size:14px;color:#555;margin:0}

/* Posts */
.fh-post-hero img{width:100%;max-height:460px;object-fit:cover;border-radius:12px}
.fh-share{margin:12px 0 18px}
.fh-share span{font-weight:700;margin-left:6px}
.fh-share a{display:inline-block;width:36px;height:36px;line-height:36px;text-align:center;border-radius:50%;background:var(--fh-dark);color:#fff;margin-left:4px}
.fh-share a:hover{background:var(--fh-red);color:#fff}
.single-blog-item img{border-radius:10px;width:100%;aspect-ratio:12/5;object-fit:cover}
.related-posts img{aspect-ratio:12/5;object-fit:cover}

/* CTA + footer info */
.fh-cta{background:linear-gradient(120deg,#de5a5d,#c4474a);color:#fff;padding:2.2em 0}
.fh-cta h3{font-weight:700;margin-bottom:4px}
.fh-cta p{margin:0;opacity:.95}
.fh-cta .btn{margin:6px 0 6px 6px}
.fh-footer-info{background:#1f2a30;color:#cfd8dc;padding:3em 0 1.5em}
.fh-footer-info h4{color:#fff;font-size:18px;font-weight:700;margin-bottom:14px}
.fh-footer-info a{color:#cfd8dc}.fh-footer-info a:hover{color:#fff}
.fh-footer-info li{padding:4px 0}
.fh-contact-list i{width:22px;color:var(--fh-teal)}
.fh-footer-info .btn-orange{margin-top:6px}
@media (max-width:767px){
  .fh-page-h1{font-size:24px}
  .fh-doc-name h1{font-size:24px}
  .fh-dept-head h1{font-size:22px}
  .fh-checklist{grid-template-columns:1fr}
  .fh-sidebar{position:static;margin-top:2em}
  .floating-icons{bottom:70px}
}

/* FA4 compatibility (FA5 all.min.css also defines .fa) */
.fa{font-family:FontAwesome!important;font-weight:normal!important;font-style:normal}
.fh-fa-icon{align-items:center;justify-content:center}
.fh-fa-icon i{font-size:54px;color:#fff;margin:auto}
.fh-dept-ico{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:50%;background:var(--fh-teal);color:#fff;font-size:38px}
.fh-dept-row .fh-dept-ico{width:58px;height:58px;font-size:24px}
.fh-dept-head .fh-dept-ico{box-shadow:0 0 0 6px rgba(41,156,168,.18)}
.fh-post-hero #post-meta{display:none}
.fh-date{display:inline-block;color:#777;font-size:14px;margin-top:6px}
.fh-contact-card bdi{unicode-bidi:isolate}
@media (max-width:575px){
  .hospital-sections .row>[class*="col-"]{flex:0 0 50%;max-width:50%}
  .hospital-sections .single-hospital-section{height:auto;min-height:190px;padding:1.4em 8px}
  .hospital-sections .single-hospital-section .icon{width:90px;height:90px}
  .hospital-sections .single-hospital-section .title{font-size:15px}
}
