.banner-content a {
  text-decoration: none;
}
.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-top: 10px;
  color: #fff;
}

.banner-content {
  position: relative;
  z-index: 2;
}
.fade-in {
  animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
:root {
  --primary-color: #6c26c8;
  --secondary-color: #e74c3c;
  --accent-color: #cfe148;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --info-color: #3498db;
}
.mobile-nav{
  background: darkblue;
}
.main-menu {
  background-color: darkblue;
  padding: 10px 5px;
  border-radius: 15px;
  color: #000;
}
.nav-menu a {
  color: #fff;
}

.feature-area h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  margin-top: 100px;
}
.s{
  background-color: var(--secondary-color)
}
.s1{
  background-color: var(--info-color)
}
.s2{background-color: var(--warning-color)}
/* باکس‌ها */
.feature-area .single-feature {
  border-radius: 25px !important;
  padding: 20px 15px;
  color: white;
  text-align: center;
  
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
}
.single-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* عنوان داخل باکس‌ها */
.single-feature h4 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* متن داخل باکس‌ها */
.single-feature p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* لینک‌های feature-btn */
.feature-btn {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
  font-size: 1rem;
}

.feature-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: darkblue;
  color: #fff;
}
.cta-one-area {
  padding: 80px 0;
  position: relative;
  color: white;
  transform: translateY(-5px);
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
  overflow: hidden;
  background: linear-gradient(135deg, #000000, #00d2ff);
}

.cta-one-area h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: rgb(50, 217, 21);
  position: relative;
}
.cta-one-area p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f1f1f1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  margin: 20px 0px;
}
.menu-content p {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 40px;
}
.menu-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
}
.blog-area .single-blog {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-bottom: 30px;
}
.single-blog:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.blog-area .single-blog .details-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.blog-area .single-blog .details-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-area {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 15px;
  transition: color 0.3s;
}
.single-blog:hover img {
  transform: scale(1.05);
}
.single-blog img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.single-blog a {
  text-decoration: none;
}
.blog-area .single-blog h5:hover {
  color: var(--primary-color);
}

.blog-area .single-blog p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.blog-area .single-blog .details-btn .lnr {
  margin-right: 5px;
}

.banner-area .primary-btn {
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: all 0.4s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.banner-area .primary-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -120%;
  width: 120%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: rotate(25deg);
  transition: 0.6s;
  z-index: -1;
}
 .primary-btn:hover::before {
  left: 120%;
}
.btn-purple {
  background: linear-gradient(135deg, #6c26c8, #9d4edd);
}
.btn-red {
  background: linear-gradient(135deg, #e90202, #ff4d6d);
}
.primary-btn:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}
.btn-purple:hover {
  background: linear-gradient(135deg, #5a1fb0, #7b2cbf);
  color: #fff;
}
.btn-red:hover {
  background: linear-gradient(135deg, #c90000, #e5383b);
  color: #fff;
}
.overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.container {
  position: relative;
  z-index: 2;
}

.cta-box {
  max-width: 700px;
  padding: 40px 30px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: fadeUp 0.8s ease forwards;
}

.cta-btn {
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
}

.back-to-top {
  background: darkblue;
  color: #fff;
}
.floating-button {
  background: linear-gradient(135deg, #080fe2, #001aff);
}

.primary-btn {
  line-height: 42px;
  padding-left: 30px;
  padding-right: 30px;
  border: none;
  color: #fff;
  display: inline-block;
  font-weight: 500;
  position: relative;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  cursor: pointer;
  position: relative;
}

.primary-btn.wh {
  background: #fff;
  color: #222;
  text-transform: uppercase;
}
.primary-btn.wh:hover {
  background: #222;
  color: #fff;
}
.banner-area {
  background: url(../img/banner-bg.jpg) right;
  background-size: cover;
  position: relative;
  height: 100vh;             
  min-height: 100vh;
  margin: 0 !important;      
  padding: 0 !important;}


.banner-area .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;                 
}

.banner-area .container {
  position: relative;
  z-index: 2;                
  height: 100%;
}

.row.fullscreen {
  height: 100%;
  margin: 0;
  align-items: center;        
}

.banner-content {
  padding: 2rem 1rem;
  max-width: 100%;
}
.wrap {
  position: relative;
  z-index: 2;
}
.details-btn {
  border: 1px solid #eee;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}
.details-btn .details {
  visibility: hidden;
  opacity: 0;
  margin-left: -53px;
  font-weight: 600;
  text-transform: uppercase;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
}
.details-btn .lnr {
  color: #ffffff;
  line-height: inherit;
}
.details-btn:hover {
  width: 140px;
  background: green;
  box-shadow: 0px 10px 20px 0px rgba(60, 64, 143, 0.2);
}
.details-btn:hover .details {
  margin-left: 0;
  visibility: visible;
  opacity: 1;
  margin-right: 8px;
}
.details-btn:hover span {
  color: #fff;
  font-weight: 600;
}

.thumb {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* تصویر پس‌زمینه */
.cta-bg-image {
  position: absolute;
  inset: 0;
background: url("../img/cta-bg-image.avif") no-repeat center center/cover;
  opacity: 0.3;
  z-index: 0;
  filter: brightness(0.7);
}
/* رسپانسیو */
@media (max-width: 992px) {
  .cta-one-area h1 {
    font-size: 2rem;
  }
  .cta-one-area p {
    font-size: 1.1rem;
  }
  .blog-area .menu-content h1 {
    font-size: 2.2rem;
  }
  .blog-area .single-blog h5 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  div[style*="background: linear-gradient(135deg, #e74c3c"] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    display: block;
  }

  body {
    padding-top: 100px;
  }
}

@media (max-width: 576px) {
  .banner-area .primary-btn {
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
  }
  .cta-one-area .wrap {
    padding: 30px;
  }
  .blog-area .single-blog {
    padding: 15px;
  }
  .blog-area .single-blog img {
    height: 150px;
  }
}
/* Animation */
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 576px) {
  .primary-btn {
    margin: 10px 0;
    width: 100%;
  }
}
/* ============================================== */
/* بهبود بنر در موبایل (زیر 576px)              */
/* ============================================== */

@media (max-width: 576px) {
  .banner-area {
    min-height: 60vh;                  /* ارتفاع کمتر برای موبایل */
    padding: 40px 0;                   /* فاصله عمودی کمتر */
  }

  .banner-content {
    padding: 1rem 0.5rem;              /* فاصله داخلی کمتر */
    text-align: center !important;     /* وسط‌چین کردن متن */
  }

  .banner-content h1 {
    font-size: 2rem;                   /* عنوان خیلی کوچکتر (از 48px به 32px) */
    line-height: 1.3;                  /* فاصله خطوط بهتر */
    margin-top: 0;                     /* حاشیه بالا کمتر */
    margin-bottom: 1rem;
  }

  .banner-content p {
    font-size: 1rem;                   /* پاراگراف کوچکتر و خواناتر */
    margin: 0 auto 1.5rem;
    max-width: 90%;                    /* عرض کمتر */
    line-height: 1.6;
  }

  .banner-content .primary-btn {
    padding: 12px 28px;                /* دکمه کوچکتر */
    font-size: 0.9rem;                 /* فونت دکمه کوچکتر */
    margin: 10px 0;                    /* فاصله بین دکمه‌ها */
    width: 90%;                        /* تقریباً تمام عرض */
    display: block;                    /* دکمه‌ها زیر هم */
    margin-left: auto;
    margin-right: auto;
  }

  /* دکمه‌ها در موبایل عمودی و وسط‌چین */
  .banner-content a + a {
    margin-top: 12px;
  }
}

/* اختیاری: برای تبلت‌ها (576 تا 768px) */
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 2.5rem;                 /* کمی بزرگتر از موبایل */
  }

  .banner-content p {
    font-size: 1.1rem;
  }
}