:root{
  --primary:#28c1bd;
  --primary-light:#c9f2ef;
  --bg:#eaf9f7;
  --white:#ffffff;
  --text:#1e3a39;
  --muted:#6f8f8d;
  --radius:28px;
  --shadow:0 20px 40px rgba(0,0,0,.08);
}
a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

*{
  box-sizing:border-box;
  margin:0;
  font-family:"Vazirmatn",sans-serif;
}

body{
  background:var(--bg);
  color:var(--text);
}

/* HEADER */
.header{
  background:linear-gradient(135deg,#2ac1c5,#2ec8cc);
  padding:20px 0 30px;
  
}
.header1 {
  display: flex;
}

.btn-consult {
  background: #3edce1;
  border: none;
  padding: 10px 22px;
  border-radius: 14px;
  font-weight: 600;
  color: #fff;
  font-size: 22px;
}
.header-inner{
  max-width:1200px;
  margin:auto;
  padding:0 12px;
  
}
.filter-simple {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 280px;
    background: #fff;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    color: #495057;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: right;
}

.filter-item:hover {
    background: #e9ecef;
    transform: translateX(-3px);
}

.filter-item.active {
    background: #4a6cf7;
    color: white;
    border-color: #4a6cf7;
    box-shadow: 0 2px 8px rgba(74, 108, 247, 0.3);
}

.filter-emoji {
    font-size: 18px;
}

.filter-badge {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin-right: auto;
}




.logoicon img {
  width: 140px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-weight:700;
  font-size:24px;
  flex: 1;
}
.nav img {
  width: 14px;
}
.logo-icon{
  width:36px;
  height:36px;
  background:#fff;
  border-radius:50%;
}

.nav a {
  color: #fff;
  font-size: 11px;
  margin: 0 2px;
}
.nav {
  text-align: center;
}
.btn-consult{
  background:#4fdce0;
  border:none;
  padding:10px 8px;
  border-radius:14px;
  font-weight:600;
  color:#FFF;
  font-size:13px;
}
.search-container {
  display: flex;
  align-items: center;
  background-color: #fff;
  width: 90%;
  max-width: 700px;
  border-radius: 25px;
  padding: 6px 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  margin: -20px auto 15px auto;
}

.search-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); /* Slightly larger shadow on hover */
}

.search-input {
    flex-grow: 1; /* Takes up the available space */
    border: none;
    outline: none;
    background: transparent; /* Inherits container's background */
    font-size: 10px;
    color: #333;
    direction: rtl; /* Right-to-left text direction */
    text-align: right; /* Aligns text to the right */
}

.search-input::placeholder {
    color: #4db6ac; /* Teal color for the placeholder */
    opacity: 1; /* Ensures the color is not faded by the browser */
}

.search-icon {
    font-size: 15px;
    color: #4db6ac; /* Teal color to match the placeholder */
    margin-right: 15px; /* Space between icon and text input */
}




/* CARDS */
.cards {  display: block;  width: 96%;  margin: 2% auto;}
.card-content p {  font-size: 10px;  padding-right: 10px;}
        /* کانتینر اصلی کارت */
        .card {
            width: 47%;
            position: relative;
            border-radius: 25px;
            overflow: hidden; /* این خاصیت تضمین می‌کند که تصویر از گوشه‌های گرد بیرون نزند */
            background-size: cover;
            background-position: center;
            box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.15);
            color: #5D5044;
			display: inline-block;
			margin: 0px 1.1%;
			background: #FFF;
        }

        /* لایه محتوای متنی روی تصویر */
.card-content {
  padding: 5px 8px;
  text-align: right;
  margin-top: -12px;
  position: relative;
}
.h1-card {  display: flex;}
.card-img { position: relative;  width: 100%;  height: auto;}
.card-img img { height: auto;  display: block;  transition: opacity 0.5s ease;width: 100%;}
.card-img::after {  content: "";  position: absolute;  bottom: 0;
  left: 0;  width: 100%;  height: 30%; /* می‌توانید این مقدار را تغییر دهید */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

        /* عنوان اصلی */
      h1 {
  font-size: 10px;
  font-weight: 700;
  margin: 0 0 0 0;
  align-items: center;
  justify-content: flex-end;
  color: #6c5f53;
}

        /* پاراگراف‌های توضیحی */
        p {
            font-size: 15px;
            font-weight: 400;
            margin: 3px 0;
            line-height: 1.6;
            color: #8a7d71;
        }

        /* شکل لوزی تزئینی */
        .diamond {
            color: #b5a495;
            font-size: 10px;
            margin-left: 3px;
            line-height: 1;
        }

/* SERVICES */
.services{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:5px auto;
  width: 90%;
}
.tit-service {  font-size: 10px;}
.service{
  background:var(--white);
border-radius: 12px;
  padding: 6px 4px;
  text-align:center;
  box-shadow:var(--shadow);
}

/* BANNER */
.banner{
  background:linear-gradient(135deg,#bff1eb,#d9faf6);
border-radius: 20px;
  width: 94%;
  margin: 12px auto;
}

/* ARTICLES */
.articles {
  background: #f7fffe;
  border-radius: 28px;
  padding: 16px;
  margin: 16px auto 10px;
  width: 96%;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.tabs{
  display:flex;
  gap:10px;
}

.tabs button{
  border:none;
  padding:8px 20px;
  border-radius:20px;
 background: #bce8ea;
  color: #2D5251A1;
  font-size:11px;
}

.tabs .active{
  background:var(--primary);
  color:#fff;
}

.articles ul{
  margin-top:8px;
  list-style:none;
}

.articles li{
  padding:9px 0;
  border-bottom:1px solid #e4f2f0;
  font-size:10px;
}

.more{
  display:block;
  margin-top:16px;
  color:var(--primary);
}

/* FOOTER */
footer{
  text-align:center;
  padding:40px;
  color:var(--muted);
}

 .banner-1 {
    display: flex;
  }
  
.banner-img {
  position: relative;
  width: 45%;  /* فقط نیمی از صفحه را اشغال کند */
  height: 100%;
  overflow: hidden;  /* این ویژگی باعث می‌شود محتوای اضافی از تصویر ناپدید شود */
}

.banner-img img {
  width: 100%;
  height: auto;
  object-fit: cover;  /* این ویژگی باعث می‌شود تصویر به‌طور کامل در داخل div قرار بگیرد */
  border-radius: 8px;
}

.banner-img::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;  /* فقط در سمت راست تصویر افکت محو را اعمال می‌کند */
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));  /* افکت محو از راست به چپ */
  z-index: 1;  /* این ویژگی باعث می‌شود که افکت محو در بالای تصویر قرار بگیرد */
}

  
  /* استایل برای تصویر بنر */
  .banner-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
	display: block;
	
  }
.banner-img::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(204, 244, 239));  z-index: 1;
}

  
  /* استایل برای جعبه متن */
  .banner-box {
    color: white;
    border-radius: 10px;
	width: 55%;
  }
  
.banner-box p {
  font-size: 10px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #494949;
  padding: 5% 5% 2% 0px;
}
  
  .banner-box button {
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px; /* Increase button font size */
    padding: 7px 8px;
    background-color: #e64a19; /* Set a background color */
	margin: 2px 20px;
  }
  
  .banner-box button:hover {
    background-color: #d43f17; /* Darken the hover color */
  }
