@import url("reset.css");

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap");

/* ************COMMON************ */

.logo {
  font-weight: 700;
  font-size: 2.25rem;
}

.logo img {
  max-height: 50px;
  width: auto;
}

body {
  font-family: "DM Sans", sans-serif;
  font-size: 1.1rem;
  color: #001861;
}

[class*="__container"] {
  max-width: 80rem;
  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: #001861;
}

.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: 1000;
}

.header__container {
  max-width: 82rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 5.75rem;
  flex-wrap: wrap;
}

.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;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  display: none;
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 160px;
}

/* *****************HOME**************** */

.main {
  padding: 8rem 0 4rem;
  background-color: #fff;
}

.main__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.main__content {
  flex: 1;
  max-width: 600px;
}

.main__title {
  font-size: 3.5rem;
  line-height: 1.2;
  color: #001861;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.main__text {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.main__buttons {
  display: flex;
  gap: 1rem;
}

.main__button {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main__button--primary {
  background-color: #001861;
  color: white;
}

.main__button--primary:hover {
  background-color: #002080;
}

.main__button--secondary {
  background-color: transparent;
  border: 1px solid #001861;
  color: #001861;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.main__button--secondary:hover {
  background-color: #001861;
  color: #fff;
}

.main__image {
  flex: 1;
  max-width: 600px;
}

.main__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.outro_home {
  background: url("../img/home/hero_placeholder.jpg") center / cover no-repeat;
}

/* ************ABOUT**************** */

.main_about {
  background: url("../img/about/background_placeholder.png") center / cover no-repeat;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about__image {
  flex: 1;
  position: relative;
  max-width: 600px;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.about__content {
  flex: 1;
  max-width: 600px;
}

.about__title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #001861;
}

.about__text {
  max-width: 100%;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #666;
}

.about__text p {
  margin-bottom: 1rem;
}

.about__text p:last-child {
  margin-bottom: 2rem;
}

/* Add a subtitle style for "OUR STORY" */
.about__subtitle {
  color: #ff6b6b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.outro_about {
  background: url("../img/about/hero_placeholder.jpg") center / cover no-repeat;
}

/* **************SERVICES**************** */

.main_services {
  background: url("../img/services/background_placeholder.png") center / cover no-repeat;
}

.services {
  background-color: #f8f7fc;
  padding: 4rem 0;
}

.services__container {
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.services__subtitle {
  color: #ff6b6b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.services__title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #001861;
  margin-bottom: 1.5rem;
}

.services__description {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #666;
  line-height: 1.6;
}

.services__description p {
  margin-bottom: 1rem;
}

.services__slider {
  position: relative;
  margin-bottom: 3rem;
  overflow: hidden;
}

.services__row {
  display: flex;
  gap: 1.5rem;
  overflow: visible;
  padding: 1rem 0;
  transition: transform 0.3s ease;
}

.services__column {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
}

.services__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services__nav--prev {
  left: 0;
  z-index: 2;
}

.services__nav--next {
  right: 0;
  z-index: 2;
}

.services__nav img {
  width: 24px;
  height: 24px;
}

.item-services {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.item-services__image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.item-services__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #001861;
  margin: 1.5rem 0 1rem;
  padding: 0 1.5rem;
}

.item-services__text {
  color: #666;
  line-height: 1.6;
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.item-services__button {
  display: inline-block;
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.item-services__button:hover {
  color: #ff8787;
}

.services__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.services__button {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.services__button--primary {
  background-color: #001861;
  color: white;
}

.services__button--primary:hover {
  background-color: #002080;
}

.services__button--secondary {
  border: 2px solid #001861;
  color: #001861;
}

.services__button--secondary:hover {
  background-color: #001861;
  color: white;
}

@media (max-width: 992px) {
  .services__row {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 1rem;
  }

  .services__column {
    flex: 0 0 90%;
    scroll-snap-align: center;
  }

  .services__nav {
    display: none;
  }
}

@media (max-480px) {
  .services__buttons {
    flex-direction: column;
    align-items: center;
  }

  .services__button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

.outro_services {
  background: url("../img/services/hero_placeholder.jpg") center / cover no-repeat;
}

/* ************TESTIMONIAL**************** */

.testimonial {
  padding: 4rem 0;
  background-color: #fff;
}

.testimonial__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.testimonial__subtitle {
  color: #ff6b6b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial__title {
  font-size: 2.5rem;
  color: #001861;
  margin-bottom: 3rem;
  font-weight: 600;
}

.testimonial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial__item {
  background-color: #fdf8f8;
  padding: 2rem;
  border-radius: 16px;
  text-align: left;
}

.testimonial__stars {
  color: #ffd700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial__text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial__author-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ff6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial__author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__author-initial {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

.testimonial__author-info h4 {
  color: #001861;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial__author-info p {
  color: #666;
  font-style: italic;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .testimonial__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonial__grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial__title {
    font-size: 2rem;
  }
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outro__title {
  margin-bottom: 1.25rem;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.outro__button {
  padding: 1.25rem 3rem;
}

/* ****************FOOTER**************** */

.footer {
  background-color: #fff;
  padding: 3rem 0;
  border-top: 1px solid #eee;
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer__logo {
  max-width: 150px;
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__nav {
  margin: 1rem 0;
}

.footer__menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.footer__menu a {
  color: #001861;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__menu a:hover {
  color: #ff6b6b;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer__social-link:hover {
  transform: translateY(-3px);
}

.footer__social-link img {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .footer__menu {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  padding-top: 300px;
}

.main_pages {
  min-height: 676px !important;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: 160px;
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.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: 20px;
}

.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: url("../img/contact/background_placeholder.png") center / cover no-repeat;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

iframe {
  width: 100vw;
  height: 482px;
  filter: grayscale(100%);
}

/* **************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: #001861;
  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: #001861;
  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: #001861;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #001861;
  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;
  }

  .about__container {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .about__image {
    width: 100%;
    max-width: 100%;
  }

  .about__content {
    text-align: center;
    max-width: 100%;
    padding: 0 1rem;
  }

  .about__title {
    font-size: 2rem;
  }
}

@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;
  }

  .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 .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__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;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal__content {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal__close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #001861;
}

.modal__header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal__header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #001861;
}

.modal__body h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: #666;
}

.modal__options {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.modal__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #001861;
  transition: transform 0.3s ease;
}

.modal__option:hover {
  transform: translateY(-5px);
}

.modal__icon {
  width: 48px;
  height: 48px;
  background-color: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.modal__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 480px) {
  .modal__options {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .modal__option {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }
}

/* Instagram Section */
.instagram {
  padding: 4rem 0;
  background-color: #fff;
}

.instagram__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.instagram__subtitle {
  color: #ff6b6b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.instagram__title {
  font-size: 2.5rem;
  color: #001861;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.instagram__description {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #666;
}

.instagram__follow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.instagram__follow:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.instagram__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.instagram__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}

.instagram__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.instagram__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.instagram__overlay img {
  width: 32px;
  height: 32px;
}

.instagram__item:hover img {
  transform: scale(1.1);
}

.instagram__item:hover .instagram__overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .instagram__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .instagram__grid {
    grid-template-columns: 1fr;
  }
  
  .instagram__title {
    font-size: 2rem;
  }
}

.contact-info {
  padding: 4rem 0;
  background-color: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.contact-info__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #001861;
  margin-bottom: 1.5rem;
}

.contact-info__content {
  color: #666;
  line-height: 1.6;
}

.contact-info__content p {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .contact-info__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.map {
  width: 100%;
  height: 450px;
  margin-bottom: 2rem;
}

.map iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* Timeline Section */
.timeline {
  position: relative;
  padding: 4rem 0;
  background-color: #fff;
}

.timeline__title {
  text-align: center;
  font-size: 2.5rem;
  color: #ff6b6b;
  margin-bottom: 4rem;
}

.timeline__container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Desktop Timeline - Center Line */
.timeline__container::after {
  content: '';
  position: absolute;
  width: 3px;
  background: #e0e0e0;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline__container::before {
  content: '';
  position: absolute;
  width: 3px;
  background: #ff6b6b;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: var(--line-progress, 0%);
  transition: height 0.05s ease-out;
  z-index: 1;
}

/* Desktop Timeline Items */
.timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
  min-height: 300px;
  justify-content: space-between;
  padding: 0;
}

/* Timeline Year Circle - positioned absolutely in center */
.timeline__year {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #ff6b6b;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  z-index: 3;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

/* Content and Image containers - equal sizing and spacing */
.timeline__content,
.timeline__image {
  flex: 0 0 calc(50% - 3rem);
  max-width: calc(50% - 3rem);
}

/* Default layout: Text left, Image right (for odd items: 1st, 3rd, 5th, etc.) */
.timeline__content {
  order: 1;
}

.timeline__image {
  order: 2;
}

/* Alternating layout: Even items (2nd, 4th, 6th, etc.) have Image left, Text right */
.timeline__item:nth-child(even) .timeline__content {
  order: 2;
}

.timeline__item:nth-child(even) .timeline__image {
  order: 1;
}

/* Timeline year positioning dot on line */
/*
.timeline__year::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border: 4px solid #ff6b6b;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
*/

/* Content positioning */
.timeline__content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  position: relative;
  margin-top: 6rem;
  width: 100%;
  height: fit-content;
}

.timeline__item:nth-child(odd) .timeline__content {
  grid-area: content;
}

.timeline__item:nth-child(even) .timeline__content {
  grid-area: content;
}

/* Content arrows pointing to center line */
.timeline__content::after {
  content: '';
  position: absolute;
  top: 2rem;
  width: 0;
  height: 0;
  border: 12px solid transparent;
}

/* Odd items: Text on left, arrow points right to center */
.timeline__item:nth-child(odd) .timeline__content::after {
  right: -24px;
  border-left-color: white;
  border-right: none;
}

/* Even items: Text on right, arrow points left to center */
.timeline__item:nth-child(even) .timeline__content::after {
  left: -24px;
  border-right-color: white;
  border-left: none;
}

.timeline__content h3 {
  color: #001861;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.timeline__content p {
  color: #666;
  line-height: 1.6;
}

/* Image positioning */
.timeline__image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 6rem;
  height: fit-content;
}

.timeline__item:nth-child(odd) .timeline__image {
  grid-area: image;
}

.timeline__item:nth-child(even) .timeline__image {
  grid-area: image;
  justify-self: end;
}

.timeline__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.timeline__image:hover img {
  transform: scale(1.05);
}

/* Timeline Reveal Animation */
.timeline__item--hidden {
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline__item--visible {
  opacity: 1;
  transform: none;
}

/* Mobile Timeline Redesign */
@media (max-width: 768px) {
  .timeline {
    padding: 3rem 0;
  }

  .timeline__title {
    font-size: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
  }

  .timeline__container {
    padding: 0 1rem;
    position: relative;
  }

  /* Mobile timeline line - left side */
  .timeline__container::after {
    left: 1.5rem;
    width: 3px;
    background: linear-gradient(to bottom, #ff6b6b, #ff8787);
  }

  .timeline__container::before {
    left: 1.5rem;
    width: 3px;
    background: #ff6b6b;
  }

  /* Mobile timeline item layout */
  .timeline__item {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 4rem;
    grid-template-columns: none;
    grid-template-areas: none;
    min-height: auto;
  }

  /* Timeline year badge - positioned on the line */
  .timeline__year {
    position: absolute;
    left: -1rem;
    top: 0;
    background: #ff6b6b;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    z-index: 2;
    order: -1;
    width: auto;
    height: auto;
    margin-top: 0;
  }

  .timeline__year::before {
    display: none;
  }

  /* Image styling - always first */
  .timeline__image {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem auto 1.5rem auto;
    order: 1;
    justify-self: auto;
  }

  .timeline__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .timeline__image:hover img {
    transform: scale(1.05);
  }

  /* Content container - always second */
  .timeline__content {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    order: 2;
    margin-bottom: 0;
  }

  .timeline__content::after {
    display: none;
  }

  .timeline__content h3 {
    color: #001861;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
  }

  .timeline__content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
  }

  /* Add subtle hover effects */
  .timeline__content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  }

  /* Add timeline dots on the line */
  .timeline__item::before {
    content: '';
    position: absolute;
    left: -2.25rem;
    top: 3rem;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid #ff6b6b;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
  }

  /* Stagger animation for mobile */
  .timeline__item--hidden {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .timeline__item--visible {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Story Section */
.story {
  padding: 8rem 0 4rem;
  background-color: #fff;
  text-align: center;
}

.story__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.story__title {
  font-size: 3.5rem;
  font-weight: 600;
  color: #001861;
  margin-bottom: 1.5rem;
}

.story__subheading {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .story {
    padding: 6rem 0 3rem;
  }
  
  .story__title {
    font-size: 2.5rem;
  }
  
  .story__subheading {
    font-size: 1.1rem;
  }
}

/* Dark Footer for About Page */
.footer--dark {
  background-color: #2c2c2c;
  color: white;
  padding: 4rem 0;
}

.footer--dark .footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer__title {
  font-size: 2.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 3rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer__column-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.footer__column-text {
  color: #ccc;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.footer__column-text:hover {
  color: white;
}

.footer__column-text p {
  margin-bottom: 0.25rem;
}

.footer__column-text p {
  margin-bottom: 0.25rem;
}

.footer__map-icon {
  margin-top: 1rem;
  color: #ff6b6b;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer__map-icon:hover {
  color: #ff8787;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__title {
    font-size: 2rem;
  }
}

/* Footer Bottom Section */
.footer__bottom {
  border-top: 1px solid #444;
  margin-top: 3rem;
  padding-top: 2rem;
}

.footer__bottom-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.footer__bottom-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__bottom-logo {
  max-height: 60px;
  width: auto;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-list li a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__nav-list li a:hover {
  color: white;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c2c2c;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background-color: #ff6b6b;
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer__bottom-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer__nav-list {
    align-items: center;
  }
}

/* Services Page Animations - Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Intro Section */
.services-intro {
  padding: 8rem 0 4rem;
  background-color: #fff;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

.services-intro__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.services-intro__title {
  font-size: 3.5rem;
  font-weight: 600;
  color: #001861;
  margin-bottom: 1.5rem;
}

.services-intro__subheading {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .services-intro {
    padding: 6rem 0 3rem;
  }
  
  .services-intro__title {
    font-size: 2.5rem;
  }
  
  .services-intro__subheading {
    font-size: 1.1rem;
  }
}

/* Service Section Styles */
.service-section {
  padding: 4rem 0;
  background-color: #fff;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.service-section:nth-child(2) {
  animation-delay: 0.3s;
}

.service-section:nth-child(3) {
  animation-delay: 0.4s;
}

.service-section:nth-child(4) {
  animation-delay: 0.5s;
}

.service-section:nth-child(5) {
  animation-delay: 0.6s;
}

.service-section--alt {
  background-color: #f8fafe;
}

.service-section--alt .service-section__content {
  background: #fff;
}

.service-section__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.service-section__layout--reverse {
  direction: rtl;
}

.service-section__layout--reverse > * {
  direction: ltr;
}

.service-section__image {
  position: sticky;
  top: 100px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 0.8s ease-out 0.7s forwards;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-section__layout--reverse .service-section__image {
  transform: translateX(30px);
  animation: fadeInRight 0.8s ease-out 0.7s forwards;
}

.service-section__image:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-section__image:hover img {
  transform: scale(1.08);
}

.service-section__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 33, 71, 0.8));
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.service-section__image-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-section__image-subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

.service-section__content {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  height: fit-content;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 0.8s ease-out 0.8s forwards;
  transition: all 0.3s ease;
}

.service-section__layout--reverse .service-section__content {
  transform: translateX(-30px);
  animation: fadeInLeft 0.8s ease-out 0.8s forwards;
}

.service-section__content:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-section__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f5f5f5;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 1s forwards;
}

.service-section__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #001861, #002080);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 24, 97, 0.3);
  flex-shrink: 0;
  transform: scale(0.8);
  animation: scaleIn 0.5s ease-out 1.2s forwards;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-section__icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(0, 24, 97, 0.4);
}

.service-section__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-section__title-area {
  flex: 1;
}

.service-section__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #001861;
  margin-bottom: 0.5rem;
}

.service-section__description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.service-section__pricing {
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 1.3s forwards;
}

.pricing-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #fafafa;
  border-radius: 8px;
  border-left: 3px solid #001861;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: slideInFromBottom 0.4s ease-out forwards;
}

.pricing-item:nth-child(1) { animation-delay: 1.4s; }
.pricing-item:nth-child(2) { animation-delay: 1.5s; }
.pricing-item:nth-child(3) { animation-delay: 1.6s; }
.pricing-item:nth-child(4) { animation-delay: 1.7s; }
.pricing-item:nth-child(5) { animation-delay: 1.8s; }
.pricing-item:nth-child(6) { animation-delay: 1.9s; }
.pricing-item:nth-child(7) { animation-delay: 2.0s; }
.pricing-item:nth-child(8) { animation-delay: 2.1s; }
.pricing-item:nth-child(9) { animation-delay: 2.2s; }
.pricing-item:nth-child(10) { animation-delay: 2.3s; }

.pricing-item:hover {
  background: #f0f8ff;
  transform: translateX(8px) translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 24, 97, 0.1);
  border-left-width: 4px;
}

.pricing-item__service {
  font-weight: 500;
  color: #001861;
  font-size: 0.85rem;
  line-height: 1.3;
}

.pricing-item__price {
  font-weight: 600;
  color: #001861;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.service-section__booking {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  opacity: 0;
  transform: scale(0.95);
  animation: scaleIn 0.6s ease-out 1.6s forwards;
  transition: all 0.3s ease;
}

.service-section__booking:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.booking__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #001861;
  margin-bottom: 1.25rem;
}

.booking__options {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.booking__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #001861;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  min-width: 90px;
  transform: translateY(10px);
  opacity: 0;
  animation: slideInFromBottom 0.5s ease-out 1.8s forwards;
}

.booking__option:nth-child(2) {
  animation-delay: 1.9s;
}

.booking__option:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  color: #001861;
}

.booking__icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #001861, #002080);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking__option:hover .booking__icon {
  background: linear-gradient(135deg, #001861, #002080);
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 4px 15px rgba(0, 24, 97, 0.3);
}

.booking__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 992px) {
  .service-section__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-section__layout--reverse {
    direction: ltr;
  }
  
  .service-section__image {
    position: relative;
    top: auto;
    height: 350px;
    order: -1;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
  }
  
  .service-section__layout--reverse .service-section__image {
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
  }
  
  .service-section__content {
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
  }
  
  .service-section__layout--reverse .service-section__content {
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
  }
  
  .pricing-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-section__content {
    padding: 1.75rem;
  }
  
  .service-section__header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .service-section__icon {
    width: 55px;
    height: 55px;
  }
  
  .service-section__title {
    font-size: 1.5rem;
  }
  
  .service-section__image {
    height: 280px;
  }
  
  .service-section__image-title {
    font-size: 1.4rem;
  }
  
  .service-section__image-subtitle {
    font-size: 0.9rem;
  }
  
  .booking__options {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .booking__option {
    flex-direction: row;
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }
  
  .pricing-item {
    padding: 0.65rem 0.85rem;
  }
  
  .pricing-item__service {
    font-size: 0.8rem;
  }
  
  .pricing-item__price {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .service-section {
    padding: 2rem 0;
  }
  
  .service-section__content {
    padding: 1.5rem;
  }
  
  .service-section__title {
    font-size: 1.35rem;
  }
  
  .pricing-item {
    padding: 0.6rem 0.75rem;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
  
  .pricing-item__service {
    font-size: 0.75rem;
  }
  
  .pricing-item__price {
    font-size: 0.8rem;
  }
  
  .service-section__image {
    height: 220px;
  }
  
  .service-section__image-overlay {
    padding: 1.25rem;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .service-section,
  .service-section__image,
  .service-section__content,
  .service-section__header,
  .service-section__icon,
  .service-section__pricing,
  .pricing-item,
  .service-section__booking,
  .booking__option {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .service-section__image:hover,
  .service-section__content:hover,
  .service-section__icon:hover,
  .pricing-item:hover,
  .service-section__booking:hover,
  .booking__option:hover {
    transform: none;
  }
}

.booking__option span {
  font-weight: 600;
  font-size: 0.85rem;
}

/* Additional Mobile Improvements */

/* Better mobile styles for main hero section */
@media (max-width: 768px) {
  .main__container {
    flex-direction: column;
    gap: 2rem;
    padding: 6rem 1rem 2rem;
    text-align: center;
  }

  .main__title {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .main__text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .main__buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .main__button {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.875rem 1.5rem;
  }

  .main__button--secondary {
    padding: 0.875rem 1.5rem;
  }
}

/* Even smaller mobile devices */
@media (max-width: 480px) {
  .main__title {
    font-size: 2rem;
  }

  .main__text {
    font-size: 1rem;
  }

  .main__container {
    padding: 5rem 1rem 2rem;
  }

  .contact-info__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .contact-info__item {
    text-align: center;
  }

  /* Improve button spacing on mobile */
  .services__buttons {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .services__button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  /* Better Instagram grid on mobile */
  .instagram__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  /* Improve about section on mobile */
  .about__title {
    font-size: 1.75rem;
    text-align: center;
  }

  .about__subtitle {
    text-align: center;
  }

  /* Better testimonial cards on mobile */
  .testimonial__item {
    padding: 1.5rem;
  }

  .testimonial__text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .main {
    padding: 6rem 0 2rem;
  }

  .main__container {
    padding: 2rem 1rem;
  }
}

/* Touch-friendly enhancements */
@media (max-width: 768px) {
  /* Larger touch targets */
  .menu__link {
    padding: 0.5rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer__social-link {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .item-services__button {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
  }

  /* Better modal on mobile */
  .modal__content {
    margin: 1rem;
    max-width: calc(100% - 2rem);
    max-height: calc(100vh - 2rem);
    border-radius: 12px;
  }

  .modal__options {
    flex-direction: column;
    gap: 1rem;
  }

  .modal__option {
    width: 100%;
    justify-content: center;
    min-height: 60px;
    padding: 1rem;
  }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .wrapper {
    overflow-x: hidden;
  }

  /* Ensure containers don't overflow */
  [class*="__container"] {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Better image scaling */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Responsive tables if any */
  table {
    width: 100%;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper images on retina displays */
  .logo img,
  .footer__logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

.menu-open .icon-menu::after {
  bottom: calc(50% - 0.0625rem);
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-open .menu__body {
  left: 0;
}

.menu-open .menu__body::before {
  left: 0;
}

/* Mobile menu body scroll fix and complete menu styles */
@media (max-width: 47.999rem) {
  .menu-open {
    overflow: hidden;
  }

  .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-open .menu__body {
    left: 0;
  }

  .menu-open .menu__body::before {
    left: 0;
  }

  /* Smooth scrolling for better UX */
  html {
    scroll-behavior: smooth;
  }

  /* Better focus styles for accessibility */
  button:focus,
  a:focus {
    outline: 2px solid #001861;
    outline-offset: 2px;
  }

  /* Improve tap targets for accessibility */
  .menu__link,
  .footer__social-link,
  .modal__option {
    -webkit-tap-highlight-color: rgba(0, 24, 97, 0.1);
  }
}

/* Hide menu by default on mobile */
@media (max-width: 768px) {
  .menu__body {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;  /* Adjust based on your header height */
    background: #fff;
    z-index: 1000;
    /* You can style it as you wish */
  }

  /* Show menu when body has .menu-open */
  body.menu-open .menu__body {
    display: block;
  }
}

/* Full-screen mobile menu overlay */
@media (max-width: 768px) {
  .menu__body {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 24, 97, 0.98);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }

  /* Show menu when body has .menu-open */
  body.menu-open .menu__body {
    display: flex;
  }

  /* Prevent scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Style the menu list */
  .menu__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* Style the menu links */
  .menu__link {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
  }

  .menu__link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }

  /* Close button styling */
  .icon-menu {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 0.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
  }

  .menu-open .icon-menu {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
  }

  .menu-open .icon-menu span,
  .menu-open .icon-menu::before,
  .menu-open .icon-menu::after {
    background-color: #001861;
    width: 100%;
  }

  /* Make sure the X is clearly visible */
  .menu-open .icon-menu span {
    opacity: 0;
  }

  .menu-open .icon-menu::before {
    transform: rotate(45deg);
    top: 50%;
  }

  .menu-open .icon-menu::after {
    transform: rotate(-45deg);
    bottom: 50%;
  }
}