
/* =========================================================
   ENERCON — CLEAN CORPORATE HOMEPAGE
   Design 2: Navy + Orange + White
   Compact navigation, smaller service cards, clear English/Arabic
========================================================= */

:root{
  --navy:#0b2745;
  --navy-2:#12395f;
  --orange:#f59b13;
  --orange-2:#ffad21;
  --ink:#12263d;
  --muted:#66778a;
  --light:#f5f8fb;
  --white:#fff;
  --line:#e3e9ef;
  --green:#2d9b67;
  --shadow:0 12px 34px rgba(11,39,69,.09);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"DM Sans",Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
img{max-width:100%}
.container{width:min(94%,1380px);margin:auto}

/* ================= TOP BAR ================= */
.top-bar{
  background:var(--navy);
  color:#dce7f1;
  font-size:12px;
}
.top-bar-inner{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.contact-info,.social-links{
  display:flex;
  align-items:center;
  gap:22px;
}
.social-links a{opacity:.9;transition:.2s}
.social-links a:hover{color:var(--orange)}

/* ================= NAVIGATION ================= */
.header{
  position:relative;
  z-index:100;
  top:auto;left:auto;
  width:100%;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 3px 18px rgba(11,39,69,.05);
  backdrop-filter:none;
}
.nav{
  min-height:78px;
  display:flex;
  align-items:center;
  gap:20px;
  direction:ltr;
}
.logo{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  flex:0 0 auto !important;
  white-space:nowrap !important;
  direction:ltr !important;
}
.logo img,.logo-image{
  display:block !important;
  width:58px !important;
  height:58px !important;
  max-width:58px !important;
  max-height:58px !important;
  object-fit:contain !important;
  flex:0 0 58px !important;
}
.logo-text{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;
  direction:ltr !important;
}
.logo-text strong{
  display:block;
  font-size:21px;
  line-height:1;
  font-weight:800;
  letter-spacing:.7px;
  white-space:nowrap;
}
.logo-text small{
  display:block;
  margin-top:5px;
  color:#748394;
  font-size:7px;
  font-weight:700;
  letter-spacing:1.45px;
  line-height:1;
  white-space:nowrap;
}
.enercon{color:var(--navy)!important}
.solar{color:var(--orange)!important;margin-left:5px!important}

.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:19px;
  margin-left:auto;
  color:#1b3550;
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  direction:ltr;
}
.nav-links>a,
.nav-dropdown-toggle{
  position:relative;
  color:#1b3550;
  font-size:14px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
}
.nav-links>a{padding:30px 0}
.nav-links>a:hover,
.nav-links>a.active,
.nav-dropdown-toggle:hover{color:var(--orange)}
.nav-links>a.active:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:18px;
  height:2px;
  background:var(--orange);
  border-radius:2px;
}

.nav-dropdown{
  position:relative;
  display:flex;
  align-items:center;
  height:100%;
}
.nav-dropdown-toggle{
  appearance:none;
  border:0;
  background:transparent;
  padding:8px 0;
  display:inline-flex;
  align-items:center;
  gap:5px;
  cursor:pointer;
  font-family:"DM Sans",Arial,sans-serif;
}
.dropdown-chevron{font-size:13px;line-height:1;transition:transform .2s}
.nav-dropdown:hover .dropdown-chevron{transform:rotate(180deg)}
.nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 1px);
  left:50%;
  transform:translate(-50%,8px);
  width:245px;
  padding:8px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  box-shadow:0 16px 38px rgba(11,39,69,.14);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.2s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%,0);
}
.nav-dropdown-menu a{
  display:block;
  padding:9px 11px;
  border-radius:7px;
  color:#29415a;
  font-size:12px;
  line-height:1.35;
  white-space:normal;
}
.nav-dropdown-menu a:hover{background:#f4f7fa;color:var(--orange)}
.businesses-menu-title{
  padding:9px 11px 5px;
  color:#8795a4;
  font-size:10px;
  font-weight:800;
  letter-spacing:1px;
}
.group-company-label{font-weight:700!important;color:var(--navy)!important}
.group-company-list{
  margin:2px 7px 5px;
  padding-left:7px;
  border-left:2px solid #edf1f5;
}
.group-company-list a{font-size:11px!important}

.language-switcher{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:2px;
  padding:3px;
  border:1px solid #d8e0e8;
  border-radius:8px;
  background:#fff;
  white-space:nowrap;
}
.language-btn{
  border:0;
  background:transparent;
  color:#29415a;
  padding:6px 9px;
  border-radius:5px;
  cursor:pointer;
  font-size:12px;
  font-weight:800;
  line-height:1;
}
.language-btn.active{
  background:var(--navy);
  color:#fff;
}
.language-divider{display:none}

.quote-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:132px;
  padding:12px 15px;
  border-radius:7px;
  background:var(--orange);
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.35px;
  white-space:nowrap;
  transition:.2s;
}
.quote-btn:hover{background:#e58b0a;transform:translateY(-1px)}

/* ================= HERO ================= */
.hero{
  position:relative;
  min-height:570px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background-image:url("hero-bg.png");
  background-size:cover;
  background-position:center;
}
.hero-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(7,31,56,.92) 0%,rgba(8,38,67,.78) 38%,rgba(8,38,67,.18) 72%,rgba(8,38,67,.05) 100%),
    linear-gradient(0deg,rgba(7,31,56,.48),transparent 48%);
}
.hero-content{position:relative;z-index:2;padding:72px 0}
.hero-text{width:min(100%,650px)}
.eyebrow{
  color:var(--orange);
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  margin-bottom:13px;
}
.hero .eyebrow{color:#ffb52b}
.hero h1{
  max-width:700px;
  color:#fff;
  font-family:"DM Sans",Arial,sans-serif;
  font-size:clamp(42px,4.5vw,68px);
  line-height:1.04;
  font-weight:800;
  letter-spacing:-1.8px;
}
.hero-description{
  max-width:600px;
  margin-top:20px;
  color:#e6edf4;
  font-size:17px;
  line-height:1.7;
}
.hero-buttons{display:flex;gap:12px;margin-top:26px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:160px;
  padding:13px 18px;
  border-radius:7px;
  font-size:12px;
  font-weight:800;
  transition:.2s;
}
.btn-gold{background:var(--orange);color:#fff}
.btn-gold:hover{background:#e58b0a;transform:translateY(-2px)}
.btn-outline{border:1px solid rgba(255,255,255,.65);color:#fff}
.btn-outline:hover{background:rgba(255,255,255,.12)}

/* ================= GENERAL SECTIONS ================= */
.about-preview,.products-section,.projects-section{
  background:#fff;
  color:var(--ink);
  padding:78px 0;
}
.section-heading{
  text-align:center;
  max-width:780px;
  margin:0 auto 38px;
}
.section-heading h2,
.about-content h2,
.products-content h2,
.cta-box h2,
.why-heading h2,
.commodity-content h2,
.projects-intro h2{
  font-family:"DM Sans",Arial,sans-serif;
  font-size:clamp(30px,3vw,43px);
  line-height:1.12;
  font-weight:800;
  color:var(--navy);
  margin:10px 0 15px;
}
.section-description{
  max-width:680px;
  margin:0 auto;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}
.gold-line{width:46px;height:3px;background:var(--orange);margin:17px 0;border-radius:3px}
.gold-line.center{margin:17px auto}

/* ================= ABOUT ================= */
.about-grid,.products-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.about-image{
  height:470px;
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.about-image img{width:100%;height:100%;object-fit:cover}
.about-image-badge{
  display:none;
}
.about-content p,.products-content p{
  color:var(--muted);
  line-height:1.75;
  margin-bottom:14px;
  font-size:15px;
}
.about-focus{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:25px 0}
.focus-item{
  display:flex;
  gap:12px;
  padding:16px;
  background:var(--light);
  border:1px solid var(--line);
  border-radius:10px;
}
.focus-icon{color:var(--orange);font-size:24px;line-height:1}
.focus-item h3{font-size:15px;margin-bottom:5px;color:var(--navy)}
.focus-item p{font-size:12px!important;margin:0!important;line-height:1.55!important}
.about-tags{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}
.about-tags span{
  padding:6px 10px;
  border:1px solid #dfe6ed;
  border-radius:30px;
  color:#4c6074;
  font-size:11px;
  font-weight:700;
}
.small-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:7px;
  padding:10px 14px;
  border:1px solid var(--orange);
  border-radius:7px;
  color:var(--navy);
  font-size:11px;
  font-weight:800;
}
.small-btn:hover{background:var(--orange);color:#fff}

/* ================= SERVICES — COMPACT ================= */
.services-section{
  padding:70px 0 76px;
  background:#f5f8fb;
  color:var(--ink);
}
.services-heading h2{color:var(--navy)}
.services-section .section-description{color:var(--muted)}
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
}
.service-card{
  min-height:205px;
  padding:20px;
  border-radius:12px;
  background:#fff;
  border:1px solid #e1e8ef;
  box-shadow:0 7px 20px rgba(11,39,69,.055);
  transition:transform .2s,box-shadow .2s,border-color .2s;
  display:flex;
  flex-direction:column;
}
.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(11,39,69,.10);
  border-color:#f2bd64;
}
.service-icon,
.service-icon.service-icon-svg{
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  margin-bottom:14px;
  border-radius:12px;
  background:#fff8ea;
  border:1px solid #f8dfb0;
  color:var(--orange);
}
.service-icon img{
  width:38px;
  height:38px;
  object-fit:contain;
}
.service-card-body{display:flex;flex-direction:column;flex:1}
.service-card h3{
  margin:0 0 7px;
  color:var(--navy);
  font-size:17px;
  line-height:1.25;
  font-weight:800;
}
.service-card p{
  margin:0;
  color:#718092;
  font-size:12px;
  line-height:1.55;
}
.service-link{
  display:inline-block;
  margin-top:auto;
  padding-top:13px;
  color:var(--orange);
  font-size:11px;
  font-weight:800;
}
.service-link:hover{color:var(--navy)}
.accent-card{background:var(--navy);border-color:var(--navy)}
.accent-card h3,.accent-card p{color:#fff}
.accent-card p{opacity:.72}
.accent-card .service-icon{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.15)}
.accent-card .service-link{color:#ffb52b}

/* ================= COMMODITY ================= */
.commodity-section{
  padding:78px 0;
  background:var(--navy);
  color:#fff;
}
.commodity-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:55px;
  align-items:center;
}
.commodity-content h2{color:#fff}
.commodity-content>p{color:#c7d4e0;line-height:1.75;font-size:15px}
.commodity-features{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:25px 0;
}
.commodity-feature{
  padding:15px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:10px;
  background:rgba(255,255,255,.045);
}
.commodity-feature h3{font-size:14px;margin-bottom:5px}
.commodity-feature p{font-size:11px;color:#afc0d0;line-height:1.5}
.commodity-icon{color:var(--orange);font-size:24px;margin-bottom:8px}
.commodity-image{
  position:relative;
  height:390px;
  border-radius:16px;
  overflow:hidden;
}
.commodity-image img{width:100%;height:100%;object-fit:cover}
.commodity-image-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,31,56,.65),transparent 60%)}
.commodity-image-label{
  position:absolute;left:22px;bottom:20px;
  color:#fff;font-size:18px;font-weight:800;
}

/* ================= PRODUCTS ================= */
.products-layout{align-items:start}
.products-content{padding-right:15px}
.product-cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.product-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 8px 22px rgba(11,39,69,.06);
}
.product-image{height:170px;background:#eef2f5}
.product-image img{width:100%;height:100%;object-fit:cover;display:block}
.product-content{padding:15px}
.product-category{color:var(--orange);font-size:10px;font-weight:800;letter-spacing:1px}
.product-content h3{font-size:17px;color:var(--navy);margin:6px 0}
.product-content p{font-size:12px!important;margin:0!important}
.product-link{display:inline-block;margin-top:10px;color:var(--orange);font-size:11px;font-weight:800}

/* ================= PROJECTS ================= */
.projects-intro{margin-bottom:30px}
.projects-description{max-width:700px;color:var(--muted);line-height:1.7;font-size:14px}
.projects-grid,.new-projects-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.project-card{
  overflow:hidden;
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  box-shadow:0 8px 22px rgba(11,39,69,.06);
}
.project-image{height:290px;overflow:hidden}
.project-image img{width:100%;height:100%;object-fit:cover;transition:.4s}
.project-card:hover .project-image img{transform:scale(1.05)}
.project-content{padding:16px}
.project-meta{display:flex;justify-content:space-between;gap:10px}
.project-location{font-size:11px;color:var(--orange);font-weight:800}
.project-summary{color:var(--muted);font-size:12px;line-height:1.55;margin-top:7px}
.project-arrow{color:var(--orange);font-weight:800}

/* ================= WHY ================= */
.why-section{
  padding:72px 0;
  background:#eef5f8;
  color:var(--ink);
}
.why-heading{text-align:center;margin-bottom:34px}
.features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.feature{
  display:flex;
  gap:13px;
  padding:19px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:11px;
}
.feature-icon{color:var(--orange);font-size:26px;line-height:1}
.feature h3{font-size:14px;color:var(--navy);margin-bottom:5px}
.feature p{color:var(--muted);font-size:11px;line-height:1.55}

/* ================= TEAM / GROUP / MISC ================= */
.team-section,.contact-section{padding:78px 0;background:#fff;color:var(--ink)}
.team-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.leadership-card,.group-brand-card,.parent-company-card,.company-detail-item,.contact-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 7px 20px rgba(11,39,69,.05);
}
.leadership-card{overflow:hidden}
.leadership-card img{width:100%;height:280px;object-fit:cover}
.leadership-content{padding:15px}
.leadership-label{color:var(--orange);font-size:10px;font-weight:800}
.leadership-role{color:var(--muted);font-size:12px}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:30px}
.contact-details{display:grid;gap:12px}
.contact-card{padding:17px}
.contact-icon{color:var(--orange);font-size:22px}
.contact-label{font-size:11px;color:#7b8998}
.contact-form{padding:25px;background:var(--light);border-radius:12px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-group{margin-bottom:12px}
.form-group label{display:block;font-size:11px;font-weight:700;margin-bottom:5px}
.form-group input,.form-group textarea,.form-group select{
  width:100%;padding:11px 12px;border:1px solid #dce4eb;border-radius:7px;background:#fff;color:var(--ink);outline:none;
}
.form-group textarea{min-height:130px;resize:vertical}
.contact-submit{border:0;cursor:pointer;background:var(--orange);color:#fff;padding:12px 18px;border-radius:7px;font-size:12px;font-weight:800}

/* ================= CTA / FOOTER ================= */
.cta-section{padding:60px 0;background:var(--navy)}
.cta-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:30px 35px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  background:linear-gradient(120deg,#12395f,#0b2745);
}
.cta-box h2{color:#fff;font-size:32px;margin:8px 0 0}
.footer{padding:50px 0 0;background:#071b31;color:#c9d5df}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:40px;
  padding-bottom:35px;
}
.footer-brand{display:flex;align-items:center;gap:9px;color:#fff}
.footer-brand img{width:45px;height:45px;object-fit:contain}
.footer-brand strong{font-size:20px}
.footer-brand span{color:var(--orange)}
.footer-grid p{font-size:12px;line-height:1.7;color:#aebdca;margin-top:10px}
.footer-grid h4{color:#fff;font-size:14px;margin-bottom:12px}
.footer-grid>a{display:block;font-size:12px;margin:8px 0;color:#b8c7d4}
.footer-bottom{
  padding:17px 0;
  border-top:1px solid rgba(255,255,255,.09);
  text-align:center;
  font-size:11px;
  color:#8fa1b2;
}

/* ================= RTL ================= */
body.arabic{
  font-family:"Cairo",Arial,Tahoma,sans-serif;
  text-align:right;
}
body.arabic .top-bar-inner,
body.arabic .nav{direction:rtl}
body.arabic .logo,
body.arabic .logo-text{direction:ltr!important}
body.arabic .nav-links{
  direction:rtl;
  margin-left:0;
  margin-right:auto;
}
body.arabic .nav-links>a.active:after{left:0;right:0}
body.arabic .nav-dropdown-toggle{font-family:"Cairo",Arial,Tahoma,sans-serif}
body.arabic .nav-dropdown-menu{
  left:auto;
  right:50%;
  transform:translate(50%,8px);
  text-align:right;
}
body.arabic .nav-dropdown:hover .nav-dropdown-menu,
body.arabic .nav-dropdown:focus-within .nav-dropdown-menu{
  transform:translate(50%,0);
}
body.arabic .nav-dropdown-menu a,
body.arabic .businesses-menu-title{font-family:"Cairo",Arial,Tahoma,sans-serif}
body.arabic .language-switcher{order:3}
body.arabic .quote-btn{order:4}
body.arabic .hero-overlay{
  background:
    linear-gradient(270deg,rgba(7,31,56,.92) 0%,rgba(8,38,67,.78) 38%,rgba(8,38,67,.18) 72%,rgba(8,38,67,.05) 100%),
    linear-gradient(0deg,rgba(7,31,56,.48),transparent 48%);
}
body.arabic .hero-text{margin-left:auto;text-align:right}
body.arabic .hero-buttons{justify-content:flex-start;direction:rtl}
body.arabic .about-focus,
body.arabic .commodity-features,
body.arabic .features{direction:rtl}
body.arabic .products-content{padding-right:0;padding-left:15px}
body.arabic .service-card,
body.arabic .product-card,
body.arabic .feature,
body.arabic .contact-card{text-align:right}

/* ================= RESPONSIVE ================= */
@media(max-width:1250px){
  .nav{gap:14px}
  .nav-links{gap:14px;font-size:13px}
  .nav-links>a,.nav-dropdown-toggle{font-size:13px}
  .quote-btn{min-width:118px;padding:11px 12px;font-size:11px}
  .language-btn{padding:6px 7px}
  .services-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1000px){
  .nav-links{gap:11px}
  .about-grid,.products-layout,.commodity-grid,.contact-grid{grid-template-columns:1fr;gap:35px}
  .about-image{height:390px}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .features{grid-template-columns:repeat(2,1fr)}
  .projects-grid,.new-projects-grid,.team-gallery{grid-template-columns:repeat(2,1fr)}
  .product-cards{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
  .nav{min-height:72px}
  .logo img,.logo-image{width:50px!important;height:50px!important;flex-basis:50px!important}
  .logo-text strong{font-size:18px}
  .logo-text small{font-size:6px;letter-spacing:1.2px}
  .nav-links{gap:9px}
  .nav-links>a,.nav-dropdown-toggle{font-size:12px}
  .quote-btn{min-width:105px}
  .language-switcher{order:initial}
}
@media(max-width:700px){
  /* MOBILE NAVIGATION — clean layout */
  .top-bar-inner{justify-content:center}
  .contact-info span:nth-child(n+2),.social-links{display:none}
  .header{position:relative}
  .nav{
    flex-wrap:wrap;
    padding:10px 0 7px;
    min-height:auto;
    gap:10px;
  }
  .logo{margin-right:auto;min-width:0}
  body.arabic .logo{margin-left:auto;margin-right:0}
  .logo img,.logo-image{
    width:46px!important;height:46px!important;flex-basis:46px!important;
  }
  .logo-text strong{font-size:17px;letter-spacing:.4px}
  .logo-text small{font-size:5.5px;letter-spacing:1px}
  .language-switcher{flex:0 0 auto}
  .quote-btn{min-width:108px;padding:11px 12px;font-size:11px}

  /* Start navigation from the left so About Us is not clipped */
  .nav-links{
    order:5!important;
    width:100%;
    margin:0!important;
    justify-content:flex-start!important;
    gap:18px;
    overflow-x:auto;
    overflow-y:visible;
    padding:6px 4px 5px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .nav-links::-webkit-scrollbar{display:none}
  .nav-links>a,.nav-dropdown-toggle{
    flex:0 0 auto;
    font-size:12px;
    padding:8px 0;
  }
  .nav-dropdown-toggle{gap:4px}
  .nav-links>a.active:after{bottom:0}

  .nav-dropdown-menu{
    position:fixed;
    top:120px;
    left:10px;
    right:10px;
    width:auto;
    max-height:70vh;
    overflow-y:auto;
    transform:none;
  }
  .nav-dropdown:hover .nav-dropdown-menu{transform:none}
  body.arabic .nav-dropdown-menu{left:10px;right:10px;transform:none}
  body.arabic .nav-dropdown:hover .nav-dropdown-menu{transform:none}

  .hero{min-height:570px}
  .hero-content{padding:65px 0}
  .hero h1{font-size:43px}
  .hero-description{font-size:15px}
  .hero-buttons{flex-direction:column;align-items:flex-start}
  .services-section,.about-preview,.products-section,.projects-section,.commodity-section,.why-section,.team-section,.contact-section{padding:60px 0}
  .services-grid{grid-template-columns:1fr 1fr;gap:12px}
  .service-card{min-height:190px;padding:16px}
  .service-icon{width:48px;height:48px}
  .service-icon img{width:33px;height:33px}
  .service-card h3{font-size:15px}
  .service-card p{font-size:11px}
  .projects-grid,.new-projects-grid,.team-gallery,.product-cards{grid-template-columns:1fr}
  .features,.about-focus,.commodity-features{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .cta-box{flex-direction:column;align-items:flex-start;padding:25px}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:380px){
  .logo img,.logo-image{width:42px!important;height:42px!important;flex-basis:42px!important}
  .logo-text strong{font-size:15px}
  .logo-text small{font-size:5px;letter-spacing:.8px}
  .quote-btn{min-width:94px;padding:10px 9px}
  .language-btn{padding:6px 7px}
  .nav-links{gap:16px}
}

@media(max-width:460px){
  .language-switcher{display:flex}
  .language-btn{font-size:11px;padding:6px 8px}
  .quote-btn{min-width:100px;font-size:10px}
  .services-grid{grid-template-columns:1fr}
  .hero h1{font-size:38px}
}


/* =========================================================
   FINAL TARGETED FIXES — ONLY:
   1) Group Companies / Parent Company / Leadership
   2) Products cards
   3) Footer
   Everything else remains unchanged.
========================================================= */

/* ---------- 1. GROUP COMPANIES ---------- */
.group-brand-card,
.parent-company-card,
.leadership-card{
  width:100%;
  min-height:250px;
  border:1px solid #e1e7ed;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(11,39,69,.06);
}

/* Keep the three group cards together in a clean 3-column row.
   They are currently children of .about-content. */
.about-content > .group-brand-card,
.about-content > .parent-company-card,
.about-content > .leadership-card{
  grid-column:auto;
}

/* Make the containing about content capable of holding the three cards
   without changing the rest of the About section. */
.about-content{
  min-width:0;
}

/* Group company card */
.group-brand-card{
  display:grid;
  grid-template-columns:150px 1fr;
  align-items:center;
  gap:22px;
  padding:24px;
  margin-top:26px;
}
.group-brand-logo{
  width:150px;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:14px;
  background:#f7f9fb;
}
.group-brand-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.group-brand-content > span,
.parent-company-card > div > span,
.leadership-label{
  display:block;
  color:var(--orange);
  font-size:10px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:1.2px;
}
.group-brand-content h3,
.parent-company-card h3,
.leadership-card h3{
  color:var(--navy);
  font-size:20px;
  line-height:1.25;
  font-weight:800;
  margin:8px 0 12px;
}
.group-brand-companies{
  display:grid;
  gap:7px;
}
.group-brand-companies div{
  position:relative;
  padding-left:14px;
  color:#53677c;
  font-size:12px;
  line-height:1.45;
}
.group-brand-companies div:before{
  content:"›";
  position:absolute;
  left:0;
  top:0;
  color:var(--orange);
  font-weight:900;
}

/* Parent company */
.parent-company-card{
  display:flex;
  align-items:flex-start;
  gap:15px;
  padding:24px;
  margin-top:16px;
}
.parent-company-icon{
  flex:0 0 40px;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#fff6e7;
  color:var(--orange);
  font-size:20px;
}
.parent-company-card p{
  color:#66788a;
  font-size:13px;
  line-height:1.65;
  margin:0;
}

/* Leadership */
.leadership-card{
  padding:22px 24px;
  margin-top:16px;
}
.leadership-content{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:16px;
  align-items:start;
  padding-top:12px;
}
.leadership-mark{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef3f7;
  color:var(--navy);
  font-size:13px;
  font-weight:800;
}
.leadership-card h3{
  margin:0 0 5px;
  font-size:18px;
}
.leadership-role{
  color:#65788c;
  font-size:12px;
  margin:0 0 13px;
}
.leadership-bio{
  color:#66788a;
  font-size:12px;
  line-height:1.65;
  margin:0;
}

/* Put the three cards in one clean row on the wider desktop view.
   This is limited to the group/leadership area only. */
@media(min-width:1001px){
  .about-content > .group-brand-card{
    margin-top:28px;
  }
  .about-content > .parent-company-card,
  .about-content > .leadership-card{
    margin-top:14px;
  }
}

/* ---------- 2. PRODUCTS — CLEAN IMAGE + TEXT CARDS ---------- */
.products-section .section-heading{
  margin-bottom:32px;
}
.products-section .product-cards-vapu{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.products-section .product-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e1e7ed;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 22px rgba(11,39,69,.06);
}
.products-section .product-image{
  position:relative;
  height:190px !important;
  min-height:190px !important;
  overflow:hidden;
  background:#f3f6f8;
}
.products-section .product-image > img{
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
.products-section .vapu-badge{
  position:absolute;
  top:12px;
  right:12px;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:5px;
  border-radius:9px;
  background:rgba(255,255,255,.94);
  box-shadow:0 4px 12px rgba(0,0,0,.09);
}
.products-section .vapu-badge img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.products-section .product-content{
  padding:17px;
}
.products-section .product-category{
  margin:0 0 6px;
  color:var(--orange);
  font-size:9px;
  font-weight:800;
  letter-spacing:1.1px;
}
.products-section .product-content h3{
  margin:0 0 7px;
  color:var(--navy);
  font-size:16px;
  line-height:1.3;
  font-weight:800;
}
.products-section .product-content > p:not(.product-category){
  margin:0;
  color:#6c7d8f;
  font-size:11px !important;
  line-height:1.55;
}
.products-section .product-link{
  display:inline-block;
  margin-top:13px;
  color:var(--orange);
  font-size:10px;
  font-weight:800;
  letter-spacing:.2px;
}
.products-section .legacy-product-range{
  margin-top:30px;
  padding-top:24px;
  border-top:1px solid #e6ebef;
}
.products-section .legacy-range-items{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.products-section .legacy-range-items span{
  padding:7px 10px;
  border:1px solid #dfe6ec;
  border-radius:30px;
  color:#53677c;
  font-size:10px;
  font-weight:700;
}

/* ---------- 3. FOOTER — CLEAN BILINGUAL LAYOUT ---------- */
.footer{
  padding:0 !important;
  background:#071f38 !important;
  color:#d6e1eb;
}
.footer .footer-grid{
  display:grid;
  grid-template-columns:1.25fr .9fr 1fr;
  gap:55px;
  align-items:start;
  padding:48px 0 38px;
}
.footer .footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
}
.footer .footer-brand img{
  width:48px;
  height:48px;
  object-fit:contain;
}
.footer .footer-brand strong{
  font-size:20px;
  font-weight:800;
  letter-spacing:.2px;
}
.footer .footer-brand span{color:var(--orange)}
.footer .footer-grid > div > p{
  margin:11px 0 0;
  color:#aebdca;
  font-size:12px;
  line-height:1.7;
}
.footer .footer-grid h4{
  margin:0 0 14px;
  color:#fff;
  font-size:14px;
  font-weight:800;
}
.footer .footer-grid > div:nth-child(2) a{
  display:block;
  margin:8px 0;
  color:#b9c8d5;
  font-size:12px;
  line-height:1.4;
}
.footer .footer-grid > div:nth-child(2) a:hover{
  color:var(--orange);
}
.footer .footer-grid > div:nth-child(3) p{
  margin:8px 0 0;
  color:#b9c8d5;
  font-size:12px;
  line-height:1.45;
}
.footer-bottom{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 20px !important;
  border-top:1px solid rgba(255,255,255,.10) !important;
  background:#061a2f;
  color:#91a5b7;
  font-size:10px;
  line-height:1.5;
  text-align:center;
}

/* Footer Arabic: keep Arabic readable and separated */
body.arabic .footer .footer-grid{
  direction:rtl;
}
body.arabic .footer .footer-brand{
  direction:ltr;
  justify-content:flex-end;
}
body.arabic .footer .footer-grid > div{
  text-align:right;
}
body.arabic .footer .footer-grid > div:nth-child(2) a,
body.arabic .footer .footer-grid > div:nth-child(3) p{
  direction:rtl;
}
body.arabic .footer-bottom{
  direction:rtl;
}

/* Responsive only for these three areas */
@media(max-width:1100px){
  .products-section .product-cards-vapu{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .footer .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:30px;
  }
}
@media(max-width:700px){
  .group-brand-card{
    grid-template-columns:1fr;
    text-align:center;
  }
  .group-brand-logo{
    margin:auto;
  }
  .group-brand-companies div{
    text-align:left;
  }
  body.arabic .group-brand-companies div{
    text-align:right;
    padding-left:0;
    padding-right:14px;
  }
  body.arabic .group-brand-companies div:before{
    left:auto;
    right:0;
  }
  .products-section .product-cards-vapu{
    grid-template-columns:1fr;
  }
  .products-section .product-image{
    height:210px !important;
  }
  .footer .footer-grid{
    grid-template-columns:1fr;
    gap:24px;
    text-align:center;
  }
  body.arabic .footer .footer-grid > div{
    text-align:center;
  }
  body.arabic .footer .footer-brand{
    justify-content:center;
  }
}


/* =========================================================
   FINAL MOBILE NAVIGATION OVERRIDE
   Applies only below 700px. Desktop remains unchanged.
========================================================= */
@media (max-width:700px){

  .header{
    overflow:visible!important;
  }

  .nav{
    min-height:auto!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    padding:10px 0 8px!important;
    overflow:visible!important;
  }

  /* Top row: logo | language | quote */
  .logo{
    flex:1 1 auto!important;
    min-width:0!important;
    margin:0!important;
    gap:7px!important;
  }

  .logo img,
  .logo-image{
    width:44px!important;
    height:44px!important;
    max-width:44px!important;
    max-height:44px!important;
    flex:0 0 44px!important;
  }

  .logo-text strong{
    font-size:16px!important;
    letter-spacing:.35px!important;
  }

  .logo-text small{
    font-size:5.5px!important;
    letter-spacing:1px!important;
    margin-top:4px!important;
  }

  .language-switcher{
    order:initial!important;
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }

  .language-btn{
    font-size:11px!important;
    padding:6px 8px!important;
  }

  .quote-btn{
    order:initial!important;
    flex:0 0 auto!important;
    min-width:102px!important;
    padding:10px 9px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }

  /* Navigation links: two clean rows, no horizontal clipping */
  .nav-links{
    order:10!important;
    width:100%!important;
    margin:0!important;
    padding:7px 0 3px!important;
    display:grid!important;
    grid-template-columns:repeat(3,max-content)!important;
    justify-content:center!important;
    align-items:center!important;
    column-gap:17px!important;
    row-gap:1px!important;
    overflow:visible!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }

  .nav-links > a,
  .nav-links > .nav-dropdown{
    width:auto!important;
    min-width:0!important;
    flex:none!important;
    margin:0!important;
  }

  .nav-links > a,
  .nav-dropdown-toggle{
    font-size:11.5px!important;
    padding:7px 0!important;
  }

  .nav-dropdown{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .nav-dropdown-toggle{
    display:flex!important;
    align-items:center!important;
    gap:3px!important;
    white-space:nowrap!important;
  }

  .nav-links > a.active:after{
    bottom:0!important;
  }

  /* Dropdowns open below their button and stay inside the screen */
  .nav-dropdown-menu{
    position:absolute!important;
    top:100%!important;
    left:50%!important;
    right:auto!important;
    width:230px!important;
    max-width:calc(100vw - 24px)!important;
    max-height:60vh!important;
    overflow-y:auto!important;
    transform:translate(-50%,8px)!important;
    z-index:9999!important;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu{
    transform:translate(-50%,0)!important;
  }

  body.arabic .nav-dropdown-menu{
    left:50%!important;
    right:auto!important;
    transform:translate(-50%,8px)!important;
  }

  body.arabic .nav-dropdown:hover .nav-dropdown-menu,
  body.arabic .nav-dropdown:focus-within .nav-dropdown-menu{
    transform:translate(-50%,0)!important;
  }

  /* Projects belongs to Explore on the mobile version,
     so it does not compete with the main navigation. */
  .nav-links > a[href="#projects"]{
    display:none!important;
  }

  /* Reflow after hiding Projects: keep the remaining links centered */
  .nav-links{
    grid-template-columns:repeat(3,max-content)!important;
  }
}

@media (max-width:380px){
  .logo img,
  .logo-image{
    width:40px!important;
    height:40px!important;
    max-width:40px!important;
    max-height:40px!important;
    flex-basis:40px!important;
  }

  .logo-text strong{font-size:14.5px!important}
  .logo-text small{font-size:5px!important}

  .quote-btn{
    min-width:94px!important;
    padding:9px 7px!important;
    font-size:9.5px!important;
  }

  .language-btn{
    padding:5px 7px!important;
    font-size:10px!important;
  }

  .nav-links{
    column-gap:13px!important;
  }

  .nav-links > a,
  .nav-dropdown-toggle{
    font-size:10.5px!important;
  }
}
