/* Base styles */
:root {
  --primary: #1D437C;
  --secondary: #C8A063;
  --text: #222222;
  --accent: #15F6B6;
  --white: #FFFFFF;
  --gray-light: #F2F2F2;
  --transparent: #FFFFFF00;
  --gray: #AAAAAA;

/* opacity styles */

--secondary-opacity-10: #c8a06337;

}
* {
    font-family: vazirmatn;
}

body {
  margin: 0;
  direction: rtl;
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  user-select: none;

}

/* Layout */
.container {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
}

.header-content {
  height: 5rem;
  display: flex;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

/* Search */
.search-container {
  position: relative;
}

.search-btn {
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: 9999px;
  cursor: pointer;
}

.search-btn:hover {
  background: var(--gray-light);
}

.search-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-box {
  position: absolute;
  top: 100%;
  left: 0;
  /*right: 0;*/
  background: var(--white);
  padding: 0.5rem;
  padding-left: 1.6rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: none;
  margin-top: 0.5rem;
  min-width: 200px;
}

.search-box.active {
  display: block;
}

.search-box input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #fff;
  border-radius: 0.25rem;
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  outline-color: var(--secondary-opacity-10);
}

/* Buttons */
.menu-btn {
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: 9999px;
  cursor: pointer;
}

.menu-btn:hover {
  background: var(--gray-light);
}

.menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.appointment-btn {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  font-weight: 500;
}

.appointment-btn:hover {
  background: var(--primary  );
}

.appointment-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Menu Item with Submenu */
.menu-item {
  position: relative;
}

.has-submenu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chevron-down {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}

.menu-item:hover .chevron-down {
  transform: rotate(180deg);
}

/* Submenu */
.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
}

.menu-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text);
  transition: all 0.2s;
}

.submenu a:hover {
  background: var(--gray-light);
  color: var(--primary);
}


/* Mobile Header */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Desktop Header */
.desktop-header {
  display: none;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--primary);
}

.desktop-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-light);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0 1rem;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu .submenu {
  display: none;
  background-color: var(--white);
  padding: 0.5rem 1rem;
}

.mobile-menu .submenu.active {
  display: block;
  z-index: 20;
  margin-top: 1rem;
}
.mobile-menu .submenu a{
  margin: 0.5rem 0;
}

/* Media Queries */
@media (min-width: 1024px) {
  .mobile-header {
    display: none;
  }
  
  .desktop-header {
    display: flex;
  }
  
  .mobile-menu {
    display: none !important;
  }
  
  .search-box {
    min-width: 300px;
  }
}


/* Hero Slider */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider-container {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.slide-content {
  position: absolute; 
  bottom: 2rem; 
  right: 50%; 
  z-index: 1;
  max-width: 1110px;
  color: var(--white);
  text-align: right;
  direction: rtl; 
  padding-left: 20px;
}


.slide-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.more-info {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-family: 'Vazirmatn', system-ui;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.more-info:hover {
  background: var(--primary);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 2;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.prev {
  right: 2rem;
}

.next {
  left: 2rem;
}

/* Services Section */
.services {
  margin: 4rem 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-decoration: none;
  aspect-ratio: 1;
  filter: none;
}

.service-card:hover {
  transform: translateY(-5px);
  filter: grayscale(1);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 1rem;
  background: linear-gradient(to top, #1d437c4d, #ffffff00);
  color: var(--primary);
  margin: 0;
  font-size: 1rem;
}

.more-services {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1rem;
  text-decoration:none;
}
.more-services span:hover{
  color: var(--primary);
}

/*Portfolio*/
.Portfolio {
  display: flex;
    flex-direction: row-reverse;
    gap: 50px;
    padding: 20px;
    justify-content: center;
    user-select: none;

}

/* comparison slider styles */
.image-comparison {
  text-align: center;
}

.comparison-container {
  position: relative;
  width: 95%;
  height: 350px;
  margin: 0 auto;
  border-radius: 2rem;
  overflow: hidden;
}

.comparison-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.comparison-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-img.after {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 50%); 
}


.slider-handle {
  position: absolute;
  top: 0;
  right: 50%;
  width: 1px;
  height: 100%;
  box-shadow: 0px 0px 16px 2px rgb(255 255 255 / 77%);
  background-color: var(--secondary);
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(50%);
}

.handle-circle {
  position: absolute;
  top: 80%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--secondary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* tiny-thumbnail-slider */
.tiny-thumbnail-slider {
  display: flex;
  align-items: center;
  margin-top: 20px;
  width: 100%;
  max-width: 1110px;
  overflow: hidden;
  position: relative;
}

.tiny-thumbnails-wrapper {
  overflow: hidden;
  flex: 1;
}

.tiny-thumbnails {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.tiny-thumbnail {
  flex-shrink: 0;
  width: calc(25% - 10px); /* نمایش 4 عکس */
  height: 60px;
  margin: 0 5px;
  border-radius: 15px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tiny-thumbnail:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.tiny-thumbnail-arrow {
  color: var(--primary);
  background-color: var(--white);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  font-size: larger;
  z-index: 3;
}

.tiny-thumbnail-arrow:hover {
  color: var(--secondary);
}

.tiny-right-arrow { box-shadow: 20px 0px 20px 7px rgb(255 255 255 / 93%); }
.tiny-left-arrow { box-shadow: -20px 0px 20px 7px rgb(255 255 255 / 93%); }

/* Fullscreen Styles */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.fullscreen-overlay.hidden {
  display: none;
}

.fullscreen-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close-fullscreen {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 600px) {
  .tiny-thumbnail {
    width: calc(50% - 10px); /* نمایش 2 عکس در موبایل */
  }
}


/* surgery-selection */
.surgery-selection {
  text-align: center;
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
}

.surgery-selection h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.surgery-selection .option {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  padding: 15px;
  margin: 10px auto;
  width: 80%;
  border: 1px solid var(--gray-light);
  border-radius: 25px;
  width: 200px;
  font-size: 16px;
  background-color: var(--gray-light);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
  transform: scaleY(1);
  max-height: 60px;
  overflow: hidden;
}

.surgery-selection .option:hover {
  border: 1px solid var(--gray);
  background-color: var(--white);
}

.surgery-selection .option.active {
  background-color: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.surgery-selection .option.hidden {
  opacity: 0;
  transform: scaleY(0);
  max-height: 0;
  margin-bottom: 0;
  padding: 0;
}
.otionsvg{
  display: flex;
  justify-content: center;
  width: 50px;
}

#option1 svg{
  width: 1rem;
}
#option2 svg{
  width: 2rem;
}
#option3 svg{
  width: 1.5rem;
}
#option4 svg{
  width: 1.5rem;
}
#option5 svg{
  width: 1.5rem;
}

.surgery-selection .option:hover svg {
  fill: var(--text);
}

.toggle-btn {
  padding: 15px;
  width: 240px;
  font-size: 16px;
  background-color: var(--white);
  color: var(--secondary);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--text);
  position: relative;
  z-index: 2;
  box-shadow: 0px -60px 60px 30px #ffffff;
}

.toggle-btn:hover {
  background-color: var(--gray-light);
  color: var(--primary);
}



/* Gallery Styles */
.gallery {
  margin: 4rem 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 1.7rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.gallery-modal.active {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: var(--white);
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s;
}

.modal-close:hover {
  background: var(--primary);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary);
  color: var(--white);
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s;
}

.modal-nav:hover {
  background: var(--primary);
}

.modal-nav.prev {
  left: 1rem;
  right:unset;
}

.modal-nav.next {
  right: 1rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);;
  }
  
  
  .modal-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
    top: 85%;
  }
}


/* Testimonials Section */
.testimonials {
  margin: 4rem 0;
  background: var(--white);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.title-line {
  height: 2px;
  width: 65%;
  background: linear-gradient(to left, var(--secondary), transparent);
}

.section-header .section-title {
  margin: 0;
  white-space: nowrap;
}

.section-header .title-line:last-child {
  background: linear-gradient(to right, var(--secondary), transparent);
}

.testimonials-container {
  max-width: 1110px;
  margin: 0 auto;
  overflow: hidden;
  padding: 1rem;
}

.testimonials-wrapper {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  /* scroll-snap-type: x mandatory; */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 1rem;
}

.testimonials-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.33rem);
  scroll-snap-align: start;
  background: var(--gray-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-content {
  text-align: right;
}

.testimonial-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.testimonial-content p {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.rating {
  color: var(--secondary);
  font-size: 1.25rem;
}

/* Slider Navigation */
.testimonial-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 1rem;
}

.slider-line {
  flex: 1;
  height: 4px;
  background: #ddd;
  position: relative;
  border-radius: 2px;
  margin: 0 1rem;
}

.slider-thumb {
  width: 20px;
  height: 20px;
  background: var(--secondary);
  position: absolute;
  top: -8px;
  border-radius: 50%;
  transition: right 0.3s ease;
  cursor: grab;
}


.slider-line::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: var(--scroll-progress, 0%);
  background-color: var(--secondary); /* Color of the progress indicator */
  border-radius: 2px;
  transition: width 0.3s ease; /* Smooth transition for width changes */
}

.testimonial-nav {
  background: none;
  border: none;
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1.5rem;
}

.testimonial-nav:hover {
  background: none;
  color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .slider-line {
    display: none;
  }
  
  .testimonial-card {
    flex: 0 0 calc(100% - 2rem);
  }
  
  .section-header {
    gap: 0.5rem;
  }
  .testimonial-nav {
    display: none;
  }

}

@media (min-width: 769px) and (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }
}



/* Contact Us Section */
.contact-us {
  background-color: var(--primary);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  color: #fff; /* White text */
  margin: 2rem auto;
  max-width: 1110px;
}

.contact-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}
.contact-info{
  text-align: justify;
}
.contact-info h3{
  margin-top: 0;
}

.contact-info p {
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

.call-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--white);
  color: var(--text) ;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.call-button:hover {
  background-color: var(--secondary);
  color: var(--white);
  fill: var(--white);
}

.call-button .icon {
  font-size: 1.2rem;
}


/* Mobile-friendly styles */
@media (max-width: 768px) {
  .hero-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}
  .slide-content {
    bottom: 1rem; /* Adjust position for smaller screens */
    right: 2rem; /* Prevent content from going off-screen */
    max-width: 90%; /* Reduce width for better fit */
  }

  .slide-content h1 {
    font-size: 2.0rem; /* Smaller font size for headers */
    max-width: 10px 0;
  }

  .slide-content p {
    font-size: 0.9rem; /* Smaller font size for paragraph text */
    margin: 10px 0 25px 0;
    text-align: justify;
  }

  .more-info {
        position: absolute;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        left: 1rem;
        bottom: 0rem;
  }

  /* Adjust navigation buttons */
  .slider-nav { display: none;}


  /* Responsive services adjustments */
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
  }

  .service-card h3 {
    font-size: 0.6rem;
    padding: 0.75rem;
  }

/*Portfolio*/
.Portfolio {
  flex-direction: column-reverse;
  padding-top: 0;
}
  
  .comparison-container {
    width: 100%; /* Full width on smaller screens */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%;
    
  }

  .comparison-wrapper {
    height: 200px; /* Adjust height for mobile screens */
  }

  .handle-circle {
    width: 15px;
    height: 15px;
  }

/* .contact-us */
  .contact-us{
    padding: 1rem;
    margin: auto 1.5rem;
  }
  .contact-container {
    display: flex;
    flex-direction:column;
    align-items: center;
    gap: 1.3rem;
    margin: 20px;
}

}







/* Footer Styles */
.footer {
  background-color: #f8f9fa; /* Light gray background */
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1110px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}
.footer-logo img{
  margin-top: 25px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #333;
}
.footer-column svg{
  height: 15px;
  margin-left: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  font-size: 0.95rem;
  color: #555;
  margin: 0.4rem 0;
}

.footer-column ul li a {
  color: var(--text);
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  font-size: 1.2rem;
  color: #555;
  margin-right: 0.5rem;
  text-decoration: none;
}

.social-icons a:hover {
  color: #007bff;
}



.single-post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--secondary), var(--secondary-opacity-10));
    z-index: 1000;
    transition: width 0.2s ease;
}

/* Post Header */
.post-header {
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Meta Box */
.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.meta-icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

/* Featured Image */
.post-image {
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

    .post-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

/* Content Layout */
.post-content-wrapper {
    display: grid;
    /*grid-template-columns: 250px 1fr;*/
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .post-content-wrapper {
        /*grid-template-columns: 1fr;*/
    }

    .single-post-container {
        padding: 1rem;
    }
}


.breadcrumb {
    padding: 1rem 0;
    margin-bottom: 3rem;
}

    .breadcrumb .container {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #6c757d;
    }

    .breadcrumb a {
        color: var(--gray);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: var(--primary);
        }

.container-child {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-section {
    padding: 2rem 0 4rem;
}

.c-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: justify;
    color: var(--text);
    margin: unset;
}

.section-description {
    text-align: justify;
    max-width: 800px;
    line-height: 1.8;
    color: #666;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease;
}

    .contact-card:hover {
        transform: translateY(-5px);
        background-color: var(--secondary-opacity-10)
    }

.icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background-color: var(--gray-light);
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px;
}

.telegram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231D437C'%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.446 1.394c-.14.18-.357.223-.548.223l.188-2.623 4.823-4.351c.192-.18-.043-.277-.297-.097l-5.965 3.759-2.573-.802c-.566-.176-.576-.566.118-.836l10.07-3.882c.464-.176.87.107.684.637z'/%3E%3C/svg%3E");
}

.phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231D437C'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
}

.email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231D437C'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231D437C'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
}

    .contact-card a:hover {
        text-decoration: underline;
    }

/* Add these styles after existing CSS */
.additional-info {
    margin-top: 4rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.info-box {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.info-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    width: 28rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    margin-bottom: 2rem;
}

.location-icon {
    flex-shrink: 0;
    width: 25px;
    color: var(--primary);
}

.info-text p {
    margin: 0;
    line-height: 1.8;
    color: var(--text);
}

.info-cards {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.info-card {
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease;
}

    .info-card:hover {
        transform: translateX(-5px);
        background-color: var(--secondary-opacity-10);
    }

    .info-card h3 {
        margin: 0;
        color: var(--text);
        font-size: 1.25rem;
        font-weight: 600;
    }

.info-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex: 1;
}

    .info-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 1.5rem;
    }

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    margin-top: 3rem;
}

    .contact-form form {
        max-width: 700px;
        margin: 0 auto;
    }

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid var(--gray-light);
        border-radius: 0.5rem;
        font-size: 1rem;
        color: var(--text);
        background: #f9f9f9;
        transition: border-color 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--primary);
            outline: none;
        }

    .form-group textarea {
        resize: vertical;
    }

.submit-btn {
    width: 25%;
    padding: 0.75rem;
    font-family: vazirmatn;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .submit-btn:hover {
        background: var(--secondary);
    }



/* Responsive Design */


@media (max-width: 768px) {
    .container-child {
        flex-direction: column;
    }

    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .additional-info {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin: 0 auto;
        margin-top: 1.5rem;
    }

    .info-box {
        align-items: stretch;
    }

    .info-text {
        width: 85%;
        padding: 1.5rem;
    }


    .info-cards {
        flex-direction: column;
        gap: 1rem;
    }

    .info-card {
        flex: 1 1 100%;
        width: 85%;
        text-align: center;
    }

    .info-image {
        height: auto;
    }

        .info-image img {
            border-radius: 1rem;
        }

    .contact-form {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.5rem;
    }

    .submit-btn {
        padding: 0.5rem;
    }
}
.breadcrumb {
    padding: 1rem 0;
    margin-bottom: 3rem;
}

    .breadcrumb .container {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #6c757d;
    }

    .breadcrumb a {
        color: var(--gray);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: var(--primary);
        }

.container-child {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-section {
    padding: 2rem 0 4rem;
}

.c-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: justify;
    color: var(--text);
    margin: unset;
}

.section-description {
    text-align: justify;
    max-width: 800px;
    line-height: 1.8;
    color: #666;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease;
}

    .contact-card:hover {
        transform: translateY(-5px);
        background-color: var(--secondary-opacity-10)
    }

.icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background-color: var(--gray-light);
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px;
}

.telegram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231D437C'%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.446 1.394c-.14.18-.357.223-.548.223l.188-2.623 4.823-4.351c.192-.18-.043-.277-.297-.097l-5.965 3.759-2.573-.802c-.566-.176-.576-.566.118-.836l10.07-3.882c.464-.176.87.107.684.637z'/%3E%3C/svg%3E");
}

.phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231D437C'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
}

.email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231D437C'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231D437C'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
}

    .contact-card a:hover {
        text-decoration: underline;
    }

/* Add these styles after existing CSS */
.additional-info {
    margin-top: 4rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.info-box {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.info-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    width: 28rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    margin-bottom: 2rem;
}

.location-icon {
    flex-shrink: 0;
    width: 25px;
    color: var(--primary);
}

.info-text p {
    margin: 0;
    line-height: 1.8;
    color: var(--text);
}

.info-cards {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.info-card {
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease;
}

    .info-card:hover {
        transform: translateX(-5px);
        background-color: var(--secondary-opacity-10);
    }

    .info-card h3 {
        margin: 0;
        color: var(--text);
        font-size: 1.25rem;
        font-weight: 600;
    }

.info-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex: 1;
}

    .info-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 1.5rem;
    }

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    margin-top: 3rem;
}

    .contact-form form {
        max-width: 700px;
        margin: 0 auto;
    }

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid var(--gray-light);
        border-radius: 0.5rem;
        font-size: 1rem;
        color: var(--text);
        background: #f9f9f9;
        transition: border-color 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--primary);
            outline: none;
        }

    .form-group textarea {
        resize: vertical;
    }

.submit-btn {
    width: 25%;
    padding: 0.75rem;
    font-family: vazirmatn;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .submit-btn:hover {
        background: var(--secondary);
    }



/* Responsive Design */


@media (max-width: 768px) {
    .container-child {
        flex-direction: column;
    }

    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .additional-info {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin: 0 auto;
        margin-top: 1.5rem;
    }

    .info-box {
        align-items: stretch;
    }

    .info-text {
        width: 85%;
        padding: 1.5rem;
    }


    .info-cards {
        flex-direction: column;
        gap: 1rem;
    }

    .info-card {
        flex: 1 1 100%;
        width: 85%;
        text-align: center;
    }

    .info-image {
        height: auto;
    }

        .info-image img {
            border-radius: 1rem;
        }

    .contact-form {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.5rem;
    }

    .submit-btn {
        padding: 0.5rem;
    }
}



.about-section {
    padding: 2rem 0 4rem;
}

.about-content {
        display: flex;
    gap: 4rem;
    /*align-items: flex-start;*/
    align-items: center;
}

.about-images {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 488px;
}

.image-stack {
    position: relative;
    width: 366px;
}

.image-back {
    position: absolute;
    top: -2.5rem;
    right: 3rem;
    width: 366px;
    height: 488px;
    background-image: url(./assets/about/back-frame.jpg);
    border-radius: 1rem;
    transition: 500ms;
}

.image-stack:hover .image-back {
    transition: 500ms;
    top: -2rem;
    right: 2.5rem;
}

.image-front {
    position: absolute;
    top: 0;
    right: 0;
    width: 366px;
    height: 488px;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #f9f1e7;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 800ms;
}

.image-stack:hover .image-front {
    background-color: #faeddd;
    transition: 800ms;
}

.image-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-text {
    flex: 1;
    padding-top: 2rem;
}

    .about-text h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 2rem;
        color: #333;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #666;
        margin-bottom: 1.5rem;
        text-align: justify;
    }


/* Goals Section */
.goals-section {
    position: relative;
    background-color: #f9f9f9;
    overflow: hidden;
    text-align: center;
}

    .goals-section h2 {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 2rem;
        z-index: 2;
        position: relative;
    }

.goals-container {
    position: relative;
    z-index: 2;
}

.goal-row-bottom, .goal-row-top {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 8.5rem;
    margin-bottom: 2rem;
}

.goal-row-top {
    /* left: -5rem; */
    fill: var(--primary);
}

.goal-row-bottom {
    /* left: -5rem; */
    bottom: 5rem;
    fill: var(--secondary);
}

    .goal-row-bottom .icon-circle {
        background-color: var(--gray-light);
    }

        .goal-row-bottom .icon-circle:hover, .goal-row-top .icon-circle:hover {
            background-color: #f6f5f2;
        }

.goal {
    text-align: center;
}

.icon-circle {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto 1rem;
}

    .icon-circle svg {
        width: 30%;
        height: 30%;
    }

.goal p {
    /*font-size: 1.5rem;*/
	font-size:19px;
    color: var(--text);
    font-weight: bold;
}

/* Wavy Background Lines */
.goals-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#0000 20.5%,rgba(200, 160, 99, 0.22) 0 29.5%,#0000 0) 0 19px, linear-gradient( 45deg,#0000 8%,rgba(200, 160, 99, 0.22) 0 17%, #0000 0 58%) 38px 0, linear-gradient(135deg,#0000 8%,rgba(200, 160, 99, 0.22) 0 17%, #0000 0 58%,rgba(200, 160, 99, 0.22) 0 67%,#0000 0), linear-gradient( 45deg,#0000 8%,rgba(200, 160, 99, 0.22) 0 17%, #0000 0 58%,rgba(200, 160, 99, 0.22) 0 67%,#0000 0 83%,rgba(200, 160, 99, 0.22) 0 92%,#0000 0), #f2f2f2;
    background-size: 200px 200px;
    opacity: 0.3;
    z-index: 1;
}



/* FAQ Section Styling */
#faq-container {
    margin: 2rem auto;
    max-width: 800px;
    font-family: Arial, sans-serif;
    direction: rtl;
    padding: 2rem;
}

details {
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Vazirmatn';
}

summary {
    cursor: pointer;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

    summary:hover {
        background-color: #f1f1f1;
    }

.faq-title {
    margin-left: 1rem;
}

.expand-icon {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

details[open] .expand-icon {
    transform: rotate(0deg);
}

.faq-content {
    padding: 1rem 1.5rem;
    background-color: #fff;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid #ddd;
    animation: slideDown 0.3s ease;
    text-align: justify;
}

details:not([open]) .faq-content {
    display: none;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {

    .breadcrumb {
        margin: 0;
    }

    .about-section {
        padding: 1rem;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-images {
        flex: none;
        width: 90%;
        order: -1;
        margin: 1rem 0;
        min-height: unset;
    }

    .about-text {
        padding-top: 0;
        text-align: center;
        width: 90%;
    }

        .about-text h1 {
            font-size: 2rem;
        }

    .image-stack {
        width: 100%;
        max-width: 300px;
    }

    .image-front {
        width: 100%;
        max-width: 280px;
        height: auto;
        position: relative;
    }

    .image-back {
        width: 280px;
        height: 374px;
        top: -1.5rem;
        right: 1.5rem;
    }


    .goal {
        max-width: 120px;
    }

    .icon-circle {
        width: 120px;
        height: 120px;
    }

    .goal p {
        font-size: 0.9rem;
    }

    .goals-container {
        display: flex;
        justify-content: space-evenly;
    }

    .goal-row-bottom, .goal-row-top {
       position: relative;
    display: flex;
    justify-content: center;
    gap: 8.5rem;
    margin-bottom: 2rem;
    flex-flow: wrap; /* new */
    }

    .goal-row-top {
        left: unset;
        fill: var(--primary);
    }

    .goal-row-bottom {
        left: unset;
        bottom: unset;
        fill: var(--secondary);
    }
}

/* Table of Contents */
.table-of-contents {
    position: sticky;
    top: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .table-of-contents nav a {
        display: block;
        padding: 0.5rem 0;
        color: #666;
        text-decoration: none;
        transition: color 0.2s;
    }

        .table-of-contents nav a:hover {
            color: var(--secondary);
        }

        .table-of-contents nav a.active {
            color: var(--secondary);
            font-weight: 500;
        }

/* Comments Section */
.comments-section {
    margin-top: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.comment-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 0.5rem;
        font-family: inherit;
    }

    .form-group textarea {
        height: 150px;
        resize: vertical;
    }

.comment {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-image: url(./assets/comment-avatar.jpg);
    background-color: var(--gray);
    background-size: cover;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

/* Related Posts */

.article-card {
    background-color: rgb(255 255 255 / 93%);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px #00000033;
}

.related-articles {
    margin-top: 3rem;
}

.related-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-line {
    flex: 1;
    height: 2px;
    background: #e9ecef;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.article-image{
    text-align:center;
}
.article-image img {
    border-radius: 0.7rem;
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.article-meta {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.date, .author {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.article-content h3 {
    margin: unset;
}

.submit-btn {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: 'Vazirmatn', system-ui;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .submit-btn:hover {
        background-color: var(--primary);
    }

@media (max-width: 768px) {
    .article-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
        padding-bottom: 5rem;
    }

    .post-meta {
        gap: 0.5rem;
    }

    .meta-item {
        gap: 0.3rem;
        font-size: 0.9rem;
    }
}


.blog-section {
    padding: 4rem 0;
    max-width: 1500px;
    margin: 0 auto;
}

.blog-header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header {
    margin-bottom: 1.5rem;
}

    .blog-header h1 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text);
    }

.view-all {
    padding: 0.75rem 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

    .view-all:hover {
        transform: translateY(-2px);
    }

/* Blog card specific styles - only showing relevant changes */
.blog-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 5rem auto;
    position: relative;
    height: 322px;
}

.blog-card {
    width: 560px;
    height: 322px;
    position: absolute;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    filter: blur(2px);
    cursor: pointer;
}

    .blog-card:nth-child(1) {
        right: 60%;
        z-index: 1;
        transition: 500ms;
    }

    .blog-card:nth-child(2) {
        right: 50%;
        transform: translateX(50%);
        z-index: 2;
        transition: 500ms;
    }

    .blog-card:nth-child(3) {
        left: 60%;
        z-index: 1;
        transition: 500ms;
    }

    .blog-card.active {
        filter: blur(0);
        z-index: 3;
        width: 570px;
        height: 390px;
        box-shadow: 0 0 20px -4px #00000080;
    }


.blog-image {
    position: absolute;
    width: 100%;
    height: 100%;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.blog-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

    .blog-content h2 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: white;
    }

    .blog-content a {
        color: white;
        text-decoration: none;
    }

.blog-meta a {
    color: var(--gray);
    font-weight: bold;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

    .blog-meta > div {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .blog-meta svg {
        fill: currentColor;
    }

/* Blog news and info */

.blog-news-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
}

.blog-news {
    order: 1;
}

.newsandinfo {
    order: 2;
}

.blog-news-card {
    height: 300px;
    width: 95%;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-container {
    width: 100%;
    font-family: 'Vazirmatn', sans-serif;
}

.tabs {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tab-btn {
    background: #f8f9fa;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
    font-family: vazirmatn;
}

    .tab-btn.active {
        background: white;
        font-weight: 700;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    }

    .tab-btn:hover {
        background: #e9ecef;
    }

.tab-content {
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-panel {
    display: none;
}

    .tab-panel.active {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

.n-i-content {
    display: flex;
    gap: 1rem;
    padding-right: 1rem;
}

    .n-i-content a {
        text-decoration: none;
        color: var(--text);
    }

.n-i-title {
    text-align: center;
}

    .n-i-title img {
        width: 85px;
        height: 85px;
        object-fit: cover;
        border-radius: 0.7rem;
    }

.n-i-body {
    display: flex;
    flex-direction: column;
}

    .n-i-body p, .article-content h3 {
        margin: unset;
    }

.n-i-meta, .article-meta {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.date, .author {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* Category Styles */
.blog-categories {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .category-item.active {
        background: var(--primary);
        color: #fff;
    }

    .category-item:hover:not(.active) {
        background: #e9ecef;
    }


/* Related Articles Section */

.article-card {
    background-color: rgb(255 255 255 / 93%);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px #00000033;
}

.related-articles {
    margin-top: 3rem;
}

.related-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-line {
    flex: 1;
    height: 2px;
    background: #e9ecef;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-image img {
    border-radius: 0.7rem;
    height: 200px;
    width: 300px;
    object-fit: cover;
}



/* Blog Layout */
.blog-container {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    margin: 0 3.5rem;
}

.blog-main {
}

.blog-sidebar {
}


/* Responsive Design */
@media (max-width: 1350px) {
    .blog-card {
        width: 500px;
        height: 287px;
    }

    .article-image img {
        border-radius: 0.7rem;
        height: 150px;
        width: 100%;
        object-fit: cover;
    }

    .blog-container {
        justify-content: space-around;
    }
}

@media (max-width: 1100px) {
    .blog-card {
        width: 440px;
        height: 253px;
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        padding-bottom: 5rem;
    }

    .article-image img {
        border-radius: 0.7rem;
        height: 150px;
        width: 100%;
        object-fit: cover;
    }

    .blog-container {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .container {
        margin: unset;
    }

    .blog-section {
        padding: 2rem 0;
    }

    .blog-grid {
        height: auto;
        flex-direction: column;
        gap: 2rem;
        margin: unset;
    }

    .blog-content {
        height: 85%;
    }

    .blog-card {
        position: relative;
        width: 100%;
        max-width: 500px;
        transform: none !important;
        margin: 0 auto;
    }

        .blog-card:nth-child(1) {
            right: unset;
            z-index: 1;
            transition: 500ms;
        }

        .blog-card:nth-child(2) {
            right: unset;
            transform: translateX(50%);
            z-index: 2;
            transition: 500ms;
        }

        .blog-card:nth-child(3) {
            left: unset;
            z-index: 1;
            transition: 500ms;
        }

        .blog-card.active {
            filter: blur(0);
            z-index: 3;
            width: 100%;
            max-width: 500px;
            height: 300px;
        }


    .blog-header h1 {
        font-size: 1.75rem;
    }

    .blog-news-wrapper {
        display: flex;
        flex-direction: column;
    }

    .blog-news-card {
        width: 100%;
        margin-bottom: 2rem;
    }

    .tabs {
        justify-content: flex-start;
    }

    .tab-panel.active {
        padding-top: 1rem;
    }

    .blog-container {
        display: flex;
        flex-direction: column;
        margin: 0.8rem;
    }

    .blog-categories {
        padding: 0.5rem;
    }

    .article-grid {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
        padding-bottom: 5rem;
    }

    .related-title {
        font-size: 1rem;
    }

    .article-card {
        width: 75%;
    }

    .article-image img {
        width: 100%;
    }
}
.single-post-container {
    margin-top: 3rem;
}
a {
    color: #333;
}
a:visited {
    color: #666;
}

nav ul.pagination {
    display: flex;
    justify-content: center;
}
nav ul.pagination li {
    list-style: none;
}
nav ul.pagination li a {
    list-style: none;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none
}
nav ul.pagination li a:hover {
    background: #e9ecef;
}
nav ul.pagination li.active a {
    color: #fff;
    background: var(--primary);
}
@media (max-width: 768px) {
    .goal-row-bottom, .goal-row-top {
        gap: 1.5rem !important;
    }
}