@font-face {
  font-family: 'IRANSans';
  src: url('../font/iransans/IRANSansXFaNum-UltraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../font/iransans/IRANSansXFaNum-Thin.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../font/iransans/IRANSansXFaNum-Light.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../font/iransans/IRANSansXFaNum-Regular.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../font/iransans/IRANSansXFaNum-Medium.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../font/iransans/IRANSansXFaNum-DemiBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../font/iransans/IRANSansXFaNum-Bold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSans';
  src: url('../font/iransans/IRANSansXFaNum-ExtraBold.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --muted:#8b95a6;
  --primary:#008c95;
  --primary-hover:#006f77;
  --primary-soft:#e8f7f8;
  --text:#1f2937;
  --border:#dbe3ea;
  --danger:#dc3545;
  --radius:14px;
  --shadow: 0 8px 22px rgba(28,43,65,0.07);
  --soft-shadow: 0 6px 16px rgba(28,43,65,0.04);
  --gap:24px;
  font-family: "IRANSans", "Tahoma", system-ui, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:#222;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-family: "IRANSans", "Tahoma", system-ui, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(0, 140, 149, 0.22);
  outline-offset: 2px;
}

/* header */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 48px;
  gap:16px;
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  position:sticky;
  top:0;
  z-index:10;
}

.logo{font-weight:700;color:var(--primary)}

.top-nav {
  font-family: "IRANSans", "Tahoma", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
}
.top-nav a {
  margin-left: 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
  transition: color 0.2s ease;
}
.top-nav a:hover {
  color: var(--primary);
}
.top-nav a:first-child {
  color: var(--primary);
  font-weight: 600;
}

.top-nav .logout-link {
  margin-left: 18px;
  padding: 0;
  color: var(--danger);
  background: none;
  border: 0;
  font-size: inherit;
  font-weight: 500;
  cursor: pointer;
}

.top-nav .logout-link:hover {
  color: #b4232f;
}

.logo-img{
    height: 64px;
}

.slider-img {
    width: 100%;
    border-radius: 16px;
    display: block;
}


/* main layout */
.container{
  max-width:1180px;
  margin:28px auto;
  padding:0 18px 48px;
}

/* hero + login */
.hero-and-login{
  display:flex;
  gap:var(--gap);
  align-items:flex-start;
}

/* hero image card */
.hero-card{
  flex:1 1 66%;
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
  overflow:hidden;
}
.hero-card img{
  width:100%;
  height:460px;
  border-radius:12px;
  display:block;
}

/* slider */
.slider-container{
  position:relative;
  overflow:hidden;
  border-radius:12px;
}
.slider-track{
  display:flex;
  transition:transform 0.4s ease;
}
.slider-container .slide{
  flex:0 0 100%;
  width:100%;
}
.slider-container .slide img,
.slider-container .slide a{
  display:block;
}
.slider-container .slide a img{
  width:100%;
}
.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.8);
  background:rgba(0,0,0,0.35);
  color:#fff;
  font-size:24px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background 0.2s;
  z-index:2;
}
.slider-btn:hover{
  background:rgba(0,0,0,0.5);
}
.slider-prev{right:12px}
.slider-next{left:12px}
[dir="rtl"] .slider-prev{right:auto;left:12px}
[dir="rtl"] .slider-next{left:auto;right:12px}
.slider-indicators{
  position:absolute;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:2;
}
.slider-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,0.5);
  cursor:pointer;
  padding:0;
  transition:background 0.2s;
}
.slider-dot:hover,
.slider-dot.active{
  background:rgba(255,255,255,0.95);
}

/* login card */
.login-card{
  width:350px;
  height: 496px;
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--soft-shadow);
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:12px;
    opacity: 1;
    top: 144px;
    left: 1291px;
    border-radius: 16px;
    border-width: 1px;
}
.login-card h2{
  margin:0 0 8px 0;
  font-size:20px;
  text-align:center;


}
.login-form label{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:8px;
  padding-top: 16px;


  
}
.login-form input[type="text"],
.login-form input[type="password"]{
  width:100%;
  padding:12px 16px 12px 16px ;
  margin-top:6px;
  border-radius:8px;
  border:1px solid #eef2f7;
  background:#fafbff;
  outline:none;
  font-size:14px;
  font-family: "IRANSans";
  height: 48px;
}
.login-form input:focus{
  border-color:rgba(41,88,255,0.22);
  box-shadow:0 6px 18px rgba(41,88,255,0.06);
}
.remember{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin:6px 0 12px}
.btn-primary{
  background:var(--primary);
  color:#fff;
  border:none;
  padding:12px 24px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
  box-shadow: 0 8px 20px rgba(41,88,255,0.18);
  width: 100%;
  height: 48px;
  font-family: "IRANSans";
}
.btn-primary:hover{transform:translateY(-1px)}
.forgot{
  display:block;
  margin-top:10px;
  text-align:center;
  color:var(--primary);
  text-decoration:none;
  font-size:13px;
  padding-top: 16px;
}

/* quick buttons row */
.quick-buttons{
  margin-top:22px;
  /* display:flex; */
  display: none;
  gap:14px;
  flex-wrap:wrap;
  
}
.quick{
  flex:1 1 220px;
  background:var(--card);
  border-radius:12px;
  padding:16px 18px;
  box-shadow:var(--soft-shadow);
  border:1px solid rgba(18,30,50,0.03);
  cursor:pointer;
  font-weight:600;
  font-family: "IRANSans";
}

/* footer */
.site-footer{
  text-align:center;
  color:var(--muted);
  padding:28px 0 80px;
  font-size:13px;
}

/* hamburger menu - hidden on desktop */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}
.hamburger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* responsive */
@media (max-width:980px){
  .hero-and-login{flex-direction:column-reverse}
  .login-card{width:100%}
  .hero-card img{height:320px}
}
@media (max-width:768px){
  .hamburger-menu { display: flex; }
  .mobile-menu-overlay { display: block; }
  .top-nav{
    display:none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    background: var(--card);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    padding: 80px 24px 24px;
    gap: 0;
    z-index: 1000;
    overflow-y: auto;
  }
  .top-nav.active {
    display: flex;
  }
  .top-nav a {
    margin-left: 0;
    margin-bottom: 4px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }
  .top-nav .logout-link {
    width: 100%;
    margin: 8px 0 0;
    padding: 12px 0;
    text-align: right;
  }
  .top-nav form {
    margin-left: 0 !important;
    margin-top: 12px;
  }
}
@media (max-width:560px){
  .hero-card img{height:220px}
}
