/* ===== Variables (from logo palette) ===== */
:root {
  --green: #2E9E3F;
  --green-dark: #1e7a2e;
  --green-light: #e8f5ea;
  --blue: #00A8E8;
  --blue-dark: #0088bb;
  --blue-light: #e0f4fc;
  --orange: #F7941D;
  --orange-dark: #d97d0a;
  --orange-light: #fff3e0;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
}

.logo-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
}

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  border-radius: 8px;
  padding: 10px 20px !important;
}

.nav-cta:hover {
  background: var(--green-dark);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,158,63,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-full { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 40%, #0f3460 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(46,158,63,0.25) 0%, transparent 70%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0,168,232,0.2) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 120px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(247,148,29,0.2);
  border: 1px solid rgba(247,148,29,0.4);
  color: var(--orange);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-title span { display: block; }

.highlight-green { color: var(--green); }
.highlight-blue { color: var(--blue); }

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: 80px; }

/* ===== Sections ===== */
.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.light .section-title,
.section-header.light .section-subtitle { color: var(--white); }

.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header.light .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--gray-light);
  padding: 32px;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}

.badge-icon { font-size: 1.3rem; }

.about-content p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-content strong { color: var(--dark); }

.about-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.about-features li:hover { transform: translateX(-4px); }

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.feature-icon.orange { background: var(--orange-light); }
.feature-icon.green { background: var(--green-light); }
.feature-icon.blue { background: var(--blue-light); }

.about-features strong {
  display: block;
  color: var(--dark);
  font-size: 1rem;
}

.about-features span {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ===== Vision / Mission / Goals ===== */
.vision-section {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,158,63,0.15) 0%, transparent 70%);
}

.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vmg-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
  backdrop-filter: blur(8px);
}

.vmg-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
}

.vmg-card.featured {
  background: rgba(247,148,29,0.15);
  border-color: rgba(247,148,29,0.3);
}

.vmg-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.vmg-icon svg { width: 28px; height: 28px; }

.vmg-icon.green { background: rgba(46,158,63,0.2); color: var(--green); }
.vmg-icon.orange { background: rgba(247,148,29,0.2); color: var(--orange); }
.vmg-icon.blue { background: rgba(0,168,232,0.2); color: var(--blue); }

.vmg-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.vmg-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== Services ===== */
.services { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:nth-child(1) { border-top-color: var(--green); }
.service-card:nth-child(2) { border-top-color: var(--orange); }
.service-card:nth-child(3) { border-top-color: var(--blue); }
.service-card:nth-child(4) { border-top-color: var(--green); }

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.info-card:hover { transform: translateX(-4px); }

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg { width: 22px; height: 22px; }

.info-icon.orange { background: var(--orange-light); color: var(--orange); }
.info-icon.green { background: var(--green-light); color: var(--green); }
.info-icon.blue { background: var(--blue-light); color: var(--blue); }

.info-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 4px;
}

.info-card a,
.info-card p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.info-card a:hover { color: var(--green); }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  display: block;
  width: 100%;
}

.map-link {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition);
}

.map-link:hover { background: var(--green-dark); }

/* ===== Contact Form ===== */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group label span { color: var(--orange); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,158,63,0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.error-msg {
  display: block;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 4px;
  min-height: 0;
}

.form-success,
.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.form-success {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid rgba(46,158,63,0.3);
}

.form-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.3);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand img {
  height: 56px;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--green); }

.footer-contact a,
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}

.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .vmg-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link { width: 100%; text-align: center; padding: 12px; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-badge {
    right: 10px;
    bottom: -16px;
    font-size: 0.8rem;
  }

  .hero-stats { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .logo-text { display: none; }
}
