/*
Theme Name: کهکشان
Theme URI: 
Author: سهیل
Author URI: 
Description: قالب اختصاصی لوکس، سریع و حرفه‌ای
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kahkeshan
Tags: custom-logo, custom-menu, rtl, responsive-layout, editor-style, translation-ready
*/

/* Reset و پایه‌ها */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.7;
    color: #333;
    background: #ffffff;
    overflow-x: hidden;
}

/* رنگ‌ها */
:root {
    --green: #2ecc71;
    --blue: #3498db;
    --white: #ffffff;
    --dark: #2c3e50;
    --light: #f8f9fa;
}

/* لینک‌ها */
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--green); }

/* تصاویر */
img { max-width: 100%; height: auto; display: block; }

/* کانتینر */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* تصاویر وسط‌چین در وردپرس */
img.aligncenter,
.wp-block-image .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.home-feature-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature-box {
    display: flex;
    align-items: center;           /* وسط‌چین عمودی کل محتوا */
    justify-content: center;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    min-height: 360px;             /* ارتفاع ثابت برای هم‌ترازی */
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}

.feature-image img {
    max-width: 180px;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}

.feature-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.feature-desc {
    font-size: 14px;
    color: #666;
}

/* رسپانسیو */
@media (max-width: 991px) {
    .home-feature-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .home-feature-boxes {
        grid-template-columns: 1fr;
    }
}

.top-banner {
    background: #e6f0fa;             /* آبی کم‌رنگ شیک */
    padding: 30px 0;                 /* ارتفاع جمع‌وجور */
    text-align: center;
    border-radius: 0 0 25px 25px;    /* لبه‌های گرد مورب پایین */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* سایه ملایم */
    border: 1px solid #cdd9e6;       /* کادر دور نوار */
}

.banner-container {
    max-width: 900px;
    margin: 0 auto;
}

.banner-title {
    font-size: 32px;                 /* بزرگ‌تر و خواناتر */
    font-weight: bold;
    margin-bottom: 10px;
    color: #003366;
}

.banner-desc {
    font-size: 18px;                 /* متن توضیح خوانا */
    margin-bottom: 15px;
    color: #444;
}

.banner-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 15px;
    background: #007bff;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.banner-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}
.about-section {
    background: #f9fbfd;              /* پس‌زمینه روشن و شیک */
    padding: 60px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 40px 0;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image img {
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
}

.about-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #003366;
}

.about-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.about-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.about-btn:hover {
    background: #0056b3;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-image img {
        max-width: 100%;
    }
}
.counter-section {
    background: linear-gradient(135deg, #007bff, #00c6ff); /* گرادیان آبی شیک */
    padding: 60px 20px;
    border-radius: 20px;
    margin: 40px 0;
    color: #fff;
}

.counter-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.counter-box {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.counter-number {
    font-size: 36px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 16px;
    font-weight: 500;
}

/* رسپانسیو */
@media (max-width: 991px) {
    .counter-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .counter-container {
        grid-template-columns: 1fr;
    }
}
.faq-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
}

.faq-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 40px;
  color: #006699; /* آبی کلاسیک */
}

.faq-item {
  border: 1px solid #e0f0e0;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  text-align: right;
  background: linear-gradient(90deg, #009966, #00b3b3); /* سبز و آبی */
  color: #fff;
  border: none;
  padding: 18px 22px;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.faq-question::after {
  content: "+";
  position: absolute;
  left: 20px;
  font-size: 22px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  background: #f9fdf9;
  color: #333;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 18px 22px;
}
.testimonials-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}

.testimonials-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #006699; /* آبی هماهنگ */
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-box {
  background: #f9fdf9;
  border: 1px solid #e0f0e0;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.testimonial-box:hover {
  transform: translateY(-5px);
}

.testimonial-content p {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #009966; /* سبز هماهنگ */
}

.testimonial-author h3 {
  margin: 0;
  font-size: 18px;
  color: #006699;
}

.testimonial-author span {
  font-size: 14px;
  color: #777;
}

/* رسپانسیو */
@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
}
