@import url(./CSS/sidebar.css);
@import url(./CSS/font.css);
@import url(./CSS/header.css);
@import url(./CSS/photo-style.css);
@import url(./CSS/hero.css);
@import url(./CSS/service.css);
@import url(./CSS/section.css);
@import url(./CSS/login.css);

/* ================= 1. VARIABLES ================= */
:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE8DC;
  --teal: #2DA89B;
  --teal-dark: #1E7A70;
  --teal-light: #7ECDC6;
  --red-accent: #E05A45;
  --gold: #C9A96E;
  --elm: #1E5959;
  --friar-gray: #7A7873;
  --text-dark: #2C2C2A;
  --text-mid: #5F5E5A;
  --text-light: #888780;
}

/* ================= 2. RESET / BASE ================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; 
  overflow-x: clip;
}

body {
  font-family: yekan, sans-serif;
  background: #fff;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: clip;
  width: 100%;
}

html, body {
  overscroll-behavior-x: none;
}

/* ================= 3. LOGO ================= */
.logo-eagle { 
  display: inline-block; 
  width: 4.4rem; 
  height: 4.4rem; 
}

.logo-block { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  margin-bottom: 0; 
}

.logo-text-fa { 
  font-size: 1.6rem; 
  font-weight: 700; 
  color: var(--teal-dark); 
  line-height: 1.2; 
}

.logo-text-en { 
  font-size: 1rem; 
  font-weight: 500; 
  color: var(--text-light); 
  letter-spacing: 0.25rem; 
}

@media (min-width: 768px) {
  .logo-eagle { 
    width: 5.4rem; 
    height: 5.4rem; 
  }
  .logo-text-fa { 
    font-size: 2rem; 
  }
  .logo-text-en { 
    font-size: 1.1rem; 
    letter-spacing: 0.3rem; 
  }
}

/* ================= 4. JIROFT DIVIDER ================= */
.divider-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #fff;
  height: 15rem;
  line-height: 0;
}

.divider-track {
  display: flex;
  width: 300%;
  height: 100%;
  will-change: transform;
}

.divider-strip {
  width: 33.3334%;
  height: 100%;
  flex-shrink: 0;
  background-image: url(./assets/photo/navar.webp);
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 100%;
}

@media (min-width: 768px) {
  .divider-band { 
    height: 11rem; 
  }
}

@media (min-width: 1024px) {
  .divider-band { 
    height: 14rem; 
  }
}

/* ================= 5. PARTNERS SECTION ================= */
.partners-section { 
  background: #fff; 
  padding: 4rem 0;
}

.partners-container {
  max-width: 128rem; 
  margin: 0 auto;
  padding: 0 2rem;
}

.partners-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 2.8rem;
}

.partners-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.4rem;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 29rem;
}

.partner-logo {
  width: 13rem;
  height: 13rem;
  object-fit: contain;
}

@media (min-width: 640px) {
  .partners-title {
    font-size: 2.4rem; 
    margin-bottom: 3.6rem;
  }
  .partners-grid {
    flex-direction: row;
    justify-content: center; 
    gap: 4.8rem; 
  }
  .partner-item {
    width: auto;
  }
}

/* ================= 6. STATS SECTION ================= */
.stats-section {
  background: var(--teal-dark);
  padding: 5.6rem 0;
  position: relative;
  overflow: hidden;
}

.stats-watermark {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.05;
}

.stats-inner { 
  max-width: 128rem; 
  margin: 0 auto; 
  padding: 0 2rem; 
  position: relative; 
  z-index: 1; 
}

.stats-header { 
  text-align: center; 
  margin-bottom: 4rem; 
}

.stats-heading { 
  font-size: 2.4rem; 
  font-weight: 700; 
  color: #fff; 
  margin: 0 0 0.8rem; 
}

.stats-subheading { 
  font-size: 1.4rem; 
  color: rgba(255, 255, 255, 0.65); 
  margin: 0; 
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.4rem;
}

.stat-card { 
  text-align: center; 
}

.stat-number { 
  font-size: 3.4rem; 
  font-weight: 800; 
  color: #fff; 
  line-height: 1; 
  margin-bottom: 0.8rem; 
}

.stat-label { 
  font-size: 1.4rem; 
  color: rgba(255, 255, 255, 0.75); 
  font-weight: 400; 
}

@media (min-width: 640px) {
  .stats-section { padding: 7.2rem 0; }
  .stats-heading { font-size: 2.8rem; }
  .stats-subheading { font-size: 1.5rem; }
  .stat-number { font-size: 4.4rem; }
  .stat-label { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  .stats-section { padding: 8rem 0; }
  .stats-heading { font-size: 3.2rem; }
  .stat-number { font-size: 5.2rem; }
  .stat-label { font-size: 1.6rem; }
}

/* ================= 7. WHY US SECTION ================= */
.section { 
  max-width: 128rem;
  margin: 0 auto;
  padding: 5.6rem 2rem; 
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin: 0 0 1.5rem;
  text-align: center; 
}

.section-subtitle { 
  font-size: 1.5rem; 
  color: var(--text-mid); 
  text-align: center; 
  margin: 0 0 4rem; 
  line-height: 1.7; 
}

.why-section { 
  background: #fff; 
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.why-item {
  background: var(--cream);
  border-radius: 1.4rem;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.why-item-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(45, 168, 155, 0.12);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.why-item-icon svg {
  width: 2rem; 
  height: 2rem; 
  color: var(--teal); 
}

.why-item-title { 
  font-size: 1.8rem; 
  font-family: peyda, sans-serif;
  color: var(--text-dark); 
  margin-bottom: 0.8rem; 
  font-weight: bolder;
}

.why-item-text { 
  font-size: 1.3rem; 
  color: var(--text-mid); 
  line-height: 1.8; 
}

@media (min-width: 640px) {
  .section { padding: 8rem 2.4rem; }
  .section-title { font-size: 3.2rem; }
  .section-subtitle { font-size: 1.6rem; margin-bottom: 5.6rem; }
  .why-grid { grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); gap: 2rem; margin-top: 4.8rem; }
  .why-item { padding: 2.8rem 2.4rem; }
  .why-item-icon { width: 4.4rem; height: 4.4rem; }
  .why-item-icon svg { width: 2.2rem; height: 2.2rem; }
  .why-item-title { font-size: 1.6rem; }
}

/* ================= 8. FOOTER ================= */
footer { 
  border-radius: 3rem 3rem 0 0;
  background: #1a1a18; 
  color: #fff;
  padding: 3.5rem 0 2.5rem; 
}

.footer-inner { 
  max-width: 128rem;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-text-fa { color: #fff; }
.footer-brand .logo-text-en { color: rgba(255, 255, 255, 0.4); }

.footer-desc { 
  font-size: 1.3rem; 
  color: rgba(255, 255, 255, 0.5); 
  line-height: 1.9; 
  margin-top: 1.4rem; 
}

.footer-title { 
  font-size: 1.4rem; 
  font-weight: 700; 
  color: #fff; 
  margin-bottom: 2rem; 
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg { 
  width: 1.8rem; 
  height: 1.8rem; 
  color: var(--teal-light); 
  flex-shrink: 0; 
}

.footer-links a { 
  display: block; 
  color: rgba(255, 255, 255, 0.55); 
  font-size: 1.3rem; 
  text-decoration: none; 
  margin-bottom: 1rem; 
  transition: color 0.2s; 
}

.footer-links a:hover { 
  color: var(--teal-light); 
}

.footer-bottom { 
  border-top: 1px solid rgba(255, 255, 255, 0.08); 
  padding-top: 2rem; 
  text-align: center; 
  font-size: 1.2rem; 
  color: rgba(255, 255, 255, 0.3); 
}

@media (min-width: 768px) {
  footer {
    padding: 5.6rem 0 3.2rem;
    border-radius: 3rem 3rem 0 0;
  }
  .footer-grid { 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 4rem; 
    margin-bottom: 4.8rem; 
  }
  .footer-desc { font-size: 1.4rem; margin-top: 1.6rem; }
  .footer-title { font-size: 1.5rem; margin-bottom: 2rem; }
  .footer-contact-item { font-size: 1.4rem; margin-bottom: 1.4rem; }
  .footer-links a { font-size: 1.4rem; margin-bottom: 1.2rem; }
  .footer-bottom { padding-top: 2.4rem; font-size: 1.3rem; }
}

/* ================= 9. WAVE DIVIDER ================= */
.wave-divider { 
  width: 100%; 
  overflow: hidden; 
  line-height: 0; 
  background: #fff; 
}

.wave-divider svg { 
  display: block; 
  width: 100%; 
  height: 4rem; 
}

@media (min-width: 768px) {
  .wave-divider svg { 
    height: 5rem; 
  }
}

/* ================= 10. FLOATING LOGIN TOGGLE ================= */
#toggle-login-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 150;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 5rem;
  padding: 1.2rem 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0.8rem 2.4rem rgba(45, 168, 155, 0.35);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

#toggle-login-btn:hover { 
  background: var(--teal-dark); 
  transform: translateY(-0.2rem); 
}

@media (min-width: 768px) {
  #toggle-login-btn { 
    bottom: 3.2rem; 
    left: 3.2rem; 
    padding: 1.4rem 2.4rem; 
    font-size: 1.4rem; 
  }
}

/* ================= 11. COUNTER ANIMATION ================= */
.counter-animated { 
  display: inline-block; 
}
/* =========================================================
   CUSTOM TOAST NOTIFICATION SYSTEM
   ========================================================= */

.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none; 
}

.toast {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 320px;
  max-width: 450px;
  background-color: #2A4A3C;
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid #3d6854;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  font-family: 'Peyda', sans-serif;
  font-size: 1.3rem;
  direction: rtl;
  pointer-events: auto;
  
  /* Login animation*/
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}
/* Icon alert */
.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #D8A232; 
  color: #1A3026;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-message {
  flex-grow: 1;
  line-height: 1.5;
  text-align: right;
}