:root {
  --brand-primary: #37474f;
  --brand-darker: #263238;
  --brand-accent: #f57c00;
  /* Vibrant Brand Orange */
  --brand-accent-hover: #e65100;
  --brand-accent-soft: rgba(245, 124, 0, 0.12);
  --bg-white: #ffffff;
  --bg-light-gray: #f5f6f7;
  --text-main: #263238;
  --text-heading: #37474f;
  --text-muted: #546e7a;
  --card-bg: #ffffff;
  --border-subtle: rgba(55, 71, 79, 0.12);
  --font-family:
    "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

html {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

/* Navbar Styling */
.navbar {
  background-color: var(--brand-primary);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  color: #ffffff !important;
}

.brand-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(
    135deg,
    var(--brand-accent) 0%,
    var(--brand-accent-hover) 100%
  );
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.28);
}

.nav-link {
  color: #eceff1 !important;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.nav-link:hover {
    color:#8c9aa0 !important;
}

.nav-link.active {
  color: var(--brand-accent) !important;
  background-color: rgba(255, 255, 255, 0.08);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px var(--brand-accent);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light-gray) 100%);
  min-height: calc(100vh - 78px);
  padding: 70px 0 90px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-badge {
  padding: 6px 16px;
  background-color: var(--brand-accent-soft);
  border: 1px solid rgba(245, 124, 0, 0.25);
  color: var(--brand-accent);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.35;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.btn-brand {
  background-color: var(--brand-accent);
  color: #ffffff;
  font-size: 1.15rem;
  padding: 14px 34px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.28);
}

.btn-brand:hover {
  background-color: var(--brand-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(245, 124, 0, 0.38);
}

.btn-brand:active {
  transform: translateY(0);
}


.hero-visual-wrapper::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  bottom: -15px;
  left: -15px;
  background: radial-gradient(
    circle,
    rgba(245, 124, 0, 0.16) 0%,
    rgba(55, 71, 79, 0) 70%
  );
  border-radius: 20px;
  z-index: 0;
  filter: blur(10px);
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border: 1px solid rgba(55, 71, 79, 0.12);
  box-shadow: 0 20px 40px rgba(38, 50, 56, 0.14);
}

.services-section {
  background-color: var(--bg-light-gray);
  padding: 100px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-size: 2.3rem;
  color: var(--brand-primary);
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--brand-accent);
  border-radius: 2px;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-subtle);
  padding: 40px 30px;
  height: 100%;
  box-shadow: 0 6px 18px rgba(38, 50, 56, 0.05);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 124, 0, 0.45);
  box-shadow: 0 16px 32px rgba(38, 50, 56, 0.12);
}

.service-icon-box {
  width: 68px;
  height: 68px;
  background-color: var(--brand-accent-soft);
  border: 1px solid rgba(245, 124, 0, 0.22);
  font-size: 1.85rem;
  color: var(--brand-accent);
  margin-bottom: 26px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.service-card:hover .service-icon-box {
  background-color: var(--brand-accent);
  color: #ffffff;
}

.service-card-title {
  font-size: 1.45rem;
  color: var(--brand-primary);
  margin-bottom: 14px;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-section {
  background-color: var(--bg-white);
  padding: 100px 0 110px;
  position: relative;
}

.contact-card-container {
  background-color: var(--brand-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(38, 50, 56, 0.18);
}

.contact-info-panel {
  padding-left: 24px;
}

.info-item {
  margin-bottom: 28px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--brand-accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-text-label {
  font-size: 0.95rem;
  color: #b0bec5;
  margin-bottom: 4px;
}

.info-text-value {
  font-size: 1.25rem;
  color: #ffffff;
  direction: ltr;
  display: inline-block;
  text-align: right;
  transition: color 0.2s ease;
}

.info-text-value:hover {
  color: var(--brand-accent);
}

.info-text-address {
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.5;
}

/* Form Elements */
.form-label {
  color: #eceff1;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-control,
.form-select {
  background-color: #263238;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.form-control::placeholder {
  color: #90a4ae;
}

.form-control:focus,
.form-select:focus {
  background-color: #263238;
  color: #ffffff;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.25);
}

.form-select option {
  background-color: #263238;
  color: #ffffff;
}

textarea.form-control {
  resize: none;
}

.btn-submit {
  width: 100%;
  background-color: var(--brand-accent);
  color: #ffffff;
  font-size: 1.15rem;
  padding: 14px;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.28);
}

.btn-submit:hover {
  background-color: var(--brand-accent-hover);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(245, 124, 0, 0.38);
}

.contact-footer-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #90a4ae;
  font-size: 0.95rem;
}

/* Responsiveness adjustments */
@media (max-width: 991px) {
  .hero-section {
    padding: 50px 0 70px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual-wrapper {
    margin-top: 40px;
  }

  .hero-img {
    height: 340px;
  }

  .contact-card-container {
    padding: 32px 24px;
  }

  .contact-info-panel {
    padding-left: 0;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 28px;
  }
}

@media (max-width: 576px) {
  .hero-img {
    height: 270px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .contact-card-container {
    padding: 24px 16px;
  }
}
