/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a3a6b;
  --primary-dark: #0f2547;
  --primary-light: #2a5a9e;
  --accent: #e8a020;
  --accent-hover: #d4910f;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 52px;
  height: 52px;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-icon.small {
  width: 44px;
  height: 44px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav a:hover {
  color: var(--primary);
  background: rgba(26, 58, 107, 0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero / Slider ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 37, 71, 0.88) 0%,
    rgba(26, 58, 107, 0.75) 50%,
    rgba(15, 37, 71, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(232, 160, 32, 0.2);
  color: var(--accent);
  border: 1px solid rgba(232, 160, 32, 0.4);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 160, 32, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-full {
  width: 100%;
}

.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.light h2,
.section-header.light .section-label {
  color: #fff;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 2px;
}

.section-desc {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ===== About ===== */
.about {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-content p strong {
  color: var(--primary);
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature h4 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2px;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 700;
}

/* ===== Vision Section ===== */
.vision-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 160, 32, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.card.featured {
  background: rgba(232, 160, 32, 0.15);
  border-color: rgba(232, 160, 32, 0.3);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--accent);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== Contact Info ===== */
.contact-info-section {
  padding: 60px 0;
  background: var(--bg);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(26, 58, 107, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.info-icon svg {
  width: 28px;
  height: 28px;
}

.info-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.info-card p {
  color: var(--text-light);
  font-size: 1rem;
}

.info-card a {
  color: var(--primary-light);
  font-weight: 700;
}

.info-card a:hover {
  color: var(--accent);
}

/* ===== Contact Form ===== */
.contact-section {
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}

.form-success.show {
  display: block;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-side-card {
  background: var(--primary);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
}

.contact-side-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--accent);
}

.contact-side-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-side-card li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.side-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-side-card strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-side-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
}

.contact-side-card a {
  color: var(--accent);
}

.contact-side-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-side-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-name {
  color: #fff;
}

.footer-brand .logo-tagline {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand .logo-icon {
  color: var(--accent);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .about-image img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .slider-controls {
    bottom: 24px;
  }
}
