*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #2E8B57;
  --green-dark: #1F6B40;
  --green-light: #E6F4ED;
  --black: #1A1A1A;
  --gray: #4A4A4A;
  --gray-light: #F8F8F8;
  --white: #FFFFFF;
  --border: #E8E8E8;
  --dark-red: #960018;
  --red: #FE0000;

}

html { scroll-behavior: smooth; }

body {
  caret-color: transparent;
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

.arabic { font-family: 'Noto Kufi Arabic', sans-serif; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img { height: 48px; width: auto; }

.nav-name { display: flex; flex-direction: column; line-height: 1.2; }

.nav-name .arabic-name {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

.nav-name .english-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--green-dark) !important; color: var(--white) !important; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #0A2D18 60%, #103A22 100%);
  color: var(--white);
  padding: 100px 2rem 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88vh;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,139,87,0.18) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,139,87,0.10) 0%, transparent 70%);
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,139,87,0.2);
  border: 1px solid rgba(46,139,87,0.4);
  color: #7ECDA0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero h1 span { color: var(--dark-red); }

.hero-sub {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  direction: rtl;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: var(--dark-red);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }

.hero-logo-wrap { display: flex; justify-content: center; align-items: center; }

.hero-logo-bg {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(199, 255, 218, 0.623);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-bg img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgb(255, 255, 255));
}

/* STATS */
.stats { background: var(--green); padding: 3rem 2rem; }

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.2);
}

.stat-item { background: var(--green); padding: 2rem 1.5rem; text-align: center; }

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label { font-size: 13px; color: rgba(255,255,255,0.75); font-weight: 400; }

/* SECTIONS */
section { padding: 80px 2rem; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0; /* change this from 0.12em to 0 */
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc { font-size: 1rem; color: var(--gray); max-width: 560px; line-height: 1.7; }

/* SERVICES */
.services { background: var(--gray-light); }

.services-header { text-align: center; margin-bottom: 3.5rem; }
.services-header .section-desc { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s;
}

.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 0.5rem; color: var(--black); }
.service-card p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual { position: relative; }

.about-logo-wrap {
  background: var(--green-light);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-wrap img { width: 200px; height: auto; }

.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--green);
  color: var(--white);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(46,139,87,0.3);
}

.about-badge .num { font-size: 2rem; font-weight: 700; line-height: 1; }
.about-badge .lbl { font-size: 11px; opacity: 0.85; }

.about-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--gray);
}

.about-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 7px;
  flex-shrink: 0;
}

/* TEAM */
.team { background: var(--gray-light); }

.team-header { text-align: center; margin-bottom: 3rem; }
.team-header .section-desc { margin: 0 auto; }

.team-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-slider-outer {
  overflow-x: scroll;
  overflow-y: hidden;
  width: 0;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.team-slider-outer::-webkit-scrollbar {
  display: none;
}


.team-slider-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}


.team-slider-track .team-card {
  flex-shrink: 0;
}

.slider-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--black);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.slider-arrow:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s;
}

.team-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  border: 3px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
}

.team-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--black); }
.team-card .specialty { font-size: 13px; color: var(--green); font-weight: 500; margin-bottom: 8px; }
.team-card .desc { font-size: 12.5px; color: var(--gray); }
.team-card .schedule {
  font-size: 12px;
  color: var(--gray);
  background: var(--green-light);
  border-radius: 8px;
  padding: 6px 10px;
  line-height: 1.6;
}

/* FOOTER */
footer {
  background: #111;
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand img { height: 44px; filter: brightness(0) invert(1); }

.footer-brand-text .ar { font-family: 'Noto Kufi Arabic', sans-serif; font-size: 13px; color: var(--white); font-weight: 600; }
.footer-brand-text .en { font-size: 12px; color: var(--green); font-weight: 600; letter-spacing: 0.05em; }

.footer-desc { font-size: 13px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom span { color: var(--green); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-logo-wrap { order: -1; }
  .hero-logo-bg { width: 200px; height: 200px; }
  .hero-logo-bg img { width: 140px; }
  .hero-actions { justify-content: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  .team-slider-wrapper { gap: 0.5rem; }
  .team-slider-outer { overflow-x: scroll; width: 0; flex: 1; }
  .slider-arrow { width: 36px; height: 36px; font-size: 1.2rem; flex-shrink: 0; }
}

/* === Enhanced Responsive Overrides === */
html,body{overflow-x:hidden;width:100%}
img{max-width:100%;height:auto}
@media (max-width:1024px){
.hero-inner,.about-grid,.footer-top{gap:2rem}
}
@media (max-width:768px){
nav{height:auto;padding:12px 18px;flex-direction:column;gap:12px}
.nav-logo{justify-content:center}
.nav-name{text-align:center}
.hero{min-height:auto;padding:40px 20px 60px}
.hero-inner{grid-template-columns:1fr;text-align:center;gap:2rem}
.hero-logo-wrap{order:-1}
.hero-logo-bg{width:200px;height:200px}
.hero-logo-bg img{width:140px}
.hero-actions{justify-content:center}
section{padding:60px 20px}
.services-grid{grid-template-columns:1fr}
.stats-inner{grid-template-columns:1fr 1fr}
.about-grid{grid-template-columns:1fr}
.about-badge{position:static;margin-top:20px}
.team-slider-outer{width:0;flex:1}
.slider-arrow{width:42px;height:42px}
.footer-top{grid-template-columns:1fr;text-align:center}
.footer-brand{justify-content:center}
.footer-bottom{flex-direction:column;gap:10px;text-align:center}
.section-desc,.hero-desc,.about-list{font-size:15px;max-width:100%}
}
@media (max-width:500px){
.stats-inner{grid-template-columns:1fr}
.hero h1{font-size:2rem}
}