/* --- CSS Variables for Colors and Effects --- */
:root {
  --primary-darkest: #142d36;
  --primary-dark: #244c5c;
  --primary-medium: #326a80;
  --primary-light: #4086a4;
  --secondary-gold: #edc32a;
  --secondary-dark-gold: #d5a912;
  --accent-orange: #f07324;
  --text-light: #f0f9ff;
  --text-dark: #142d36;
  --card-border: rgba(50, 106, 128, 0.15);
  --section-bg-light: rgba(20, 45, 54, 0.03);
  --aurora-color: rgba(50, 106, 128, 0.1);
  --btn-gradient-start: #edc32a;
  --btn-gradient-end: #f07324;
  --font-heading: Georgia, "Times New Roman", Times, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* --- General Body and Reset Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 15% 25%, #e9ddab 0px, transparent 40%),
    radial-gradient(circle at 85% 75%, #80b8d0 0px, transparent 45%),
    linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text-dark);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.nav-menu-open,
body.modal-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
}
h1 {
  text-align: left;
}

/* ============================================= */
/* --- HEADER STYLES --- */
/* ============================================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(240, 249, 255, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
}

header .logo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

header nav {
  display: flex;
  gap: 2px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  padding: 0.2rem;
}

header nav a {
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--primary-dark);
  padding: 0.5rem 0.8rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

header nav a:hover {
  background-color: var(--primary-medium);
  color: var(--text-light);
}

header nav a.active {
  background-color: var(--primary-medium);
  color: var(--text-light);
}

header .whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

header .whatsapp-link img {
  height: 48px;
  width: 48px;
}

header .whatsapp-link:hover {
  transform: scale(1.05);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  width: 48px;
  height: 48px;
}

.mobile-nav-toggle img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.mobile-nav-toggle .hamburger-icon {
  opacity: 1;
}

.mobile-nav-toggle .cross-icon {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .cross-icon {
  opacity: 1;
}

/* --- Dropdown Navigation Menu Styles (v4) --- */
/* --- This is the final, correct version --- */

/* This is the container for the dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* * This styles the "Services" link to EXACTLY MATCH 
* your other navigation links (Home, Work, etc.)
*/
#main-nav .services-link {
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--primary-dark);
  padding: 0.5rem 1.2rem; /* Matches 'header nav a' */
  border-radius: 50px; /* Matches 'header nav a' */
  transition: all 0.3s ease; /* Matches 'header nav a' */
  text-decoration: none;
  display: block;
}

/* * THIS IS THE FIX.
* This rule is now more specific. When you hover over
* ANY part of the dropdown (the link OR the box),
* it will correctly apply the blue background AND the
* white text to the "Services" link.
*/
#main-nav .nav-dropdown:hover .services-link {
  background-color: var(--primary-medium);
  color: var(--text-light) !important; /* Your white/light color */
}

/* This is the dropdown menu itself - hidden by default */
.nav-dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 12px 0;
  z-index: 100;
  top: 100%;
  left: 0;
  margin-top: 0; /* Fixes the gap issue */
}

/* These are the links *inside* the dropdown */
.nav-dropdown-content a {
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;

  border-radius: 0;
  background-color: transparent;
  transition: all 0.3s ease;
}

/* * This makes the dropdown links use your brand's 
* hover colors (blue background, white text).
*/
.nav-dropdown-content a:hover {
  background-color: var(--primary-medium); /* Your brand color */
  color: var(--text-light); /* Your white/light color */
}

/* Show the dropdown when hovering over the container */
.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

/* --- End Dropdown Styles (v4) --- */

/* ============================================= */
/* --- FOOTER STYLES --- */
/* ============================================= */
.cta-divider {
  background: transparent;
  position: relative;
  margin-top: 5rem;
}

footer {
  position: relative;
  z-index: 1;
  background-color: var(--primary-darkest);
  color: var(--text-light);
  padding: 2rem 5% 2rem 5%;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M1200 120L0 120 0 89.16C168.89 34.22 373.22 3.44 583.39 31.79 746.43 54.34 923.38 100.41 1200 59.83V120z' style='fill:%23142d36;'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(-99%);
  margin-top: 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-content h4 {
  color: var(--secondary-gold);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-content .branding .footerBrand {
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-content a {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(240, 249, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: var(--secondary-gold);
}

.footer-content .branding .footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer-content .branding .footer-logo-link img {
  width: 30px;
  height: auto;
}

.footer-content .branding p {
  color: rgba(240, 249, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sm-footer-branding {
  display: flex;
  gap: 1rem;
}

.sm-footer-branding .sm-icon {
  display: inline-block;
}

.sm-icon img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sm-icon:hover img {
  opacity: 1;
  transform: translateY(-3px);
}

.email-sub {
  margin-top: 1rem;
  color: rgba(240, 249, 255, 0.7);
}

.email-sub-box {
  display: flex;
  margin-top: 0.5rem;
}

.email-sub-box input {
  width: 100%;
  padding: 0.7rem;
  border: none;
  border-radius: 5px 0 0 5px;
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-family: var(--font-body);
}

.email-sub-box button {
  padding: 0.7rem 1rem;
  border: none;
  background-color: var(--secondary-gold);
  color: var(--primary-darkest);
  font-weight: 700;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.footer-line {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.copyright-statement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(240, 249, 255, 0.6);
}

.copyright-statement div {
  display: flex;
  gap: 1rem;
}

.copyright-statement div a:hover {
  color: var(--secondary-gold);
}

/* ============================================= */
/* --- GENERIC & REUSABLE COMPONENTS --- */
/* ============================================= */
.section-padding {
  padding: 5rem 5%;
}

.hero-sec,
.page-hero-sec {
  min-height: 70vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 1rem 4rem 1rem;
}

.hero-sec {
  min-height: 100vh;
}

.sec-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--primary-darkest);
  border-radius: 50px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.4)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: gleam 4s infinite ease-in-out;
}

@keyframes gleam {
  0% {
    left: -100%;
  }
  20% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.sec-content h1 {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-darkest);
  line-height: 1.2;
}

.page-hero-sec .sec-content h1 {
  font-size: 3.2rem;
}

.sec-content p {
  font-size: 1.1rem;
  color: var(--primary-dark);
  max-width: 650px;
  margin: 0 auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease-out, background-position 0.5s ease;
  background-size: 200% auto;
  gap: 0.5rem;
}

.btn span:first-child {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn .btn-icon {
  display: inline-flex;
  align-items: center;
  width: 0;
  opacity: 0;
  transform: translateX(-0.5em);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn .btn-icon img {
  height: 1em;
  width: 1em;
}

.pri-btn {
  background-color: var(--primary-medium);
  background-image: none;
  color: var(--text-light);
  transition: color 0.4s ease-out, background-color 0.4s ease-out;
}

.sec-btn {
  background-color: transparent;
  color: var(--primary-darkest);
  border-color: var(--primary-darkest);
  background-image: none;
}

@media (hover: hover) {
  .btn:hover {
    background-image: linear-gradient(
      90deg,
      var(--btn-gradient-start) 0%,
      var(--btn-gradient-end) 50%,
      var(--btn-gradient-start) 100%
    );
    background-position: right center;
    color: var(--primary-darkest);
    border-color: transparent;
  }

  .pri-btn:hover {
    background-color: transparent;
  }

  .btn:hover span:first-child {
    transform: translateX(-0.5em);
  }
  .btn:hover .btn-icon {
    width: 1em;
    opacity: 1;
    transform: translateX(0);
  }
}

/* Styles for the new animated word/phrase */
.animated-word {
  display: inline-block; /* Allows us to apply transformations */
  color: var(--primary-medium); /* Keeps the special color for the word */

  /* Initial state: hidden and slightly moved down */
  opacity: 0;
  transform: translateY(20px);

  /* Apply the animation */
  /* animation: [animation-name] [duration] [delay] [timing-function] [fill-mode]; */
  animation: slideUpFadeIn 0.8s 0.5s ease-out forwards;
}

/* Defines the animation's start and end points */
@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* Starts invisible and 20px down */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Ends fully visible at its original position */
  }
}

h2 {
  font-size: 2.8rem;
  color: var(--primary-darkest);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--primary-dark);
  max-width: 600px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.glass-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(240, 249, 255, 0.6)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.final-cta-sec {
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--primary-darkest);
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

/* ============================================= */
/* --- HOMEPAGE SPECIFIC STYLES --- */
/* ============================================= */
.services-sec,
.testimonials-sec,
.team-sec,
.blog-preview-sec {
  text-align: center;
}

.services-sec .services-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

.services-sec .service-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services-sec .service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all 0.3s ease;
}

.services-sec .service-item:hover {
  transform: translateY(-5px);
}

.services-sec .service-item.active {
  background: var(--primary-medium);
  color: var(--text-light);
  border-color: var(--primary-medium);
  transform: translateY(0);
}

.services-sec .service-item img {
  width: 46px;
  height: 46px;
}

.services-sec .service-details-container {
  position: relative;
}

.services-sec .service-detail {
  display: none;
  padding: 2rem;
  animation: fadeIn 0.5s ease;
}

.services-sec .service-detail.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-sec .service-detail h3 {
  font-size: 1.8rem;
  color: var(--primary-darkest);
  margin-bottom: 1.5rem;
}

.services-sec .service-detail ul {
  list-style: none;
  margin-bottom: 2rem;
}

.services-sec .service-detail ul li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.services-sec .service-detail ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-medium);
  font-weight: 700;
}

.learn-more {
  font-weight: 600;
  color: var(--primary-darkest);
  transition: color 0.3s ease;
}

.learn-more:hover {
  color: var(--accent-orange);
}

.see-all-btn {
  margin-top: 3rem;
}

.why-us-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.why-us-content p {
  font-size: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.7;
}

.why-us-interactive {
  background: var(--section-bg-light);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.why-us-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--card-border);
}

.why-us-tab {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 0.75rem 0.5rem;
  border: none;
  background: transparent;
  text-align: center;
  border-radius: 8px 8px 0 0;
  position: relative;
  bottom: -1px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.why-us-tab.active {
  color: var(--primary-darkest);
  background: white;
  border-bottom-color: white;
}

.why-us-details-container {
  background-color: white;
  border-radius: 0 0 12px 12px;
  padding: 2rem;
  min-height: 180px;
  position: relative;
}

.why-us-detail {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
  width: 100%;
}

.why-us-detail.active {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.stat-number {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--primary-medium);
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: 0.75rem;
}

.process-stepper-container {
  max-width: 800px;
  margin: 0 auto;
}

.process-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
}

.process-stepper::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  transform: translateY(-50%);
  height: 4px;
  background-color: var(--card-border);
  z-index: -1;
}

.process-progress-bar {
  position: absolute;
  top: 25px;
  left: 25px;
  transform: translateY(-50%);
  height: 4px;
  background-color: var(--secondary-gold);
  width: 0%;
  z-index: -1;
  transition: width 0.5s ease;
}

.process-step {
  text-align: center;
  cursor: pointer;
  width: 80px;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  border: 3px solid var(--card-border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  transition: all 0.4s ease;
  margin: 0 auto 0.5rem auto;
  position: relative;
}

.step-title {
  font-weight: 600;
  color: var(--primary-dark);
}

.process-step.active .step-icon {
  border-color: var(--secondary-gold);
  background-color: var(--secondary-gold);
  color: var(--primary-darkest);
  transform: scale(1.1);
}
.process-step:hover:not(.active) .step-icon {
  border-color: var(--primary-dark);
}

.process-content-container {
  padding: 2.5rem;
  text-align: left;
}

.process-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.process-content.active {
  display: block;
}

.process-content h3 {
  font-size: 1.8rem;
  color: var(--primary-darkest);
  margin-bottom: 1rem;
}

.process-content p {
  font-size: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.7;
}

.testimonial-slider-wrapper {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider-container {
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 2.5rem;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 8rem;
  color: rgba(20, 45, 54, 0.05);
  line-height: 1;
  z-index: 0;
}

.testimonial-card blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primary-darkest);
  line-height: 1.6;
  margin: 0 0 2rem 0;
  text-align: left;
  position: relative;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.client-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.client-details {
  text-align: left;
}

.client-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-darkest);
}

.client-details p {
  color: var(--primary-dark);
}

.key-result {
  margin-left: auto;
  background-color: var(--primary-light);
  color: var(--text-light);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}
.slider-btn:hover {
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.slider-btn.prev {
  left: -22px;
}
.slider-btn.next {
  right: -22px;
}

/* --- Add this new CSS block for the slider dots --- */

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem; /* 12px */
  margin-top: 1.5rem; /* 24px */
}

.dot {
  /* Reset button styles */
  border: none;
  padding: 0;

  /* Dot appearance */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--card-border); /* Inactive color */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-medium); /* Active color */
}

.success-story-header {
  text-align: center;
  margin-bottom: 3rem;
}
.success-story-header h2 {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.success-story-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.success-story-content p {
  font-size: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.success-story-content blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary-darkest);
  padding-left: 1.5rem;
  border-left: 3px solid var(--secondary-gold);
  margin: 2rem 0;
}

.success-story-content blockquote span {
  display: block;
  font-weight: 600;
  margin-top: 0.5rem;
  font-style: normal;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.result-card {
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
}

.result-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-medium);
  line-height: 1;
}

.result-label {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-top: 0.75rem;
}

.growth-partner-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.growth-partner-content h2 {
  text-align: left;
}
.growth-partner-content p {
  font-size: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.7;
  margin-top: 1rem;
}

.growth-partner-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-icon-wrapper {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.3s;
}

.pillar-card:hover .pillar-icon-wrapper {
  box-shadow: 0 0 0 10px rgba(237, 195, 42, 0.3);
}

.pillar-icon-wrapper img {
  width: 75%;
  height: 75%;
}

.pillar-content h4 {
  font-size: 1.2rem;
  color: var(--primary-darkest);
  margin: 0 0 0.25rem 0;
}

.pillar-content p {
  color: var(--primary-dark);
  line-height: 1.6;
  text-align: justify;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 2rem;
  max-width: 600px;
  margin: 3rem auto;
}

.team-card {
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-photo {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.05);
}

.team-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  opacity: 0.01;
}
.team-card-info:hover {
  opacity: 1;
}

.team-card-info h4 {
  font-size: 1.3rem;
  color: white;
}

.team-card-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.team-social-link {
  font-weight: 600;
  color: var(--secondary-gold);
  text-decoration: underline;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.team-card:hover .team-social-link {
  opacity: 1;
  transform: translateY(0);
}

.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper {
  position: relative;
  padding-right: 3rem;
}

.contact-form-wrapper::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: var(--card-border);
}

.contact-header h3,
.contact-details-wrapper h3 {
  font-size: 2rem;
  color: var(--primary-darkest);
  margin-bottom: 0.5rem;
}

.contact-header p,
.contact-details-wrapper .contact-intro {
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

#contact-form {
  position: relative;
}

.form-clipper {
  overflow: hidden;
}

.form-progress-bar {
  width: 100%;
  height: 6px;
  background-color: var(--card-border);
  border-radius: 6px;
  margin-bottom: 2rem;
}

.form-progress-bar-fill {
  width: 33.33%;
  height: 100%;
  background-color: var(--primary-medium);
  border-radius: 6px;
  transition: width 0.4s ease;
}

.form-steps-container {
  display: flex;
  width: 300%;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.form-step {
  width: 33.333%;
  padding: 0 0.25rem;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-darkest);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f8fafc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--font-body);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary-medium);
  box-shadow: 0 0 0 3px rgba(50, 106, 128, 0.2);
}

.form-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

#form-success-message {
  text-align: center;
  padding: 3rem 1rem;
  border: 2px dashed var(--primary-medium);
  border-radius: 12px;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}

.contact-icon img {
  width: 30px;
  height: auto;
}

.contact-info h4 {
  font-size: 1.2rem;
  color: var(--primary-darkest);
}

.contact-info a {
  color: var(--primary-medium);
  font-weight: 600;
  text-decoration: underline;
}

.contact-info p,
.contact-info span {
  color: var(--primary-dark);
}

.contact-info span {
  font-size: 0.9rem;
  display: block;
}

/* ============================================= */
/* --- SERVICES PAGE SPECIFIC STYLES --- */
/* ============================================= */
.services-grid-sec {
  padding-bottom: 3rem;
}
.services-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #ffffff;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(20, 45, 54, 0.1);
}
.service-card.active {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(20, 45, 54, 0.1);
  border: 1px solid var(--primary-dark);
}
.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.7);
}
.card-icon img {
  width: 32px;
  height: 32px;
}
.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-darkest);
  margin-bottom: 1rem;
}
.service-card p {
  color: var(--primary-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.card-cta {
  font-weight: 600;
  color: #ffffff;
}

/* --- Replace the old block with this new one --- */

#service-details-accordion-container {
  /* This ensures the container is hidden by default and doesn't take up space */
  max-height: 0;
  overflow: hidden;

  /* This creates the smooth slide-down animation by animating the max-height */
  transition: max-height 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    margin-top 0.5s ease-out;
}

#service-details-accordion-container.open {
  /* When the .open class is added by JavaScript, we give it space and a height */
  margin-top: 2rem; /* This adds space between the cards and the details panel */
  max-height: fit-content; /* A large value to allow the content to expand fully */
}

/* This styles the inner content area of the accordion */
.service-details-accordion-content {
  padding: 3rem;
}
.details-content-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.details-icon-img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.details-left h2 {
  text-align: left;
}
.details-left .description {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.details-list {
  list-style: none;
}
.details-list li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
}
.details-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-medium);
  font-weight: 700;
}
h4 {
  font-size: 1.2rem;
  color: var(--primary-darkest);
  margin: 2rem 0 1rem 0;
}
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-pills span {
  background: var(--section-bg-light);
  border: 1px solid var(--card-border);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}
.pricing-box {
  display: flex;
  gap: 2rem;
  background: var(--section-bg-light);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 2rem;
}
.pricing-box p {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
}
.pricing-box span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-darkest);
}
.details-cta-btn {
  margin-top: 2rem;
}

/* ============================================= */
/* --- PROJECTS PAGE SPECIFIC STYLES --- */
/* ============================================= */
.projects-filter-sec {
  padding: 0 5% 3rem 5%;
}
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}
.filter-btn {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  background-color: white;
  border-color: var(--primary-medium);
}
.filter-btn.active {
  background: var(--primary-medium);
  color: var(--text-light);
  border-color: var(--primary-medium);
}
.projects-grid-sec {
  padding: 0 5% 5rem 5%;
}
.project-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.project-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.project-card.hidden {
  display: none;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover img {
  transform: scale(1.05);
}
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem 1.5rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transform: translateY(30%);
  transition: all 0.4s ease;
}
.project-card:hover .card-overlay {
  transform: translateY(0);
}
.card-overlay h3 {
  font-size: 1.5rem;
}
.card-overlay span {
  background: var(--secondary-gold);
  color: var(--primary-darkest);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
}
.card-overlay .card-cta {
  margin-top: 1rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}
.project-card:hover .card-cta {
  opacity: 1;
}

.industry-expertise-sec {
  background: var(--section-bg-light);
  text-align: center;
}
.expertise-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.expertise-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(20, 45, 54, 0.1);
}
.expertise-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.expertise-card h3 {
  font-size: 1.4rem;
  color: var(--primary-darkest);
  margin-bottom: 0.75rem;
}
.expertise-card p {
  color: var(--primary-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 45, 54, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.project-modal.visible {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem;
  transform: scale(0.95);
  transition: transform 0.4s ease;
}
.project-modal.visible .modal-content {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--primary-dark);
  cursor: pointer;
  line-height: 1;
}
.modal-body .case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.case-study-grid h2 {
  font-size: 2rem;
  text-align: left;
}
.case-study-grid .client-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-medium);
  margin-bottom: 1.5rem;
}
.case-study-grid h4 {
  font-size: 1.2rem;
  color: var(--primary-darkest);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}
.case-study-grid p {
  color: var(--primary-dark);
  line-height: 1.7;
}
.results-grid-modal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.result-card-modal {
  background: var(--section-bg-light);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}
.result-value-modal {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-medium);
}
.result-label-modal {
  font-size: 0.9rem;
  color: var(--primary-dark);
}

/* ============================================= */
/* --- ABOUT PAGE SPECIFIC STYLES --- */
/* ============================================= */
.about-hero-sec .hero-image-area {
  display: none;
}

.about-hero-sec .sec-content {
  margin: 0 auto; /* This centers the single-column hero */
}

.timeline-sec {
  background: var(--section-bg-light);
}
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
}
.timeline-container::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--card-border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  z-index: 0;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item:nth-child(odd) {
  left: 0;
}
.timeline-item:nth-child(even) {
  left: 50%;
}
.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid var(--secondary-gold);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  transition: transform 0.3s;
}
.timeline-item.in-view::after {
  transform: scale(1.1);
}
.timeline-item:nth-child(odd)::after {
  right: -10px;
}
.timeline-item:nth-child(even)::after {
  left: -10px;
}
.timeline-content {
  padding: 20px 30px;
  position: relative;
  border-radius: 12px;
}
.timeline-item.in-view .timeline-content {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.timeline-content h3 {
  color: var(--primary-darkest);
  font-size: 1.4rem;
}

.principles-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  align-items: flex-start;
}
.principles-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--card-border);
  padding-right: 2rem;
}
.principle-toggle {
  background: transparent;
  border: none;
  text-align: left;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.principle-toggle.active,
.principle-toggle:hover {
  background: var(--section-bg-light);
  color: var(--primary-darkest);
}
.principles-content-area {
  position: relative;
  min-height: 350px;
}
.principle-content {
  display: none; /* Hide the content completely */
  animation: fadeIn 0.5s ease; /* We can still have a nice fade-in effect */
}
.principle-content.active {
  display: block; /* Make it a solid box and show it */
}
.principle-content h4 {
  font-size: 1.8rem;
  color: var(--primary-darkest);
  margin-bottom: 0.5rem;
}
.principle-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--primary-dark);
}
#values-content {
  position: static;
  opacity: 0;
  visibility: hidden;
  display: none;
}
#values-content.active {
  opacity: 1;
  visibility: visible;
  display: block;
}
#values-content .pillar-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
#values-content .pillar-card:hover {
  transform: none;
}
#values-content .pillar-card:last-child {
  margin-bottom: 0;
}

.team-showcase-sec .team-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.team-member-card {
  width: 250px;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, opacity 0.4s ease, width 0.4s ease,
    padding 0.4s ease, margin 0.4s ease;
  display: block;
}
.team-member-card.hidden {
  display: none !important;
}
.team-member-card:hover {
  transform: translateY(-5px);
}
.team-member-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.member-info {
  padding: 1.5rem;
  background-color: white;
}
.member-info h4 {
  font-size: 1.3rem;
  color: var(--primary-darkest);
}
.member-info p {
  color: var(--primary-medium);
  margin-bottom: 1rem;
}
.social-links a {
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: underline;
}

.blog-preview-sec {
  background: var(--section-bg-light);
  text-align: center;
}
.blog-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(20, 45, 54, 0.1);
}
.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}
.blog-category {
  background: var(--secondary-gold);
  color: var(--primary-darkest);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  align-self: flex-start;
  margin-bottom: 1rem;
}
.blog-card h3 {
  font-size: 1.3rem;
  color: var(--primary-darkest);
  margin-bottom: 0.75rem;
  text-align: left;
}
.blog-card p {
  color: var(--primary-dark);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
  text-align: left;
}
.read-more-link {
  font-weight: 600;
  color: var(--primary-dark);
  text-align: left;
}

/* ============================================= */
/* --- CONTACT PAGE SPECIFIC STYLES --- */
/* ============================================= */
.hero-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2rem;
  color: var(--primary-dark);
  font-weight: 600;
}
.choose-path-sec {
  padding: 5rem 5%;
}
.path-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.path-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.path-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(20, 45, 54, 0.1);
}
.path-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.7);
}
.path-icon img {
  width: 28px;
  height: 28px;
}
.path-card h3 {
  font-size: 1.5rem;
  color: var(--primary-darkest);
  margin-bottom: 1rem;
}
.path-card p {
  color: var(--primary-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
  min-height: 80px;
}
.map-container {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.faq-sec {
  background: var(--section-bg-light);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--card-border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-darkest);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question span {
  padding-right: 1rem;
}
.faq-question::after {
  content: "+";
  font-size: 2rem;
  color: var(--primary-medium);
  transition: transform 0.3s ease;
}
.faq-question.active::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}
.faq-answer p {
  padding: 0 1rem 1.5rem 0;
  line-height: 1.7;
  color: var(--primary-dark);
}
/* --- Custom Tweak for 'Our Values' Section Layout --- */
#values-content .pillar-card {
  /* This reduces the space between the icon and the text.
     You can make this number bigger or smaller! Try 2rem or 1rem. */
  gap: 1.25rem;
}

#values-content .pillar-icon-wrapper {
  /* This removes the "glow" around the icon, making it feel tighter
     and closer to the edge, giving more focus to the text. */
  box-shadow: none;
}

/* ============================================= */
/* --- RESPONSIVE STYLES --- */
/* ============================================= */
@media (max-width: 1024px) {
  .growth-partner-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .growth-partner-content h2 {
    text-align: center;
  }
  .slider-btn {
    display: none;
  }
  .principles-container {
    grid-template-columns: 1fr;
  }
  .principles-toggles {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
    padding-right: 0;
    padding-bottom: 1rem;
  }
}

@media (max-width: 950px) {
  .success-story-container,
  .contact-container,
  .details-content-wrapper {
    grid-template-columns: 1fr;
  }

  .why-us-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-us-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .animated-word {
    /* This changes the rigid block into flowing text, fixing the wrap issue */
    display: inline;
  }
  /* On mobile, hide the original container for detail panels */
  .services-sec .service-details-container {
    display: none;
  }

  /* Style the individual detail panels for the accordion */
  .services-sec .service-detail {
    /* This makes it a block-level element that can be moved around */
    display: block;

    /* Hide the panel by default */
    max-height: 0;
    overflow: hidden;

    /* Remove padding until it's open for a smoother animation */
    padding-top: 0;
    padding-bottom: 0;

    /* The magic for the smooth slide animation */
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;

    /* Add a little space between the tab and the open panel */
    margin-top: 1rem;

    /* Ensure it takes up the full width */
    flex-basis: 100%;

    /* Reset animation from desktop view if it exists */
    animation: none;
  }

  .service-details-accordion-content {
    padding: 1rem;
  }

  /* When a panel is active, reveal it */
  .services-sec .service-detail.active {
    /* Restore padding when the panel is open */
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100%;
    background-color: var(--primary-darkest);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    padding: 0;
  }
  header nav.nav-open {
    right: 0;
  }
  header nav a {
    color: var(--text-light);
    font-size: 1.2rem;
  }
  header .whatsapp-link {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }

  h1,
  h2 {
    font-size: 2.2rem !important;
  }
  .section-padding {
    padding: 3rem 5%;
  }

  .services-sec .services-container {
    grid-template-columns: 1fr;
  }
  .services-grid-container {
    grid-template-columns: 1fr;
  }

  .contact-container {
    padding: 2rem;
  }
  .contact-form-wrapper {
    padding-right: 0;
  }
  .contact-form-wrapper::after {
    display: none;
  }
  .contact-details-wrapper {
    order: -1;
    margin-bottom: 3rem;
  }

  .process-stepper-container {
    display: grid;
    grid-template-columns: 60px 1fr; /* Narrow column for numbers, rest for content */
    max-width: 100%;
  }

  .process-stepper {
    flex-direction: column;
    justify-content: space-between; /* Aligns icons 1 and 4 to the ends */
    gap: 1rem;
    margin-bottom: 0;
  }

  /* This styles the GREY background track */
  .process-stepper::before {
    width: 4px;
    left: 25px; /* Positions the track's center at 27px from the edge */
    top: 25px; /* Starts at the center of the first icon */
    bottom: 25px; /* Ends at the center of the last icon */
    right: auto;
  }
  /* This ensures the numbers align with the line */
  .process-step .step-icon {
    margin: 0 auto 0.5rem 0;
  }
  .step-title {
    display: none;
  }

  .modal-body .case-study-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-sec {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .timeline-container::after {
    left: 10px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    left: 0 !important;
  }
  .timeline-item::after {
    left: 0px;
  }
  .principles-toggles {
    flex-wrap: wrap;
    justify-content: center;
  }
  .principle-toggle {
    font-size: 1rem;
  }
  .principles-content-area {
    min-height: auto;
  }
}
@media (max-width: 600px) {
  .badge {
    font-size: 0.7rem; /* Makes the font much smaller */
    letter-spacing: 0.5px; /* Adjusts spacing */
    padding: 6px 10px; /* Adjusts padding */
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .copyright-statement {
    flex-direction: column;
    text-align: center;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }
  .stat-number,
  .result-value {
    font-size: 3.5rem;
  }
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  .testimonial-card blockquote {
    font-size: 1.1rem;
  }
  .client-info {
    flex-wrap: wrap;
  }
  .key-result {
    flex-basis: 100%;
    margin-top: 1rem;
    text-align: center;
  }
  .team-container {
    grid-template-columns: 1fr;
  }
  .result-value {
    /* Reduce the font size from the desktop's 3rem to a mobile-friendly size */
    font-size: 2.5rem;
  }
  .results-grid-modal {
    grid-template-columns: 1fr;
  }

  .contact-container {
    padding: 1.5rem;
  }
  .contact-header h3,
  .contact-details-wrapper h3 {
    font-size: 1.8rem;
  }
  .modal-content {
    padding: 2rem 1.5rem;
  }
}

/* =================================================================== */
/* ===========================Blogs' css ==============================*/
/* =================================================================== */

/* ---
=================================================
BLOG STYLES (HUB & POSTS)
=================================================
--- */

/* --- Blog Hub Card Image Fix --- */

/* This targets the container for the blog card image */
.blog-card-image {
  width: 100%;
  /* This creates a 16:9 aspect ratio box */
  padding-top: 56.25%;
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0; /* Match your card's top radius */
}

/* This styles the image itself */
.blog-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* This is the magic: prevents stretching */
  transition: transform 0.4s ease;
}

/* Adds a nice zoom effect on hover */
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

/* --- End Blog Card Image Fix --- */

/* --- Blog Post Page Styles --- */

/* Styles the hero section for blog posts */
.blog-hero-sec .sec-content {
  padding-top: 120px; /* More padding to push content down */
  text-align: left;
  max-width: 750px; /* Constrains title width */
  margin: 0 auto;
}

.blog-hero-sec h1 {
  text-align: left;
  font-size: 3rem; /* Slightly smaller H1 for blog titles */
}

.blog-meta {
  font-size: 0.9rem;
  color: var(--primary-dark);
  opacity: 0.8;
  margin-top: 1rem;
}

/* This is the main container for the article */
.blog-post-sec {
  background-color: #ffffff;
  color: #333;
  padding: 2rem 0 2rem 0;
}

/* This creates the clean, single-column layout */
.blog-post-content {
  max-width: 900px; /* Standard readable width */
  margin: 0 auto;
  overflow: hidden;
}

.blog-post-content h2 {
  text-align: left;
}
/* Standard text styling for readability */
.blog-post-content p {
  font-size: 1.1rem;
  line-height: 1.7; /* Generous line spacing */
  color: #333;
  margin-bottom: 1.5rem;
}

/* Subheading styles */
.blog-post-content h2 {
  font-size: 2rem;
  color: #000;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.blog-post-content h3 {
  font-size: 1.5rem;
  color: #111;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* List styles */
.blog-post-content ul,
.blog-post-content ol {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.75rem;
}

/* Image styles */
.blog-post-content img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* Soft rounded corners for images */
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* This is a helper class the Gem used. Let's make it work. */
.blog-post-content .img-fluid-right {
  max-width: 50%; /* Makes image smaller */
  float: right; /* Floats it to the right */
  margin-left: 1.5rem; /* Adds space to its left */
  margin-bottom: 1rem;
}

/* Blockquote styles (for pull quotes) */
.blog-post-content blockquote {
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: var(--primary-medium); /* Use your brand color */
  border-left: 4px solid var(--primary-medium);
  padding-left: 2rem;
  margin: 2rem 0;
}

/* --- Blog "Coming Soon" Card Style --- */

/* This styles the "Coming Soon" text */
.read-more-link.coming-soon {
  color: #999; /* Makes it light grey */
  font-weight: 500;
  cursor: default;
  background-color: transparent; /* Removes any hover effect */
}

/* This makes the whole card non-clickable */
.blog-card:not(a) {
  cursor: default;
}

/* This removes the hover effect from the "Coming Soon" cards */
.blog-card:not(a):hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Resets to default shadow */
}

.blog-card:not(a):hover .read-more-link {
  color: #999;
}
/* --- End "Coming Soon" Styles --- */

/* --- End Blog Post Styles --- */
