html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Vazirmatn", sans-serif, "inter", sans-serif;
  overflow-x: hidden;
}
body {
  background-color: #f8fafc;
  color: #0b3c5d;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  min-height: 100vh;
  direction: rtl;
}

img {
  max-width: 100%;
  height: auto;
}

.header {
  background-color: rgba(11, 60, 93, 0.96);
  color: #ffffff;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
}

.header img {
  max-height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 40%;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.header img:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

.navbar ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar a {
  color: #f4b400;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.navbar a:hover,
.navbar a:focus-visible {
  color: #f8f2e0;
  transform: translateY(-1px);
}

.navbar a.active {
  color: #ffca3a;
}

#toggle-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  border: none;
  border-radius: 999px;
  color: #0b3c5d;
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 1.6rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

/* Language toggle button */
#lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #ffca3a;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  min-width: 54px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  font-family: inherit;
  letter-spacing: 0.04em;
}

#lang-toggle:hover,
#lang-toggle:focus-visible {
  background: rgba(255, 202, 58, 0.2);
  color: #ffca3a;
  transform: translateY(-1px);
}

#toggle-theme:hover,
#toggle-theme:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Hamburger (Mobile Menu) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 200ms ease;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #ffca3a;
  transition:
    transform 260ms ease,
    opacity 260ms ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Backdrop overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 36, 55, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
  z-index: 19;
}

.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* ===== Header Responsive ===== */
@media (max-width: 992px) {
  .header {
    height: 80px;
    padding: 12px 20px;
    gap: 16px;
  }

  .header img {
    max-height: 64px;
  }

  .hamburger {
    display: inline-flex;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(300px, 82vw);
    background: linear-gradient(165deg, #062437 0%, #0b3c5d 100%);
    padding: 90px 28px 32px;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.3, 1);
    z-index: 30;
    overflow-y: auto;
  }

  .navbar.open {
    transform: translateX(0);
  }

  .navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .navbar li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar a {
    display: block;
    padding: 14px 12px;
    font-size: 1.05rem;
    border-radius: 10px;
  }

  .navbar a:hover,
  .navbar a.active {
    background: rgba(255, 202, 58, 0.12);
    color: #ffca3a;
  }

  #toggle-theme {
    margin-right: auto;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .header img {
    max-height: 54px;
  }

  #toggle-theme {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: linear-gradient(135deg, #f0f4f8 0%, #005b96 100%);
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ---- Glassy Background Image (Left Side) ---- */
.hero-image {
  position: relative;
  flex: 1 1 45%;
  max-width: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.06);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
}

/* Glass morphism overlay on top of the image */
.hero-glass {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);

  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

/* ---- Hero Content (Right Side) ---- */
.hero-content {
  flex: 1 1 50%;
  text-align: right;
  direction: rtl;
}

.hero-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0b3c5d;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.hero-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0b3c5d;
  margin: 0 0 20px 0;
  letter-spacing: 0.03em;
}

.hero-content p {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.8;
  margin: 0 0 32px 0;
  max-width: 520px;
}

/* ---- Hero Buttons ---- */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  color: #0b3c5d;
  box-shadow: 0 10px 20px rgba(244, 180, 0, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(244, 180, 0, 0.45);
}

.btn-hero-secondary {
  background: transparent;
  color: #0b3c5d;
  border: 2px solid #0b3c5d;
}

.btn-hero-secondary:hover {
  background: #0b3c5d;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---- Hero Stats (Numbers Strip) ---- */
.hero-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  width: 100%;
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.stat-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 150px;
  padding: 12px 20px;
  text-align: center;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 56px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
}

.stat-icon {
  font-size: 2rem;
  filter: drop-shadow(0 6px 12px rgba(244, 180, 0, 0.35));
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-number::after {
  content: "+";
  font-size: 1.6rem;
  margin-right: 2px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #0b3c5d;
}

/* ---- Responsive ---- */
@media (max-width: 850px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 100%;
    width: 100%;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content h3 {
    font-size: 1.1rem;
  }

  .hero-stats {
    gap: 20px;
    padding: 20px;
  }

  .stat-item {
    min-width: 120px;
    padding: 8px 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item + .stat-item::before {
    display: none;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}

/* ===== About Section ===== */
.about {
  padding: 90px 32px;
  background: linear-gradient(160deg, #ffffff 0%, #eef4fb 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.14), transparent 70%);
  top: -120px;
  left: -120px;
  pointer-events: none;
}

.about::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 60, 93, 0.12), transparent 70%);
  bottom: -140px;
  right: -100px;
  pointer-events: none;
}

.about-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ---- About Image (Left Side) ---- */
.about-image {
  position: relative;
  flex: 1 1 45%;
  max-width: 480px;
}

.about-decoration {
  position: absolute;
  border-radius: 24px;
  z-index: 0;
}

.about-decoration-1 {
  width: 100%;
  height: 100%;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, #ffca3a, #ff7b00);
  opacity: 0.35;
}

.about-decoration-2 {
  width: 180px;
  height: 180px;
  bottom: -32px;
  left: -32px;
  background: linear-gradient(135deg, #0b3c5d, #005b96);
  opacity: 0.15;
  border-radius: 50%;
}

.about-img-frame {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #ffca3a, #0b3c5d, #ff7b00) border-box;
  box-shadow:
    0 24px 48px rgba(11, 60, 93, 0.18),
    0 8px 16px rgba(0, 0, 0, 0.08);
}

.about-img-frame img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.02) 40%,
    rgba(11, 60, 93, 0.08)
  );

  pointer-events: none;
}

.about-badge {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.about-badge-icon {
  font-size: 1.5rem;
}

.about-badge-text {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0b3c5d;
}

/* ---- About Content (Right Side) ---- */
.about-content {
  flex: 1 1 55%;
  text-align: right;
  direction: rtl;
}

.about-subtitle {
  display: inline-block;
  color: #f4b400;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Vazirmatn", sans-serif;
  letter-spacing: 0.06em;
  margin: 0 0 12px 0;
  padding: 6px 16px;
  background: rgba(244, 180, 0, 0.12);
  border-radius: 999px;
}

.about-content h2 {
  font-size: 2.3rem;
  font-weight: 900;
  color: #0b3c5d;
  margin: 0 0 18px 0;
  line-height: 1.4;
}

.about-content > p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.9;
  margin: 0 0 32px 0;
  max-width: 560px;
}

/* ---- Feature Items ---- */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 60, 93, 0.08);
  border-radius: 16px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  max-width: 560px;
}

.feature-item:hover {
  transform: translateX(-6px);
  border-color: rgba(244, 180, 0, 0.5);
  box-shadow: 0 16px 32px rgba(11, 60, 93, 0.1);
}

.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  box-shadow: 0 8px 18px rgba(244, 180, 0, 0.4);
}

.feature-item:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #0b3c5d 0%, #005b96 100%);
  box-shadow: 0 8px 18px rgba(11, 60, 93, 0.4);
}

.feature-item:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.4);
}

.feature-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b3c5d;
  margin: 0 0 4px 0;
}

.feature-item p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ---- Shiny About Button ---- */
.about-btn,
.about-btn {
  position: relative;
  overflow: hidden;
  padding: 0.95rem 2.6rem;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  color: #0b3c5d;
  cursor: pointer;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  box-shadow: 0 14px 28px rgba(244, 180, 0, 0.4);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  text-decoration: none;
}

.about-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 3s ease-in-out infinite;
}

.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(244, 180, 0, 0.5);
}

@keyframes shine {
  0%,
  60% {
    left: -80%;
  }
  100% {
    left: 130%;
  }
}

/* ---- About Responsive ---- */
@media (max-width: 850px) {
  .about {
    padding: 60px 20px;
  }

  .about-container {
    flex-direction: column;
    gap: 56px;
  }

  .about-image {
    max-width: 100%;
    width: 100%;
  }

  .about-img-frame img {
    height: 320px;
  }

  .about-content {
    text-align: center;
  }

  .about-content > p {
    max-width: 100%;
  }

  .feature-item {
    max-width: 100%;
    text-align: right;
  }

  .feature-item:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 600px) {
  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-decoration-2 {
    width: 120px;
    height: 120px;
    bottom: -20px;
    left: -20px;
  }

  .about-badge {
    bottom: 14px;
    right: 14px;
    padding: 10px 14px;
  }
}

/* ===== Service Section ===== */
.service {
  padding: 90px 32px;
  background: linear-gradient(165deg, #0b3c5d 0%, #005b96 55%, #0b3c5d 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.18), transparent 65%);
  top: -160px;
  right: -120px;
  pointer-events: none;
}

.service::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08),
    transparent 65%
  );
  bottom: -140px;
  left: -100px;
  pointer-events: none;
}

/* ---- Service Header ---- */
.service-header {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.service-subtitle {
  display: inline-block;
  color: #ffca3a;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 14px 0;
  padding: 7px 18px;
  background: rgba(255, 202, 58, 0.14);
  border: 1px solid rgba(255, 202, 58, 0.35);
  border-radius: 999px;
}

.service-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.service-header p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  margin: 0;
}

/* ---- Service Cards Grid ---- */
.container-service {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 56px;
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  overflow: hidden;
  text-align: right;
  direction: rtl;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 202, 58, 0.55);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35);
}

/* ---- Service Card Image ---- */
.service-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.12);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 60, 93, 0.12),
    rgba(11, 60, 93, 0.55)
  );
  opacity: 0.85;
  transition: opacity 260ms ease;
}

.service-card:hover .service-img-overlay {
  opacity: 0.5;
}

.service-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 1.4rem;
  font-weight: 900;
  color: #0b3c5d;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(244, 180, 0, 0.4);
}

/* ---- Service Card Body ---- */
.service-body {
  padding: 24px 24px 28px;
}

.service-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  position: relative;
  padding-bottom: 12px;
}

.service-body h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
}

.service-body p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  margin: 0;
}

/* ---- Service Footer Button ---- */
.service-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.service-btn {
  position: relative;
  overflow: hidden;
  padding: 1rem 3.2rem;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0b3c5d;
  cursor: pointer;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  box-shadow: 0 14px 32px rgba(244, 180, 0, 0.4);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  text-decoration: none;
}

.service-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 3s ease-in-out infinite;
}

.service-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(244, 180, 0, 0.55);
}

/* ---- Service Responsive ---- */
@media (max-width: 900px) {
  .container-service {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .service-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .service {
    padding: 60px 20px;
  }

  .container-service {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-header h2 {
    font-size: 1.7rem;
  }

  .service-img-wrap {
    height: 190px;
  }
}

/* ===== Project Section ===== */
.project {
  padding: 90px 32px;
  background: linear-gradient(160deg, #ffffff 0%, #eef4fb 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.project::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 60, 93, 0.1), transparent 65%);
  top: -180px;
  left: -140px;
  pointer-events: none;
}

.project::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.12), transparent 65%);
  bottom: -160px;
  right: -120px;
  pointer-events: none;
}

/* ---- Project Header ---- */
.project-header {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.project-subtitle {
  display: inline-block;
  color: #f4b400;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 14px 0;
  padding: 7px 18px;
  background: rgba(244, 180, 0, 0.12);
  border: 1px solid rgba(244, 180, 0, 0.35);
  border-radius: 999px;
}

.project-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #0b3c5d;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.project-header p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.9;
  margin: 0;
}

/* ---- Project Cards Grid ---- */
.container-project {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 56px;
}

.project-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  text-align: right;
  direction: rtl;
  border: 1px solid rgba(11, 60, 93, 0.08);
  box-shadow: 0 18px 40px rgba(11, 60, 93, 0.08);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: rgba(244, 180, 0, 0.5);
  box-shadow: 0 32px 64px rgba(11, 60, 93, 0.16);
}

/* ---- Project Card Image ---- */
.project-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.project-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.15);
}

/* Hover overlay revealing "view project" link */
.project-img-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    160deg,
    rgba(11, 60, 93, 0.92),
    rgba(0, 91, 150, 0.85)
  );
  opacity: 0;
  transition: opacity 320ms ease;
}

.project-card:hover .project-img-overlay {
  opacity: 1;
}

.project-view-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  color: #0b3c5d;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(244, 180, 0, 0.45);
  transform: translateY(24px) scale(0.9);
  opacity: 0;
  transition:
    transform 320ms ease 80ms,
    opacity 320ms ease 80ms;
}

.project-card:hover .project-view-link {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.project-view-link:hover {
  transform: translateY(-2px) scale(1.03);
}

/* Category badge on the image */
.project-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  padding: 7px 16px;
  background: rgba(11, 60, 93, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: background 260ms ease;
}

.project-card:hover .project-badge {
  background: rgba(11, 60, 93, 0.92);
}

/* ---- Project Card Body ---- */
.project-body {
  padding: 24px 24px 28px;
  position: relative;
}

.project-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0b3c5d;
  margin: 0 0 12px 0;
  position: relative;
  padding-bottom: 12px;
  transition: color 260ms ease;
}

.project-body h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  transition: width 320ms ease;
}

.project-card:hover .project-body h3::after {
  width: 70px;
}

.project-body p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.85;
  margin: 0;
}

/* ---- Project Footer Button ---- */
.project-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.project-btn.project-btn {
  position: relative;
  overflow: hidden;
  padding: 1rem 3.2rem;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0b3c5d;
  cursor: pointer;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  box-shadow: 0 14px 32px rgba(244, 180, 0, 0.4);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  text-decoration: none;
}

.project-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 3s ease-in-out infinite;
}

.project-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(244, 180, 0, 0.55);
}

/* ---- Project Responsive ---- */
@media (max-width: 900px) {
  .container-project {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .project-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .project {
    padding: 60px 20px;
  }

  .container-project {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-header h2 {
    font-size: 1.7rem;
  }

  .project-img-wrap {
    height: 200px;
  }
}

/* ===== Coprations (Marquee) Section ===== */
.coprations {
  padding: 80px 32px;
  background: linear-gradient(160deg, #0b3c5d 0%, #062437 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  direction: rtl;
}

.coprations::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.08), transparent 65%);
  top: -200px;
  right: -150px;
  pointer-events: none;
}

.coprations::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05),
    transparent 65%
  );
  bottom: -180px;
  left: -120px;
  pointer-events: none;
}

/* ---- Header ---- */
.coprations-header {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.coprations-subtitle {
  display: inline-block;
  color: #ffca3a;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 14px 0;
  padding: 7px 18px;
  background: rgba(255, 202, 58, 0.14);
  border: 1px solid rgba(255, 202, 58, 0.35);
  border-radius: 999px;
}

.coprations-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.coprations-header p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin: 0;
}

/* ---- Marquee Container ---- */
.coprations-marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 16px 0;
}

.coprations-marquee::before,
.coprations-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.coprations-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #0b3c5d 0%, transparent 100%);
}

.coprations-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #0b3c5d 0%, transparent 100%);
}

/* ---- Track that scrolls ---- */
.coprations-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: scrollMarquee 20s linear infinite;
}

.coprations-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---- Logo Items ---- */
.copration-logo {
  flex-shrink: 0;
  width: 290px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 20px;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
  cursor: default;
}

.copration-logo:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: rgba(255, 202, 58, 0.5);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.copration-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.85) saturate(0.8);
  transition:
    filter 260ms ease,
    transform 260ms ease;
}

.copration-logo:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.08);
}

/* ---- Responsive ---- */
@media (max-width: 850px) {
  .coprations {
    padding: 60px 20px;
  }

  .coprations-header h2 {
    font-size: 2rem;
  }

  .copration-logo {
    width: 130px;
    height: 72px;
    padding: 12px 16px;
  }

  .coprations-track {
    gap: 32px;
  }

  .coprations-marquee::before,
  .coprations-marquee::after {
    width: 40px;
  }
}

@media (max-width: 600px) {
  .coprations-header h2 {
    font-size: 1.7rem;
  }

  .copration-logo {
    width: 110px;
    height: 60px;
    padding: 10px 12px;
  }

  .coprations-track {
    gap: 24px;
  }

  @keyframes scrollMarquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}

/* ===== Contact Section ===== */
.contact {
  padding: 90px 32px;
  background: linear-gradient(160deg, #f0f4f8 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  font-family: "Vazirmatn", sans-serif;
}

.contact::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.16), transparent 65%);
  top: -140px;
  right: -100px;
  pointer-events: none;
}

.contact::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 60, 93, 0.1), transparent 65%);
  bottom: -160px;
  left: -120px;
  pointer-events: none;
}

.contact-header {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.contact-subtitle {
  display: inline-block;
  color: #f4b400;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 14px 0;
  padding: 7px 18px;
  background: rgba(244, 180, 0, 0.12);
  border: 1px solid rgba(244, 180, 0, 0.35);
  border-radius: 999px;
}

.contact-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #0b3c5d;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.contact-header p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.9;
  margin: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: right;
  direction: rtl;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(11, 60, 93, 0.08);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 180, 0, 0.5);
  box-shadow: 0 22px 44px rgba(11, 60, 93, 0.14);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #0b3c5d;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  box-shadow: 0 10px 22px rgba(244, 180, 0, 0.4);
}

.contact-info-card:nth-child(2) .contact-card-icon {
  background: linear-gradient(135deg, #0b3c5d 0%, #005b96 100%);
  box-shadow: 0 10px 22px rgba(11, 60, 93, 0.35);
  color: #ffffff;
}

.contact-info-card:nth-child(3) .contact-card-icon {
  background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.35);
  color: #ffffff;
}

.contact-info-card:nth-child(4) .contact-card-icon {
  background: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.35);
  color: #ffffff;
}

.contact-info-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b3c5d;
  margin: 0 0 4px 0;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-form {
  padding: 36px 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(11, 60, 93, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b3c5d;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0b3c5d;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
  box-sizing: border-box;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f4b400;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.15);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 32px;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: inherit;
  color: #0b3c5d;
  cursor: pointer;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  box-shadow: 0 14px 32px rgba(244, 180, 0, 0.4);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.contact-submit i {
  font-size: 1.05rem;
}

.contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(244, 180, 0, 0.55);
}

.contact-submit:active {
  transform: translateY(-1px);
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 4px 8px;
}

.social-label {
  font-size: 1rem;
  font-weight: 800;
  color: #0b3c5d;
  white-space: nowrap;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #0b3c5d;
  font-size: 1.2rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(11, 60, 93, 0.12);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(11, 60, 93, 0.08);
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  color: #0b3c5d;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(244, 180, 0, 0.4);
}

.social-link:nth-child(2):hover {
  background: linear-gradient(135deg, #0a66c2 0%, #1e88e5 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(10, 102, 194, 0.4);
}

.social-link:nth-child(3):hover {
  background: linear-gradient(135deg, #229ed9 0%, #0088cc 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 136, 204, 0.4);
}

.social-link:nth-child(4):hover {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.4);
}

.social-link:nth-child(5):hover {
  background: linear-gradient(135deg, #ff0000 0%, #e53935 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(255, 0, 0, 0.4);
}

@media (max-width: 850px) {
  .contact {
    padding: 60px 20px;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px 24px;
  }
}

@media (max-width: 600px) {
  .contact-header h2 {
    font-size: 1.7rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .social-link {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .contact-info-card {
    padding: 18px 16px;
  }

  .contact-card-icon {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
}

/* ===== Footer ===== */
.footer {
  position: relative;
  background: linear-gradient(165deg, #062437 0%, #0b3c5d 55%, #062437 100%);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  direction: rtl;
}

/* Gold top accent border */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    #ffca3a,
    #ff7b00,
    #ffca3a,
    transparent
  );
  z-index: 2;
}

/* Decorative orbs */
.footer::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.1), transparent 65%);
  bottom: -220px;
  left: -160px;
  pointer-events: none;
}

.footer-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05),
    transparent 65%
  );
  top: -160px;
  right: -120px;
  pointer-events: none;
}

/* ---- Container ---- */
.footer-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 32px 56px;
  text-align: right;
}

/* ---- Brand Column ---- */
.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img {
  max-height: 150px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  filter: drop-shadow(0 8px 18px rgba(244, 180, 0, 0.25));
  transition: transform 220ms ease;
}

.footer-logo img:hover {
  transform: translateY(-2px) scale(1.03);
}

.footer-about h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 22px 0;
  max-width: 320px;
}

.footer-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffca3a;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition:
    color 220ms ease,
    gap 220ms ease;
}

.footer-more::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  transform: scaleX(0.6);
  transform-origin: right;
  transition: transform 260ms ease;
}

.footer-more:hover {
  color: #ff7b00;
  gap: 12px;
}

.footer-more:hover::after {
  transform: scaleX(1);
}

/* ---- Column Titles ---- */
.footer-title {
  position: relative;
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 26px 0;
  padding-bottom: 14px;
}

.footer-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
}

/* ---- Links Lists ---- */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 2px;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.footer-links a::before {
  content: "←";
  font-size: 0.85rem;
  color: #ffca3a;
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.footer-links a:hover {
  color: #ffca3a;
  transform: translateX(-6px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

/* ---- Contact Info List ---- */
.footer-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.footer-info i {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #ffca3a;
  background: rgba(255, 202, 58, 0.1);
  border: 1px solid rgba(255, 202, 58, 0.25);
  border-radius: 12px;
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.footer-info li:hover i {
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  color: #0b3c5d;
  transform: translateY(-2px);
}

.footer-info a {
  color: inherit;
  text-decoration: none;
  transition: color 220ms ease;
}

.footer-info a:hover {
  color: #ffca3a;
}

/* ---- Bottom Bar ---- */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 22px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ---- Back to Top Button ---- */
.back-to-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #0b3c5d;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #ffca3a 0%, #ff7b00 100%);
  box-shadow: 0 10px 24px rgba(244, 180, 0, 0.4);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease,
    visibility 220ms ease;
}

.back-to-top::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 202, 58, 0.3);
  animation: pulseRing 2.2s ease-in-out infinite;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(244, 180, 0, 0.55);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.back-to-top.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.85);
    opacity: 1;
  }
  70%,
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* ---- Footer Responsive ---- */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 60px 24px 48px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 20px 40px;
    text-align: right;
  }

  .footer-about p {
    max-width: 100%;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
    padding: 18px 20px;
  }

  .footer-bottom p {
    width: 100%;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
  }
}

/* ===== Global Small-Phone (≤400px) Overrides ===== */
@media (max-width: 400px) {
  body {
    font-size: 15px;
  }

  .header {
    height: 70px;
    padding: 10px 14px;
    gap: 12px;
  }

  .header img {
    max-height: 48px;
    padding: 4px 8px;
  }

  .hamburger {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .navbar {
    width: min(280px, 88vw);
    padding: 80px 20px 24px;
  }

  .hero {
    padding: 28px 16px;
    min-height: auto;
  }

  .hero-content h2 {
    font-size: 1.6rem;
  }

  .hero-content h3 {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn-hero {
    width: 100%;
    max-width: 280px;
  }

  .hero-stats {
    padding: 16px;
    gap: 14px;
  }

  .stat-item {
    min-width: 0;
    padding: 6px 8px;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-icon {
    font-size: 1.5rem;
  }

  .about {
    padding: 56px 16px;
  }

  .about-img-frame img {
    height: 240px;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .service,
  .project {
    padding: 56px 16px;
  }

  .service-header h2,
  .project-header h2,
  .coprations-header h2,
  .contact-header h2 {
    font-size: 1.5rem;
  }

  .service-img-wrap {
    height: 170px;
  }

  .project-img-wrap {
    height: 180px;
  }

  .coprations {
    padding: 48px 16px;
  }

  .copration-logo {
    width: 96px;
    height: 52px;
    padding: 8px 10px;
  }

  .contact {
    padding: 56px 16px;
  }

  .contact-container {
    gap: 32px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .contact-info-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-container {
    padding: 40px 16px 32px;
    gap: 28px;
  }

  .footer-bottom {
    padding: 16px;
  }
}
