@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;
}

@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;
  }
}

.service-form {
  background: #e2f6ff;
  padding: 60px 8%;
  border-radius: 20px;
  max-width: 800px;
  margin: 20px auto 0 auto;
  font-family: sans-serif;
  border: 1px solid #e1f5fe;
}

.service-form h2 {
  font-family: Zain, sans-serif;
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #1e3a5f;
}
.form-desc {
  font-family: Vazirmatn, sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: #1e3a5f;
  margin-bottom: 35px;
  text-align: center;
}

.service-form .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.service-form label {
  font-family: Vazirmatn, sans-serif;
  margin-bottom: 6px;
  font-size: 16px;
  color: #1e3a5f;
}

.service-form input,
.service-form select,
.service-form textarea {
  font-family: Vazirmatn, sans-serif;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #c7dff1;
  font-size: 16px;
  color: #1e3a5f;
  outline: none;
}

.service-form select {
  cursor: pointer;
  appearance: none;
  background: #fff;
}

.service-form textarea {
  min-height: 100px;
  resize: vertical;
}

.service-form .checkbox {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #4b5563;
}

.service-form button {
  font-family: Vazirmatn, sans-serif;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: #0288d1;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.service-form button:hover {
  background-color: #4fc3f7;
  color: #0277bd;
  outline: 1px solid #0277bd;
}

@media (max-width: 900px) {
  .service-form {
    padding: 40px 5%;
  }
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
}

.modal-box {
  background: #f6f9fc;
  padding: 30px;
  max-width: 300px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  font-family: Vazirmatn, sans-serif;
  animation: fadeInUp 0.3s ease forwards;
}

.modal-title {
  font-family: Zain, sans-serif;
  color: #1e3a5f;
  margin-bottom: 15px;
  font-size: 20px;
}

.modal-list {
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
  padding-left: 20px;
}

.modal-close-btn {
  margin-top: 15px;
  background: #0277bd;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: Vazirmatn, sans-serif;
  font-weight: 600;
  transition: 0.25s;
}

.modal-close-btn:hover {
  background: #4fc3f7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rules-text-btn {
  font-size: 13px;
  font-family: Vazirmatn, sans-serif;
  color: #0277bd;
  cursor: pointer;
  margin-right: 28px;
  margin-top: 4px;
  display: inline-block;
}

.rules-text-btn:hover {
  text-decoration: underline;
}

.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: Rubik;
  transition: 0.25s;
}

.footer-col a:hover {
  color: #1e3a5f;
}
.footer-col .footer-p {
  font-family: Rubik;
}
.footer-bottom {
  text-align: center;
  padding-top: 18px;
  font-family: Rubik;
  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;
  }
}

[class*="datepicker"],
[class*="pdp"],
[class*="calendar"],
[class*="persian"] {
  font-family: Rubik, sans-serif !important;
}
#start_date,
#end_date {
  font-family: Vazirmatn, sans-serif;
}
[class*="pdp-calendar"] {
  font-size: 15px !important;
  z-index: 9999 !important;
}

.pdp-days td {
  width: 50px !important;
  height: 50px !important;
  line-height: 50px !important;
  text-align: center;
  vertical-align: middle;
  font-size: 16px;
}

.pdp-weekdays span {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  vertical-align: middle;
  font-size: 16px;
}

.pdp-calendar .header {
  font-size: 18px;
  text-align: center;
}

.form-row {
  margin-bottom: 15px;
}
