﻿@font-face {
  font-family: 'iransans-light';
  font-style: normal;
  font-weight: normal;
  src: url("../webfonts/IRANSansWeb_Light.eot");
  src: url("../webfonts/IRANSansWeb_Light.eot?#iefix") format("embedded-opentype"), url("../webfonts/IRANSansWeb_Light.woff2") format("woff2"), url("../webfonts/IRANSansWeb_Light.woff") format("woff"), url("../webfonts/IRANSansWeb_Light.ttf") format("truetype");
}

@font-face {
  font-family: iransans-ulight;
  font-style: normal;
  font-weight: normal;
  src: url("../webfonts/IRANSansWeb_UltraLight.eot");
  src: url("../webfonts/IRANSansWeb_UltraLight.eot#iefix") format("embedded-opentype"), url("../webfonts/IRANSansWeb_UltraLight.woff2") format("woff2"), url("../webfonts/IRANSansWeb_UltraLight.woff") format("woff"), url("../webfonts/IRANSansWeb_UltraLight.ttf") format("truetype");
}

@font-face {
  font-family: iransans-medium;
  font-style: normal;
  font-weight: normal;
  src: url("../webfonts/IRANSansWeb_Medium.eot");
  src: url("../webfonts/IRANSansWeb_Medium.eot?#iefix") format("embedded-opentype"), url("../webfonts/IRANSansWeb_Medium.woff2") format("woff2"), url("../webfonts/IRANSansWeb_Medium.woff") format("woff"), url("../webfonts/IRANSansWeb_Medium.ttf") format("truetype");
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local('Material Icons'), local('MaterialIcons-Regular'), url(../fonts/MaterialIcons-Regular.html) format('woff2'), url(../fonts/MaterialIcons-Regular.woff) format('woff'), url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}

:root {
  --bg: #FAE7CB;
  --bg2: #f3daaf;
  --card: #ffffff;
  --primary: #59B292;
  --primary-d: #48997c;
  --primary-l: #6fc4a6;
  --primary-xl: #a8e0cc;
  --primary-bg: rgba(89,178,146,.08);
  --accent: #FFC94D;
  --accent-d: #e6b23e;
  --accent-l: #ffd76a;
  --accent-bg: rgba(255,201,77,.1);
  --pink: #FA6781;
  --pink-d: #e84f6a;
  --pink-bg: rgba(250,103,129,.08);
  --txt: #2d3748;
  --txt2: #4a5568;
  --txt3: #a0aec0;
  --border: rgba(89,178,146,.12);
  --border-h: rgba(89,178,146,.25);
  --shadow-sm: 0 1px 4px rgba(45,55,72,.05);
  --shadow: 0 4px 24px rgba(45,55,72,.07);
  --shadow-lg: 0 16px 48px rgba(45,55,72,.12);
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --font: 'iransans-light','Tahoma','Segoe UI',sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  outline: none;
}

input, select, textarea {
  font-family: var(--font);
  outline: none;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 15px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

  .nav-logo img {
    height: 55px;
    width: auto;
    max-width: 100%;
  }

  .nav-logo span {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
  }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
  justify-content: flex-start;
  padding-right: 28px;
  flex-wrap: wrap;
}

  .nav-menu > li {
    position: relative;
  }

    .nav-menu > li > a {
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 20px 12px;
      font-size: 13.5px;
      color: var(--txt2);
      transition: .25s;
      white-space: nowrap;
      font-weight: 500;
      position: relative;
    }

      .nav-menu > li > a::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 12px;
        left: 12px;
        height: 2.5px;
        background: var(--pink);
        border-radius: 2px 2px 0 0;
        transform: scaleX(0);
        transition: .25s;
      }

      .nav-menu > li > a:hover, .nav-menu > li:hover > a {
        color: var(--primary);
      }

        .nav-menu > li:hover > a::after {
          transform: scaleX(1);
        }

      .nav-menu > li > a .arrow {
        width: 10px;
        height: 10px;
        fill: var(--txt3);
        transition: .25s;
      }

    .nav-menu > li:hover > a .arrow {
      fill: var(--primary);
      transform: rotate(180deg);
    }

.dropdown {
  position: absolute;
  list-style: none !important;
  list-style-type: none !important;
  top: 100%;
  right: 0;
  min-width: 230px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .25s;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.nav-menu > li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  position: relative;
}

.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--txt2);
  transition: .2s;
  white-space: nowrap;
}

  .dropdown a:hover {
    background: var(--primary-bg);
    color: var(--primary);
    padding-right: 26px;
  }

.dropdown .arrow-l {
  width: 8px;
  height: 8px;
  fill: var(--txt3);
}

.sub-dropdown {
  position: absolute;
  top: -8px;
  right: 100%;
  min-width: 210px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: .25s;
  box-shadow: var(--shadow-lg);
}

.dropdown li:hover > .sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-login {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 7px 20px;
  border-radius: 10px;
  font-size: 13px;
  transition: .25s;
  font-weight: 500;
}

  .btn-login:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
  }

.btn-register {
  background: var(--accent);
  color: var(--txt);
  padding: 7px 20px;
  border-radius: 10px;
  font-size: 13px;
  transition: .25s;
  font-weight: 500;
}

  .btn-register:hover {
    background: var(--pink-d);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(250,103,129,.3);
  }

.hamburger {
  display: none;
  background: none;
  padding: 8px;
}

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--txt);
    margin: 5px 0;
    border-radius: 2px;
    transition: .3s;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px,5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px,-5px);
  }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--card);
  z-index: 2000;
  transition: .35s;
  overflow-y: auto;
  padding: 80px 24px 24px;
  border-left: 1px solid var(--border);
}

  .mobile-menu.open {
    right: 0;
  }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1999;
  opacity: 0;
  transition: .3s;
  backdrop-filter: blur(2px);
}

  .mobile-overlay.open {
    opacity: 1;
  }

.mobile-menu .m-item {
  border-bottom: 1px solid var(--border);
}

  .mobile-menu .m-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 14.5px;
    color: var(--txt2);
  }

.mobile-menu .m-sub {
  display: none;
  padding: 0 16px 12px;
}

  .mobile-menu .m-sub a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: var(--txt3);
  }

.m-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: none;
  color: var(--txt3);
  font-size: 22px;
}

/* HERO */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(160deg,#1a3c33 0%,#3a7a64 25%,#59B292 55%,#2d3748 100%);
  min-height: 540px;
  display: flex;
  align-items: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

  .hero-orb.o1 {
    width: 420px;
    height: 420px;
    background: rgba(89,178,146,.2);
    top: -120px;
    left: -80px;
  }

  .hero-orb.o2 {
    width: 300px;
    height: 300px;
    background: rgba(255,201,77,.12);
    bottom: -80px;
    right: -60px;
    animation-delay: 2s;
  }

  .hero-orb.o3 {
    width: 220px;
    height: 220px;
    background: rgba(250,103,129,.08);
    top: 40%;
    left: 45%;
    animation-delay: 4s;
  }

@keyframes orbFloat {
  0%,100% {
    transform: translate(0,0) scale(1);
  }

  33% {
    transform: translate(30px,-20px) scale(1.05);
  }

  66% {
    transform: translate(-20px,15px) scale(.95);
  }
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px,transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 24px 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,201,77,.12);
  border: 1px solid rgba(255,201,77,.2);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 12.5px;
  color: #FFC94D;
  margin-bottom: 28px;
  animation: fadeUp .6s ease-out;
}

  .hero-badge svg {
    width: 15px;
    height: 15px;
    fill: #FFC94D;
  }

.hero h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
  animation: fadeUp .6s ease-out .1s both;
  color: #fff;
}

  .hero h1 em {
    font-style: normal;
    color: var(--primary-xl);
    text-shadow: 0 0 30px rgba(168,224,204,.3);
  }

.hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
  animation: fadeUp .6s ease-out .2s both;
  line-height: 1.8;
}

.search-widget {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeUp .6s ease-out .3s both;
  max-width: 720px;
  margin: 0 auto 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
  flex-wrap: wrap;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: .25s;
  flex: 1;
  min-width: 180px;
}

  .search-field:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
  }

  .search-field svg {
    width: 18px;
    height: 18px;
    fill: var(--txt3);
    flex-shrink: 0;
  }

  .search-field input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--txt);
    font-size: 14px;
    min-width: 0;
  }

    .search-field input::placeholder {
      color: var(--txt3);
    }

.search-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: .25s;
}

  .search-loc:hover, .search-loc:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
  }

  .search-loc svg {
    width: 16px;
    height: 16px;
    fill: var(--pink);
    flex-shrink: 0;
  }

  .search-loc select {
    background: transparent;
    border: none;
    color: var(--txt2);
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-left: 16px;
    min-width: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%23a0aec0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 2px center;
  }

.btn-search {
  background: var(--accent);
  color: var(--txt);
  padding: 13px 30px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: .3s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

  .btn-search:hover {
    background: var(--accent-d);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255,201,77,.4);
  }

  .btn-search svg {
    width: 16px;
    height: 16px;
    fill: var(--txt);
  }

.quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  animation: fadeUp .6s ease-out .4s both;
}

  .quick-tags span {
    font-size: 12px;
    color: rgba(255,255,255,.4);
  }

.quick-tag {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 11.5px;
  color: rgba(255,255,255,.65);
  transition: .25s;
  cursor: pointer;
}

  .quick-tag:hover {
    border-color: rgba(255,201,77,.4);
    color: #FFC94D;
    background: rgba(255,201,77,.08);
  }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  margin-top: 44px;
  animation: fadeUp .6s ease-out .5s both;
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

  .hero-stat .num {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-xl);
  }

  .hero-stat .label {
    font-size: 11px;
    color: rgba(255,255,255,.4);
    margin-top: 2px;
  }

/* HOW */
.how-section {
  padding: 60px 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  position: relative;
}

  .how-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    right: 16.6%;
    left: 16.6%;
    height: 2px;
    background: linear-gradient(90deg,var(--primary),var(--accent),var(--primary));
    opacity: .2;
  }

.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  transition: .3s;
}

.how-step:hover .how-icon {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(89,178,146,.15);
}

.how-icon svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

.how-icon .step-num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--card);
}

.how-step h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.how-step p {
  font-size: 12.5px;
  color: var(--txt3);
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}

/* SECTION */
.section {
  padding: 70px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}

  .section-header h2 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
  }

    .section-header h2 span {
      color: var(--primary);
    }

  .section-header p {
    font-size: 13.5px;
    color: var(--txt3);
    margin-top: 4px;
  }

.section-more {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--primary);
  transition: .25s;
  white-space: nowrap;
  font-weight: 600;
}

  .section-more:hover {
    gap: 10px;
  }

  .section-more svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transform: rotate(180deg);
  }

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

.filter-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--txt2);
  background: var(--card);
  border: 1px solid var(--border);
  transition: .25s;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 500;
}

  .filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
  }

  .filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(89,178,146,.25);
  }

/* COUNSELOR CARDS */
.counselors-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.counselor-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: .35s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

  .counselor-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg,var(--primary),var(--accent));
    transform: scaleX(0);
    transition: .35s;
    transform-origin: center;
  }

  .counselor-card:hover {
    border-color: var(--border-h);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }

    .counselor-card:hover::after {
      transform: scaleX(1);
    }

.cc-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.cc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}

  .cc-avatar .online-dot {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border: 2.5px solid var(--card);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

@keyframes pulse {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(34,197,94,.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34,197,94,0);
  }
}

.cc-info {
  flex: 1;
  min-width: 0;
}

  .cc-info h4 {
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

.cc-specialty {
  display: inline-block;
  font-size: 10.5px;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 5px;
  font-weight: 600;
}

.cc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--txt2);
}

  .cc-rating svg {
    width: 13px;
    height: 13px;
    fill: var(--accent);
  }

  .cc-rating .count {
    color: var(--txt3);
    font-size: 10.5px;
  }

.cc-desc {
  font-size: 12.5px;
  color: var(--txt2);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.cc-tag {
  font-size: 10.5px;
  color: var(--primary-d);
  background: var(--primary-bg);
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 500;
}

.cc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  gap: 10px;
  flex-wrap: wrap;
}

.cc-price .amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--pink);
}

.cc-price .unit {
  font-size: 10.5px;
  color: var(--txt3);
}

.cc-actions {
  display: flex;
  gap: 8px;
}

.btn-book {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: .25s;
}

  .btn-book:hover {
    background: var(--primary-d);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(89,178,146,.3);
  }

.btn-online {
  background: var(--pink-bg);
  border: 1px solid rgba(250,103,129,.15);
  color: var(--pink);
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 12px;
  transition: .25s;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

  .btn-online:hover {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
  }

  .btn-online svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
  }

/* ARTICLES */
.articles-section {
  background: var(--bg2);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

.article-card {
  display: flex;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: .3s;
  cursor: pointer;
}

  .article-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

.article-thumb {
  width: 210px;
  min-height: 190px;
  flex-shrink: 0;
  overflow: hidden;
}

  .article-thumb svg {
    width: 100%;
    height: 100%;
    display: block;
  }

.article-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px 20px 24px;
  min-width: 0;
}

.article-cat {
  display: inline-block;
  font-size: 10.5px;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 2px 10px;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 8px;
  font-weight: 600;
}

.article-body h4 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-body p {
  font-size: 12px;
  color: var(--txt3);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--txt3);
  margin-top: 10px;
  flex-wrap: wrap;
}

  .article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .article-meta svg {
    width: 11px;
    height: 11px;
    fill: var(--txt3);
  }

/* CTA */
.cta-section {
  padding: 70px 0;
}

.cta-box {
  background: linear-gradient(160deg,#1a3c33,#3a7a64,#59B292);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

  .cta-box::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,rgba(255,201,77,.1),transparent 70%);
    pointer-events: none;
  }

  .cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,rgba(250,103,129,.08),transparent 70%);
    pointer-events: none;
  }

  .cta-box h2 {
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    color: #fff;
  }

  .cta-box p {
    font-size: 15.5px;
    color: rgba(255,255,255,.65);
    margin-bottom: 32px;
    position: relative;
  }

.btn-cta {
  background: var(--accent);
  color: var(--txt);
  padding: 15px 44px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

  .btn-cta:hover {
    transform: translateY(-2px);
    background: var(--accent-d);
    box-shadow: 0 10px 30px rgba(255,201,77,.4);
  }

  .btn-cta svg {
    width: 18px;
    height: 18px;
    fill: var(--txt);
  }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
  background: var(--card);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-about .f-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

  .footer-about .f-logo img {
    height: 34px;
    width: auto;
  }

  .footer-about .f-logo span {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
  }

.footer-about p {
  font-size: 12.5px;
  color: var(--txt3);
  line-height: 1.8;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

  .footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
  }

    .footer-social a:hover {
      border-color: var(--primary);
      background: var(--primary-bg);
      transform: translateY(-2px);
    }

    .footer-social a svg {
      width: 15px;
      height: 15px;
      fill: var(--txt2);
    }

.footer-col h5 {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  font-size: 12.5px;
  color: var(--txt3);
  transition: .25s;
  display: inline-block;
}

  .footer-col a:hover {
    color: var(--primary);
    padding-right: 4px;
  }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--txt3);
  flex-wrap: wrap;
  gap: 12px;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInL .35s ease-out;
  min-width: 260px;
  max-width: 90vw;
}

  .toast.success {
    border-right: 3px solid var(--primary);
  }

    .toast.success .toast-icon {
      fill: var(--primary);
    }

  .toast.error {
    border-right: 3px solid var(--pink);
  }

    .toast.error .toast-icon {
      fill: var(--pink);
    }

.toast-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.toast-close {
  background: none;
  color: var(--txt3);
  font-size: 15px;
  margin-right: auto;
  padding: 2px;
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 900;
  box-shadow: 0 4px 14px rgba(89,178,146,.25);
}

  .scroll-top.visible {
    opacity: 1;
    visibility: visible;
  }

  .scroll-top:hover {
    transform: translateY(-3px);
    background: var(--primary-d);
  }

  .scroll-top svg {
    width: 18px;
    height: 18px;
    fill: #fff;
  }

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInL {
  0% {
    opacity: 0;
    transform: translateX(-28px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: .6s ease-out;
}

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

/* ======================== MAIN LAYOUT & AUTH ======================== */

.auth-page {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 32px 0;
}

.auth-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 580px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.auth-decor {
  background: linear-gradient(160deg,#1a3c33 0%,#3a7a64 35%,#59B292 70%,#6fc4a6 100%);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

  .auth-decor::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255,201,77,.1);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
  }

  .auth-decor::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 250px;
    height: 250px;
    background: rgba(250,103,129,.08);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
  }

.auth-decor-content {
  position: relative;
  z-index: 2;
}

  .auth-decor-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
  }

    .auth-decor-content h2 em {
      font-style: normal;
      color: var(--primary-xl);
    }

  .auth-decor-content p {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
    margin-bottom: 32px;
  }

.decor-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

  .decor-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,.8);
  }

    .decor-features li .df-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

      .decor-features li .df-icon svg {
        width: 18px;
        height: 18px;
        fill: #fff;
      }

    .decor-features li strong {
      color: #fff;
    }

.auth-decor-illustration {
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.auth-form-side {
  background: var(--card);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  position: relative;
  overflow-y: auto;
}

  .auth-form-side::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,var(--accent),var(--pink),var(--primary));
    border-radius: 0 4px 4px 0;
  }

.auth-page-title {
  margin-bottom: 28px;
}

  .auth-page-title h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--txt);
  }

  .auth-page-title p {
    font-size: 14px;
    color: var(--txt3);
    margin: 0;
  }

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

  .register-grid .field.full {
    grid-column: 1 / -1;
  }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

  .label-row .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--txt2);
  }

  .label-row .nop-required {
    color: var(--pink);
    font-size: 12px;
  }
  .label-row .required {
    color: var(--pink);
    font-size: 12px;
  }

.form-error {
  font-size: 11px;
  color: var(--pink);
  display: none;
  margin-top: 2px;
}

  .form-error.show {
    display: block;
  }

.input-wrap {
  position: relative;
}

  .input-wrap .toggle-pass {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    padding: 4px;
  }

    .input-wrap .toggle-pass svg {
      width: 18px;
      height: 18px;
      fill: var(--txt3);
      transition: .2s;
    }

    .input-wrap .toggle-pass:hover svg {
      fill: var(--primary);
    }

.form-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--txt2);
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}

  .form-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
  }

.custom-check {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  flex-shrink: 0;
  cursor: pointer;
}

  .custom-check.checked {
    background: var(--primary);
    border-color: var(--primary);
  }

    .custom-check.checked svg {
      display: block;
    }

  .custom-check svg {
    width: 12px;
    height: 12px;
    fill: #fff;
    display: none;
  }

.forgot-link {
  color: var(--primary);
  font-weight: 500;
  transition: .2s;
}

  .forgot-link:hover {
    color: var(--primary-d);
  }

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

  .btn-submit:hover {
    background: var(--primary-d);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(89,178,146,.3);
  }

  .btn-submit svg {
    width: 18px;
    height: 18px;
    fill: #fff;
  }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
}

  .divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  .divider span {
    font-size: 12px;
    color: var(--txt3);
    white-space: nowrap;
  }

.social-btns {
  display: flex;
  gap: 10px;
}

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: .25s;
  background: var(--card);
}

  .btn-social:hover {
    border-color: var(--border-h);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
  }

  .btn-social svg {
    width: 18px;
    height: 18px;
  }

  .btn-social.google svg {
    fill: #ea4335;
  }

  .btn-social.apple svg {
    fill: #000;
  }

.form-footer {
  font-size: 13px;
  color: var(--txt3);
  text-align: center;
  margin-top: 8px;
}

  .form-footer a {
    color: var(--primary);
    font-weight: 600;
    transition: .2s;
  }

    .form-footer a:hover {
      color: var(--primary-d);
    }

.auth-footer-link {
  font-size: 13px;
  color: var(--txt3);
  text-align: center;
  margin-top: 20px;
  line-height: 1.9;
}

  .auth-footer-link a {
    color: var(--primary);
    font-weight: 600;
  }

/* TERMS */
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--txt3);
  line-height: 1.6;
}

  .terms-check a {
    color: var(--primary);
    font-weight: 500;
  }

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--txt2);
}

/* SUCCESS STATE */
.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  animation: fadeIn .4s ease-out;
  padding: 20px 0;
}

  .success-state.active {
    display: flex;
  }

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

  .success-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--primary);
  }

.success-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--txt);
}

.success-state p {
  font-size: 14px;
  color: var(--txt2);
  line-height: 1.7;
  max-width: 320px;
}

.btn-back-login {
  background: var(--primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: .3s;
}

  .btn-back-login:hover {
    background: var(--primary-d);
    transform: translateY(-1px);
  }

.message-error {
  background-color: #fff5f5;
  border-right: 4px solid #ff4d4f;
  color: #ff4d4f;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}

.validation-summary-errors {
  display: block !important;
}

  .validation-summary-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

.field-validation-error {
  color: #ff4d4f;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
  animation: fadeInError 0.3s ease;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ======================== ACCOUNT LAYOUT ======================== */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
  max-width: 1260px;
  margin: 20px auto;
  padding: 0 24px;
}

.account-sidebar {
  position: sticky;
  top: 84px;
}

.account-main {
  min-width: 0;
}

/* ===== PAGE TITLE ===== */
.customer-info-page .page-title h1 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 28px;
  word-break: break-word;
}

.customer-info-page .page-title .title-sep {
  color: var(--txt3);
  font-weight: 400;
  margin: 0 4px;
}

/* ===== PROFILE CARD ===== */
.profile-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
  transition: .3s;
}

  .profile-card:hover {
    box-shadow: var(--shadow);
  }

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(89,178,146,.03), transparent);
}

.profile-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

  .profile-card-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--primary);
  }

.profile-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

/* ===== CARD BODY + GRID ===== */
.profile-card-body {
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

  .field.field-full, .field.full {
    grid-column: 1 / -1;
  }

  .field .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--txt2);
  }

    .field .label + .nop-required {
      color: var(--pink);
      font-size: 12px;
    }

  .field .input {
    background: #FFFFFF;
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 14px;
    color: var(--txt);
    transition: .25s;
    width: 100%;
    font-family: var(--font);
    min-width: 0;
  }

    .field .input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px var(--primary-bg);
      background: #fff;
    }

    .field .input::placeholder {
      color: var(--txt3);
    }

select.field .input {
  cursor: pointer;
}

.field-error {
  font-size: 11px;
  color: var(--pink);
}

.readonly-value {
  padding: 11px 16px;
  background: var(--bg);
  border-radius: 12px;
  font-size: 14px;
  color: var(--txt3);
  border: 1px solid var(--border);
  word-break: break-word;
}

/* ===== HINT ===== */
.hint {
  font-size: 12px;
  color: var(--txt3);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.email-hint {
  background: var(--accent-bg);
  padding: 10px 14px;
  border-radius: 10px;
  margin-top: 8px;
}

/* ===== SEGMENTED CONTROL ===== */
.segmented-control {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px 12px;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.seg-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 8px;
  transition: .2s;
  font-size: 14px;
  color: var(--txt2);
  font-weight: 500;
  position: relative;
}

  .seg-item:hover {
    background: var(--primary-bg);
    color: var(--primary);
  }

  .seg-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #FFFFFF;
    cursor: pointer;
    transition: .25s;
    flex-shrink: 0;
    margin: 0;
    position: relative;
  }

    .seg-item input[type="radio"]:hover {
      border-color: var(--primary-l);
      box-shadow: 0 0 0 3px var(--primary-bg);
    }

    .seg-item input[type="radio"]:checked {
      border-color: var(--primary);
      background-image: radial-gradient(var(--primary) 45%, transparent 50%);
      box-shadow: 0 0 0 2px rgba(89,178,146,.15);
    }

      .seg-item input[type="radio"]:checked + span {
        color: var(--primary);
        font-weight: 600;
      }

/* ===== DOB ROW ===== */
.dob-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

  .dob-row select {
    flex: 1;
    min-width: 80px;
    background: #FFFFFF;
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 13px;
    color: var(--txt);
    cursor: pointer;
    transition: .25s;
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--font);
  }

    .dob-row select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px var(--primary-bg);
    }

.dob-errors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== CUSTOM CHECK (GDPR) ===== */
.custom-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--txt2);
  line-height: 1.7;
  cursor: pointer;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: .2s;
}

  .custom-check-item:hover {
    background: var(--primary-bg);
  }

  .custom-check-item .custom-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: .2s;
    margin-top: 2px;
  }

    .custom-check-item .custom-check svg {
      width: 12px;
      height: 12px;
      fill: #fff;
      display: none;
    }

    .custom-check-item input:checked ~ .custom-check,
    .custom-check-item .custom-check.checked {
      background: var(--primary);
      border-color: var(--primary);
    }

  .custom-check-item input:checked ~ svg {
    display: block;
  }

  .custom-check-item a {
    color: var(--primary);
    font-weight: 500;
  }

/* ===== FORM ACTIONS ===== */
.form-actions {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-save {
  background: var(--primary);
  color: #fff;
  padding: 13px 36px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: .3s;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

  .btn-save:hover {
    background: var(--primary-d);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(89,178,146,.3);
  }

  .btn-save svg {
    width: 18px;
    height: 18px;
    fill: #fff;
  }

/* ===== CHANGE PASSWORD SPECIFICS ===== */
.form-input-wrapper {
  position: relative;
}

.change-password-recovery-link {
  margin-top: 6px;
  font-size: 12px;
}

  .change-password-recovery-link a {
    color: var(--primary);
    font-weight: 500;
  }

/* ===== ACCOUNT NAVIGATION ===== */
.account-nav {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.account-nav-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(89,178,146,.05), rgba(255,201,77,.03));
}

.account-nav-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-l));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.account-nav-user {
  display: flex;
  flex-direction: column;
}

.account-nav-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
}

.account-nav-sub {
  font-size: 11px;
  color: var(--txt3);
}

.account-nav-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--txt2);
  transition: .25s;
  position: relative;
  text-decoration: none;
}

  .nav-item:hover {
    background: var(--primary-bg);
    color: var(--primary);
  }

  .nav-item.active {
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
  }

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

  .nav-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--txt3);
    transition: .25s;
  }

.nav-item:hover .nav-icon svg {
  fill: var(--primary);
}

.nav-item.active .nav-icon svg {
  fill: var(--primary);
}

.nav-text {
  flex: 1;
}

.nav-active-bar {
  width: 3px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ===== CUSTOM RADIO BUTTONS & CHECKBOXES ===== */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
  vertical-align: middle;
  transition: .2s;
  margin-left: 6px;
  flex-shrink: 0;
}

  input[type="radio"]:checked {
    border-color: var(--primary);
    background: #FFFFFF;
    background-image: radial-gradient(var(--primary) 40%, transparent 45%);
    box-shadow: 0 0 0 2px var(--primary-bg);
  }

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
  vertical-align: middle;
  transition: .2s;
  margin-left: 6px;
  flex-shrink: 0;
  position: relative;
}

  input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
  }

  input[type="checkbox"]:focus,
  input[type="radio"]:focus {
    box-shadow: 0 0 0 3px var(--primary-bg);
    outline: none;
  }

/* ===== ATTRIBUTES ===== */
.custom-attributes-field {
  margin-bottom: 20px;
}

.option-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

  .option-item input[type="radio"],
  .option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
  }

.attribute-control-wrapper .textarea {
  min-height: 100px;
  padding: 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  width: 100%;
  resize: vertical;
  font-family: var(--font);
}

/* ========================= AVATAR PAGE ========================= */
.avatar-modern-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.avatar-preview-wrap {
  display: flex;
  justify-content: center;
}

.avatar-preview-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.avatar-upload-area {
  width: 100%;
}

.avatar-upload-box {
  width: 100%;
  border: 2px dashed #d8dce7;
  border-radius: 20px;
  padding: 34px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: .2s;
  background: #fafbff;
}

  .avatar-upload-box:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,.03);
  }

  .avatar-upload-box input {
    display: none;
  }

.avatar-upload-content {
  text-align: center;
}

  .avatar-upload-content svg {
    width: 42px;
    height: 42px;
    fill: var(--primary);
    margin-bottom: 12px;
  }

  .avatar-upload-content span {
    display: block;
    font-weight: 700;
    color: var(--txt);
    margin-bottom: 6px;
  }

  .avatar-upload-content small {
    color: #888;
  }

.avatar-rules {
  font-size: 13px;
  color: #777;
  line-height: 1.9;
  text-align: center;
}

.btn-remove-avatar {
  height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  border: none;
  background: #fff1f2;
  color: #e11d48;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: .2s;
}

  .btn-remove-avatar:hover {
    background: #ffe4e6;
  }

  .btn-remove-avatar svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

/* ======================== RESPONSIVE FIXES ======================== */

@media(max-width:1280px) {
  .counselors-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu {
    padding-right: 10px;
  }

    .nav-menu > li > a {
      padding: 20px 8px;
      font-size: 13px;
    }
}

@media(max-width:1100px) {
  /* حساب کاربری تبدیل به تک ستون میشود در زوم 125% ویندوز */
  .account-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .account-sidebar {
    position: static !important;
  }

  .account-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    background: var(--card);
    padding: 10px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 20px;
  }

  .account-nav-header {
    display: none;
  }

  .nav-item {
    padding: 9px 14px;
    font-size: 12.5px;
    border-radius: 8px;
    background: var(--card);
  }

  .nav-active-bar {
    display: none;
  }

  .profile-card-body {
    grid-template-columns: 1fr;
  }
}

@media(max-width:1024px) {
  .hero h1 {
    font-size: 32px;
  }

  .cta-box {
    padding: 40px 20px;
  }

    .cta-box h2 {
      font-size: 24px;
    }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

    .how-grid::before {
      display: none;
    }
}

@media(max-width:992px) {
  .nav-menu, .nav-actions {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .search-widget {
    flex-direction: column;
    gap: 6px;
    padding: 12px;
  }

  .search-field, .search-loc {
    width: 100%;
  }

  .btn-search {
    width: 100%;
    justify-content: center;
  }

  /* پنل لاگین و ثبت نام */
  .auth-page {
    padding: 12px;
  }

  .auth-container {
    display: block;
    min-height: auto;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
  }

  /* مخفی کردن پنل سبز رنگ در موبایل و تبلت */
  .auth-decor {
    display: none !important;
  }

  .auth-form-side {
    width: 100%;
    padding: 28px 20px;
    border-radius: 20px;
  }

    .auth-form-side::before {
      display: none;
    }

  .form-row, .register-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:768px) {
  .hero h1 {
    font-size: 25px;
  }

  .hero-sub {
    font-size: 13.5px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat .num {
    font-size: 20px;
  }

  .counselors-grid, .articles-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    flex-direction: column;
  }

  .article-thumb {
    width: 100%;
    min-height: 150px;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-remove-avatar,
  .btn-save {
    width: 100%;
    justify-content: center;
  }

  .avatar-preview-img {
    width: 110px;
    height: 110px;
  }

  .avatar-upload-box {
    padding: 26px 14px;
  }
}

@media(max-width:576px) {
  .container {
    padding: 0 16px;
  }

  .account-layout {
    margin: 10px auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 44px 16px 36px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .auth-form-side {
    padding: 24px 16px;
  }

  .auth-page-title h2 {
    font-size: 24px;
  }

  .field .input {
    font-size: 16px; /* جلوگیری از زوم اتوماتیک روی اینپوت‌های موبایل */
  }

  .form-remember {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .social-btns {
    flex-direction: column;
  }

  .btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 15px;
  }
}
/* ====================== PROFILE MENU IN HEADER ====================== */
.profile-menu {
  position: relative;
  margin-right: 8px;
  display: inline-block;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--txt2);
  transition: all 0.25s;
}

  .profile-link:hover {
    background: var(--primary-bg);
    color: var(--primary);
  }

.profile-link-icon {
  display: flex;
  align-items: center;
}

.profile-link .arrow {
  transition: transform 0.3s ease;
  fill: var(--txt3);
}

.profile-menu:hover .arrow,
.profile-menu.active .arrow,
.profile-menu:focus-within .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.profile-dropdown {
  position: absolute;
  top: 100%;
  left: 0; /* در سایت‌های RTL معمولا آیکون پروفایل سمت چپ هست، منو سمت چپ باز میشود */
  right: auto;
  min-width: 220px;
  max-width: 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  margin-top: 8px;
  transition: all 0.25s ease;
  transform: translateY(10px);
  list-style: none !important; /* حذف نقطه لیست */
}

/* نمایش منو در حالت هاور، کلیک و فوکوس */
.profile-menu:hover .profile-dropdown,
.profile-menu.active .profile-dropdown,
.profile-menu:focus-within .profile-dropdown {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
  transform: translateY(0);
}

/* استایل داخل منو */
.profile-user-item {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

  .profile-user-item .avatar-sm {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
  }

    .profile-user-item .avatar-sm img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

.profile-dropdown li a {
  display: block;
  padding: 12px 20px;
  color: var(--txt2);
  transition: all 0.2s;
  white-space: nowrap;
}

  .profile-dropdown li a:hover {
    background: var(--primary-bg);
    color: var(--primary);
    padding-right: 30px;
  }

/* ریسپانسیو برای موبایل و تبلت */
@media (max-width: 992px) {
  .profile-dropdown {
    left: auto;
    right: 0; /* در موبایل منو را به سمت راست آلاین می‌کنیم تا از صفحه خارج نشود */
  }
}
/* موبایل/نام کاربری */
.input.mobile-input {
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
  letter-spacing: .5px;
}

/* وقتی خطا دارد */
.input.input-validation-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, .12);
}

/* متن خطا */
.field-error.field-validation-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #e74c3c;
}
