@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* Global safeguards */
html,body{max-width:100%;overflow-x:hidden}
html,body,button,input,textarea,select{font-family:'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif!important}

[data-marquee-target="track"]{transform:none!important;animation:hfc-marquee 30s linear infinite}
@keyframes hfc-marquee{to{transform:translateX(50%)}}

/* Main site header */
.hfc-header,
.hfc-header *{box-sizing:border-box}
.hfc-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);border-bottom:1px solid #e5e7eb;box-shadow:0 3px 18px rgba(15,57,43,.05);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.hfc-header-inner{width:min(1280px,100%);min-height:78px;margin:0 auto;padding:0 16px;display:flex;align-items:center;gap:16px;overflow:visible;direction:inherit}
.hfc-brand{margin-inline-end:auto;flex:0 1 auto;min-width:0;text-decoration:none}
.hfc-brand img{display:block;width:235px;max-width:100%;height:54px;object-fit:contain}
.hfc-desktop-nav{display:flex;align-items:center;gap:3px;min-width:0}
.hfc-desktop-nav a{padding:10px 12px;border-radius:10px;color:#1f2937;font-weight:600;text-decoration:none;white-space:nowrap}
.hfc-desktop-nav a:hover{background:#f3f6f4;color:#176b4c}
.hfc-contact{display:inline-flex;align-items:center;justify-content:center;background:#139703;color:#fff!important;border-radius:10px;padding:10px 20px;font-weight:700;text-decoration:none;white-space:nowrap;flex:0 0 auto}
.hfc-contact:hover{background:#0f7e04}
.hfc-language{display:inline-flex;align-items:center;justify-content:center;border:1px solid #139703;color:#176b4c!important;border-radius:10px;padding:9px 16px;font-weight:700;text-decoration:none;white-space:nowrap;flex:0 0 auto}
.hfc-language:hover{background:#eef8f1}

/* The phone toggle is a fixed-size three-line hamburger. */
.hfc-menu-toggle{display:none!important;appearance:none!important;-webkit-appearance:none!important;position:relative!important;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;max-width:46px!important;max-height:46px!important;border:1px solid #dfe6e2!important;border-radius:10px!important;background:#fff!important;padding:0!important;margin:0!important;cursor:pointer!important;flex:0 0 46px!important;overflow:hidden!important;box-shadow:none!important}
.hfc-menu-toggle span{display:block!important;position:absolute!important;left:50%!important;width:24px!important;height:3px!important;min-height:3px!important;background:#174d3d!important;margin:0!important;padding:0!important;border:0!important;border-radius:4px!important;opacity:1!important;transform:translateX(-50%)!important}
.hfc-menu-toggle span:nth-child(1){top:13px!important}
.hfc-menu-toggle span:nth-child(2){top:21px!important}
.hfc-menu-toggle span:nth-child(3){top:29px!important}
.hfc-menu-toggle:focus-visible{outline:2px solid #139703!important;outline-offset:2px}

/* Mobile menu: hidden until the hamburger is pressed. Language is its final item. */
.hfc-mobile-nav{display:none!important;position:absolute;top:100%;inset-inline:0;width:100%;max-width:100vw;margin:0;padding:6px 12px 14px;background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 14px 30px rgba(15,57,43,.12);overflow-x:hidden;overflow-y:auto;max-height:calc(100vh - 68px);direction:inherit;text-align:start;z-index:110}
.hfc-mobile-nav.open{display:block!important}
.hfc-mobile-nav a{display:block!important;width:100%!important;margin:0!important;padding:13px 10px!important;border:0!important;border-bottom:1px solid #edf1ef!important;border-radius:0!important;background:transparent!important;color:#1f3e34!important;font-size:1rem!important;font-weight:600!important;line-height:1.5!important;text-decoration:none!important;text-align:start!important;white-space:normal!important;overflow-wrap:anywhere!important;box-shadow:none!important}
.hfc-mobile-nav a:last-child{border-bottom:0!important}
.hfc-mobile-nav .hfc-language-mobile{display:block!important;color:#176b4c!important;font-weight:700!important;border-top:1px solid #d7e2dd!important;margin-top:4px!important;padding-top:14px!important}

/* Existing gallery/video helpers */
.hfc-all-gallery{background:#f3f4f6;color:#1e293b;padding:72px 20px}
.hfc-gallery-wrap{width:min(1280px,100%);margin:auto}
.hfc-gallery-heading{text-align:center;max-width:760px;margin:0 auto 36px}
.hfc-gallery-heading h2{font-size:clamp(2rem,4vw,3rem);font-weight:700;margin:0 0 10px;color:#174d3d}
.hfc-gallery-heading p{font-size:1.05rem;color:#66736f;margin:0}
.hfc-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hfc-gallery-grid figure{position:relative;margin:0;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(15,57,43,.08)}
.hfc-gallery-grid img{width:100%;height:230px;object-fit:cover;display:block;transition:transform .35s}
.hfc-gallery-grid figure:hover img{transform:scale(1.035)}
.hfc-gallery-grid figcaption{position:absolute;inset:auto 0 0;padding:28px 14px 12px;color:#fff;font-size:.86rem;background:linear-gradient(transparent,rgba(8,28,22,.8));opacity:0;transition:.25s}
.hfc-gallery-grid figure:hover figcaption{opacity:1}
.hfc-video-wrap{width:min(840px,calc(100vw - 32px));aspect-ratio:16/9;margin:32px 50%;transform:translateX(-50%);overflow:hidden;border-radius:16px;background:#0f172a;box-shadow:0 18px 45px rgba(15,23,42,.2)}
.hfc-video-wrap iframe{display:block;width:100%;height:100%;border:0}
.hfc-protected-email{display:inline-block;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.hfc-protected-email:focus-visible{outline:2px solid #139703;outline-offset:4px;border-radius:2px}

html[lang="en"],html[lang="en"] body{direction:ltr!important}
html[lang="en"] body,html[lang="en"] button,html[lang="en"] input,html[lang="en"] textarea,html[lang="en"] select{font-family:'IBM Plex Sans Arabic','IBM Plex Sans',Arial,sans-serif!important}
html[lang="en"] .text-right{text-align:left!important}

/* Tablet and phone navigation */
@media (max-width:1100px){
  .hfc-header-inner{min-height:72px!important;padding-inline:14px!important;gap:12px!important}
  .hfc-desktop-nav,.hfc-contact,.hfc-language{display:none!important}
  .hfc-menu-toggle{display:block!important}
  .hfc-brand{margin-inline-end:auto!important;min-width:0!important;max-width:calc(100% - 58px)!important}
  .hfc-brand img{width:210px!important;max-width:100%!important;height:50px!important}
  .hfc-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:700px){
  .hfc-header-inner{min-height:68px!important;padding-inline:12px!important;gap:10px!important}
  .hfc-brand{max-width:calc(100% - 56px)!important}
  .hfc-brand img{width:190px!important;height:46px!important}
  .hfc-menu-toggle{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;flex-basis:44px!important}
  .hfc-menu-toggle span:nth-child(1){top:12px!important}
  .hfc-menu-toggle span:nth-child(2){top:20px!important}
  .hfc-menu-toggle span:nth-child(3){top:28px!important}
  .hfc-mobile-nav{padding:6px 12px 14px!important;max-height:calc(100vh - 68px)!important}
  .hfc-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hfc-gallery-grid img{height:180px}
  .hfc-all-gallery{padding:54px 12px}
}

@media (max-width:420px){
  .hfc-header-inner{padding-inline:10px!important}
  .hfc-brand img{width:170px!important;height:44px!important}
  .hfc-gallery-grid{grid-template-columns:1fr}
  .hfc-gallery-grid img{height:auto;aspect-ratio:4/3}
}
