:root {
  --primary: #0d5d8e;
  --primary-dark: #0a4467;
  --accent: #d9a63d;
  --accent-soft: #f3e5bf;
  --green: #37a953;
  --bg: #f7f9fc;
  --bg-soft: #eef4f8;
  --text: #173042;
  --muted: #607385;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(17, 55, 86, 0.12);
  --shadow-soft: 0 18px 35px rgba(12, 46, 72, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(55, 169, 83, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(217, 166, 61, 0.1), transparent 30%),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.45) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.16;
  z-index: -2;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-light {
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(238,244,248,0.92));
}

.section-gradient {
  background:
    linear-gradient(145deg, var(--primary-dark), var(--primary) 58%, #1784a3 100%);
  color: var(--white);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 249, 252, 0.86);
  border-bottom: 1px solid rgba(13, 93, 142, 0.08);
}

.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(246, 242, 229, 0.98));
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  padding: 8px;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.brand-text small {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--primary-dark);
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover {
  background: rgba(13, 93, 142, 0.08);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding-top: 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.2;
  color: var(--primary-dark);
}

.hero-copy p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 2;
  color: var(--muted);
  max-width: 680px;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(217, 166, 61, 0.12);
  color: #9b6a0b;
  font-weight: 800;
}

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

.hero-points span {
  background: var(--white);
  border: 1px solid rgba(13, 93, 142, 0.08);
  box-shadow: var(--shadow-soft);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-actions,
.address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 18px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #1787a8);
  box-shadow: 0 18px 30px rgba(13, 93, 142, 0.24);
}

.btn-secondary {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 93, 142, 0.12);
  box-shadow: var(--shadow-soft);
}

.quick-cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quick-card {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 93, 142, 0.08);
}

.quick-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.quick-card span,
.quick-card a {
  color: var(--muted);
  line-height: 1.9;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.hero-side-stack {
  display: grid;
  gap: 18px;
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-main-image {
  min-height: 620px;
}

.hero-main-image img,
.small-card img,
.product-media img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.small-card {
  min-height: 300px;
}

.floating-card {
  position: relative;
}

.floating-card::after {
  content: "";
  position: absolute;
  inset: auto -22px -22px auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(55, 169, 83, 0.18), transparent 70%);
  z-index: 0;
}

.floating-badge {
  position: absolute;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 93, 142, 0.08);
}

.badge-right {
  top: 24px;
  right: -20px;
}

.badge-left {
  bottom: 30px;
  left: -26px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  margin: 16px 0 14px;
  line-height: 1.25;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
  font-size: 1.05rem;
}

.light-text p,
.light-text h2,
.light-text .eyebrow {
  color: var(--white);
}

.light-text .eyebrow {
  background: rgba(255, 255, 255, 0.12);
}

.features-grid,
.products-grid {
  display: grid;
  gap: 22px;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.products-row .product-card {
  height: 100%;
}

.feature-card,
.product-card,
.contact-panel,
.address-box,
.contact-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 93, 142, 0.08);
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(13, 93, 142, 0.12), rgba(55, 169, 83, 0.16));
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
}

.feature-card h3,
.product-copy h3,
.address-box h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.feature-card p,
.product-copy p,
.address-box p,
.footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.product-card {
  overflow: hidden;
}

.product-media {
  height: 220px;
}

.product-copy {
  padding: 18px;
}

.products-row .product-copy h3 {
  font-size: 1.02rem;
}

.products-row .product-copy p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 26px;
  min-height: 260px;
  box-shadow: 0 20px 45px rgba(6, 31, 53, 0.25);
}

.gallery-item.large {
  grid-column: span 2;
  min-height: 380px;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img,
.product-card:hover img,
.hero-card:hover img {
  transform: scale(1.04);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.contact-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  color: var(--muted);
  font-weight: 700;
}

.contact-card strong {
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.address-box {
  padding: 26px;
}

.contact-panel {
  padding: 30px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 700;
  color: var(--primary-dark);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(13, 93, 142, 0.12);
  background: #f9fbfd;
  border-radius: 16px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(13, 93, 142, 0.45);
  box-shadow: 0 0 0 4px rgba(13, 93, 142, 0.08);
}

.form-message {
  padding: 15px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.form-message.success {
  background: rgba(55, 169, 83, 0.12);
  color: #1f7d37;
}

.form-message.error {
  background: rgba(220, 53, 69, 0.12);
  color: #b32533;
}

.full-width {
  width: 100%;
}

.map-section {
  padding: 0 0 96px;
}

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  min-height: 440px;
}

.map-wrap iframe {
  width: 100%;
  min-height: 440px;
}

.footer {
  background: #082739;
  color: var(--white);
  padding: 34px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  color: rgba(255,255,255,0.84);
  font-weight: 700;
  text-align: left;
}

.align-right {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-main-image {
    min-height: 460px;
  }

  .small-card {
    min-height: 220px;
  }

  .hero-visual {
    max-width: 860px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item.large {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-wrap {
    min-height: 84px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 8px;
    background: rgba(255,255,255,0.98);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 14px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .hero-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .badge-right,
  .badge-left {
    position: static;
    margin-top: 12px;
    display: inline-flex;
  }

  .quick-cards,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copy {
    text-align: right;
  }
}

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

  .brand {
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 70px);
  }

  .brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text small {
    font-size: 0.7rem;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-copy p,
  .section-heading p,
  .feature-card p,
  .product-copy p,
  .address-box p {
    font-size: 0.98rem;
  }

  .hero-main-image {
    min-height: 350px;
  }

  .hero-side-stack {
    grid-template-columns: 1fr 1fr;
  }

  .small-card {
    min-height: 180px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
    min-height: 300px;
  }

  .gallery-item {
    min-height: 240px;
  }

  .contact-panel,
  .feature-card,
  .product-copy,
  .address-box {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .address-actions {
    flex-direction: column;
  }
}
