* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

a {
  text-decoration: none;
}

/* --- Active Navigation Link Styles (REVISED) --- */

/* For Desktop Navigation Links (The JS will apply inline styles to the <span>) */
/* This rule only sets up the A tag, but the span styles are more important here */
.nav-items a:not(#contact-button).active-link {
  /* This selector remains correct for targeting the anchor, though the
     span style (via JS or CSS targeting the span) is what actually draws the underline. */
  text-decoration: none; /* Ensure no residual underline on the anchor itself */
}

/* For GENERAL Mobile Navigation Links (HOME, SERVICES, etc.) */
/* Crucially uses :not(.mobile-contact-btn) to exclude the button */
.mobile-menu-items a:not(.mobile-contact-btn).active-link {
  /* Use a custom border-bottom for a distinct mobile look */
  border-bottom: 3px solid white;
  padding-bottom: 5px;
}

/* --- Contact Button Overrides --- */

/* 1. Mobile Contact Button: REMOVE the border-bottom */
/* High specificity rule to ensure it overrides the general mobile link style above */
.mobile-menu-items a.mobile-contact-btn.active-link {
  text-decoration: none;
  border-bottom: none; /* CRITICAL: This is the fix for the mobile border */
  padding: 12px 22px !important;
}

/* 2. Desktop Contact Button */
#contact-button.active-link {
  /* Highlight the button when active without underlining */
  background-color: #5d18d9;
}

/* ---------------------- MOBILE FULL SCREEN MENU ---------------------- */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0; /* top:0, right:0, bottom:0, left:0 */
  background: linear-gradient(160deg, #0058e6 0%, #002f72 100%);
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

.mobile-menu-items a {
  color: white;
  font-size: 28px;
  font-weight: 700;
}

.close-menu {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
}

.close-menu i {
  width: 40px;
  height: 40px;
  color: white;
}

.mobile-contact-btn {
  background-color: #7a2dfd;
  padding: 14px 28px;
  border-radius: 4px;
}

.header-content {
  background: linear-gradient(160deg, #0058e6 0%, #002f72 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: white;
  padding-bottom: 40px;
}

.contact-header-content {
  background: linear-gradient(160deg, #0058e6 0%, #002f72 100%);
  height: 80px;
  color: white;
}

.blog-nav-content {
  background: linear-gradient(160deg, #0058e6 0%, #002f72 100%);
  height: 80px;
  color: white;
}

nav {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding-left: 120px;
  padding-right: 120px;
  position: relative; /* normal */
  width: 100%;
  box-sizing: border-box; /* important */
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    padding 0.3s ease;
}

nav img {
  transition: opacity 0.2s ease;
}

nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* ensures navbar spans full width */
  padding-left: 120px; /* optional, you can reduce on scroll */
  padding-right: 120px; /* optional */
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

nav.fixed .nav-items > a {
  color: #7a2dfd;
}

nav.fixed #contact-button {
  color: white;
  background-color: #7a2dfd;
}

nav.fixed #contact-button:hover {
  background: linear-gradient(160deg, #0058e6 0%, #002f72 100%);
  color: white;
}

.nav-items {
  display: flex;
  gap: 50px;
  align-items: center;
}

.nav-items > a {
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
  color: white;
  transition: color 0.3s ease;
}

#contact-button {
  background-color: #7a2dfd;
  padding: 12px 22px;
  border-radius: 3px;
}

#contact-button:hover {
  background-color: white;
  color: #7a2dfd;
  transition: all 0.2s ease-in-out;
}

.menu-icon {
  display: none;
}

.active-menu-icon {
  color: #7a2dfd;
}

@media (max-width: 900px) {
  nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
    /*height: 50px;*/
  }

  .nav-items {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* ensures navbar spans full width */
    padding-left: 20px; /* optional, you can reduce on scroll */
    padding-right: 20px; /* optional */
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  nav.fixed .menu-icon svg {
    stroke: #7a2dfd;
  }

  #contact-button {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

  nav.fixed .nav-items > a {
    color: #7a2dfd;
  }

  nav.fixed .nav-items #contact-button {
    color: white;
  }
}

.hero {
  padding-top: 20px;
}

.hero-title {
  font-size: 62px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 650px;
}

.hero-subtext {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 600px;
  margin-top: 20px;
}

.about-text {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 900px;
  margin: 20px auto 0 auto;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.hero-buttons > a {
  background-color: white;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  color: #7a2dfd;
  cursor: pointer;
}

.hero-buttons > a:hover {
  background-color: #7a2dfd;
  color: white;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.middle-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-left: 120px;
  padding-right: 120px;
  padding-top: 20px;
}

.other-middle-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-left: 120px;
  padding-right: 120px;
  padding-top: 80px;
}

.hero-img {
  width: 600px;
  max-width: 45vw;
  height: auto;
}

@media (max-width: 900px) {
  .middle-hero {
    flex-direction: column;
    align-items: center;
    gap: 70px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
  }

  .other-middle-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px !important;
  }

  .hero-title {
    font-size: 36px;
    max-width: 100%;
    text-align: center;
  }

  .hero-subtext {
    font-size: 16px;
    max-width: 100%;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-img {
    width: 100%;
    max-width: 400px;
  }
}

/* ------------------------------ */
/* SERVICES OVERVIEW SECTION      */
/* ------------------------------ */

.services-section {
  padding: 120px;
  background-color: white;
  text-align: center;
}

.about-section {
  padding-left: 120px;
  padding-right: 120px;
  padding-top: 120px;
  text-align: center;
  background-color: white;
}

.services-title {
  font-size: 46px;
  font-weight: 800;
  color: #002f72;
}

.services-subtitle {
  font-size: 18px;
  opacity: 0.75;
  max-width: 600px;
  margin: 14px auto 60px auto;
}

.about-text {
  font-size: 18px;
  opacity: 0.75;
  max-width: 900px;
  margin: 14px auto 20px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.service-card {
  background: #f7f9ff;
  border: 1px solid #e1e8ff;
  padding: 60px 26px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: #7a2dfd;
  transform: translateY(-4px);
}

.service-card i {
  width: 42px;
  height: 42px;
  color: #7a2dfd;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #002f72;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: #444;
}

/* CTA Button */
.service-cta {
  margin-top: 50px;
  display: inline-block;
  padding: 14px 32px;
  font-weight: 700;
  border-radius: 4px;
  background-color: #7a2dfd;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.service-cta:hover {
  background-color: #5d18d9;
  transition: 0.2s ease-in-out;
}

/* --- NEW STYLE FOR SELECT INPUT --- */
.source-input {
  /* Inherit padding, border, radius, and font size from input */
  padding: 14px;
  border: 2px solid #d4e2ff;
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  /* Ensure it takes full width of its form-group container */
  width: 100%;
  /* Set background color to match form background, if needed */
  background-color: white;
  /* Set text color */
  color: #444;
  /* Remove default system arrow on some browsers (optional, but cleaner) */
  /* -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; */
}

.source-input:focus {
  border-color: #7a2dfd;
}

/* Add to your existing styles to make lists look clean in the service-card */
.service-card ul {
  list-style-type: disc; /* Ensures standard bullets */
  padding-left: 20px;
  text-align: left; /* Aligns list items to the left */
  margin-top: 18px;
  margin-bottom: 15px;
}

.service-card li {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-card strong {
  font-weight: 600; /* Makes key terms within the list stand out */
}

.service-card p:first-of-type {
  margin-bottom: 14px; /* Separates the main paragraph from the list */
  line-height: 1.5;
}

/* Style for the Learn More link */
.service-card .learn-more {
  display: block;
  margin-top: 20px;
  font-weight: 700;
  color: #7a2dfd;
  text-decoration: none;
  font-size: 15px;
}

.service-card .learn-more:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .services-section {
    padding: 40px 20px;
    background-color: white;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Stack vertically */
  }
}

/* ------------------------------ */
/* CASE STUDIES SECTION           */
/* ------------------------------ */

.case-studies {
  padding: 120px;
  background-color: #ffffff;
  text-align: center;
}

.case-title {
  font-size: 46px;
  font-weight: 800;
  color: #002f72;
}

.case-subtitle {
  font-size: 18px;
  opacity: 0.75;
  max-width: 620px;
  margin: 18px auto 60px auto;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.case-card {
  background: white;
  border: 1px solid #e1e8ff;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 14px 28px rgba(0, 48, 142, 0.15);
}

.case-image {
  height: 180px;
  background: linear-gradient(160deg, #0058e6 0%, #002f72 100%);
}

.case-content {
  padding: 26px;
  text-align: left;
}

.case-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #002f72;
  margin-bottom: 12px;
}

.case-content p {
  font-size: 15px;
  color: #444;
  opacity: 0.85;
  line-height: 1.6;
}

.case-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 15px;
  color: #7a2dfd;
  text-decoration: none;
}

.case-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .case-studies {
    padding: 40px 20px;
    background-color: #ffffff;
    text-align: center;
  }

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

/* ------------------------------ */
/* WHY CHOOSE US SECTION          */
/* ------------------------------ */

.why-choose-us {
  padding-top: 80px;
  padding-left: 120px;
  padding-right: 120px;
  padding-bottom: 20px;
  background-color: #ffffff;
  text-align: center;
}

.about-why-choose-us {
  padding-top: 120px;
  padding-left: 120px;
  padding-right: 120px;
  padding-bottom: 120px;
  background-color: #ffffff;
  text-align: center;
}

.why-title {
  font-size: 46px;
  font-weight: 800;
  color: #002f72;
}

.why-subtitle {
  font-size: 18px;
  opacity: 0.75;
  max-width: 600px;
  margin: 14px auto 60px auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.why-card {
  background: #f7f9ff;
  border: 1px solid #e1e8ff;
  padding: 60px 26px;
  border-radius: 10px;
  transition: all 0.25s ease;
  line-height: 1.5;
}

.why-card:hover {
  border-color: #7a2dfd;
  transform: translateY(-4px);
}

.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #002f72;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 15px;
  color: #444;
}

/* Responsive */
@media (max-width: 900px) {
  .why-choose-us {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    background-color: #ffffff;
    text-align: center;
  }

  .about-section {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
    background-color: white;
  }

  .about-why-choose-us {
    padding-top: 120px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 120px;
    background-color: #ffffff;
    text-align: center;
  }

  .why-grid {
    grid-template-columns: 1fr; /* stack vertically */
  }
}

/* ---------------------- TESTIMONIALS SECTION ---------------------- */
.testimonials-section {
  padding-top: 100px;
  text-align: center;
  background: #ffffff;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.testimonials-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.testimonial-card {
  background: #f8faff;
  border: 1px solid rgba(0, 63, 180, 0.08);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 63, 180, 0.08);
}

.stars {
  font-size: 1.2rem;
  color: #ffb400;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-author {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Client logos row */
.client-logos {
  display: flex;
  justify-content: center;
  gap: 60px;
  opacity: 0.5;
  flex-wrap: wrap;
}

.work-client-logos {
  display: flex;
  justify-content: center;
  gap: 60px;
  opacity: 0.5;
  flex-wrap: wrap;
  padding-top: 100px;
  padding-bottom: 20px;
}

.client-logos img {
  height: 40px;
  filter: grayscale(100%);
  transition: 0.25s;
}

.work-client-logos img {
  height: 40px;
  filter: grayscale(100%);
  transition: 0.25s;
}

.client-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.work-client-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.middle-content {
  color: black;
  padding: 0px 120px 120px 120px;
}

.contact-us {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-us-heading {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.3;
  max-width: 650px;
  color: #002f72;
  padding: 5px;
}

#underline-text {
  border-bottom: 8px solid;
  line-height: 1.3;
}

/* ------------------------------------- */
/* CONTACT PAGE - TOP HERO SECTION STYLES */
/* ------------------------------------- */

.contact-middle-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-left: 120px;
  padding-right: 120px;
  background-color: white; /* Ensure a clean background under the header */
  padding-top: 100px; /* Add space below the fixed header */
  padding-bottom: 60px; /* Space above the form section */
  flex-direction: column; /* Stack the content vertically for the contact page */
  text-align: center; /* Center align all text within the hero */
}

.contact-middle-hero .hero {
  padding-top: 0; /* Remove existing padding from the .hero class */
  max-width: 800px; /* Constrain the width for readability */
  margin: 0 auto;
}

.contact-middle-hero .hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: #002f72; /* Dark blue primary color */
  max-width: 100%; /* Override max-width set in global .hero-title */
}

.contact-middle-hero .hero-subtext {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #444; /* Dark gray for body text */
  opacity: 1; /* Ensure full opacity */
  max-width: 700px; /* Slightly wider text for the description */
  margin: 20px auto 0 auto; /* Center the subtext */
}

/* Responsive Overrides for Contact Hero */
@media (max-width: 900px) {
  .contact-middle-hero {
    padding-top: 60px !important; /* Less space on mobile */
    padding-bottom: 20px;
    padding-left: 25px;
    padding-right: 25px;
  }

  .contact-middle-hero .hero-title {
    font-size: 38px; /* Reduce title size on mobile */
    text-align: center;
  }

  .contact-middle-hero .hero-subtext {
    font-size: 16px; /* Reduce subtitle size on mobile */
    text-align: center;
  }
}

/* ------------------------------ */
/* CONTACT FORM STYLE             */
/* ------------------------------ */

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 50%;
  padding: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 47%;
}

.form-group.full {
  width: 100%;
}

label {
  font-size: 15px;
  font-weight: 600;
  color: #002f72;
}

.required {
  color: #7a2dfd; /* purple brand color */
}

input,
textarea {
  padding: 14px;
  border: 2px solid #d4e2ff;
  border-radius: 6px;
  font-size: 16px;
  resize: none;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #7a2dfd;
}

textarea {
  height: 140px;
}

.submit-btn {
  background-color: #7a2dfd;
  color: white;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
}

.submit-btn:hover {
  background-color: #5d18d9;
  transition: 0.2s ease-in-out;
}

.form-legal {
  font-size: 14px;
  color: #444;
  opacity: 0.8;
}

.form-legal a {
  color: #0058e6;
  text-decoration: none;
}

.form-legal a:hover {
  text-decoration: underline;
}

/* Make form full-width on small screens */
@media (max-width: 900px) {
  .contact-form {
    width: 100%;
  }

  .form-group {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .testimonials-section {
    padding: 20px;
    text-align: center;
    background: #ffffff;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .client-logos {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .middle-content {
    color: black;
    padding: 10px 5px 60px 5px;
  }

  .contact-us {
    display: flex;
    flex-direction: column;
  }

  .contact-us-heading {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    max-width: 650px;
    color: #002f72;
    padding: 10px 5px 50px 20px;
  }

  .contact-form {
    width: 100%;
    gap: 16px;
  }

  .form-group {
    width: 100%;
  }

  .submit-btn {
    padding: 14px;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .middle-content {
    color: black;
    padding: 40px 5px;
  }

  .contact-us {
    display: flex;
    flex-direction: column;
  }

  .contact-us-heading {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    max-width: 650px;
    color: #002f72;
    padding: 10px 5px 50px 5px;
  }

  .contact-form {
    width: 100%;
    gap: 16px;
  }

  .form-group {
    width: 100%;
  }

  .submit-btn {
    padding: 14px;
  }
}

/* ------------------------------ */
/* FOOTER                         */
/* ------------------------------ */

.footer-content {
  background-color: #eef4ff; /* pale blue */
  padding: 80px 120px 40px;
  color: #002f72;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-brand {
  max-width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.footer-btn {
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.footer-btn.primary {
  background-color: #7a2dfd;
  color: white;
}

.footer-btn.primary:hover {
  opacity: 0.75;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-logo {
  width: 100px;
  height: auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #002f72;
}

.footer-column a {
  text-decoration: none;
  color: #0058e6;
  font-size: 14px;
  opacity: 0.9;
}

.footer-column a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

.footer-bottom a {
  color: #0058e6;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-content {
    background-color: #eef4ff; /* pale blue */
    padding: 80px 20px 40px 20px;
    color: #002f72;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

.case-study-article {
  max-width: 800px;
  margin: auto;
  padding: 40px 20px;
  line-height: 1.7;
}

.case-study-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .case-study-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
  }
}

.case-study-subtitle {
  font-size: 20px;
  opacity: 0.7;
  margin-bottom: 30px;
}

.case-study-banner {
  width: 100%;
  border-radius: 16px;
  margin: 30px 0;
}

.case-study-body h2 {
  margin-top: 35px;
  font-size: 28px;
}

.case-study-body ul,
.case-study-body ol {
  padding-left: 20px;
}

.cta-section {
  text-align: center;
  margin-top: 50px;
}

.cta-btn {
  background: #7a2dfd;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* ----------------------------
   Case Study / Blog layout
-------------------------------- */
.case-middle-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 32px; /* 👈 Adds spacing on left/right */
}

/* Headings improve spacing */
.case-middle-content h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  color: #002f72;
}

.case-middle-content h2 {
  margin-top: 40px;
  font-size: 28px;
  font-weight: 700;
  color: #002f72;
}

/* ----------------------------
   ✅ Mobile responsiveness
-------------------------------- */
@media (max-width: 768px) {
  .case-middle-content {
    padding: 24px 18px; /* mobilfriend padding */
  }

  .case-middle-content h1 {
    font-size: 32px; /* reduce large heading on mobile */
  }

  .case-middle-content h2 {
    font-size: 24px;
  }

  blockquote {
    font-size: 16px !important;
    padding: 20px !important;
  }
}

.message-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  grid-column: 1 / -1; /* Ensures it spans the full grid width */
}

.message-container .message-icon {
  width: 250px; /* Made larger */
  height: auto;
  margin-bottom: 20px;
  opacity: 0.8; /* Slightly increased opacity for better visibility */
}

/* Style for the 'No Data' text */
.no-data-text {
  font-size: 1.2rem;
  color: var(--color-text-subtle, #6b7280); /* Use a softer color */
  font-weight: 500;
}

/* Style for the 'Error' text */
.error-text {
  font-size: 1.2rem;
  color: var(--color-error, #dc2626); /* Use a strong error color */
  font-weight: 600;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Style for the icon itself */
.loading-icon {
  width: 24px;
  height: 24px;
  color: #0058e6; /* Bright blue color */
  animation: spin 1.5s linear infinite; /* Applies the spin animation */
}

/* --- REVISED SKELETON LOADING STYLES (for index.css) --- */

/* Base class for the loading skeleton animation */
.skeleton-load {
  /* 1. Base background color is now slightly darker for better contrast */
  background-color: #e0e0e0;

  /* 2. Increased the opacity of the white light (from 0.5 to 0.8) 
     and widened the white band (45%-55%) */
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 45%,
      rgba(255, 255, 255, 0.8) 50%,
      /* Increased brightness/opacity here */ rgba(255, 255, 255, 0) 55%
    )
    #e0e0e0; /* Match the base color */

  /* Critical: Set background size wide for shimmer to travel */
  background-size: 200% 100%;

  /* 3. Increased the animation speed slightly (1.5s -> 1.3s) */
  animation: skeleton-shimmer 1.3s infinite;
}

@keyframes skeleton-shimmer {
  0% {
    /* Start the background fully to the left (off-screen) */
    background-position: 200% 0;
  }
  100% {
    /* Move the background fully to the right (off-screen) */
    background-position: -200% 0;
  }
}

/* Ensure case-image has a fixed size and a default background */
.case-card .case-image {
  height: 200px;
  width: 100%;
  border-radius: 3px 3px 0 0;
  background-position: center;
  background-size: cover;

  /* Default background when loading/failing to load image */
  background-color: #f3f3f3;

  /* Ensure a smooth transition when the background image is finally set */
  transition: background-image 0.5s ease, background-color 0.5s ease;

  /* Initially, ensure no actual background image is visible */
  background-image: none;
}

/* When case-image has the skeleton-load class, ensure the background is set for the shimmer */
.case-card .case-image.skeleton-load {
  background-image: none !important;
  background-color: #e0e0e0; /* Base color for the animation */
}

/* --- New Footer CSS for Contact and Social --- */

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #002f72; /* Use your primary text color */
}

.footer-contact p a {
  color: #0058e6; /* Link color */
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  /* Style for the social icon links */
  color: #002f72;
  transition: color 0.2s;
  opacity: 0.8;
}

.social-icons a:hover {
  color: #7a2dfd; /* Accent color on hover */
  opacity: 1;
}

.social-icons i {
  /* Style for the Lucide icons */
  width: 20px;
  height: 20px;
}

/* ------------------------------------- */
/* POLICY / TERMS SPECIFIC STYLES        */
/* ------------------------------------- */

.policy-section {
  background-color: white;
  padding: 80px 0;
  color: #444; /* General text color */
}

.policy-container {
  max-width: 850px; /* Optimal width for reading long-form text */
  margin: 0 auto;
  padding: 0 20px;
}

.policy-container h1 {
  font-size: 48px;
  font-weight: 800;
  color: #002f72; /* Dark blue heading color */
  margin-bottom: 10px;
}

.policy-date {
  font-size: 16px;
  font-weight: 500;
  color: #7a2dfd; /* Purple accent color */
  margin-bottom: 40px;
  border-bottom: 2px solid #eef4ff; /* Pale blue separator */
  padding-bottom: 15px;
}

.policy-container h2 {
  font-size: 28px;
  font-weight: 700;
  color: #002f72;
  margin-top: 45px;
  margin-bottom: 15px;
}

.policy-container h3 {
  font-size: 20px;
  font-weight: 600;
  color: #002f72;
  margin-top: 30px;
  margin-bottom: 10px;
}

.policy-container p {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.policy-container a {
  color: #0058e6;
  text-decoration: none;
}

.policy-container a:hover {
  text-decoration: underline;
}

.policy-container ul,
.policy-container ol {
  padding-left: 40px;
  margin-bottom: 25px;
  line-height: 1.8;
}

.policy-container ul li,
.policy-container ol li {
  margin-bottom: 8px;
}

.policy-contact {
  font-size: 16px;
  line-height: 1.8;
}

/* Responsive adjustments for policy page */
@media (max-width: 768px) {
  .policy-section {
    padding: 40px 0;
  }

  .policy-container {
    padding: 0 15px;
  }

  .policy-container h1 {
    font-size: 36px;
  }

  .policy-container h2 {
    font-size: 24px;
    margin-top: 35px;
  }

  .policy-container h3 {
    font-size: 18px;
    margin-top: 25px;
  }

  .policy-container p,
  .policy-container ul,
  .policy-container ol {
    font-size: 15px;
  }
}

/* --- Cookie Consent Banner Styles --- */
.cookie-banner {
  display: none; /* Hidden by default, shown by JS if no consent is found */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  color: black;
  padding: 15px 28px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9998; /* Ensure it is above all other content */
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  flex-grow: 1;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.cookie-text a {
  color: #7a2dfd; /* Highlight your link color */
  text-decoration: underline;
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0; /* Prevents buttons from squeezing */
}

.cookie-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  color: #ffffff;
}

.cookie-btn.accept {
  background-color: #7a2dfd; /* Green color for acceptance */
  color: white;
}

.cookie-btn.accept:hover {
  opacity: 0.75;
}

.cookie-btn.decline {
  background-color: transparent;
  color: #7a2dfd;
  border: 1px solid #7a2dfd;
}

.cookie-btn.decline:hover {
  background-color: #7a2dfd;
  color: #fff;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 15px 10px;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* ---------------------- WHATSAPP FLOATING BUTTON (Revised for Image Icon) ---------------------- */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9997;
  background-color: #25d366; 
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center; /* This ensures the containers (.whatsapp-logo-container and .whatsapp-text) align */
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
}

/* MODIFIED: Added vertical-align: middle; for better text alignment */
.whatsapp-icon-img {
  width: 24px;
  height: 24px;
  min-width: 24px;
  object-fit: contain;
  vertical-align: middle; /* <-- THIS IS THE FIX */
}

.whatsapp-text {
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

/* 1. Define the Pulse Animation (No change) */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); 
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); 
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* 2. Mobile Optimization (No change) */
@media (max-width: 500px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 18px;
    border-radius: 50%;
    animation: pulse 2s infinite; 
  }

  .whatsapp-text {
    display: none;
  }
  
  .whatsapp-logo-container {
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .whatsapp-icon-img {
      width: 24px;
      height: 24px;
  }
}
