/* Inner Pages Common Styles - Shared across service pages */

/* Inner Page Hero */
.inner-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.inner-hero.page {
  min-height: 50vh;
}

.inner-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.inner-hero-content {
  max-width: 800px;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inner-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
}

.inner-hero-content p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Intro Section */
.intro-section {
  padding: 5rem 5%;
  background: var(--bg-light);
  text-align: center;
}

.intro-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.intro-section p {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  color: var(--text-dark-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.highlight-text {
  color: var(--text-dark);
  font-weight: 700;
  font-style: italic;
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 5%;
  background: var(--bg-light-alt);
}

.benefits-header {
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.benefits-header p {
  color: var(--text-dark-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--card-bg-light);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  font-size: 2rem;
  border: 1px solid var(--border-light);
}

.benefit-icon i {
  font-size: 2rem;
  color: var(--lime-green);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--lime-green);
  fill: none;
  stroke-width: 1.5;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.benefit-card:hover h3 {
  color: var(--hover-red);
}

/* Approach Section */
.approach-section {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.approach-content {
  max-width: 1200px;
  margin: 0 auto;
}

.approach-header {
  text-align: center;
  margin-bottom: 3rem;
}

.approach-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.approach-header p {
  color: var(--text-dark-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.approach-text p {
  color: var(--text-dark-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.approach-image {
  position: relative;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    135deg,
    rgba(52, 211, 153, 0.2),
    rgba(16, 185, 129, 0.1)
  ); */
  pointer-events: none;
}

.approach-reverse {
  direction: rtl;
}

.approach-reverse > * {
  direction: ltr;
}

.approach-footer {
  text-align: center;
  margin-top: 2rem;
}

.approach-footer p {
  color: var(--text-dark-secondary);
}

/* Stats Section */
.stats-section {
  padding: 5rem 5%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.stats-section > * {
  position: relative;
  z-index: 2;
}

.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-header p {
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.stats-header h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
}

.stats-section .stat-label {
  color: var(--text-dark);
  font-weight: bold;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--lime-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.5;
}

.stat-source {
  color: var(--text-dark);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  margin-top: 0.5rem;
}

/* CTA Section - With proper overlay for text visibility */
/* .cta-section {
  padding: 5rem 5%;
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 0;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.6);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light);
} */

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.cta-section p {
  color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 5%;
  background: var(--bg-light-alt);
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.faq-header p {
  color: var(--text-dark-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--card-bg-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--hover-red);
}

.faq-item.active {
  border-color: var(--hover-red);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--hover-red);
}

.faq-question .faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

.faq-question .faq-icon::before {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-question .faq-icon::after {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-item.active .faq-question .faq-icon::before {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-dark-secondary);
  line-height: 1.8;
}

/* Responsive Styles for Inner Pages */
@media (max-width: 768px) {
  .inner-hero {
    min-height: 50vh;
    padding: 6rem 5% 3rem;
  }

  .inner-hero-content h1 {
    font-size: 1.8rem;
  }

  .inner-hero-content p {
    font-size: 1.2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .approach-reverse {
    direction: ltr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .intro-section h2,
  .benefits-header h2,
  .approach-header h2,
  .stats-header h2,
  .cta-section h2,
  .faq-header h2 {
    font-size: 1.6rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pages CSS - About, Team, Contact, Search, 404 */

/* ========================================
   DEFAULT PAGE TEMPLATE
   ======================================== */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.page-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
}

.page-hero-content p {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.page-content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.page-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.page-content p {
  color: var(--text-dark-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.page-content-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-content-inner ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  background: var(--text-dark-secondary);
  border-radius: 50%;
}

.page-content-inner ul li {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
}

/* ========================================
   ABOUT PAGE - VISION & MISSION
   ======================================== */
.vision-mission-section {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.vision-card,
.mission-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.vision-card::before,
.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--lime-green);
}

.vision-card-icon,
.mission-card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.vision-card-icon i,
.mission-card-icon i {
  font-size: 2.5rem;
  color: var(--lime-green);
}

.vision-card h2,
.mission-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.vision-card p,
.mission-card p {
  color: var(--text-dark-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Values Section */
.values-section {
  padding: 5rem 5%;
  background: var(--bg-light-alt);
}

.values-header {
  text-align: center;
  margin-bottom: 3rem;
}

.values-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.values-header p {
  color: var(--text-dark-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.values-grid.about {
  grid-template-columns: repeat(4, 1fr);
}

.value-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  border: 1px solid var(--border-light);
}

.value-icon i {
  font-size: 1.8rem;
  color: var(--lime-green);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.value-card:hover h3 {
  color: var(--hover-red);
}

.value-card p {
  color: var(--text-dark-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Accreditation Section */
.accreditation-section {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.accreditation-header {
  text-align: center;
  margin-bottom: 3rem;
}

.accreditation-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.accreditation-header p {
  color: var(--text-dark-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.accreditation-item {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.accreditation-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.accreditation-item img {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
  /* filter: grayscale(100%) brightness(1.5); */
  transition: filter 0.3s ease;
}

.accreditation-item:hover img {
  filter: grayscale(0%) brightness(1);
}

.accreditation-item h4 {
  font-size: 1rem;
  color: var(--text-dark);
}

/* ========================================
   TEAM PAGE
   ======================================== */
.team-section {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.team-header {
  text-align: center;
  margin-bottom: 3rem;
}

.team-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.team-header p {
  color: var(--text-dark-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.team-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none;
}

.team-card-content {
  padding: 1.5rem;
  text-align: center;
}

.team-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.team-card:hover .team-card-content h3 {
  color: var(--hover-red);
}

.team-card-content .role {
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-dark-secondary);
  margin-bottom: 1rem;
  display: block;
}

.team-card-content p {
  color: var(--text-dark-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-read-more {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(to right, var(--btn-yellow-shadow) 50%, var(--btn-yellow) 50%);
  background-size: 200% 100%;
  background-position: right;
  color: var(--text-dark);
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-position 0.35s ease-out;
  cursor: pointer;
}

.team-read-more:hover {
  background-position: left;
}

/* Team Modal Fancybox Fix */
/* ========================================
   FANCYBOX CONTAINER & BACKDROP
   ======================================== */
.fancybox__container {
  --fancybox-bg: rgba(0, 0, 0, 0.85);
}

.fancybox__backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.fancybox__slide {
  padding: 40px;
}

/* Hide prev/next arrows - not needed for team bios */
.fancybox__nav {
  display: none !important;
}

/* Style the close button to match theme */
.fancybox__close {
  --fancybox-btn-color: rgba(255, 255, 255, 0.7);
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.fancybox__close:hover {
  --fancybox-btn-color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   MODAL CONTENT WRAPPER (Fancybox injects this)
   ======================================== */
.fancybox__content {
  background: var(--bg-dark) !important;
  border-radius: 16px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 740px !important;
  max-width: 90vw !important;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* ========================================
   TEAM MODAL STRUCTURE
   ======================================== */
.team-modal {
  background: var(--bg-dark);
  color: var(--text-light);
  width: 740px;
  max-width: 90vw;
}

.team-modal-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 380px;
}

/* ========================================
   MODAL IMAGE (left column)
   ======================================== */
.team-modal-image {
  position: relative;
  overflow: hidden;
  background: #0d1117;
}

.team-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Slight cool tone to match the dark theme */
  filter: saturate(0.9) brightness(0.95);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

.team-modal-inner:hover .team-modal-image img {
  filter: saturate(1) brightness(1);
  transform: scale(1.03);
}

/* Subtle green gradient overlay at the bottom of the image */
.team-modal-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
  pointer-events: none;
}

/* ========================================
   MODAL CONTENT (right column)
   ======================================== */
.team-modal-content {
  padding: 2.4rem 2.4rem 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-dark);
  position: relative;
}

/* Top accent line */
.team-modal-content::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  left: 2rem;
  right: 2.4rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--lime-green) 0%,
    transparent 100%
  );
  opacity: 0.4;
  border-radius: 1px;
}

.team-modal-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  margin-top: 1rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.team-modal-content .role {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-gray);
  display: block;
  margin-bottom: 1.4rem;
}

.team-modal-content .team-bio p {
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}

.team-modal-content .team-bio p:last-child {
  margin-bottom: 0;
}

/* ========================================
   MOBILE
   ======================================== */
@media (max-width: 768px) {
  .fancybox__content {
    width: 95vw !important;
    border-radius: 12px !important;
  }

  .fancybox__slide {
    padding: 20px;
  }

  .team-modal-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .team-modal-image {
    height: 240px;
  }

  .team-modal-content {
    padding: 1.8rem;
  }

  .team-modal-content::before {
    left: 1.8rem;
    right: 1.8rem;
    top: 1.8rem;
  }

  .team-modal-content h3 {
    margin-top: 0.8rem;
  }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Form */
.contact-form-container {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form-container h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-form-container > p {
  color: var(--text-dark-secondary);
  margin-bottom: 2rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-group.full-width {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form label span {
  color: #ef4444;
}

.contact-form input:not([type="submit"]),
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:not([type="submit"]):focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text-dark);
}

.contact-form input:not([type="submit"])::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(to right, var(--btn-yellow-shadow) 50%, var(--btn-yellow) 50%);
  background-size: 200% 100%;
  background-position: right;
  color: var(--text-dark);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-position 0.35s ease-out, transform 0.3s ease;
}

.contact-form button:hover {
  background-position: left;
  transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.contact-info-icon i {
  font-size: 1.3rem;
  color: var(--lime-green);
}

.contact-info-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-info-content p,
.contact-info-content a {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.contact-info-content a:hover {
  color: var(--hover-red);
}

/* Contact Social Links */
.contact-social {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-social h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-social-links {
  display: flex;
  gap: 1rem;
}

.contact-social-links a,
.contact-social-links a.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--text-dark-secondary);
  border-radius: 50%;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.contact-social-links a svg,
.contact-social-links a.social-link svg {
  fill: var(--text-dark-secondary);
}

.contact-social-links a:hover,
.contact-social-links a.social-link:hover {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--text-light);
  transform: translateY(-3px);
}

.contact-social-links a:hover svg,
.contact-social-links a.social-link:hover svg {
  fill: var(--text-light);
}

.contact-social-links a i {
  font-size: 1.2rem;
}

/* Contact Map */
.contact-map {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 350px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  /* filter: grayscale(100%) invert(92%) contrast(83%); */
}

/* ========================================
   SEARCH PAGE
   ======================================== */
.search-section {
  padding: 5rem 5%;
  background: var(--bg-light);
  min-height: 60vh;
}

.search-container {
  max-width: 800px;
  margin: 0 auto;
}

.search-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.search-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.search-form input:focus {
  outline: none;
  border-color: var(--text-dark);
}

.search-form button {
  padding: 1rem 2rem;
  background: linear-gradient(to right, var(--btn-yellow-shadow) 50%, var(--btn-yellow) 50%);
  background-size: 200% 100%;
  background-position: right;
  color: var(--text-dark);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-position 0.35s ease-out, transform 0.3s ease;
}

.search-form button:hover {
  background-position: left;
  transform: translateY(-2px);
}

.search-results-info {
  margin-bottom: 2rem;
  color: var(--text-dark-secondary);
}

.search-results-info span {
  color: var(--text-dark);
  font-weight: 600;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-result-item {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.search-result-item:hover {
  border-color: var(--hover-red);
}

.search-result-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.search-result-item h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.search-result-item h3 a:hover {
  color: var(--hover-red);
}

.search-result-item .url {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  margin-bottom: 0.75rem;
}

.search-result-item p {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.search-result-item p mark {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  padding: 0 0.25rem;
}

.no-results {
  text-align: center;
  padding: 3rem;
}

.no-results i {
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.no-results p {
  color: var(--text-dark-secondary);
}

/* ========================================
   404 PAGE
   ======================================== */
.error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 5%;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.error-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.error-code {
  font-size: 12rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-dark);
  margin-bottom: 1rem;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0%,
  90%,
  100% {
    opacity: 1;
  }
  92% {
    opacity: 0.8;
    transform: translateX(-2px);
  }
  94% {
    opacity: 1;
    transform: translateX(2px);
  }
  96% {
    opacity: 0.9;
    transform: translateX(-1px);
  }
}

.error-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.error-content p {
  color: var(--text-dark-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.error-btn.primary {
  background: linear-gradient(to right, var(--btn-yellow-shadow) 50%, var(--btn-yellow) 50%);
  background-size: 200% 100%;
  background-position: right;
  color: var(--text-dark);
  border: none;
  transition: background-position 0.35s ease-out, transform 0.3s ease;
}

.error-btn.primary:hover {
  background-position: left;
  transform: translateY(-2px);
}

.error-btn.secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.error-btn.secondary:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

/* Error page background animation */
.error-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid.about {
    grid-template-columns: repeat(2, 1fr);
  }

  .accreditation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero-content h1 {
    font-size: 2rem;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-modal-inner {
    grid-template-columns: 1fr;
  }

  .team-modal-image {
    min-height: 250px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-grid.about {
    grid-template-columns: 1fr;
  }

  .accreditation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .error-code {
    font-size: 6rem;
  }

  .error-content h1 {
    font-size: 1.8rem;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .accreditation-grid {
    grid-template-columns: 1fr;
  }

  .team-card-image {
    height: 220px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Solutions Section */
.solutions-section {
  padding: 5rem 5%;
  background: var(--bg-light-alt);
}

.solutions-header {
  text-align: center;
  margin-bottom: 3rem;
}

.solutions-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.solutions-header p {
  color: var(--text-dark-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.solution-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.solution-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.solution-card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.solution-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--lime-green);
  fill: none;
  stroke-width: 1.5;
}

.solution-card-icon i {
  font-size: 1.5rem;
  color: var(--lime-green);
}

.solution-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.solution-card:hover h3 {
  color: var(--hover-red);
}

.solution-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-card ul li {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
}

.solution-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  background: var(--text-dark-secondary);
  border-radius: 50%;
}

/* Why Choose Section */
.why-choose-section {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.why-choose-image {
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-choose-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    135deg,
    rgba(52, 211, 153, 0.2),
    rgba(16, 185, 129, 0.1)
  ); */
  pointer-events: none;
}

.why-choose-content h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.why-choose-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.why-choose-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-choose-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.why-choose-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--lime-green);
  fill: none;
  stroke-width: 1.5;
}

.why-choose-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.why-choose-item p {
  color: var(--text-dark-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Process Section */
.process-section {
  padding: 5rem 5%;
  background: var(--bg-light-alt);
}

.process-header {
  text-align: center;
  margin-bottom: 3rem;
}

.process-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.process-header p {
  color: var(--text-dark-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.process-card-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime-green);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bg-black);
}

.process-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.process-card:hover h3 {
  color: var(--hover-red);
}

.process-card p {
  color: var(--text-dark-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Solutions Grid - 3 Column Variant */
.solutions-grid.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.solutions-grid.three-column .solution-card {
  transition: all 0.3s ease;
}

.solutions-grid.three-column .solution-card:hover {
  transform: translateY(-5px);
}

.solutions-grid.three-column .solution-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
}

.solutions-grid.three-column .solution-card-icon svg {
  width: 28px;
  height: 28px;
}

.solutions-grid.three-column .solution-card h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.solutions-grid.three-column .solution-card:hover h3 {
  color: var(--hover-red);
}

.solutions-grid.three-column .solution-card p {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.solution-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

/* Why Choose Section - Card Variant */
.why-choose-section.card-variant {
  background: var(--bg-light-alt);
}

.why-choose-header {
  text-align: center;
  margin-bottom: 3rem;
}

.why-choose-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.why-choose-header p {
  color: var(--text-dark-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.why-choose-grid.card-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  align-items: stretch;
}

.why-choose-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.why-choose-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.why-choose-card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.why-choose-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--lime-green);
  fill: none;
  stroke-width: 1.5;
}

.why-choose-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.why-choose-card:hover h3 {
  color: var(--hover-red);
}

.why-choose-card p {
  color: var(--text-dark-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Solution Cards Section (ASM page - 4 column grid) */
.solution-cards-section {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.solution-cards-header {
  text-align: center;
  margin-bottom: 3rem;
}

.solution-cards-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.solution-cards-header p {
  color: var(--text-dark-secondary);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.solution-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-cards-grid .solution-card {
  text-align: center;
}

.solution-cards-grid .solution-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 12px;
}

.solution-cards-grid .solution-card-icon svg {
  width: 36px;
  height: 36px;
}

.solution-cards-grid .solution-card h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.solution-cards-grid .solution-card p {
  color: var(--text-dark-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

/* Innovative Solutions Section (ASM page) */
.innovative-section {
  padding: 5rem 5%;
  background: var(--bg-light-alt);
}

.innovative-header {
  text-align: center;
  margin-bottom: 3rem;
}

.innovative-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.innovative-header p {
  color: var(--text-dark-secondary);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.innovative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.innovative-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.innovative-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.innovative-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.innovative-card:hover h3 {
  color: var(--hover-red);
}

.innovative-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.innovative-card ul li {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.innovative-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--text-dark-secondary);
  border-radius: 50%;
}

/* APT Tree Section */
.apt-tree-section {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.apt-tree {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.apt-root {
  background: var(--card-bg-light);
  border: 2px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 3rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  position: relative;
}

.apt-root::after {
  content: "";
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2rem;
  background: var(--border-light);
}

.apt-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  position: relative;
}

.apt-branches.apt-branches-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  position: relative;
}

.apt-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: var(--border-light);
}

.apt-branch {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  padding-top: 1.5rem;
}

.apt-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1.5rem;
  background: var(--border-light);
}

.apt-item {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.apt-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Delivers Section (APT page) */
.delivers-section {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.delivers-header {
  text-align: center;
  margin-bottom: 3rem;
}

.delivers-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.delivers-header p {
  color: var(--text-dark-secondary);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.delivers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.deliver-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.deliver-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.deliver-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.deliver-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--lime-green);
  fill: none;
  stroke-width: 1.5;
}

.deliver-icon i {
  font-size: 1.5rem;
  color: var(--lime-green);
}

.deliver-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.deliver-card:hover h3 {
  color: var(--hover-red);
}

.deliver-card p {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Capabilities Section (APT page) */
.capabilities-section {
  padding: 5rem 5%;
  background: var(--bg-light-alt);
}

.capabilities-header {
  text-align: center;
  margin-bottom: 3rem;
}

.capabilities-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.capability-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.capability-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.capability-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--lime-green);
  fill: none;
  stroke-width: 1.5;
}

.capability-icon i {
  font-size: 1.5rem;
  color: var(--lime-green);
}

.capability-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.capability-card:hover h3 {
  color: var(--hover-red);
}

.capability-card p {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.capability-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lime-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.capability-link:hover {
  gap: 0.75rem;
}

/* Add to @media (max-width: 1024px) */
@media (max-width: 1024px) {
  .solution-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid.three-column {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Add to @media (max-width: 768px) */
@media (max-width: 768px) {
  .solution-cards-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid.three-column {
    grid-template-columns: 1fr;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-grid.card-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-image {
    height: 300px;
  }

  .why-choose-list {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .innovative-grid {
    grid-template-columns: 1fr;
  }

  .apt-branches {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .apt-branches::before {
    display: none;
  }

  .apt-branch {
    padding-top: 0;
  }

  .apt-branch::before {
    display: none;
  }

  .delivers-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

/* Add to @media (min-width: 769px) and (max-width: 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.apt-root {
  background: var(--card-bg-light);
  border: 2px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 3rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  position: relative;
}

.apt-root::after {
  content: "";
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2rem;
  background: var(--border-light);
}

/* Base grid */
.apt-branches {
  display: grid;
  gap: 1rem;
  width: 100%;
  position: relative;
}

/* Default: 3 columns */
.apt-branches {
  grid-template-columns: repeat(3, 1fr);
}

.apt-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: var(--border-light);
}

/* 4 columns layout */
.apt-branches.apt-branches-4 {
  grid-template-columns: repeat(4, 1fr);
}

.apt-branches.apt-branches-4::before {
  left: 12.5%;
  right: 12.5%;
}

/* 2 columns layout */
.apt-branches.apt-branches-2 {
  grid-template-columns: repeat(2, 1fr);
}

.apt-branches.apt-branches-2::before {
  left: 25%;
  right: 25%;
}

/* 1 column layout */
.apt-branches.apt-branches-1 {
  grid-template-columns: 1fr;
}

.apt-branches.apt-branches-1::before {
  display: none;
}

.apt-branch {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  padding-top: 1.5rem;
}

.apt-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1.5rem;
  background: var(--border-light);
}

.apt-item {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.apt-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Tablet - reduce gap slightly */
@media (max-width: 1024px) {
  .apt-branches.apt-branches-4 {
    gap: 0.5rem;
  }

  .apt-item {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
  }
}

/* Tablet/Mobile - single column for cleaner look */
@media (max-width: 768px) {
  .apt-branches {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .apt-branches::before {
    display: none !important;
  }

  .apt-root {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }

  .apt-item {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}
