* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Vazirmatn', sans-serif;
}

body {
  line-height: 1.6;
  direction: rtl;
  background-color: #fdfdfd;
  color: #333;
}

/* Header */
 body, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  a { text-decoration: none; color: white; }
  ul { list-style: none; }

  /* هدر اصلی */
  .main-header { background-color: #004466; /* سرمه‌ای */ }
  .main-header .container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
  }
  .logo { font-size: 24px; font-weight: bold; }
  .logo img{
    height: 50px;
    width: auto;

  }
  .main-header .logo{
    order: 0;
  }
  .main-header nav{
    order: 1;
  }


  body, ul, li { margin: 0; padding: 0; box-sizing: border-box; }
  a { text-decoration: none; color: white; }
  ul { list-style: none; }

  .top-bar { background: #1a1a1a; color: #fff; font-size: 14px; padding: 5px 0; }
  .top-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

  .main-header { background: #004466; }
  .main-header .container {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 10px 15px;
  }
  .logo { font-size: 24px; font-weight: bold; }

  .desktop-menu ul { display: flex; gap: 20px; }
  .desktop-menu li a { padding: 10px; transition: 0.3s; }
  .desktop-menu li a:hover { color: #00bfff; }

  .mobile-menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 4px; }
  .mobile-menu-toggle span { width: 25px; height: 3px; background: white; display: block; }

  /* منوی موبایل */
  .mobile-menu {
    position: absolute;
    top: 60px;
    right: 0;
    width: 150px;
    background: #0d1b2a;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .mobile-menu ul { display: flex; flex-direction: column; gap: 10px; padding: 10px 15px; }
  .mobile-menu.active { max-height: 300px; }

  @media (max-width: 768px) {
    .desktop-menu { display: none; }
    .mobile-menu-toggle { display: flex; }
  }

/*banner section*/
.banner {
  background-color: rgb(250, 248, 250);
  padding: 30px 20px;
  width: 100%;
  height: 400px;
  
}
.banner-content {
  display: flex; 
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;

}
 .banner-img-container{
  flex: 1;
  max-width: 300px;
 }
 .banner-img{
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 10px;
 }
 
 .banner-text{
  flex: 1;
  min-width: 300px;
  text-align: right;
  direction: rtl;
 }
.banner-text h1{
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}
.shiny {
  font-size: 36px;
  font-weight: bold;
  background: linear-gradient(90deg, #fff, rgb(0, 0, 0), #fff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  from {
    background-position: 200% center;
  }
  to {
    background-position: -200% center;
  }
}
.circle-services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.circle {
  width: 90px;
  height: 90px;
  background-color: #f0f8ff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-align: center;
}

.circle i {
  font-size: 24px;
  color: #007bff;
  margin-bottom: 6px;
}

.circle p {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.circle:hover {
  transform: scale(1.1);
  background-color: #e0f0ff;
}

.coming-soon {
  opacity: 0.5;
  position: relative;
}

.coming-soon::after {
  content: "به‌زودی";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  background-color: #f39c12;
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
}
.cleaning-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.cleaning-options a {
  background-color: #f0f8ff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.2s ease;
}

.cleaning-options a:hover {
  background-color: #d6eaff;
}

.hidden {
  display: none;
}

/* 📱 حالت ریسپانسیو */
@media (max-width: 768px) {
  .circle {
    width: 70px;
    height: 70px;
  }

  .circle i {
    font-size: 20px;
  }

  .circle p {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .circle {
    width: 60px;
    height: 60px;
  }

  .circle i {
    font-size: 18px;
  }

  .circle p {
    font-size: 9px;
  }
}
 @media(max-width: 768px) {
  .banner-content{
    flex-direction: column;
    text-align: center;
  }
  .banner-text{
    text-align: center;
    direction: rtl;
  }
  .banner-buttons{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .banner-buttons a {
   margin: 0;
  }
 }
 
/* Services Section */
.tips-section { 
  max-width: 1000px; 
  margin: 50px auto; 
  padding: 0 15px; 
}
.tips-section h2 { 
  text-align: center; 
  margin-bottom: 40px; 
  color: #00bfff; 
  font-size: 28px; 
}
.tip-card { 
  background: #004466; 
  color: #fff; 
  margin-bottom: 20px; 
  border-radius: 12px; 
  overflow: hidden; 
  cursor: pointer; 
  transition: all 0.3s ease; 
}
.tip-card:hover { 
  box-shadow: 0 6px 18px rgba(0,0,0,0.5); 
}
.tip-header { 
  display: flex; 
  align-items: center; 
  padding: 15px; 
  gap: 15px; 
}
.tip-img { 
  width: 70px; 
  height: 70px; 
  background: #004466; 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 12px; 
  color: #fff;
}
.tip-header h3 { 
  margin: 0; 
  font-size: 20px; 
  line-height: 1.3; 
}
.tip-content { 
  display: none; 
  padding: 0 15px 15px; 
  font-size: 15px; 
  line-height: 1.6; 
  color: #e0e0e0;
}
@media (max-width: 768px){
  .tip-header { flex-direction: column; align-items: flex-start; }
  .tip-img { width: 100%; height: 150px; font-size: 14px; }
}
/*دکمه زنگ*/
.call-button{
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color:#4a97df ;
  color: white;
  font-size: 28px;
  text-align: center;
  border-radius: 50%;
  z-index: 1000;
  text-decoration: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.call-button .ripple{
  content: "";
  display: block;
  position: fixed;
  width: 60px;
  height: 60px;
  border: 2px solid #4a97df;
  border-radius: 50%;
  animation: pluse 2s linear infinite;
  opacity: 0.6;
  transform: translate(-50% -50%);
  z-index: 999;
}
.call-button .ripple.delay{
  animation-delay: 1s;
}
@keyframes pluse {
  0%{
    transform: scale(1);
    opacity: 0.6;
  }
  70%{
    transform: scale(2);
    opacity: 0.3;
  }
  100%{
    transform: scale(2.5);
    opacity: 0;
  }
}
.testimonials-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 15px;
  text-align: center;
}
.testimonials-section h2 { margin-bottom: 30px; }

.testimonials-slider-wrapper {
  overflow: hidden;
}
.testimonials-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: 250px;
  background: #004466;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.testimonial-card h3 { margin-bottom: 10px; font-size: 18px; }
.testimonial-card p { margin-bottom: 15px; font-size: 14px; line-height: 1.5; }
.stars span { color: white; margin: 0 2px; }
.stars span.filled { color: gold;}

.open-form-btn {
  margin-top: 20px;
  padding: 10px 25px;
  border: none;
  background-color: #00bfff;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
.open-form-btn:hover { background-color: #0099cc; }

/* پاپ‌آپ فرم */
.testimonial-popup {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-content {
  background:#004466;
  padding: 30px;
  border-radius: 15px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}
.popup-content input, .popup-content textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
}
.popup-content button {
  padding: 10px 25px;
  border: none;
  background-color: #00bfff;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 10px;
}
.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  cursor: pointer;
}
/* ریسپانسیو */
@media (max-width: 768px){
  .testimonial-card { min-width: 200px; }
}
/*lastpart*/
:root {
  --primary-blue: #007BFF;
  --light-blue: #e6f0ff;
  --text-dark: #222;
  --text-light: #555;
  --bg-white: #fff;
}

.features {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap:16px;
  flex-wrap: wrap;
  background-color: var(--light-blue);
  padding: 40px 20px;
  text-align: center;
}

.feature-box {
  flex: 0 1 32%;
  max-width: 32%;
  background-color: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.1);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.feature-box i {
  font-size: 36px;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.feature-box h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 14px;
  color: var(--text-light);
}

/* حالت ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .feature-box {
    flex: 0 1 47%;
    max-width: 47%;
  }
}


/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  background-color: #004466; /* رنگ آبی هومیتا */
  color: white;
  padding: 20px 40px;
  flex-wrap: wrap;
}

.footer-right {
  text-align: right;
  max-width: 60%;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.footer-right ul li {
  margin-bottom: 8px;
  text-decoration: underline;
  display: flex;
  gap: 20px;
}

.footer-right ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
  
}

.footer-right ul li a:hover {
  color: #cce5ff;
}

.footer-right address {
  font-style: normal;
  font-size: 14px;
  opacity: 0.8;
  display: block;
  margin-bottom: 10px;
}

.footer-about p {
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.4;
}

.footer-about a {
  color: #cce5ff;
  text-decoration: none;
}

.footer-about a:hover {
  text-decoration: underline;
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 20px;
  }
  .footer-right {
    max-width: 100%;
  }
  .footer-about p {
    white-space: nowrap; /* جلوگیری از شکست خط */
    overflow-x: auto;
  }
}

.circle-services{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}
.circle-services::after{
  content: "";
  flex-basis: 100%;
  height: 0;
}
