:root {
  --primary: #07523f;
  --primary-2: #0d6b54;
  --primary-3: #0f8065;
  --gold: #d7a33a;
  --gold-2: #f1cf77;
  --dark: #071b17;
  --muted: #6a746f;
  --light: #f7f4ec;
  --white: #ffffff;
  --border: rgba(7, 82, 63, 0.12);
  --shadow: 0 20px 60px rgba(7, 27, 23, 0.12);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at top right, rgba(215, 163, 58, 0.12), transparent 35%),
    linear-gradient(180deg, #fff 0%, #fbf8f1 100%);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--gold);
  color: var(--dark);
}

/* Loader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fbf8f1;
  transition: 0.45s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  width: min(320px, 85vw);
  padding: 28px;
  text-align: center;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(215, 163, 58, 0.18);
}

.loader-card img {
  height: 92px;
  object-fit: contain;
  margin-bottom: 12px;
}

.loader-card span {
  display: block;
  color: var(--primary);
  font-weight: 800;
}

/* Topbar */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  padding: 10px 0;
}

.topbar-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.topbar-info i {
  color: var(--gold-2);
  margin-left: 6px;
}

.topbar a {
  color: #fff;
  font-weight: 700;
}

/* Navbar */
.main-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 82, 63, 0.08);
  transition: 0.25s ease;
}

.main-navbar.scrolled {
  box-shadow: 0 15px 30px rgba(7, 27, 23, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-logo {
  width: 72px;
  height: 60px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 3px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name strong {
  color: var(--primary);
  font-weight: 900;
  font-size: 19px;
}

.brand-name span {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.nav-link {
  color: var(--dark);
  font-weight: 800;
  font-size: 15px;
  margin: 0 3px;
  border-radius: 999px;
  padding: 10px 14px !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(7, 82, 63, 0.07);
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: linear-gradient(135deg, var(--primary), var(--primary-3));
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-3));
  border-radius: 999px;
  font-weight: 900;
  padding: 12px 24px;
  box-shadow: 0 14px 30px rgba(7, 82, 63, 0.22);
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(7, 82, 63, 0.28);
}

.btn-outline-light {
  border-radius: 999px;
  font-weight: 900;
  padding: 12px 24px;
  border-color: rgba(255,255,255,0.7);
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 82, 63, 0.97), rgba(5, 34, 29, 0.98)),
    url("../images/logo.png") center/600px no-repeat;
  color: #fff;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(241, 207, 119, 0.28), transparent 23%),
    radial-gradient(circle at 85% 25%, rgba(255,255,255,0.08), transparent 30%),
    linear-gradient(45deg, transparent 0 48%, rgba(255,255,255,0.035) 49% 51%, transparent 52% 100%);
}

.min-vh-hero {
  min-height: 760px;
  padding: 95px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--gold-2);
  font-weight: 900;
  margin-bottom: 22px;
}

.hero-content h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-content h1 span {
  display: block;
  color: var(--gold-2);
}

.hero-content .lead {
  color: rgba(255,255,255,0.82);
  font-size: 20px;
  line-height: 2;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points div {
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 15px;
  border-radius: 16px;
  font-weight: 800;
}

.hero-points i {
  color: var(--gold-2);
  margin-left: 6px;
}

.hero-card {
  background: rgba(255,255,255,0.92);
  color: var(--dark);
  border-radius: 38px;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
  border: 1px solid rgba(241, 207, 119, 0.25);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 48px;
  background: linear-gradient(135deg, rgba(215, 163, 58, 0.5), transparent 55%);
}

.logo-showcase {
  background:
    radial-gradient(circle at center, #fff, #f9f3e6);
  border-radius: 28px;
  min-height: 285px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 163, 58, 0.2);
  overflow: hidden;
}

.logo-showcase img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  padding: 18px;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.quick-stats div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.quick-stats strong {
  color: var(--gold);
  font-size: 28px;
  display: block;
  line-height: 1;
}

.quick-stats span {
  display: block;
  color: var(--primary);
  font-weight: 800;
  margin-top: 8px;
}

.hero-note {
  margin-top: 16px;
  background: rgba(7,82,63,0.08);
  border: 1px solid rgba(7,82,63,0.1);
  color: var(--primary);
  border-radius: 18px;
  padding: 15px;
  font-weight: 800;
  line-height: 1.8;
}

.hero-note i {
  color: var(--gold);
  margin-left: 6px;
}

/* Sections */
.section {
  padding: 95px 0;
}

.section-title {
  margin-bottom: 46px;
}

.section-title span {
  display: inline-block;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
}

.section-title h2 {
  color: var(--primary);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-title p {
  color: var(--muted);
  line-height: 2;
  font-size: 17px;
  margin-bottom: 0;
}

/* About */
.about-section {
  background: #fff;
}

.about-list {
  display: grid;
  gap: 18px;
}

.about-item {
  display: flex;
  gap: 16px;
  background: linear-gradient(135deg, #fff, #fbf8f1);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 35px rgba(7, 27, 23, 0.05);
}

.about-item i {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  background: rgba(7,82,63,0.09);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 25px;
}

.about-item h5 {
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 6px;
}

.about-item p {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.9;
}

.about-visual {
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 45%, rgba(215,163,58,0.18), transparent 30%),
    linear-gradient(135deg, rgba(7,82,63,0.08), rgba(215,163,58,0.08));
  border-radius: 38px;
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
}

.visual-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.main-card {
  width: 65%;
  min-height: 240px;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.main-card i {
  font-size: 62px;
  color: var(--gold);
}

.main-card h4 {
  color: var(--primary);
  font-weight: 900;
  margin: 16px 0 8px;
}

.main-card p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 0;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 900;
  padding: 14px 18px;
}

.floating-card i {
  color: var(--gold);
  font-size: 24px;
}

.floating-card.one {
  top: 70px;
  right: 40px;
}

.floating-card.two {
  bottom: 80px;
  right: 34px;
}

.floating-card.three {
  top: 110px;
  left: 36px;
}

/* Services */
.services-section {
  background: var(--light);
}

.service-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(215,163,58,0.10);
  top: -75px;
  left: -75px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card.featured {
  border-color: rgba(215,163,58,0.34);
  background: linear-gradient(180deg, #fff, #fff8e7);
}

.service-card .icon {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-3));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 22px;
}

.service-card h4 {
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  line-height: 2;
  margin-bottom: 20px;
}

.service-card a {
  color: var(--primary);
  font-weight: 900;
}

/* Timeline */
.installment-section {
  background: #fff;
}

.installment-highlight {
  background: linear-gradient(135deg, rgba(7,82,63,0.08), rgba(215,163,58,0.13));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
}

.installment-highlight strong {
  color: var(--primary);
  font-weight: 900;
  display: block;
  margin-bottom: 6px;
}

.installment-highlight p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 35px rgba(7, 27, 23, 0.05);
}

.timeline-item span {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--dark);
  font-size: 24px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.timeline-item h4 {
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 0;
}

/* Employee */
.employee-section {
  background:
    linear-gradient(135deg, rgba(7,82,63,0.96), rgba(5,34,29,0.97)),
    radial-gradient(circle at 10% 20%, rgba(215,163,58,0.3), transparent 30%);
  color: #fff;
}

.employee-box {
  padding: 20px 0;
}

.employee-box > span {
  color: var(--gold-2);
  font-weight: 900;
}

.employee-box h2 {
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
  margin: 12px 0 16px;
}

.employee-box p {
  color: rgba(255,255,255,0.8);
  line-height: 2;
  font-size: 17px;
}

.mini-feature {
  min-height: 140px;
  border-radius: 22px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 18px;
}

.mini-feature i {
  color: var(--gold-2);
  font-size: 28px;
}

.mini-feature strong,
.mini-feature small {
  display: block;
}

.mini-feature strong {
  margin: 10px 0 6px;
  font-weight: 900;
}

.mini-feature small {
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

.request-card,
.contact-form {
  background: #fff;
  color: var(--dark);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.22);
}

.request-card h3,
.contact-form h3 {
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 8px;
}

.request-card p {
  color: var(--muted);
  line-height: 1.9;
}

.form-label {
  color: var(--primary);
  font-weight: 900;
}

.form-control,
.form-select {
  min-height: 54px;
  border-radius: 16px;
  border-color: rgba(7,82,63,0.16);
  font-weight: 700;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(215,163,58,0.16);
}

.form-note {
  display: block;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.8;
}

/* Why */
.why-section {
  background: #fff;
}

.why-card {
  height: 100%;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fbf8f1);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 30px 18px;
  transition: 0.25s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.why-card i {
  width: 76px;
  height: 76px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: rgba(7,82,63,0.08);
  color: var(--primary);
  font-size: 34px;
}

.why-card h5 {
  color: var(--primary);
  font-weight: 900;
}

.why-card p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

/* FAQ */
.faq-section {
  background: var(--light);
}

.custom-accordion .accordion-item {
  border: 0;
  background: transparent;
  margin-bottom: 14px;
}

.custom-accordion .accordion-button {
  border-radius: 20px !important;
  background: #fff;
  color: var(--primary);
  font-weight: 900;
  padding: 20px 22px;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary), var(--primary-3));
  color: #fff;
}

.custom-accordion .accordion-body {
  background: #fff;
  color: var(--muted);
  line-height: 2;
  border-radius: 0 0 20px 20px;
  padding: 22px;
}

/* CTA */
.cta-section {
  background: #fff;
  padding: 30px 0 95px;
}

.cta-box {
  background:
    radial-gradient(circle at 12% 20%, rgba(241,207,119,0.32), transparent 25%),
    linear-gradient(135deg, var(--primary), var(--dark));
  border-radius: 34px;
  padding: 42px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow);
}

.cta-box span {
  color: var(--gold-2);
  font-weight: 900;
}

.cta-box h2 {
  font-weight: 900;
  margin: 8px 0;
}

.cta-box p {
  color: rgba(255,255,255,0.78);
  margin: 0;
}

/* Contact */
.contact-section {
  background: var(--light);
}

.contact-info {
  background: #fff;
  border-radius: 32px;
  padding: 32px;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 12px 35px rgba(7, 27, 23, 0.05);
}

.contact-info img {
  max-height: 135px;
  object-fit: contain;
  margin-bottom: 20px;
}

.contact-info h2 {
  color: var(--primary);
  font-weight: 900;
}

.contact-info p {
  color: var(--muted);
  line-height: 2;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(7,82,63,0.08);
}

.contact-line i {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  background: rgba(7,82,63,0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.contact-line strong,
.contact-line span {
  display: block;
}

.contact-line strong {
  color: var(--primary);
  font-weight: 900;
}

.contact-line span {
  color: var(--muted);
}

/* Footer */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 42px 0 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 90px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  padding: 5px;
}

.footer-brand h5 {
  font-weight: 900;
  margin: 0 0 6px;
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.76);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--gold-2);
}

.social {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.social a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,0.10);
}

.social a:hover {
  background: var(--gold);
  color: var(--dark);
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* Scroll top */
.scroll-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: var(--gold);
  color: var(--dark);
  display: grid;
  place-items: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  box-shadow: var(--shadow);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar-brand {
    min-width: auto;
  }

  .brand-logo {
    width: 64px;
    height: 52px;
  }

  .navbar-collapse {
    background: #fff;
    margin-top: 14px;
    padding: 16px;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(7, 27, 23, 0.08);
  }

  .min-vh-hero {
    min-height: auto;
    padding: 70px 0;
  }

  .hero-content .lead {
    font-size: 17px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-visual {
    min-height: 440px;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 70px 0;
  }

  .brand-name span {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .request-card,
  .contact-form,
  .contact-info,
  .cta-box {
    border-radius: 24px;
    padding: 24px;
  }

  .main-card {
    width: 82%;
  }

  .floating-card {
    display: none;
  }

  .timeline-item {
    flex-direction: column;
  }

  .copyright {
    flex-direction: column;
  }
}
