@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans-web.woff2') format('woff2'),
         url('fonts/IRANSans-web.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans_Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

:root{
--primary:#0a2d27;
--secondary:#f48c6a;
--light:#f9f7f2;
--white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'IRANSans', Tahoma, sans-serif;
    direction: rtl;
    scroll-behavior:smooth;
  box-sizing: border-box;
}
html,
body{
background:var(--light);
color:var(--primary);
overflow-x:hidden;
font-family: 'IRANSans', Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  direction: rtl;
  
}
/* Reset */









/* HEADER */
header {
  width: 100%;
  background: var(--primary);
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0;
  border: 0;
}

/* HERO / BANNER */
.baner {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  line-height: 0;
  min-height: calc(100vh - var(--header-height));
}

.baner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  margin: 0;
  padding: 0;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: bold;
  color: white;
}

.logo i {
  color: var(--secondary);
}

/* NAV */
nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
  font-size: 15px;
}

nav a:hover {
  color: var(--secondary);
}

/* CONTACT BOX */
.contact-box {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.contact-box i {
  background: var(--secondary);
  padding: 10px;
  border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  header {
    padding: 14px 4%;
  }

  nav ul {
    gap: 18px;
  }

  .baner {
    min-height: 70vh;
  }
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 4%;
  }

  nav ul {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-box {
    display: none;
  }

  .baner {
    min-height: 60vh;
  }

  .baner img {
    object-position: center center;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 18px;
  }

  nav a {
    font-size: 14px;
  }

  .baner {
    min-height: 52vh;
  }
}

/* بخش بهینه‌سازی‌شده منوی کشویی */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    display: block;
}

.dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #0f2b25;
    list-style: none;
    margin: 8px 0 0 0; 
    padding: 6px 0;
    min-width: 170px !important;
    width: auto;
    z-index: 10010;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    text-align: right;
    white-space: nowrap !important;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #1c4a40;
    color: var(--secondary) !important;
}

/* HERO */

.hero{
min-height:100vh;
background:var(--primary);
display:flex;
align-items:center;
justify-content:space-between;
padding:0 5%;
gap:50px;
color:white;
}


.hero-content{
flex:1;
}
.hero-content h1{
font-size:48px;
line-height:1.5;
margin-bottom:25px;
}

.hero-content p{
font-size:16px;
opacity:.9;
max-width:550px;
margin-bottom:30px;
}

.hero-buttons{
display:flex;
gap:15px;
}

.btn{
padding:14px 30px;
border-radius:10px;
text-decoration:none;
font-weight:bold;
transition:.3s;
display:inline-block;
}

.btn-primary{
background:var(--secondary);
color:white;
}

.btn-primary:hover{
transform:translateY(-4px);
}
.btn-outline{
border:1px solid white;
color:white;
}
.btn-outline:hover{
background:white;
color:var(--primary);
}
.hero-image{
flex:1;
text-align:left;
}
.hero-image img{
width:90%;
border-radius:25px;
box-shadow:25px 25px 0 var(--secondary);
}

/* SECTION */

section{
padding:90px 5%;
}

.section-title{
text-align:center;
margin-bottom:60px;
}
.section-title p{
color:var(--secondary);
font-weight:bold;
margin-bottom:10px;
}
.section-title h2{
font-size:38px;
}

/* SERVICES */

.services{
background:var(--primary);
color:white;
}

.services-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.service-card{
background:#103a33;
padding:40px 25px;
border-radius:120px 120px 20px 20px;
text-align:center;
transition:.4s;
}
.service-card:hover{
transform:translateY(-10px);
border-bottom:5px solid var(--secondary);
}

.service-card i{
font-size:42px;
color:var(--secondary);
margin-bottom:20px;
}

.service-card h3{
margin-bottom:15px;
}

.service-card::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:0;
    height:4px;
    background:#f28c64;
    transform:translateX(-50%);
    transition:.3s;
    }
/* ABOUT */
 .about {
            display: flex;
            gap: 60px;
            align-items: flex-start;
            background: white;
        }

        .about-images {
            flex: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            position: sticky;
            top: 120px;
        }

        .about-images img {
            width: 100%;
            border-radius: 15px;
            object-fit: cover;
        }

        .about-images img:last-child {
            grid-column: span 2;
            height: 250px;
        }

        .about-content {
            flex: 1.2;
        }

        .about-content p {
            line-height: 1.8;
            margin-bottom: 20px;
            text-align: justify;
        }

        .about-content h3 {
            margin: 30px 0 15px;
            color: var(--primary);
            border-right: 4px solid var(--secondary);
            padding-right: 15px;
        }

        .about-tag{
        color:var(--secondary);
        font-weight:bold;
        margin-bottom:10px;
        }

        .about-title{
        font-size:50px;
        margin-bottom:25px;
        }
/* PROGRESS */

.progress-item{
margin-bottom:30px;
}

.progress-label{
display:flex;
justify-content:space-between;
margin-bottom:8px;
font-weight:bold;
}

.progress-bar{
height:12px;
background:#eee;
border-radius:10px;
overflow:hidden;
}

.progress-fill{
height:100%;
width:0;
background:linear-gradient(90deg,var(--secondary),#ffb08c);
border-radius:10px;
transition:width 2s ease;
}

/* TEAM */

.team {
    padding: 90px 0;
    background: #f9f9f6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.team-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.team-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f28c64;
    margin-bottom: 18px;
}

.team-card h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: #0b3d2e;
}

.team-card p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}
.team-image{
    overflow:hidden;
}
.team-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.team-card::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:0;
    height:4px;
    background:#f28c64;
    transform:translateX(-50%);
    transition:.3s;
}
.team-card:hover::after{
    width:70%;
}

/* STATS */

.stats{
background:var(--primary);
color:white;
text-align:center;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:30px;
text-align:center;
}

.stat-box h2{
font-size:45px;
color:var(--secondary);
margin-bottom:10px;
}


/* CONTACT */

/* تنظیم کلی بخش */
.contact {
    padding: 80px 20px;
    background-color: #fcfcfc;
    background-image: radial-gradient(#e1e1e1 1px, transparent 1px);
    background-size: 30px 30px;
    direction: rtl;
}

/* شبکه باکس‌ها */
.contact-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

/* کارت‌ها */
.contact-card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* آیکون دایره‌ای */
.contact-card i {
    font-size: 28px;
    color: #0b3e32;
    background: #f0f0f0;
    width: 65px;
    height: 65px;
    line-height: 65px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: 0.3s;
}

.contact-card:hover i {
    background: #ff8c5a;
    color: #fff;
}

/* خط هاور نارنجی (مشابه مدیران) */
.contact-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 6px;
    background: #ff8c5a;
    border-radius: 6px 6px 0 0;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover::after {
    transform: scaleX(1);
}



/* تنظیم متن */
.contact-card h3 { margin-bottom: 15px; color: #0b3e32; }
.contact-card p { color: #555; line-height: 1.8; }
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* متن کوچک بالای تیتر */
.subtitle {
    display: block;
    font-size: 0.9rem;
    color: #ff8c5a; /* رنگ نارنجی برند */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* تیتر اصلی */
.main-title {
    font-size: 1.2rem;
    color: #0b3e32; /* رنگ سبز تیره برند */
    position: relative;
    margin: 0;
}

/* خط تزیینی زیر تیتر */
.title-divider {
    width: 60px;
    height: 3px;
    background: #ffffffff;
    margin: 15px auto 0;
    border-radius: 2px;
}



/* FOOTER */

footer{
background:var(--primary);
color:white;
padding:70px 5% 20px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
}

.footer-col h4{
margin-bottom:20px;
color:var(--secondary);
}

.footer-col ul{
list-style:none;
}

.footer-col li{
margin-bottom:12px;
}

.footer-col a{
color:white;
text-decoration:none;
}

.footer-col a:hover{
color:var(--secondary);
}

.copyright{
text-align:center;
margin-top:40px;
opacity:.7;
font-size:13px;
}

/* ANIMATION */

.fade-up{
opacity:0;
transform:translateY(50px);
transition:1s;
}

.fade-up.show{
opacity:1;
transform:translateY(0);
}
