/* Activity and Services Section */

/* New Global Style for the Accent Color */

:root {
  --ahg-accent: #c4a484;
  /* Afghan House Group Accent Color */
  --ahg-dark: #2c3e50;
}

/* Card-based Navigation Styling */
.service-nav-card {
  background-color: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--ahg-dark);
  font-weight: 600;
  text-transform: capitalize;
}

/* Important: The button itself is the nav-link. Resetting Bootstrap default nav-link styles */
.service-nav-card.nav-link {
  border: 1px solid #e9ecef;
  margin: 0;
}

.service-nav-card:hover:not(.active) {
  border-color: var(--ahg-accent);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.service-nav-card.active {
  background-color: var(--ahg-accent);
  color: white;
  border-color: var(--ahg-accent);
  box-shadow: 0 8px 25px rgba(196, 164, 132, 0.4);
}

/* Icon Styling inside the cards */
.service-nav-card i {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--ahg-accent);
  /* Default icon color */
  transition: color 0.3s ease;
}

.service-nav-card.active i {
  color: white;
  /* Active icon color */
}

/* Content Area Styling */
.service-image-container {
  padding: 0;
}

.service-image {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  max-height: 400px;
}

/* Feature Block Icon Styling */
.feature-icon-box {
  background-color: var(--ahg-accent);
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.feature-icon-box i {
  font-size: 1.5rem;
  color: white;
}

/* Financial Overview Section */

/* -------------------------------------------------
   RESPONSIVE TWEAKS – Mobile First
   ------------------------------------------------- */
:root {
  --ahg-light-gold: #c4a484;
  --ahg-dark-text: #343a40;
  --ahg-background-light: #ffffff;
}

/* ==== Base container ==== */
#ahg-financial-statement .container-light {
  border: 1px solid #e0e0e0;
  border-radius: 1.5rem !important;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

/* ==== Left column ==== */
.financial-left-column-light {
  background: var(--ahg-background-light);
  padding: 2rem 1.5rem; /* smaller on mobile */
  border-right: none; /* hide on mobile */
  border-bottom: 3px solid var(--ahg-light-gold); /* gold line under */
}
.financial-left-column-light h2 {
  font-weight: 700;
}
.financial-left-column-light p.lead {
  color: #6c757d;
}

/* ==== Right column ==== */
.financial-right-column-light {
  background: #fafafa;
  padding: 2rem 1.5rem;
}

/* ==== Cards ==== */
.pillar-card-light {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(196, 164, 132, 0.2);
}

/* Icon box */
.icon-box-light {
  background: var(--ahg-light-gold);
  color: #fff;
  padding: 0.9rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
}

/* ==== Button ==== */
.btn-financial-download-light {
  background: var(--ahg-light-gold);
  border-color: var(--ahg-light-gold);
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-financial-download-light:hover {
  background: #a68a6a;
  border-color: #a68a6a;
  transform: translateY(-2px);
}

/* -------------------------------------------------
   BREAKPOINTS
   ------------------------------------------------- */

/* Small devices (phones) – default styles above already mobile-first */

/* Medium devices (tablets) */
@media (min-width: 576px) {
  .financial-left-column-light {
    padding: 2.5rem 2rem;
  }
  .financial-right-column-light {
    padding: 2.5rem 2rem;
  }
}

/* Large devices (desktops) – original design */
@media (min-width: 992px) {
  .financial-left-column-light {
    padding: 3rem;
    border-right: 3px solid var(--ahg-light-gold);
    border-bottom: none;
  }
  .financial-right-column-light {
    padding: 3rem;
  }

  /* restore two-column layout */
  .financial-left-column-light,
  .financial-right-column-light {
    min-height: 400px;
  }
}

/* -------------------------------------------------
   FONT-SIZE HELPERS (optional, for very long text)
   ------------------------------------------------- */
.fs-6 {
  font-size: 0.95rem !important;
}
.fs-5 {
  font-size: 1.1rem !important;
}
.fs-md-5 {
  font-size: 1rem !important;
}
.fs-md-4 {
  font-size: 1.75rem !important;
}
.lh-sm {
  line-height: 1.3 !important;
}
.lh-base {
  line-height: 1.5 !important;
}

/* Achievment Section */

.text-primary-color {
  color: var(--ahg-light-gold) !important;
}

.bg-gray-light {
  background-color: #f8f8f8;
}

.radius-xl {
  border-radius: 20px;
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-primary-left {
  border-left: 5px solid var(--ahg-light-gold);
}

.p-t80 {
  padding-top: 80px;
}

.p-b80 {
  padding-bottom: 80px;
}

.p-a30 {
  padding: 30px;
}

.list-check-circle.primary li:before {
  content: "\f058";

  color: var(--ahg-light-gold);
  margin-right: 5px;
}

[dir="rtl"] .list-check-circle.primary li:before {
  margin-right: 0;
  margin-left: 5px;
}

/* Team Structure Section */
:root {
  --theme-color: #c4a484;
  --text-dark: #333;
  --text-light: #666;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.team-section-refactored {
  background-color: white;
  padding: 50px 0;
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.level-subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.divider-line {
  border: 0;
  height: 1px;
  max-width: 300px;
  margin: 25px auto;
  opacity: 0.5;
}

.team-card-clean {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
  height: 100%;

  opacity: 0;
  transform: translateY(30px);
}

.team-card-clean:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.icon-wrapper i {
  font-size: 1.6rem;
}

.team-card-clean h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card-clean h6 {
  font-size: 0.85rem;
  margin: 0;
}

.role-desc {
  font-size: 0.85rem;
  margin: 0;
}

.manager-card {
  padding: 12px 8px;
}

.icon-wrapper-small {
  margin: 0 auto 5px;
  font-size: 1.4rem;
}

@keyframes slideUpFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-slide-in {
  animation: slideUpFadeIn 0.8s forwards;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-delay-1 {
  animation-delay: 0.1s;
}

.stagger-delay-2 {
  animation-delay: 0.2s;
}

.stagger-delay-3 {
  animation-delay: 0.3s;
}

.stagger-delay-4 {
  animation-delay: 0.4s;
}

.stagger-delay-5 {
  animation-delay: 0.5s;
}

.stagger-delay-6 {
  animation-delay: 0.6s;
}

.stagger-delay-7 {
  animation-delay: 0.7s;
}

.stagger-delay-8 {
  animation-delay: 0.8s;
}

.stagger-delay-9 {
  animation-delay: 0.9s;
}

@keyframes flyInLeft {
  from {
    opacity: 0;
    transform: translateX(-120%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes flyInRight {
  from {
    opacity: 0;
    transform: translateX(120%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes flyInTop {
  from {
    opacity: 0;
    transform: translateY(-120%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flyInBottom {
  from {
    opacity: 0;
    transform: translateY(120%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bounceSettle {
  0% {
    transform: translateY(0) scale(1);
  }

  40% {
    transform: translateY(-12px) scale(1.04);
  }

  70% {
    transform: translateY(2px) scale(0.98);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 767px) {
  .team-section-refactored {
    padding: 30px 0;
  }

  .dep-man {
    margin-bottom: 20px;
  }
}

/* About Sections */
:root {
  --primary-gold: #c4a484;
  --primary-gold-dark: #b2956e;
  --text-muted: #6c757d;
  --bg-gray-light: #f8f9fa;
}

/* === Theme Colors === */
.site-bg-primary {
  background-color: var(--primary-gold) !important;
}
.text-primary-gold {
  color: var(--primary-gold) !important;
}
.border-primary-gold {
  border-color: var(--primary-gold) !important;
}

/* Team Section */
.wt-team-three {
  transition: transform 0.3s ease;
}
.wt-team-three:hover {
  transform: translateY(-5px);
}
.wt-team-media img {
  border: 4px solid var(--primary-gold);
}

/* Separator */
.wt-separator.style-square span {
  background: var(--primary-gold);
  height: 4px;
  display: inline-block;
  width: 40px;
}

/* Hover Effects */
.core-value-card {
  transition: all 0.3s ease;
  border: 1px solid #eee;
  background: #fff;
}
.core-value-card:hover {
  border-color: var(--primary-gold);
  background: #fdfaf7;
  box-shadow: 0 5px 15px rgba(196, 164, 132, 0.1);
}

/* Page Transition */
#page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#page-transition.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.transition-loader {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .wt-team-media img {
    width: 100px;
    height: 100px;
  }
  .section-head h2 {
    font-size: 1.75rem;
  }
  .card-body {
    padding: 1rem;
  }
}

/* project-desc */

:root {
  --primary: #c4a484;
  /* Cocambuer Gold */
  --primary-dark: #b8956b;
  --primary-light: #d6c7a8;
  --gray: #f8f7f5;
  --dark: #2d2a26;
  --light: #ffffff;
  --border: #e8e2d9;
  --shadow: 0 12px 30px rgba(196, 164, 132, 0.15);
  --radius: 18px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(196, 164, 132, 0.75),
    rgba(45, 42, 38, 0.6)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-title {
  font-family: iransans;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  color: white;
  line-height: 55px;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 1rem;
  opacity: 0.95;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-light);
}

/* GALLERY SECTION */
.gallery-section {
  padding: 3rem 0 2rem;
  background: var(--gray);
}

.swiper-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.swiper-main .swiper-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.swiper-main .swiper-slide:hover img {
  transform: scale(1.04);
}

.swiper-thumbs {
  margin-top: 1rem;
  padding: 0 1rem;
}

.swiper-thumbs .swiper-slide {
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.65;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
}

.swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px white;
}

.swiper-thumbs img {
  width: 100%;
  height: 85px;
  object-fit: cover;
}

/* CONTENT SECTION */
.content-section {
  padding: 3rem 0 5rem;
  background: var(--light);
}

.project-title {
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.project-description {
  font-size: 1.12rem;
  color: #555;
  margin-bottom: 2.5rem;
  text-align: justify;
  max-width: 900px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.8rem;
}

.detail-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 6px 20px rgba(196, 164, 132, 0.1);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(196, 164, 132, 0.18);
}

.detail-label {
  font-size: 0.85rem;
  color: #8a7a66;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.detail-value {
  font-weight: 400;
  color: var(--dark);
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .swiper-main .swiper-slide img {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 60vh;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .project-title {
    font-size: 2.2rem;
  }

  .swiper-main .swiper-slide img {
    height: 300px;
  }
}

/* projects-section */
:root {
  --primary: #c4a484;
  /* Cocambuer Gold */
  --primary-dark: #b8956b;
  --primary-light: #d6c7a8;
  --gray: #f8f7f5;
  --dark: #2d2a26;
  --light: #ffffff;
  --border: #e8e2d9;
  --shadow: 0 12px 30px rgba(196, 164, 132, 0.15);
  --radius: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(196, 164, 132, 0.8),
    rgba(45, 42, 38, 0.6)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  opacity: 0.95;
  margin-top: 1rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-light);
}

/* PROJECTS GRID */
.projects-section {
  padding: 4rem 0 5rem;
  background: var(--gray);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.project-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(196, 164, 132, 0.12);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(196, 164, 132, 0.2);
}

.project-thumb {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.08);
}

.project-info {
  padding: 1.8rem;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.8rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.project-title a:hover {
  color: var(--primary);
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.btn-more:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(196, 164, 132, 0.3);
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination .page-link {
  display: block;
  text-align: center;
  background: white;
  color: var(--dark);
  font-weight: 500;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 60vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}
