@import url("reset.css");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Inter:regular,500,600,700&display=swap");

/* ************COMMON************ */

.logo {
  font-weight: 700;
  font-size: 1.4rem;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #374151;
  line-height: 1.6;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
}

.title {
  font-size: 3.5rem;
  font-weight: 600;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* ************HEADER************ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1001;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
}

.header__logo {
  position: relative;
  z-index: 2;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__link {
  font-weight: 600;
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  background-color: #f87171; /* Coral/red color to match the primary button */
  color: #fff;
  text-transform: uppercase;
}

.actions-header__button:hover {
  background-color: #ef4444; /* Slightly darker on hover */
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 160px;
}

/* *****************HOME**************** */

.main {
  background: url("../images/Home/Home-Hero.jpeg") center / cover no-repeat;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-top: 2rem;
  padding-left: 10rem;
  position: relative;
  z-index: 2;
  width: 75%;
  max-width: 900px;
  margin-left: 0;
}

.main__caption {
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 500;
  font-size: 0.7rem;
}

.main__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  max-width: 750px;
  line-height: 1.2;
  white-space: normal;
  letter-spacing: -0.01em;
}

.main__title-break {
  display: inline;
}

.main__text {
  margin-bottom: 2.5rem;
  max-width: 800px;
  line-height: 150%;
  letter-spacing: 0.02em;
  font-size: 1rem;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  color: #fff;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.main__buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  transition: all 0.3s;
  text-align: center;
  font-size: 0.9rem;
  line-height: 110%;
}

.main__button--primary {
  background-color: #f87171; /* Coral/red color from the image */
  color: #fff;
  border: none;
  text-transform: uppercase;
}

.main__button--secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.outro_home {
  background: linear-gradient(to right, #2c5282, #4c51bf); /* Blue-purple gradient background */
  padding: 4rem 0;
  text-align: center;
}

/* ************ABOUT**************** */

.main_about,
.main_services,
.main_contact,
.main_case-studies,
.main_blog,
.main_case-study,
.main_blog-post {
  background: linear-gradient(to right, #0f2942, #1c3d5a) !important;
  padding: 8rem 0 4rem !important;
  margin-top: 0 !important;
}

.main_about::before,
.main_services::before,
.main_contact::before,
.main_case-studies::before,
.main_blog::before,
.main_case-study::before,
.main_blog-post::before {
  background-image: url('../images/circuit-pattern.png') !important;
  background: none !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.1 !important;
}

/* Consistent title styling across all hero sections */
.about-hero__title,
.services-hero__title,
.contact-hero__title,
.case-studies-hero__title,
.blog-hero__title,
.blog-post-hero__title,
.case-study-hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding-left: 0;
  margin-top: 0;
}

/* Consistent text styling across all hero sections */
.about-hero__text,
.services-hero__text,
.contact-hero__text,
.case-studies-hero__text,
.blog-hero__text,
.blog-post-hero__text,
.case-study-hero__text {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 800px;
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #fff;
  opacity: 0.9;
  letter-spacing: normal;
  text-shadow: none;
}

/* Consistent container styling */
.main__container_pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Remove any page-specific height constraints */
.main_pages {
  min-height: auto !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-hero__title,
  .services-hero__title,
  .contact-hero__title,
  .case-studies-hero__title,
  .blog-hero__title,
  .blog-post-hero__title,
  .case-study-hero__title {
    font-size: 2.5rem;
  }
  
  .about-hero__text,
  .services-hero__text,
  .contact-hero__text,
  .case-studies-hero__text,
  .blog-hero__text,
  .blog-post-hero__text,
  .case-study-hero__text {
    font-size: 1rem;
  }
  
  .main_about,
  .main_services,
  .main_contact,
  .main_case-studies,
  .main_blog,
  .main_case-study,
  .main_blog-post {
    padding: 6rem 0 3rem;
  }
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
  margin-top: 2rem;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__title {
  margin-bottom: 1.5rem;
}

.about__text {
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 2rem;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.about__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  transition: all 0.3s;
  text-align: center;
  font-size: 0.9rem;
  line-height: 110%;
  background-color: #f87171;
  color: #fff;
  border: none;
  text-transform: uppercase;
}

.outro_about {
  background: linear-gradient(to right, #2c5282, #4c51bf); /* Blue-purple gradient background */
  padding: 4rem 0;
  text-align: center;
}

.outro__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center all items horizontally */
  justify-content: center;
}

.outro__title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center; /* Ensure title is centered */
}

.outro__text {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* Ensure text is centered */
}

.outro__buttons {
  display: flex;
  justify-content: center; /* Center the buttons container */
  gap: 1rem;
  align-items: center;
  width: 100%; /* Full width to ensure proper centering */
}

.outro__button {
  background-color: #f87171;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all 0.3s;
  text-align: center;
}

.outro__button:hover {
  background-color: #ef4444;
  transform: translateY(-2px);
}

/* **************SERVICES**************** */

.services {
  background-color: #e1e4eb;
}

.services__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
}

.services__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.item-services {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 100%;
}

.item-services__image {
  margin-bottom: 2rem;
  max-width: 360px;
  height: 421px;
}

.item-services__image img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.item-services__text {
  max-width: 21.5rem;
  line-height: 150%;
  margin-bottom: 1rem;
  flex-grow: 1;
  letter-spacing: 0.02em;
}

.item-services__button {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  background-color: #f87171; /* Match the primary button color */
  color: #fff;
  border: none;
  border-radius: 5px;
}

.item-services__button:hover {
  background-color: #ef4444; /* Slightly darker on hover */
}

.outro_services {
  background: url("../img/services/hero_placeholder.jpg") center / cover no-repeat;
}

/* ************TESTIMONIAL**************** */

.testimonial {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.testimonial__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.testimonial__caption {
  color: #3b82f6;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonial__title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1e293b;
}

.testimonial__slider {
  position: relative;
  overflow: hidden;
}

.item-testimonial {
  padding: 0 1rem;
}

.item-testimonial__content {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.item-testimonial__text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 2rem;
  font-style: italic;
}

.item-testimonial__info {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.item-testimonial__details {
  flex-grow: 1;
}

.item-testimonial__image {
  display: none;
}

.item-testimonial__title {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.item-testimonial__caption {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0.25rem;
}

.item-testimonial__industry {
  font-size: 0.8rem;
  color: #3b82f6;
  font-weight: 600;
}

.testimonial__navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.testimonial__nav {
  background: none;
  border: 1px solid #cbd5e1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.testimonial__nav:hover {
  background-color: #f1f5f9;
  color: #334155;
}

.testimonial__dots {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.testimonial__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
  margin: 0 0.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.testimonial__dot--active {
  background-color: #3b82f6;
  width: 10px;
  height: 10px;
}

/* ****************OUTRO**************** */

.outro__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.outro__title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.outro__text {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.outro__button {
  background-color: #f87171;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.outro__button:hover {
  background-color: #ef4444;
  transform: translateY(-2px);
}

/* ****************FOOTER**************** */

.footer {
  line-height: 150%;
}

.footer__container {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  max-width: 74.624rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__policy {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: start;
}

.footer__logo {
  justify-self: center;
}

.footer__copyright {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: end;
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.main_pages {
  min-height: auto !important;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: 0; /* Removed padding-top completely */
  padding-bottom: 8.75rem;
}

.services-page__item:first-child {
  margin-top: 2rem;
}

.services-page__item {
  margin-bottom: 2rem; /* Further reduced from 3rem */
}

.services-page__item:not(:last-child) {
  padding-bottom: 2rem; /* Reduced from 132px */
  margin-bottom: 2rem; /* Reduced from 132px */
  border-bottom: 1px solid rgba(48, 58, 77, 0.2); /* Lighter border */
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 2rem; /* Reduced from a larger value if needed */
}

.services-page__title {
  margin-bottom: 24px;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 1rem; /* Reduced from a larger value */
}

.services-page__img {
  max-width: 552px;
  height: 614px;
}

.services-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************CONTACT PAGE****************/

.main_contact {
  background: linear-gradient(to right, #0f2942, #1c3d5a);
  padding: 8rem 0 4rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Add overlay to ensure text remains readable */
.main_contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/circuit-pattern.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  background: none; /* Remove any existing background */
  z-index: -1;
}

.contact-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-hero__title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.contact-hero__text {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  text-shadow: none;
}

.contact {
  padding: 4rem 0;
  background-color: #f8fafc;
}

.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact__form-column {
  flex: 1;
  min-width: 300px;
}

.contact__form-wrapper {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact__form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.contact__form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact__form-field {
  flex: 1;
  margin-bottom: 1rem;
}

.contact__form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 0.5rem;
}

.contact__form-input,
.contact__form-select,
.contact__form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #334155;
  transition: border-color 0.2s;
  background-color: #fff;
  box-sizing: border-box;
  cursor: text;
}

.contact__form-select {
  cursor: pointer;
}

.contact__form-input:focus,
.contact__form-select:focus,
.contact__form-textarea:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.contact__form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact__form-checkbox input {
  margin-top: 0.25rem;
  cursor: pointer;
}

.contact__form-checkbox label {
  font-size: 0.85rem;
  color: #475569;
  cursor: pointer;
}

.contact__form-checkbox a {
  color: #3b82f6;
  text-decoration: none;
}

.contact__form-button {
  background-color: #f87171;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.contact__form-button:hover {
  background-color: #ef4444;
}

.contact__info-column {
  flex: 1;
  min-width: 300px;
}

.contact__info-wrapper {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact__info-section {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact__info-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact__info-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.contact__info-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

.contact__map {
  margin-top: 2rem;
}

.contact__map-placeholder {
  background-color: #e2e8f0;
  border-radius: 8px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #fff;
  padding: 20px 82px;
  background-color: #f87171;
  border-radius: 64px;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  max-width: 360px;
  height: 363px;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 40px;
}

.director__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 480px;
}

.director__text p:not(:last-child) {
  margin-bottom: 20px;
}

.director__img {
  max-width: 552px;
  height: 614px;
}

.director__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************GALLERY**************** */
.gallery__container {
  padding-bottom: 140px;
  padding-top: 140px;
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  margin-bottom: 96px;
  justify-items: center;
}

.gallery__item {
  max-width: 360px;
  height: 407px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery__paggination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.gallery__paggination button:first-child {
  transform: translate(0px, 5px);
}

.gallery__paggination button:last-child {
  transform: rotate(-180deg) translate(0px, 5px);
}

.gallery_active {
  color: #fff;
  padding: 10px 15px;
  background-color: #303a4d;
  border-radius: 100px;
  display: inline-block;
}

/* ****************RESOURCES**************** */
.resources__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  justify-items: center;
}

.resources__img {
  max-width: 360px;
  height: 330px;
  margin-bottom: 32px;
}

.resources__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.resources__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 243px;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #303a4d;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #303a4d;
  border-radius: 64px;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 992px) {
  .services__row {
    grid-template-columns: 1fr;
    gap: 6rem;
    justify-items: center;
  }

  .item-services {
    text-align: center;
    align-items: center;
  }

  .page__main {
    padding-bottom: 80px;
  }

  .main__container {
    width: 80%;
    padding-left: 8rem;
    max-width: 800px;
  }
  
  .main__animation {
    width: 25%;
    right: 5%;
  }
}

@media (min-width: 47.999rem) {
  .menu__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

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

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .footer__policy,
  .footer__copyright {
    justify-self: center;
    text-align: center;
    margin: 0.5rem 0;
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 47.999rem) {
  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #000;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .contact__container {
    flex-direction: column;
    padding-top: 80px;
    gap: 50px;
    padding-bottom: 80px;
  }

  .icon-menu span {
    top: calc(50% - 0.0625rem);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu__body {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 9.375rem 0.938rem 1.875rem 0.938rem;
    overflow: auto;
    flex-direction: column;
    row-gap: 5rem;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 5.75rem;
    background-color: #fff;
    border-bottom: 1px solid #000;
    z-index: 2;
  }

  .menu-open .menu__body {
    left: 0;
  }

  .menu-open .menu__body::before {
    left: 0;
  }

  .menu__item {
    text-align: center;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 1.563rem;
  }

  .menu__link {
    font-size: 2rem;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container {
    padding-top: 12.5rem;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .main__title {
    font-size: 3rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    gap: 4rem;
  }

  .services__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .testimonial__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 1rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }
}

@media (max-width: 61.936rem) {
  .footer__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 0.938rem;
  }

  .logo {
    font-size: 2rem;
  }
}

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

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

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

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

/* New animation element */
.main__animation {
  position: absolute;
  right: 5%;
  top: 52%;
  transform: translateY(-50%);
  width: 28%;
  max-width: 400px;
  height: auto;
  animation: float 4s ease-in-out infinite;
  z-index: 1;
}

.main__animation img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Animation keyframes */
@keyframes float {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(-15px);
  }
}

/* Adjust responsive behavior for the animation */
@media (max-width: 768px) {
  .main__container {
    width: 85%;
    padding-left: 6rem;
    padding-right: 1rem;
    padding-top: 1.5rem;
    max-width: 700px;
  }
  
  .main__animation {
    top: 52%;
  }
  
  .main__title {
    font-size: 2.2rem;
  }

  .main__text {
    font-size: 0.9rem;
  }

  .main__buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .main__button {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .main__animation {
    display: none;
  }

  .main__container {
    padding-left: 3rem;
  }

  .main__buttons {
    width: 100%;
  }
  
  .main__button {
    width: 100%;
  }
}

/* Add styling for the benefits list */
.item-services__benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.item-services__benefits li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.benefit-icon {
  color: #4fd1c5; /* Teal color for checkmarks */
  margin-right: 0.5rem;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Add styling for the services page benefits list */
.services-page__benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.services-page__benefits li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.3rem; /* Reduced from 0.5rem */
  font-size: 0.9rem;
  text-align: left;
}

/* Update the services page button styling */
.services-page__button {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  background-color: #f87171;
  color: #fff;
  border: none;
  border-radius: 5px;
  margin-top: 1rem;
}

.services-page__button:hover {
  background-color: #ef4444;
}

/* Add styling for the stats section */
.stats {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.stats__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.stats__row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.stats__item {
  flex: 1;
  min-width: 200px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stats__icon {
  font-size: 1.5rem;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.stats__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.stats__title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.stats__subtitle {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Responsive adjustments for the stats section */
@media (max-width: 768px) {
  .stats__row {
    justify-content: center;
  }
  
  .stats__item {
    min-width: 45%;
  }
}

@media (max-width: 576px) {
  .stats__item {
    min-width: 100%;
  }
}

/* Add responsive adjustments for the contact page */
@media (max-width: 768px) {
  .contact__form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .contact-hero__title {
    font-size: 2.5rem;
  }
}

/* Standardize the Schedule Consultation button color across all pages */
.actions-header__button,
.main__button--primary,
.outro__button,
.item-services__button,
.services-page__button,
.contact__form-button {
  background-color: #f87171; /* Coral/red color */
  color: #fff;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s;
}

.actions-header__button:hover,
.main__button--primary:hover,
.outro__button:hover,
.item-services__button:hover,
.services-page__button:hover,
.contact__form-button:hover {
  background-color: #ef4444; /* Slightly darker on hover */
}

/* Update the outro button specifically */
.outro__button {
  background-color: #f87171;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all 0.3s;
  text-align: center;
}

.outro__button:hover {
  background-color: #ef4444;
  transform: translateY(-2px);
}

/* Adjust space between hero and about section */
.page__about {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
}

/* Add styling for the Mission & Values section */
.mission {
  padding: 4rem 0 6rem;
  background-color: #f8fafc;
}

.mission__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.mission__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

.mission__subtitle {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 4rem;
  text-align: center;
}

.mission__row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.mission__card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mission__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.mission__icon--innovation {
  background-color: #e0e7ff;
  color: #4338ca;
}

.mission__icon--excellence {
  background-color: #fee2e2;
  color: #b91c1c;
}

.mission__icon--client {
  background-color: #e0e7ff;
  color: #6366f1;
}

.mission__icon--collaboration {
  background-color: #d1fae5;
  color: #047857;
}

.mission__icon--integrity {
  background-color: #e0e7ff;
  color: #1e40af;
}

.mission__icon--learning {
  background-color: #fee2e2;
  color: #b91c1c;
}

.mission__card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.mission__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* Responsive adjustments for the mission section */
@media (max-width: 992px) {
  .mission__row {
    justify-content: center;
  }
  
  .mission__card {
    min-width: 45%;
  }
}

@media (max-width: 768px) {
  .mission__card {
    min-width: 100%;
    max-width: 500px;
  }
}

/* Add styling for the Case Studies page */
.main_case-studies {
  background: linear-gradient(to right, #0f2942, #1c3d5a);
  padding: 8rem 0 4rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Add overlay to ensure text remains readable */
.main_case-studies::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(44, 82, 130, 0.85), rgba(76, 81, 191, 0.85)); /* Blue-purple gradient with opacity */
  z-index: -1;
}

.case-studies-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.case-studies-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-align: center;
  padding-left: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-top: 2rem;
  letter-spacing: -0.01em;
}

.case-studies-hero__text {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 800px;
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.case-studies {
  padding: 4rem 0 6rem;
  background-color: #f8fafc;
}

.case-studies__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.case-studies__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.case-studies__filter {
  padding: 0.5rem 1rem;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.9rem;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s;
}

.case-studies__filter:hover {
  background-color: #edf2f7;
}

.case-studies__filter--active {
  background-color: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.case-studies__item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-studies__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.case-studies__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.case-studies__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-studies__item:hover .case-studies__image img {
  transform: scale(1.05);
}

.case-studies__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.case-studies__item:hover .case-studies__overlay {
  opacity: 1;
}

.case-studies__link {
  padding: 0.7rem 1.2rem;
  background-color: #f87171;
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: background-color 0.3s;
}

.case-studies__link:hover {
  background-color: #ef4444;
}

.case-studies__content {
  padding: 1.5rem;
}

.case-studies__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.case-studies__tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: #e0e7ff;
  color: #4338ca;
  border-radius: 4px;
}

.case-studies__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.case-studies__description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a5568;
}

.outro_case-studies {
  background: linear-gradient(to right, #2c5282, #4c51bf);
  padding: 4rem 0;
  text-align: center;
}

/* Responsive adjustments for case studies */
@media (max-width: 768px) {
  .case-studies__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .case-studies-hero__title {
    font-size: 2.5rem;
  }
}

/* Add styling for the Blog page */
.blog {
  padding: 4rem 0 6rem;
  background-color: #f8fafc;
}

.blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.blog__filter {
  padding: 0.5rem 1rem;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.9rem;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s;
}

.blog__filter:hover {
  background-color: #edf2f7;
}

.blog__filter--active {
  background-color: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.blog__featured {
  display: flex;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.blog__featured-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.blog__featured-image {
  flex: 1;
  min-height: 350px;
  background-color: #e2e8f0;
}

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

.blog__tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: #e0e7ff;
  color: #4338ca;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog__featured-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e293b;
  line-height: 1.3;
}

.blog__meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.blog__excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.blog__read-more {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background-color: #f87171;
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: background-color 0.3s;
  align-self: flex-start;
  margin-top: auto;
}

.blog__read-more:hover {
  background-color: #ef4444;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog__item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog__item:hover .blog__image img {
  transform: scale(1.05);
}

.blog__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  background-color: #e0e7ff;
  color: #4338ca;
  border-radius: 4px;
  font-weight: 600;
}

.blog__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog__title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
  line-height: 1.4;
}

.blog__link {
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  display: inline-block;
  transition: color 0.3s;
}

.blog__link:hover {
  color: #2563eb;
}

.blog__view-all {
  text-align: center;
  margin-top: 2rem;
}

.blog__view-all-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid #3b82f6;
  color: #3b82f6;
  background-color: transparent;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.blog__view-all-button:hover {
  background-color: #3b82f6;
  color: #fff;
}

.newsletter {
  background-color: #e0e7ff;
  padding: 4rem 0;
  text-align: center;
}

.newsletter__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.newsletter__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.newsletter__text {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

.newsletter__form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
}

.newsletter__button {
  padding: 0.75rem 1.5rem;
  background-color: #f87171;
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter__button:hover {
  background-color: #ef4444;
}

/* Responsive adjustments for blog */
@media (max-width: 992px) {
  .blog__featured {
    flex-direction: column;
  }
  
  .blog__featured-image {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .blog__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .blog-hero__title {
    font-size: 2.5rem;
  }
  
  .newsletter__form {
    flex-direction: column;
  }
  
  .newsletter__input {
    border-radius: 5px;
    margin-bottom: 1rem;
  }
  
  .newsletter__button {
    border-radius: 5px;
  }
}

/* Add styling for the Blog Post page */
.main_blog-post {
  background: linear-gradient(to right, #0f2942, #1c3d5a);
  padding: 8rem 0 4rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Add overlay to ensure text remains readable */
.main_blog-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(44, 82, 130, 0.85), rgba(76, 81, 191, 0.85)); /* Blue-purple gradient with opacity */
  z-index: -1;
}

.blog-post-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-post-hero__title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  text-align: center;
  padding-left: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-top: 1rem;
  letter-spacing: -0.01em;
}

.blog-post__category {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  background-color: #e0e7ff;
  color: #4338ca;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-post__meta {
  font-size: 1rem;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.blog-post {
  padding: 4rem 0 6rem;
  background-color: #f8fafc;
}

.blog-post__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-post__featured-image {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post__featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post__content {
  margin-bottom: 3rem;
}

.blog-post__content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2rem 0 1rem;
}

.blog-post__content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.75rem 0 0.75rem;
}

.blog-post__content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1.25rem;
}

.blog-post__author {
  padding: 1.5rem;
  background-color: #f1f5f9;
  border-radius: 8px;
  margin-top: 3rem;
}

.blog-post__author p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 0;
}

.blog-post__share {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.blog-post__share h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.blog-post__social {
  display: flex;
  gap: 1rem;
}

.blog-post__social-link {
  padding: 0.5rem 1rem;
  background-color: #f1f5f9;
  color: #4a5568;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.blog-post__social-link:hover {
  background-color: #3b82f6;
  color: #fff;
}

.blog-post__related h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.blog-post__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.blog-post__related-item {
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blog-post__related-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-post__related-item h4 a {
  color: #1e293b;
  transition: color 0.3s;
}

.blog-post__related-item h4 a:hover {
  color: #3b82f6;
}

.blog-post__related-item p {
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive adjustments for blog post */
@media (max-width: 768px) {
  .blog-post-hero__title {
    font-size: 2.2rem;
  }
  
  .blog-post__content h2 {
    font-size: 1.6rem;
  }
  
  .blog-post__content h3 {
    font-size: 1.3rem;
  }
  
  .blog-post__content p {
    font-size: 1rem;
  }
  
  .blog-post__related-grid {
    grid-template-columns: 1fr;
  }
}

/* Add new text styling classes */
.text-lg {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #4b5563; /* text-gray-700 */
}

.text-primary {
  color: #2c5282; /* Primary blue color */
}

.text-white {
  color: #ffffff;
}

.font-bold {
  font-weight: 700;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

/* Header styling */
.text-3xl {
  font-size: 1.875rem;
  line-height: 1.3;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 1.2;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1.1;
}

/* Update existing text elements to use new classes */
p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #4b5563;
}

/* Update hero text to be white */
.main_about,
.main_services,
.main_contact,
.main_case-studies,
.main_blog,
.main_blog-post {
  color: #ffffff;
}

.main_about p,
.main_services p,
.main_contact p,
.main_case-studies p,
.main_blog p,
.main_blog-post p,
.about-hero__text,
.services-hero__text,
.contact-hero__text,
.case-studies-hero__text,
.blog-hero__text,
.blog-post-hero__text {
  color: #ffffff;
}

/* Update heading styles */
h1, .h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

h2, .h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #2c5282;
  line-height: 1.3;
}

h3, .h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c5282;
  line-height: 1.4;
}

/* Hero headers */
.main__title,
.about-hero__title,
.services-hero__title,
.contact-hero__title,
.case-studies-hero__title,
.blog-hero__title,
.blog-post-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
  line-height: 1.2;
}

/* Container headers */
.section__title,
.about__title,
.services__title,
.contact__title,
.case-studies__title,
.blog__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #2c5282;
  line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main__title,
  .about-hero__title,
  .services-hero__title,
  .contact-hero__title,
  .case-studies-hero__title,
  .blog-hero__title,
  .blog-post-hero__title {
    font-size: 2.5rem;
  }
  
  .section__title,
  .about__title,
  .services__title,
  .contact__title,
  .case-studies__title,
  .blog__title {
    font-size: 1.75rem;
  }
  
  h2, .h2 {
    font-size: 1.5rem;
  }
  
  h3, .h3 {
    font-size: 1.25rem;
  }
}

/* Add styles for clickable blog cards */
.blog__item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.3s ease;
}

.blog__item-link:hover {
  transform: translateY(-5px);
}

.blog__item {
  transition: box-shadow 0.3s ease;
}

.blog__item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Ensure the Read More link still looks like a link */
.blog__item-link .blog__link {
  color: #2c5282;
  font-weight: 600;
}

.blog__item-link:hover .blog__link {
  text-decoration: underline;
}

/* Add styles for clickable featured blog post */
.blog__featured-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.blog__featured-link:hover {
  transform: translateY(-5px);
}

.blog__featured {
  transition: box-shadow 0.3s ease;
}

.blog__featured:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog__featured-link .blog__read-more {
  color: #2c5282;
  font-weight: 600;
}

.blog__featured-link:hover .blog__read-more {
  text-decoration: underline;
}

/* Add styles for "Coming Soon" text */
.blog__coming-soon {
  display: inline-block;
  color: #9ca3af; /* Gray color to indicate unavailability */
  font-weight: 600;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Add styles for multiple categories */
.case-study__categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.case-study__category {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* Further reduce the size of the case study hero section */
.main_case-study {
  padding: 8rem 0 2rem; /* Reduced from 12rem 0 4rem */
  margin-top: -4rem; /* Reduced from -8rem */
}

.case-study-hero.blog-post-hero {
  padding-top: 1rem; /* Reduced from 2rem */
  padding-bottom: 1rem; /* Reduced from 2rem */
}

.case-study-hero__title.blog-post-hero__title {
  font-size: 2rem; /* Reduced from 2.25rem */
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.case-study-hero__text.blog-post-hero__meta {
  font-size: 0.85rem; /* Reduced from 0.9rem */
  margin-bottom: 0.25rem; /* Reduced from 0.5rem */
}

.case-study__categories {
  margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.case-study__category {
  font-size: 0.6rem; /* Reduced from 0.65rem */
  padding: 0.1rem 0.4rem; /* Reduced from 0.15rem 0.5rem */
}

/* Enhanced case study styling for a cleaner, more sophisticated look */

/* Summary section at the top */
.case-study__summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: #f8fafc;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.case-study__summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-study__summary-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.case-study__summary-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

/* Section styling */
.case-study__section {
  margin-bottom: 3rem;
}

.case-study__section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c5282;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.case-study__section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background-color: #3b82f6;
}

.case-study__text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.25rem;
}

/* Featured image */
.case-study__featured-image {
  margin-bottom: 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.case-study__featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.case-study__image-caption {
  font-size: 0.85rem;
  color: #64748b;
  font-style: italic;
  text-align: center;
  padding: 0.75rem 1rem;
  background-color: #f8fafc;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* List styling */
.case-study__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-study__list li {
  padding-left: 1.5rem;
  position: relative;
}

.case-study__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #3b82f6;
}

.case-study__list-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.case-study__list-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Process steps */
.case-study__process {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-study__process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.case-study__process-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  opacity: 0.8;
  min-width: 3rem;
  text-align: center;
}

.case-study__process-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.case-study__process-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Tech grid */
.case-study__tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.case-study__tech-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #f8fafc;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study__tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.case-study__tech-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study__tech-icon img {
  width: 100%;
  height: auto;
}

.case-study__tech-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.case-study__tech-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4b5563;
}

/* Results styling */
.case-study__results {
  margin-bottom: 3rem;
}

.case-study__results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.case-study__result-card {
  padding: 1.5rem;
  background-color: #f8fafc;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid #3b82f6;
}

.case-study__result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.case-study__result-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2c5282;
  margin-bottom: 0.5rem;
}

.case-study__result-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4b5563;
}

/* Testimonial styling */
.case-study__testimonial {
  position: relative;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background-color: #f8fafc;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.case-study__testimonial-quote {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: #3b82f6;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.case-study__testimonial-content {
  position: relative;
  z-index: 1;
  padding-left: 2rem;
}

.case-study__testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #1e293b;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.case-study__testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.case-study__testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

.case-study__testimonial-role {
  font-size: 0.9rem;
  color: #64748b;
}

/* Takeaways styling */
.case-study__takeaways {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.case-study__takeaway {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #f8fafc;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study__takeaway:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.case-study__takeaway-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study__takeaway-icon img {
  width: 100%;
  height: auto;
}

.case-study__takeaway-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* CTA styling */
.case-study__cta {
  margin-top: 4rem;
  margin-bottom: 3rem;
  padding: 3rem;
  background: linear-gradient(to right, #2c5282, #4c51bf);
  border-radius: 8px;
  text-align: center;
  color: #ffffff;
}

.case-study__cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.case-study__cta-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.case-study__cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  color: #2c5282;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Related case studies */
.case-study__related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e2e8f0;
}

.case-study__related-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

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

.case-study__related-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study__related-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.case-study__related-image img {
  width: 100%;
  height: auto;
  display: block;
}

.case-study__related-content {
  padding: 1.5rem;
}

.case-study__related-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.case-study__related-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .case-study__summary {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-study__tech-grid,
  .case-study__results-grid,
  .case-study__takeaways,
  .case-study__related-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study__cta {
    padding: 2rem 1.5rem;
  }
}

/* Reduce spacing between service detail sections */
.page__services-detail {
  padding-top: 2rem; /* Reduced from 3rem */
  padding-bottom: 2rem; /* Reduced from 3rem */
}

/* Adjust spacing for the outro section */
.page__outro {
  padding-top: 3rem; /* Reduced from a larger value */
}

/* Ensure consistent spacing between content and images */
.services-page__column {
  gap: 2rem; /* Reduced from a larger value if needed */
}

/* Adjust spacing between text elements within content */
.services-page__text p,
.services-page__text ul,
.services-page__text ol {
  margin-bottom: 1rem; /* Reduced from a larger value */
}

/* Reduce spacing between list items */
.services-page__benefits li,
.services-page__steps li {
  margin-bottom: 0.3rem; /* Reduced from 0.5rem */
}

/* Add these styles to support the full-width layout */
.services-page__column--full-width {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.services-page__text--expanded {
  max-width: 100%;
  margin-bottom: 2rem;
}

.services-page__content {
  width: 100%;
}

/* Adjust spacing for better readability */
.services-page__text--expanded p {
  margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.services-page__text--expanded ul,
.services-page__text--expanded ol {
  margin-bottom: 1rem; /* Reduced from 1.5rem */
}

/* Make headings more prominent */
.services-page__column--full-width .services-page__title {
  font-size: 2rem;
  margin-bottom: 1rem; /* Reduced from 1.5rem */
}

/* Legal content styling */
.legal-content__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.legal-content__section {
  margin-bottom: 4rem;
}

.legal-content__title {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.legal-content__updated {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 2rem;
  font-style: italic;
}

.legal-content__text h3 {
  font-size: 1.25rem;
  color: #334155;
  margin: 2rem 0 1rem;
}

.legal-content__text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.legal-content__text ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content__text li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}