* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  color: #032e3f;
  background: #f5f8fa;
  line-height: 1.9;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(248, 181, 23, 0.14),
      transparent 34%
    ),
    radial-gradient(circle at 88% 10%, rgba(3, 46, 63, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fa 54%, #e9f0f3 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(3, 46, 63, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 46, 63, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

figure {
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(3, 46, 63, 0.09);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(3, 46, 63, 0.14));
}

.brand span {
  display: grid;
}

.brand strong {
  color: #032e3f;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.4;
}

.brand small {
  color: rgba(3, 46, 63, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(3, 46, 63, 0.1);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
}

.main-nav a {
  color: #032e3f;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  transition: 0.22s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(248, 181, 23, 0.22);
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #032e3f;
  background: #f8b517;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(248, 181, 23, 0.26);
}

/* Hero */

.about-hero {
  padding: 84px 0 58px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(248, 181, 23, 0.18),
      transparent 28%
    ),
    linear-gradient(135deg, #032e3f 0%, #062637 58%, #02141f 100%);
  border-bottom-left-radius: 46px;
  border-bottom-right-radius: 46px;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(
    120deg,
    transparent 0 34%,
    rgba(255, 255, 255, 0.28) 34% 35%,
    transparent 35% 100%
  );
  background-size: 180px 180px;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.about-hero span {
  display: inline-flex;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 7px 15px;
  border-radius: 999px;
  color: #032e3f;
  background: #f8b517;
  font-size: 13px;
  font-weight: 950;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.35;
  letter-spacing: -1.5px;
  font-weight: 950;
}

.about-hero p {
  max-width: 680px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 2.1;
}

/* Main Image */

.about-image-section {
  padding: 72px 0 96px;
}

.about-main-image {
  width: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #ffffff;
  border: 1px solid rgba(3, 46, 63, 0.09);
  box-shadow: 0 30px 80px rgba(3, 46, 63, 0.14);
}

.about-main-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Footer */

.site-footer {
  color: #ffffff;
  background: #032e3f;
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 32px;
}

.footer-inner img {
  width: 84px;
  margin-bottom: 12px;
}

.footer-inner h3,
.footer-inner h4 {
  margin: 0 0 12px;
  color: #f8b517;
}

.footer-inner p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 2;
}

.footer-inner a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner a:hover {
  color: #f8b517;
}

/* Responsive */

@media (max-width: 920px) {
  .header-inner {
    min-height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    border-radius: 22px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .login-btn {
    display: none;
  }

  .about-hero {
    padding: 70px 0 50px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand small {
    display: none;
  }

  .about-hero h1 {
    font-size: 32px;
  }

  .about-hero p {
    font-size: 15px;
  }

  .about-image-section {
    padding: 48px 0 72px;
  }

  .about-main-image {
    border-radius: 26px;
  }
}
