@import url("reset.css");

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

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

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

body {
  font-family: "Vazirmatn", "Inter", sans-serif;
  font-size: 1.1rem;
  color: #303a4d;
  direction: rtl;
}

[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: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
  flex-direction: row-reverse;
  background: #f4e5e5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 30px;
  border-radius: 10px;
  margin: 15px auto;
  max-width: 1200px;
}

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

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

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-direction: row-reverse;
  background: #f4e5e5;
}

.menu__list {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu__link:hover {
  color: #940000;
}

.menu__sub-list {
  position: absolute;
  background-color: #f4e5e5;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* Ensure dropdown parent positions correctly */
.menu__item {
  position: relative;
}

/* Disabled submenu hover effect - no submenus needed */
/* .menu__item--has-children:hover .menu__sub-list {
  opacity: 1;
  visibility: visible;
} */

.menu__sub-item {
  padding: 8px 20px;
}

.menu__sub-item a {
  color: #333;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.menu__sub-item a:hover {
  color: #940000;
}

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

.icon-menu {
  display: none;
}

.actions-header__button {
  display: inline-block;
  padding: 8px 20px;
  background: #940000;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.actions-header__button:hover {
  background: #7a0000;
}

/* ****************PAGES**************** */
.page {
  padding-top: 5.75rem;
}

.page__main {
  padding-bottom: 160px;
}

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

.main {
  background: url("../img/home/background_placeholder.png") center / cover no-repeat;
  min-height: 100vh;
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 19.188rem;
}

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

.main__title {
  font-size: 5.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.main__text {
  margin-bottom: 3.5rem;
  max-width: 33.375rem;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
}

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

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

.main_about {
  background: none;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 0;
  padding-bottom: 0;
}

.main_about .main__container {
  display: none;
}

.main_about .main__image {
  width: 100%;
  height: auto;
  display: block;
}

.main_about .main__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.page__about {
  margin-top: 0;
  padding-top: 0;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0;
  padding-bottom: 2rem;
  flex-direction: row-reverse;
  margin-top: 0;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
}

.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: 1.4;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about__text p {
  margin: 0;
  padding: 0;
}

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

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

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

.main_services {
  position: relative;
  background: none;
  height: auto;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.main__image_services {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}

.main__image_services img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.main_services .main__container {
  position: relative;
  z-index: 1;
  color: #fff;
}

.main_services .main__text {
  color: #fff;
}

.services {
  padding: 80px 0;
  background-color: #fff;
}

.services__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services__title {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 1rem;
}

.services__heading {
  font-size: 2.5rem;
  color: #1a1a1a;
  max-width: 800px;
  margin-bottom: 4rem;
  line-height: 1.3;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card--red {
  background-color: #940000;
  color: white;
}

.service-card--yellow {
  background-color: #9e1919;
  color: white;
}

.service-card--green {
  background-color: #a93232;
  color: white;
}

.service-card--purple {
  background-color: #b44c4c;
  color: white;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card__text {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Services Slider (Design & Simulation style) */
.services-slider {
  width: 100%;
}

/* Soft background shape for sliders */
.services-slider,
.products-slider,
.ai-slider {
  background: #FFE6E6;
  border-radius: 20px;
  padding: 20px;
}

.service-slide-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.service-slide-card__image {
  width: 100%;
  height: 240px;
}

.service-slide-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-slide-card__content {
  padding: 20px 20px 24px 20px;
  text-align: right;
}

.service-slide-card__meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.service-slide-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 10px 0;
}

.service-slide-card__text {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 16px 0;
  line-height: 1.7;
}

.service-slide-card__link {
  display: inline-block;
  color: #303a4d;
  text-decoration: none;
  font-weight: 600;
}

.services-slider__nav {
  color: #303a4d;
}

.services-slider__pagination .swiper-pagination-bullet {
  background: #303a4d;
}

/* Products slider controls reuse base color */
.products-slider__nav {
  color: #303a4d;
}

.products-slider__pagination .swiper-pagination-bullet {
  background: #303a4d;
}

/* AI slider controls */
.ai-slider__nav {
  color: #303a4d;
}

.ai-slider__pagination .swiper-pagination-bullet {
  background: #303a4d;
}

@media (max-width: 768px) {
  .services__heading {
    font-size: 2rem;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    min-height: auto;
  }
}

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

/* **************FEATURE CARDS SECTION**************** */
.info-cards {
  position: relative;
  padding: 0;
  background: none;
  overflow: visible;
}

.info-cards__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.info-cards__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 -10px;
}

.info-card {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* About Us Card (First Card) */
.info-card:nth-child(1) .info-card__icon-area {
  background-color: #940000;
}

/* Mission Card (Second Card) */
.info-card:nth-child(2) .info-card__icon-area {
  background-color: #2196F3;
}

/* Business Strategy Card (Third Card) */
.info-card:nth-child(3) .info-card__icon-area {
  background-color: #FFC107;
}

/* Contact Card (Fourth Card) */
.info-card:nth-child(4) .info-card__icon-area {
  background-color: #F44336;
}

.info-card__icon-area {
  position: absolute;
  width: 40%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.info-card:nth-child(even) .info-card__icon-area {
  right: 0;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.info-card:nth-child(odd) .info-card__icon-area {
  left: 0;
}

.info-card__icon-area svg {
  width: 80px;
  height: 80px;
  color: #fff;
}

.info-card:nth-child(odd) .info-card__content {
  margin-left: 35%;
  text-align: right;
}

.info-card:nth-child(even) .info-card__content {
  margin-right: 35%;
  text-align: right;
}

.info-card__title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.info-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.info-card__button {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.info-card__button:hover {
  color: #666;
}

@media (max-width: 991px) {
  .info-card__content {
    padding: 40px;
  }
  
  .info-card__icon-area svg {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .info-card {
    flex-direction: column !important;
    margin-bottom: 20px;
  }

  .info-card__icon-area {
    position: relative;
    width: 100%;
    height: 200px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%) !important;
  }

  .info-card__content {
    margin: 0 !important;
    padding: 30px;
    text-align: center !important;
  }

  .info-card__title {
    font-size: 24px;
  }
}

/* **************DIAGONAL SPLIT SECTION**************** */
.diagonal-split {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #8B1F4B 0%, #4A0D29 100%);
  overflow: hidden;
}

.diagonal-split::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #fff;
  transform-origin: bottom left;
  transform: skewY(-6deg);
  z-index: 1;
}

.diagonal-split__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.diagonal-split__content {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.diagonal-split__card {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 380px;
  position: relative;
}

.diagonal-split__card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid #F3A046;
  border-radius: 20px;
  pointer-events: none;
}

.diagonal-split__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #303a4d;
}

.diagonal-split__text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

@media (max-width: 992px) {
  .diagonal-split__content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .diagonal-split__card {
    flex: 0 1 calc(50% - 15px);
    max-width: none;
  }
}

@media (max-width: 768px) {
  .diagonal-split {
    padding: 80px 0;
  }

  .diagonal-split__content {
    flex-direction: column;
    align-items: center;
  }

  .diagonal-split__card {
    width: 100%;
    flex: 0 1 auto;
  }
}

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

.testimonial__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  text-align: right;
}

.testiomonial__caption {
  margin-bottom: 4rem;
  font-weight: 600;
  text-transform: uppercase;
}

.testimonial__title {
  margin-bottom: 4rem;
  font-size: 2rem;
  max-width: 40.75rem;
  line-height: 136%;
  font-weight: 500;
}

.item-testimonial__image {
  max-width: 64px;
  margin: 0 auto;
  margin-bottom: 1.063rem;
  height: 64px;
}

.item-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.item-testimonial__caption {
  font-size: 0.938rem;
}

/* ****************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 {
  line-height: 150%;
  background-color: #001324;
  color: #ffffff;
  padding: 60px 0 40px;
}

.footer__container {
  padding: 0 0.938rem;
  max-width: 74.624rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer__company {
  text-align: right;
}

.footer__company-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer__company-address {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer__section {
  text-align: right;
}

.footer__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__link {
  margin-bottom: 0.75rem;
}

.footer__link a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer__link a:hover {
  color: #4a90e2;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: flex-start;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer__social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer__social-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__company,
  .footer__section {
    text-align: center;
  }

  .footer__social {
    justify-content: 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: none;
}
/* Contact hero should match image height: remove generic page hero constraints */
.page__main.main_contact .main__container_pages {
  padding-top: 0;
}
.page__main.main_contact {
  padding-bottom: 0;
}
.page__main.main_contact .main__container {
  padding: 0;
  display: block;
}
.main.main_contact.main_pages {
  min-height: 0 !important;
}
/* Contact page: make header gap exactly 2x */
.page.contact-page {
  padding-top: calc(5.75rem + 1.5rem);
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
  flex-direction: row-reverse;
}

.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;
  direction: rtl;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-direction: row-reverse;
}

.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: #303a4d;
  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**************** */

/* Enhanced Mobile-First Responsive Design */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .header__container {
    max-width: 1200px;
  }
  
  .main__title {
    font-size: 5.5rem;
  }
  
  .title {
    font-size: 3.5rem;
  }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .header__container {
    max-width: 100%;
    padding: 15px 20px;
  }
  
  .main__title {
    font-size: 4.5rem;
  }
  
  .title {
    font-size: 3rem;
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .header__container {
    padding: 15px 20px;
    margin: 10px auto;
  }
  
  .main__title {
    font-size: 3.5rem;
  }
  
  .title {
    font-size: 2.5rem;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .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;
    text-align: center;
    gap: 2rem;
  }
  
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .news__item,
  .products__item {
    flex-direction: column;
    text-align: center;
  }
  
  .news__image,
  .products__image {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .feature-cards__grid {
    grid-template-columns: 1fr;
  }
  
  .info-cards__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@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;
  }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
  /* Header Mobile Styles */
  .header__container {
    padding: 10px 15px;
    margin: 5px auto;
    flex-direction: column;
    gap: 15px;
  }
  
  .header__logo img {
    width: 60mm !important;
    height: 12mm !important;
  }
  
  .header__navigation {
    width: 100%;
    justify-content: space-between;
  }
  
  .menu__list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .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;
  }
  
  /* Mobile Menu */
  .menu__body {
    display: flex;
    background-color: #f4e5e5;
    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;
    text-align: right;
    transition: left 0.3s ease;
  }
  
  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 5.75rem;
    background-color: #f4e5e5;
    border-bottom: 1px solid #000;
    z-index: 2;
  }
  
  .menu-open .menu__body {
    left: 0;
    display: flex;
  }
  
  .menu-open .menu__body::before {
    left: 0;
  }
  
  .menu-open .menu__list {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .menu__item {
    text-align: center;
  }
  
  .menu__item:not(:last-child) {
    margin-bottom: 1.563rem;
  }
  
  .menu__link {
    font-size: 2rem;
  }

  /* Show submenus stacked inside mobile overlay */
  .menu__item--has-children .menu__sub-list {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
    margin-top: 0.5rem;
  }

  .menu__sub-item {
    padding: 6px 0;
  }
  
  /* Main Content Mobile */
  .main__container {
    padding-top: 8rem;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .main__title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .main__text {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .main__button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  /* About Page Mobile */
  .about__container {
    flex-direction: column;
    padding: 2rem 15px;
    text-align: center;
  }
  
  .about__image {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
  }
  
  .about__text {
    max-width: 100%;
    text-align: justify;
  }
  
  /* Services Mobile */
  .services__container {
    padding: 2rem 15px;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
    min-height: auto;
  }
  
  .service-card__title {
    font-size: 1.3rem;
  }
  
  .service-card__text {
    font-size: 0.9rem;
  }
  
  /* Contact Page Mobile */
  .contact__container {
    grid-template-columns: 1fr;
    padding: 2rem 15px;
    gap: 2rem;
  }
  
  .contact__info,
  .contact__form {
    padding: 1.5rem;
  }
  
  .contact__title {
    font-size: 1.8rem;
  }
  
  /* News and Products Mobile */
  .news__container,
  .products__container {
    padding: 2rem 15px;
  }
  
  .news__item,
  .products__item {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .news__image,
  .products__image {
    flex: none;
    width: 100%;
    height: 200px;
  }
  
  .news__item-title,
  .products__item-title {
    font-size: 1.3rem;
  }
  
  .news__text,
  .products__text {
    font-size: 0.9rem;
  }
  
  /* Feature Cards Mobile */
  .feature-cards__container {
    padding: 2rem 15px;
  }
  
  .feature-cards__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  /* Info Cards Mobile */
  .info-cards__container {
    padding: 2rem 15px;
  }
  
  .info-cards__row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .info-card__title {
    font-size: 1.3rem;
  }
  
  .info-card__text {
    font-size: 0.9rem;
  }
  
  /* Brand Slider Mobile */
  .brand-slider__container {
    padding: 2rem 15px;
  }
  
  .brand-slider__title {
    font-size: 1.5rem;
  }
  
  .brand-slider__item {
    flex: 0 0 100px;
    height: 60px;
  }
  
  /* Footer Mobile */
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 15px;
    text-align: center;
  }
  
  .footer__social {
    justify-content: center;
  }
  
  /* Testimonial Mobile */
  .testimonial__container {
    padding: 2rem 15px;
  }
  
  .testimonial__title {
    font-size: 1.5rem;
  }
  
  /* Outro Mobile */
  .outro__container {
    padding: 2rem 15px;
  }
  
  .outro__title {
    font-size: 1.8rem;
  }
  
  .outro__text {
    font-size: 1rem;
  }
  
  /* FAQ Mobile */
  .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 Mobile */
  .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;
  }
  
  /* Map Mobile */
  iframe {
    width: 100%;
    height: 300px;
  }
  
  /* WhatsApp Button Mobile */
  .whatsapp-chat {
    bottom: 15px;
    left: 15px;
  }
  
  .whatsapp-chat__link {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-chat__icon {
    width: 30px;
    height: 30px;
  }
}

  .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;
  }

  .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);
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container_pages {
    padding-top: 8rem;
  }

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

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

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

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

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

  .logo {
    font-size: 1rem;
  }

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

  /* moved mobile-only menu stacking into mobile media query if needed */

  .actions-header {
    justify-content: flex-end;
  }

  .main_services {
    min-height: auto;
  }
  
  .main__image_services {
    width: 100%;
    height: auto;
  }

  .main_about {
    width: 100%;
    height: auto;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .header__container {
    padding: 8px 10px;
    margin: 3px auto;
  }
  
  .header__logo img {
    width: 50mm !important;
    height: 10mm !important;
  }
  
  .main__container {
    padding-top: 6rem;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .main__title {
    font-size: 2rem;
  }
  
  .title {
    font-size: 1.5rem;
  }
  
  .about__container,
  .services__container,
  .news__container,
  .products__container,
  .contact__container {
    padding: 1.5rem 10px;
  }
  
  .feature-cards__container,
  .info-cards__container,
  .brand-slider__container {
    padding: 1.5rem 10px;
  }
  
  .footer__container {
    padding: 1.5rem 10px;
  }
  
  .service-card,
  .news__item,
  .products__item,
  .feature-card,
  .info-card {
    padding: 1rem;
  }
  
  .contact__info,
  .contact__form {
    padding: 1rem;
  }
  
  .news__image,
  .products__image {
    height: 150px;
  }
  
  .brand-slider__item {
    flex: 0 0 80px;
    height: 50px;
  }
  
  .whatsapp-chat {
    bottom: 10px;
    left: 10px;
  }
  
  .whatsapp-chat__link {
    width: 45px;
    height: 45px;
  }
  
  .whatsapp-chat__icon {
    width: 25px;
    height: 25px;
  }
}

@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;
  }
}

/* Main Slider Styles */
.main__slider {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-color: var(--dark-color);
}

.main__slider .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 15px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.main__slider .swiper-slide-active {
  opacity: 1;
}

.main__slider .swiper-button-next,
.main__slider .swiper-button-prev {
  color: var(--light-color);
}

.main__slider .swiper-pagination-bullet {
  background: var(--light-color);
  opacity: 0.5;
}

.main__slider .swiper-pagination-bullet-active {
  opacity: 1;
}

.main__container {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 50px 15px;
}

@media (max-width: 767.98px) {
  .main__slider {
    height: 100vh;
    min-height: 500px;
  }
  
  .main__title {
    font-size: 2.5rem;
  }
  
  .main__caption {
    font-size: 1.2rem;
  }
}

/* **************PRODUCTS**************** */

.main_products {
  background: none;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.main_products .main__container {
  display: none;
}

.main_products .main__image {
  width: 100%;
  height: auto;
  display: block;
}

.main_products .main__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Enhanced responsive styles for all pages */
@media (max-width: 47.999rem) {
  .main_products {
    width: 100%;
    height: auto;
  }
  
  /* Ensure all images are responsive */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Improve form responsiveness */
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  input, textarea, select {
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Improve button responsiveness */
  .button, .news__button, .products__button {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
  
  /* Improve grid layouts */
  .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Improve flex layouts */
  .flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

/* ****************NEWS PAGE**************** */
.main_news {
  background: none;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.main_news .main__image {
  width: 100%;
  height: auto;
  display: block;
}

.main_news .main__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.news {
  padding: 80px 0;
}

.news__container {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.news__title {
  text-align: center;
  margin-bottom: 60px;
}

.news__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news__item {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  flex-direction: row-reverse;
}

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

.news__image {
  flex: 0 0 400px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  order: -1;
}

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

.news__content {
  flex: 1;
  text-align: right;
}

.news__item-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #303a4d;
}

.news__text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #666;
  text-align: justify;
}

.news__button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #303a4d;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.news__button:hover {
  background-color: #404c64;
}

/* Smaller button and paragraph break spacing for services/news items */
.news__content .news__button {
  padding: 8px 16px;
  font-size: 0.9rem;
  display: block;
  margin-top: 10px;
}

/* Service / AI slide card styles */
.service-slide-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  box-shadow: 0 8px 24px rgba(16,24,40,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.service-slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(16,24,40,0.12);
}
.service-slide-card__image {
  flex: 0 0 110px;
  width: 110px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  display:flex;align-items:center;justify-content:center;
}
.service-slide-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-slide-card__meta {
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 6px;
}
.service-slide-card__title {
  font-size: 18px;
  color: #303a4d;
  margin: 0 0 6px 0;
  font-weight: 600;
}
.service-slide-card__text {
  font-size: 14px;
  color: #55606e;
  line-height: 1.5;
  margin: 0;
}

/* AI slider container tweaks */
.ai-slider .swiper-slide { display: flex; align-items: stretch; }
.ai-services__title { font-weight: 700; }
.ai-services__container .service-slide-card { flex-direction: row-reverse; }


@media (max-width: 991px) {
  .news__item {
    flex-direction: column;
    text-align: center;
  }

  .news__image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    order: -1;
  }

  .news__content {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .news {
    padding: 40px 0;
  }

  .news__title {
    margin-bottom: 40px;
  }

  .news__item {
    padding: 20px;
    gap: 20px;
  }

  .news__image {
    height: 200px;
  }

  .news__item-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .news__text {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/* ****************PRODUCTS PAGE**************** */
.products {
  padding: 80px 0;
}

.products__container {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.products__title {
  text-align: center;
  margin-bottom: 60px;
}

.products__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.products__item {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  flex-direction: row-reverse;
}

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

.products__image {
  flex: 0 0 400px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  order: -1;
}

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

.products__content {
  flex: 1;
  text-align: right;
}

.products__item-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #303a4d;
}

.products__text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #666;
}

.products__button {
  display: inline-block;
  padding: 6px 16px;
  background-color: #303a4d;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 25px;
  font-size: 0.9rem;
}

.products__button:hover {
  background-color: #404c64;
}

@media (max-width: 991px) {
  .products__item {
    flex-direction: column;
    text-align: center;
  }

  .products__image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    order: -1;
  }

  .products__content {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .products {
    padding: 40px 0;
  }

  .products__title {
    margin-bottom: 40px;
  }

  .products__item {
    padding: 20px;
    gap: 20px;
  }

  .products__image {
    height: 200px;
  }

  .products__item-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .products__text {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/* Feature Cards Section */
@media (max-width: 992px) {
  .feature-cards__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .feature-cards__grid {
    grid-template-columns: 1fr !important;
  }
  
  .feature-card {
    flex-direction: column !important;
    text-align: center;
  }
  
  .feature-card__image {
    margin: 0 0 15px 0 !important;
  }
}

/* Brand Slider Styles */
.brand-slider {
  background-color: #fff;
  padding: 40px 0;
  margin: 20px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.brand-slider__container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.brand-slider__title {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 24px;
  font-weight: 600;
}

.brand-slider__track {
  display: flex;
  animation: scroll 50s linear infinite;
  width: fit-content;
  gap: 20px;
}

.brand-slider__track:hover {
  animation-play-state: paused;
}

.brand-slider__item {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-slider__item img {
  width: 160px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: grayscale(0%);
  opacity: 1;
}

.brand-slider__item img:hover {
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

/* Add gradient overlay for smooth fade effect */
.brand-slider::before,
.brand-slider::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 100px;
  z-index: 2;
}

.brand-slider::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.brand-slider::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

@media (max-width: 768px) {
  .brand-slider__item {
    flex: 0 0 160px;
  }
  
  .brand-slider__item img {
    width: 140px;
    height: 50px;
  }
}