/* =========================
   Base
========================= */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-darker: #1e40af;
  --text: #1e293b;
  --muted: #64748b;
  --muted-light: #cbd5e1;
  --bg-dark: #020817;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-image:
    linear-gradient(rgba(2, 8, 23, 0.78), rgba(2, 8, 23, 0.78)),
    url("images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--bg-dark);
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 80px; /* برای navbar فیکس */
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   Layout
========================= */
.gjs-t-body {
  min-height: 100vh;
}

.gjs-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.gjs-section {
  display: flex;
  padding: 80px 0;
}

.gjs-plg-flex-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.gjs-plg-flex-column {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* =========================
   Typography
========================= */
h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
}

h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
}

/* =========================
   Navbar
========================= */
#irrp9p {
  padding: 0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.navbar-cnt {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar-brand {
  display: inline-flex;
  color: inherit;
  padding: 14px 5px;
}

#ih1 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
  margin: 0;
}

.navbar-items-c {
  display: inline-block;
}

.navbar-menu-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 0;
}

.nav-links {
  position: relative;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
}

.nav-links::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-links:hover::after,
.nav-links.active::after {
  width: 100%;
}

.nav-links:hover,
.nav-links.active {
  color: var(--primary);
}

.navbar-menu-toggle {
  display: none;
  cursor: pointer;
  padding: 5px 10px;
  margin: 10px 0;
}

.gjs-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: inherit;
}

/* =========================
   Hero
========================= */
#ihero {
  padding: 110px 0 50px;
  background: transparent;
}

#iherorow {
  justify-content: center;
}

#iherocol {
  max-width: 900px;
  text-align: center;
  align-items: center;
}

#ih1-2 {
  color: var(--white);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 18px;
}

#ih2 {
  color: #f8fafc;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 22px;
}

#iherotext {
  display: block;
  max-width: 760px;
  margin-bottom: 18px;
  color: #e2e8f0;
  font-size: 19px;
}

#ibridge-text {
  margin-top: 24px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

/* =========================
   Buttons
========================= */
.gjs-t-button {
  display: inline-block;
  padding: 16px 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.32);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.gjs-t-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(29, 78, 216, 0.40),
    0 0 10px rgba(37, 99, 235, 0.16);
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
}

.gjs-t-button:active {
  transform: scale(0.98);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.30);
}

#iherobtntext {
  color: var(--white);
}
.tool-buttons {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn-secondary {
  padding: 14px 28px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}
/* =========================
   Home Paths
========================= */
#ihomepaths {
  padding: 30px 0 100px;
  background: transparent;
}

.home-path-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-path-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-path-card {
  flex: 1;
}

.home-path-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
  color: #ffffff;
}

.home-path-card p {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.7;
  max-width: 700px;
}

.home-path-link-wrap {
  flex-shrink: 0;
}

    .section-header-row {
        margin-top: 40px;
        border-bottom: none !important;
        padding-bottom: 4px !important;
      }
      .section-header-row h3 {
        font-size: 26px;
        color: #60a5fa;
      }
      .section-header-row h2 {
       font-size: 28px;
       color: #ffffff;
      }
      .section-header-row p {
        color: #94a3b8;
        font-size: 16px;
      }

/* =========================
   Footer
========================= */
#ifoot {
  padding: 60px 0 40px;
  background: rgba(2, 8, 23, 0.82);
  backdrop-filter: blur(2px);
}

#ifootrow {
  gap: 40px;
  flex-wrap: nowrap;
  align-items: flex-start;
}

#ifootcol4 {
  flex-basis: 18%;
}

#ifoothead3 {
  color: var(--white);
  margin-bottom: 20px;
}

#ix2e96 {
  width: 100%;
}

#istrwi {
  flex-basis: 100%;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

#istrwi a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

#istrwi a:hover {
  color: #ffffff;
}

#istrwi svg {
  width: 24px;
  height: 24px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
  #ih1 {
    font-size: 18px;
  }

  .nav-links {
    font-size: 14px;
  }

  #ih1-2 {
    font-size: 48px;
  }

  #ih2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .navbar-menu-toggle {
    display: block;
  }

  .navbar-items-c {
    display: none;
    width: 100%;
  }

  .navbar-menu-nav {
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
  }

  .gjs-plg-flex-row {
    flex-direction: column;
  }

  #ih1 {
    font-size: 24px;
  }

  #ihero {
    padding: 80px 0 30px;
  }

  #ih1-2 {
    font-size: 40px;
  }

  #ih2 {
    font-size: 23px;
  }

  #iherotext {
    font-size: 17px;
  }

  #ibridge-text {
    font-size: 18px;
  }

  .home-path-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 0;
  }

  .home-path-card h3 {
    font-size: 24px;
  }

  .home-path-card p {
    font-size: 16px;
  }

  .home-path-link-wrap {
    width: 100%;
  }

  .home-path-link-wrap .gjs-t-button {
    width: 100%;
    text-align: center;
  }

  #ifootrow {
    flex-direction: column;
    gap: 30px;
  }

  #ifootcol4 {
    flex-basis: 100%;
    text-align: center;
  }

  #istrwi {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 74px;
  }

  #ih1-2 {
    font-size: 33px;
  }

  #ih2 {
    font-size: 20px;
  }

  #iherotext {
    font-size: 16px;
  }

  #ifootrow {
    align-items: center;
  }
}