:root {
  --header-bg: #bebfc5;
  --header-bg-scrolled: #b6b7bd;
  --text: #111;
  --muted: #555;
  --primary: #4169e1;
  --card-bg: #ffffff;
  --soft-bg: #f7f8fb;
  --border: #e3e6ee;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Shabnam', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

@font-face {
  font-family: 'Shabnam';
  src:
    url('fonts/Shabnam.woff2') format('woff2'),
    url('fonts/Shabnam.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Shabnam';
  src:
    url('fonts/Shabnam-Bold.woff2') format('woff2'),
    url('fonts/Shabnam-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: background-color 0.25s ease, padding 0.25s ease;
}

.main-header.is-scrolled {
  background: var(--header-bg-scrolled);
}

.nav-container {
  width: min(100% - 24px, var(--container));
  margin-inline: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.logo-img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.main-nav a {
  font-weight: 700;
  color: #000;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #49494b;
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.hero-intro {
  padding: 48px 0 20px;
  background: linear-gradient(180deg, #fff 0%, var(--soft-bg) 100%);
}

.hero-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.hero-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.scroll-section {
  position: relative;
  min-height: 180vh;
}

.sticky-container {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111;
}

.image-wrapper {
  position: relative;
  width: min(100% - 24px, 1200px);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.bg-img,
.overlay-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-img {
  opacity: 0;
  transition: opacity 0.12s linear;
}

.content-box {
  position: absolute;
  inset-inline: clamp(16px, 4vw, 48px);
  top: clamp(16px, 4vw, 48px) ;
  max-width: 36rem;
  z-index: 10;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.content-box h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.content-box p {
  margin: 0;
  font-size: 1rem;
}

.gallery-section {
  padding: 48px 0;
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.info-card__body {
  padding: 18px;
  line-height: 2.5;
}

.info-card__body h3 {
  margin: 0 0 8px;
}

.info-card__body p {
  margin: 0;
  color: var(--muted);
  text-align: justify;
}

.centainer {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start; 
  gap: 30px; 
}

.right-box {
  flex: 0 0 auto;
}

.left-box {
  flex: 1;
  text-align: justify;
}
.info-card__logo {
  max-width: 500px;
  height: auto;
  display: block;
}

.contact-box {
  margin-bottom: 48px;
  padding: 24px;
  background: #add6ff;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
}

.contact-box h2 {
  margin-top: 0;
}

footer {
    background-color: #f8f9fa;
    padding: 40px 0 20px;
    direction: rtl;
}

.footer-container.container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.links h4, .details h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    margin-top: 2px;
    color: #333;
}

.links ul {
    list-style: none;
    padding: 0;
}

.links ul li {
    margin-bottom: 10px;
}

.links ul li a {
    text-decoration: none;
    color: #555;
    transition: 0.3s;
}

.links ul li a:hover {
    color: #007bff;
}

.details {
    flex: 2;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.details p {
    margin: 10px 0;
    color: #444;
    line-height: 1.8;
}

.trust-icons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.trust-icons h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    margin-top: 2px;
    white-space: nowrap;
}

.icons-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.trust-icons img {
    width: auto;
    height: 75px;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.trust-icons img:hover {
    transform: translateY(-5px);
}

hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
}

.social-links a {
    display: inline-block;
    padding: 8px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px);
    background-color: #f0f0f0;
    border-color: #bbb;
}

.footer_P {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    margin-top: 0px;
    margin-bottom: 20px;
    opacity: 0.8;
    width: 100%;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 375px) {
  .nav-container {
    justify-content: center;
  }

  .main-nav {
    justify-content: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .image-wrapper {
    aspect-ratio: 4 / 5;
  }

  .content-box {
    max-width: none;
    inset-inline: 16px;
    bottom: 16px;
    padding-top: 270px;
  }
}

@media (min-width: 376px) and (max-width: 711px) {
  .nav-container {
    justify-content: center;
  }

  .main-nav {
    justify-content: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .image-wrapper {
    aspect-ratio: 4 / 5;
  }

  .content-box {
    max-width: none;
    inset-inline: 16px;
    bottom: 16px;
    padding-top: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .main-nav a {
    padding: 7px 10px;
    font-size: 0.95rem;
  }

  .hero-intro {
    padding-top: 28px;
  }

  .contact-box {
    padding: 18px;
  }
}
@media (max-width: 768px) {
  .centainer {
    flex-direction: column;
    text-align: center;
  }

  .left-box {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .info-card__logo {
    max-width: 300px; 
  }
}