@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&display=swap');

.header {

    position: relative;

    min-height: 60vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 5px 10px;

    overflow: hidden;

    background:
    linear-gradient(
        135deg,
        #041f35,
        #0d5b84,
        #0aa67a
    );
}

.header::before {

    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,0.12),
        transparent 70%
    );

    top: -300px;
    right: -200px;
}

.header-overlay {

    position: absolute;
    inset: 0;

    background:
    linear-gradient(
        rgba(255,255,255,0.02),
        rgba(255,255,255,0.01)
    );

    backdrop-filter: blur(2px);
}

.header-content {

    position: relative;
    z-index: 2;

    max-width: 850px;
}

.top-badge {

    display: inline-block;

    padding: 10px 22px;

    border-radius: 40px;

    margin-bottom: 25px;

    background:
    rgba(255,255,255,0.12);

    border:
    1px solid rgba(255,255,255,0.18);

    color: white;

    font-size: 14px;

    backdrop-filter: blur(10px);
}

.header h1 {

    font-size: 64px;

    color: white;

    margin-bottom: 20px;

    font-weight: 800;

    line-height: 1.4;
}

.header h1 span {

    display: block;

    font-size: 24px;

    color: #d6efff;

    margin-top: 10px;

    font-weight: 400;
}

.header p {

    color: rgba(255,255,255,0.9);

    font-size: 18px;

    line-height: 2.2;

    margin-bottom: 40px;
}

:root{
  --text: #1b2433;
  --muted: #5f6b80;
  --line: rgba(255,255,255,0.14);

  --shadow: 0 16px 40px rgba(27, 36, 51, 0.12);
  --shadow-hover: 0 22px 56px rgba(27, 36, 51, 0.18);

  --warm-1: #ffd8b5;
  --warm-2: #ffb36b;
  --warm-3: #ff8f5a;

  --cool-1: #cfe8ff;
  --cool-2: #8bc8ff;
  --cool-3: #5f96ff;

  --mint-1: #d8fff0;
  --mint-2: #8cf0cf;
  --mint-3: #2fd3a3;

  --lav-1: #eadcff;
  --lav-2: #b99bff;
  --lav-3: #8b6cff;

  --rose-1: #ffdbe7;
  --rose-2: #ff9ebc;
  --rose-3: #ff6f9f;

  --sky-1: #dff7ff;
  --sky-2: #7ad7ef;
  --sky-3: #3eaae0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 179, 107, 0.25), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(95, 150, 255, 0.22), transparent 22%),
    radial-gradient(circle at 18% 88%, rgba(47, 211, 163, 0.20), transparent 24%),
    radial-gradient(circle at 84% 82%, rgba(255, 111, 159, 0.18), transparent 22%),
    linear-gradient(180deg, #f4f7fc 0%, #eef3fb 48%, #f7f1ea 100%);
}

.franour-section {
  padding: 80px 20px 100px;
}

.franour-container {
  max-width: 1180px;
  margin: 0 auto;
}

/* Intro */
.franour-intro {
  text-align: center;
  padding: 38px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.48), rgba(255,255,255,0.22));
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  margin-bottom: 34px;
}

.franour-badge {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 179, 107, 0.28), rgba(95, 150, 255, 0.22));
  color: #24314a;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.franour-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.franour-title span {
  background: linear-gradient(90deg, #ff8f5a, #5f96ff, #2fd3a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.franour-desc {
  margin: 0 auto 14px;
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--muted);
}

.franour-note {
  margin: 0 auto;
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 2;
  color: #35435d;
  font-weight: 500;
}

/* Services */
.services-block {
  margin-top: 18px;
}

.services-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 800;
  color: #1f5eff;
  letter-spacing: 0.08em;
}

.services-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.45;
  color: var(--text);
  font-weight: 800;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: stretch;
}

.service-card {
  width: 100%;
  position: relative;
  border-radius: 26px;
  padding: 28px 22px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  opacity: 0.95;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  opacity: 0;
  transition: opacity 0.32s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card h3 {
  position: relative;
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.85;
  font-weight: 700;
  color: var(--text);
}
.service-card h4 {
  position: relative;
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 500;
  color: var(--lav-3)
}

.service-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
  font-size: 0.96rem;
}

/* Card themes */
.card-1 {
  background: linear-gradient(180deg, rgba(255,232,210,0.88), rgba(255,255,255,0.34));
}
.card-1::before {
  background: linear-gradient(90deg, var(--warm-2), var(--warm-3));
}

.card-2 {
  background: linear-gradient(180deg, rgba(229,241,255,0.9), rgba(255,255,255,0.34));
}
.card-2::before {
  background: linear-gradient(90deg, var(--cool-2), var(--cool-3));
}

.card-3 {
  background: linear-gradient(180deg, rgba(224,255,246,0.9), rgba(255,255,255,0.34));
}
.card-3::before {
  background: linear-gradient(90deg, var(--mint-2), var(--mint-3));
}

.card-4 {
  background: linear-gradient(180deg, rgba(243,234,255,0.9), rgba(255,255,255,0.34));
}
.card-4::before {
  background: linear-gradient(90deg, var(--lav-2), var(--lav-3));
}

.card-5 {
  background: linear-gradient(180deg, rgba(255,232,241,0.9), rgba(255,255,255,0.34));
}
.card-5::before {
  background: linear-gradient(90deg, var(--rose-2), var(--rose-3));
}

.card-6 {
  background: linear-gradient(180deg, rgba(224,247,255,0.9), rgba(255,255,255,0.34));
}
.card-6::before {
  background: linear-gradient(90deg, var(--sky-2), var(--sky-3));
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .franour-section {
    padding: 56px 16px 76px;
  }

  .franour-intro {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 22px 18px 20px;
    border-radius: 22px;
  }

  .services-header h2 {
    font-size: 1.45rem;
  }

  .franour-desc,
  .franour-note {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .franour-title {
    font-size: 1.85rem;
  }

  .franour-intro {
    padding: 24px 16px;
  }

  .service-card h3 {
    font-size: 1.02rem;
  }

  .service-card p {
    font-size: 0.94rem;
  }
}

.footer {

    background:
    linear-gradient(
        135deg,
        #04152d,
        #07285d,
        #031430
    );

    color: rgba(255,255,255,0.9);

    padding: 70px 20px;

    display: flex;

    justify-content: space-around;

    flex-wrap: wrap;

    gap: 40px;
}

.footer-section {

    max-width: 450px;
}

.footer h3 {

    font-size: 28px;

    margin-bottom: 20px;
}

.footer p {

    line-height: 2.2;

    font-size: 15px;
}



/* ===== FORM ===== */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-top: 20px;
}

.contact-form input {

    padding: 15px;

    border-radius: 14px;

    border: none;

    outline: none;

    font-family: inherit;

    font-size: 14px;
}

.contact-form button {

    padding: 16px;

    border: none;

    border-radius: 14px;

    font-family: inherit;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    color: white;

    background:
    linear-gradient(
        135deg,
        #00c6ff,
        #0072ff
    );

    transition: 0.35s;
}

.contact-form button:hover {

    transform: translateY(-3px);
}

.location {

    margin-top: 20px;

    opacity: 0.85;
}
