/* ============================= HERO SECTION =============================== */
.hero-section {
    position: relative;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero/hero-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* .hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
} */

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.primary-color {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.4s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    font-size: 1.8rem;
    color: white;
    opacity: 0.8;
    cursor: pointer;
}

.scroll-arrow {
    font-size: 1.8rem;
    color: white;
    opacity: 0.8;
    cursor: pointer;
}

/* responsive */
@media (max-width: 991px) {
    .desktop-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 25px;
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }
}

/* scroll-indicator */
.scroll-indicator {
    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 0.5s 1s forwards;
}

.scroll-arrow {
    color: var(--white-color);
    font-size: 2rem;
    animation: bounce 1.5s infinite;
}



/* ===================================== about section ========================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image-section {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-text-section {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-image-section.visible,
.about-text-section.visible {
    opacity: 1;
    transform: translateX(0);
}

.image-wrapper {
    width: 100%;
    height: 24rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-subtitle {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon span {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ===================================== features grid ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--white-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-light);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================== animations ========================================== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.animate {
    opacity: 1;
    transform: translate(0, 0);
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }

    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 5rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.btn:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ===================================== services section ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-large);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    height: 100%;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-image {
    position: relative;
    height: 14rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.service-icon-wrapper {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

.service-icon-wrapper i {
    color: var(--white);
    font-size: 1.75rem;
}

/* Service icon colors */
.bg-red {
    background-color: #ef4444;
}

.bg-blue {
    background-color: #3b82f6;
}

.bg-purple {
    background-color: #8b5cf6;
}

.bg-orange {
    background-color: #f97316;
}

.bg-green {
    background-color: #10b981;
}

.bg-cyan {
    background-color: #06b6d4;
}

.service-content {
    padding: 1.5rem;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-image {
        height: 16rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-image {
        height: 14rem;
    }
}

@media (min-width: 1280px) {
    .service-image {
        height: 16rem;
    }
}



/* ===================================== trainers section ========================================== */
.trainers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.trainer-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-large);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.trainer-image {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.1);
}

.trainer-image .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
}

.trainer-social-links {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trainer-card:hover .trainer-social-links {
    opacity: 1;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-link i {
    color: var(--white-color);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-link:hover i {
    color: var(--white);
}

.trainer-content {
    padding: 1.5rem;
}

.trainer-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.trainer-specialty {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.trainer-experience {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.trainer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.certification-badge {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ===================================== responsive trainers ========================================== */
@media (min-width: 640px) {
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trainer-image {
        height: 22rem;
    }
}

@media (min-width: 1024px) {
    .trainers-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .trainer-image {
        height: 20rem;
    }
}

@media (min-width: 1280px) {
    .trainer-image {
        height: 22rem;
    }
}

/* ===================================== pricing section ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 76rem;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-large);
    transition:  transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-card.popular-plan {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular-plan:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

.pricing-content {
    padding: 2.5rem 1.5rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-header-content {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.plan-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.price-container {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.currency {
    color: var(--text-muted);
    font-size: 1rem;
}

.period {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.features-list {
    flex: 1;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.feature-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.plan-select-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    border: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-content {
        padding: 2.5rem 2rem 2rem;
    }
}

@media (min-width: 1024px) {
    .pricing-card.popular-plan {
        transform: scale(1.05);
    }

    .pricing-card.popular-plan:hover {
        transform: scale(1.05) translateY(-10px);
    }
}

/* ===================================== testimonial  ========================================== */
.testimonials-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.swiper-slide {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-10px);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-color);
}

.testimonial-text {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-role {
    color: #777;
    font-size: 14px;
}

.swiper-button-next,
.swiper-button-prev {
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .swiper-slide {
        padding: 20px;
    }
}
.testimonials-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.swiper-slide {
  background: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.swiper-slide:hover {
  transform: translateY(-10px);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 3px solid var(--primary-color);
}

.testimonial-text {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-role {
  color: #777;
  font-size: 14px;
}

.swiper-button-next,
.swiper-button-prev {
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white-color);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.1);
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .swiper-slide {
    padding: 20px;
  }
}
 /* استایل دکمه ثبت نظر */
        .add-testimonial-btn {
            background:  var(--primary-gradient);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0 auto 40px;
        }
        
        .add-testimonial-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* استایل مودال */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 20px;
        }
        
        .modal-overlay.active {
            display: flex;
        }
        
        .testimonial-modal {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            width: 100%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            animation: modalAppear 0.3s ease-out;
        }
        
        @keyframes modalAppear {
            from {
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
          /* استایل بولت‌های ناوبری */
        .testimonial-bullets {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 30px 0;
        }
        
        .bullet {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .bullet.active {
            background: #3498db;
            transform: scale(1.2);
        }
        .modal-header {
            background:  var(--primary-gradient);
            color: white;
            padding: 25px;
            text-align: center;
            position: relative;
        }
        
        .modal-header h2 {
            font-size: 1.8rem;
            margin-bottom: 10px;
        }
          
        .modal-header p {
          
            color: var(--white-color);
        }
        
        
        .close-modal {
            position: absolute;
            top: 15px;
            left: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }
        
        .close-modal:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .modal-content {
            padding: 30px;
        }
        
        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .form-group {
            flex: 1;
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: border 0.3s;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #3498db;
            outline: none;
        }
        
        .form-group textarea {
            height: 150px;
            resize: vertical;
        }
        
        .rating-group {
            display: flex;
            gap: 10px;
            direction: ltr;
            margin-top: 10px;
            justify-content: center;
        }
        
        .rating-star {
            font-size: 2.5rem;
            cursor: pointer;
            color: #ddd;
            transition: all 0.2s;
        }
        
        .rating-star:hover,
        .rating-star.active {
            color: #f39c12;
            transform: scale(1.1);
        }
        
        .rating-label {
            display: flex;
            justify-content: space-between;
            margin-top: 5px;
            font-size: 0.9rem;
            color: #7f8c8d;
        }
        
        .submit-btn {
            background: var(--primary-gradient);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            width: 100%;
            transition: transform 0.3s, box-shadow 0.3s;
            margin-top: 10px;
        }
        
        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .form-note {
            text-align: center;
            margin-top: 20px;
            color: #7f8c8d;
            font-size: 0.9rem;
        }


/* ===================================== blog section ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-large);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    border: none;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blog-image {
    position: relative;
    height: 14rem;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 14rem);
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-post-title {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    align-self: flex-start;
    font-family: var(--ff-primary);
}

.blog-read-more:hover {
    color: var(--primary-color);
}

.blog-read-more:hover i {
    transform: translateX(-0.25rem);
}

.blog-read-more i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.blog-actions {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-image {
        height: 16rem;
    }

    .blog-content {
        height: calc(100% - 16rem);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-image {
        height: 14rem;
    }

    .blog-content {
        height: calc(100% - 14rem);
    }
}

@media (min-width: 1280px) {
    .blog-image {
        height: 16rem;
    }

    .blog-content {
        height: calc(100% - 16rem);
    }
}


/* ===================================== contact section ========================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 76rem;
    margin: 0 auto;
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: none;
}

.contact-form-content {
    padding: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition:  border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(0, 0, 0, 0.02);
    font-family: inherit;
    text-align: right;

}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Contact Info */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-info-content {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-details {
    flex: 1;
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Map */
.contact-map {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
}

.map-placeholder {
    height: 16rem;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.125rem;
    margin: 0;
}

/* Form Validation Styles */
.form-input:invalid:not(:focus):not(:placeholder-shown),
.form-textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.form-input:valid:not(:focus):not(:placeholder-shown),
.form-textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.05);
}

@media (min-width: 768px) {
    .contact-form-content {
        padding: 2.5rem;
    }

    .contact-info-content {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .contact-form-content {
        padding: 3rem;
    }
}

