@font-face {
  font-family: "Rubik";
  src:
    url("/fonts/Rubik-Regular.woff2") format("woff2"),
    url("/fonts/Rubik-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src:
    url("/fonts/Rubik-Light.woff2") format("woff2"),
    url("/fonts/Rubik-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src:
    url("/fonts/Vazirmatn-Regular.woff2") format("woff2"),
    url("/fonts/Vazirmatn-Regular.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zain";
  src:
    url("/fonts/Zain-Regular.woff2") format("woff2"),
    url("/fonts/Zain-Regular.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

body {
  padding: 0px;
  margin: 0px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.header {
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background-color: #87ceeb;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  color: white;
}
.brand-name {
  color: white;
  font-family: Vazirmatn, sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.banner {
  font-family: Vazirmatn, sans-serif;
  font-size: 12px;
  color: #ffffff;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 190px;
}
nav a {
  color: white;
  font-family: Vazirmatn, sans-serif;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}
nav a:hover {
  transition: 0.3s ease;
  color: #1e3a5f;
}


.phone {
  z-index: 1000;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.phone:hover {
  transition: 0.3s ease;
  color: #1e3a5f;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle svg {
  width: 24px;
  height: 24px;
}

main .hero {
  background: url("../assets/images/gallery40.jpg") center
    center/cover no-repeat;
  height: calc(100vh - 100px);
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.hero .hero-content {
  z-index: 2;
  text-align: center;
  max-width: 750px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .hero-text {
  font-family: Zain, sans-serif;
  font-size: 50px;
  font-weight: 700;
  margin: 0;
  /* color: #a7dfff; */
  color: #a7dfff;
}

.hero .hero-desc {
  font-family: Zain, sans-serif;
  font-size: 22px;
  /* color: #e6f6ff; */
  color: #ffffff;
  margin-top: 15px;
  font-weight: 500;
}

.hero .short-text {
  margin-top: 30px;
  margin-bottom: 50px;
  font-family: Zain, sans-serif;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}

.hero .cta-button {
  text-decoration: none;
  margin-top: 35px;
  padding: 16px 35px;
  background-color: #0277bd;
  border: none;
  border-radius: 12px;
  font-family: Vazirmatn, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
}

.hero .cta-button:hover {
  background-color: #4fc3f7;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.55);
}

@media (max-width: 600px) {
  .hero .hero-text {
    font-size: 36px;
  }

  .hero .hero-desc {
    font-size: 18px;
  }
}

.intro-strip {
  background: linear-gradient(
    180deg,
    rgba(230, 246, 255, 0.06),
    rgba(230, 246, 255, 0.02)
  );
  padding: 40px 20px;
  text-align: right;
  color: #e6f6ff;
}

.intro-strip .container {
  max-width: 1100px;
  margin: 0 auto;
}

.intro-strip h2 {
  margin: 0 0 10px 0;
  font-family: Zain, sans-serif;
  color: #21b9ff;
  font-size: 28px;
  font-weight: 700;
}

.intro-strip p {
  margin: 0;
  color: #6dd1ff;
  font-size: 16px;
  line-height: 1.6;
  font-family: Zain, sans-serif;
}

.services {
  padding: 80px 20px;
  background-color: #f6f9fc;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services h2 {
  font-family: Zain, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.services-desc {
  font-family: Vazirmatn, sans-serif;
  font-size: 18px;
  color: #555;
  max-width: 700px;
  text-align: center;
  margin-bottom: 50px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  width: 100%;
  max-width: 1000px;
}

.service-card {
  cursor: pointer;
  background: #e3f2fd;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s;
  border: 1px solid #bbdefb;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 25px rgba(79, 195, 247, 0.15);
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: Zain, sans-serif;
  font-size: 26px;
  margin-bottom: 10px;
  color: #1e3a5f;
}

.service-card p {
  font-family: Vazirmatn, sans-serif;
  font-size: 16px;
  color: #666;
}

.how-it-works {
  background: linear-gradient(
    180deg,
    rgba(31, 120, 193, 0.02),
    rgba(31, 120, 193, 0)
  );
  padding: 40px 20px;
  text-align: right;
  color: #1e3a5f;
}

.how-it-works h2 {
  max-width: 1100px;
  margin: 0 auto 20px auto;
  font-family: Zain, sans-serif;
  font-size: 24px;
  color: #1e3a5f;
}

.how-it-works .steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  direction: rtl;
  flex-wrap: wrap;
  font-family: Vazirmatn, sans-serif;
}
.how-it-works .order-form-link {
  color: #0277bd;
  text-decoration: none;
  cursor: pointer;
}
.how-it-works .order-form-link:hover {
  text-decoration: underline;
}

.how-it-works .step {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 30%;
  min-width: 220px;
  box-shadow: 0 6px 18px rgba(31, 120, 193, 0.06);
  text-align: right;
}

.how-it-works .step span {
  font-family: Vazirmatn, sans-serif;
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #1e3a5f;
  color: #fff;
  font-weight: 700;
  margin-left: 10px;
}

.how-it-works .step h4 {
  display: inline-block;
  margin: 0 0 8px 0;
  font-family: Vazirmatn, sans-serif;
  color: #1e3a5f;
  font-size: 16px;
}

.how-it-works .step p {
  font-family: Vazirmatn, sans-serif;
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.mid-cta {
  max-width: 1100px;
  margin: 36px auto;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(79, 195, 247, 0.06),
    rgba(31, 120, 193, 0.02)
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: rtl;
}

.mid-cta .cta-text {
  font-family: Zain, sans-serif;
  color: #1e3a5f;
  font-size: 18px;
  font-weight: 700;
}

.mid-cta .cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mid-cta .cta-button {
  padding: 12px 22px;
  border-radius: 10px;
  background: #1e3a5f;
  color: #fff;
  text-decoration: none;
  font-family: Vazirmatn, sans-serif;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.mid-cta .cta-button.secondary {
  background: transparent;
  color: #1e3a5f;
  border: 1px solid rgba(31, 120, 193, 0.08);
}

@media (max-width: 900px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .hero-text {
    font-size: 42px;
  }

  .hero .short-text {
    margin-top: 30px;
    font-size: 16px;
  }

  .mid-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .how-it-works .steps {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .services {
    grid-template-columns: 1fr;
  }

  .hero {
    height: calc(100vh - 70px);
    padding: 20px;
  }

  .hero .hero-text {
    font-size: 34px;
  }

  header {
    padding: 12px;
    height: auto;
    gap: 8px;
  }

  header nav {
    display: none;
  }
}

.footer {
  background: #87ceeb;
  color: #fff;
  padding: 40px 20px 10px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #1565c0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-col h3,
.footer-col h4 {
  font-family: Zain;
  margin-bottom: 15px;
}

.footer-col a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin: 7px 0;
  font-family: Vazirmatn, sans-serif;
  transition: 0.25s;
}

.footer-col a:hover {
  color: #1e3a5f;
}
.footer-col .footer-p {
  font-family: Vazirmatn, sans-serif;
}
.footer-bottom {
  text-align: center;
  padding-top: 18px;
  font-family: Vazirmatn, sans-serif;
  color: #ffff;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 15px 10px;
  }

  .footer-top {
    gap: 20px;
  }

  .footer-col h3,
  .footer-col h4 {
    font-size: 18px;
  }

  .footer-col a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-col h3,
  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-col a {
    margin: 5px 0;
  }

  .footer-bottom {
    font-size: 13px;
    padding-top: 14px;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    right: 0;
    left: 0;
    top: 72px;
    background: #87ceeb;
    flex-direction: column;
    padding: 12px 20px;
    margin-left: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
    z-index: 90;
  }

  nav.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
    padding: 14px 0;
  }

  nav a:last-child {
    border-bottom: none;
  }

  .phone {
    display: none;
  }
  .phone:hover {
    transition: 0.3s;
    color: #1e3a5f;
  }
  .menu-toggle {
    display: block;
    color: white;
  }

  .menu-toggle:hover {
    opacity: 0.7;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 425px) {
  nav {
    position: fixed;
    right: 0;
    left: 0;
    top: 72px;
    background: #87ceeb;
    flex-direction: column;
    padding: 12px 20px;
    margin-left: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
    z-index: 90;
  }

  nav.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
    padding: 14px 0;
  }

  nav a:last-child {
    border-bottom: none;
  }
  .banner {
    font-size: 9.7px;
  }

  .phone {
    display: none;
  }
  .phone:hover {
    transition: 0.3s;
    color: #1e3a5f;
  }
  .menu-toggle {
    display: block;
    color: white;
  }

  .menu-toggle:hover {
    opacity: 0.7;
  }

  body.menu-open {
    overflow: hidden;
  }
  .hero .hero-desc {
    text-align: center;
  }
  .intro-strip h2 {
    font-size: 27px;
  }
}
