@import url("reset.css");

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

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

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

.logo img {
  max-height: 96px;
  width: auto;
  display: block;
}

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

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

/* Subtle professional hover/press effects */
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(48,58,77,0.18); }
.button:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(48,58,77,0.12); }

.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 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
}

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

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

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

.menu__link {
  font-weight: 600;
  position: relative;
}

.menu__link:hover { color: #1a2332; }

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

.icon-menu {
  display: none;
}

.actions-header__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #303a4d;
  border-radius: 30px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

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

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

.main {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.main__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.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;
  color: #000000;
}

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

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

.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("../images/Home/cta3.jpg") center / cover no-repeat;
}

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

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

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

.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: 150%;
  margin-bottom: 3.5rem;
}

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

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

.outro__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

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

.main_services {
  background: url("../images/Services/Services-Hero 2.jpg") center / cover no-repeat;
}

.services {
  background-color: #e1e4eb;
}

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

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

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

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

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

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

.item-services:hover .item-services__image img { transform: scale(1.02); transition: transform 0.3s ease; }
.item-services { transition: transform 0.25s ease, box-shadow 0.25s ease; will-change: transform, box-shadow; }
.item-services:hover { transform: translateY(-6px); box-shadow: 0 6px 18px rgba(48,58,77,0.14); }

/* Ensure hover effects also apply on some hosts that strip :hover without a link */
.item-services a, .services__item a, .button { -webkit-tap-highlight-color: transparent; }

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

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

.item-services__button {
  background-color: inherit;
  border: 2px solid #303a4d;
  color: #303a4d;
}

.outro_services {
  background: url("../images/Services/CTA 2.jpg") center / cover no-repeat;
}

/* ************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;
}

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

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

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

.footer__logo {
  justify-self: center;
}

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

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

.main__container_pages {
  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("../images/Contact/Contact-Hero 2.jpg") center / cover no-repeat;
}

/* ****************PRICING PAGE****************/

.main_pricing {
  background: url("../images/Services/pricing page.jpg") center / cover no-repeat;
}

.main_blog {
  position: relative;
  background-color: #f8f9fa;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.main_blog .main__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/About/blog hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.main_blog .main__bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(48, 58, 77, 0.7);
  z-index: 2;
}

.main_blog .main__container {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
}

.main_blog .main__title {
  color: #fff;
  margin-bottom: 20px;
}

.main_blog .main__text {
  color: rgba(255, 255, 255, 0.9);
}

.main_who-we-are {
  position: relative;
  overflow: hidden;
}

/* Pricing Plans Grid */
.pricing__plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing__plan {
  background: #fff;
  border: 2px solid #e1e4eb;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing__plan:hover {
  border-color: #303a4d;
  box-shadow: 0 10px 30px rgba(48, 58, 77, 0.15);
  transform: translateY(-5px);
}

.pricing__plan-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #303a4d;
}

.pricing__plan-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.pricing__plan-cost {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.pricing__currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: #303a4d;
}

.pricing__amount {
  font-size: 3rem;
  font-weight: 700;
  color: #303a4d;
}

.pricing__period {
  font-size: 1rem;
  color: #666;
}

.pricing__features {
  text-align: left;
  margin-bottom: 2rem;
  max-height: 300px;
  overflow-y: auto;
}

.pricing__feature {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #303a4d;
  padding-left: 1rem;
  position: relative;
}

.pricing__feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.pricing__order-button {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  padding: 1rem 2rem;
  background-color: #303a4d;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  width: 100%;
}

.pricing__order-button:hover {
  background-color: #1a2332;
  transform: translateY(-2px);
}

/* Responsive adjustments for pricing plans */
@media (max-width: 768px) {
  .pricing__plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing__plan {
    padding: 1.5rem;
  }
  
  .pricing__plan-title {
    font-size: 1.5rem;
  }
  
  .pricing__amount {
    font-size: 2.5rem;
  }
  
  .pricing__features {
    max-height: 250px;
  }
}

.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;
  max-width: 800px;
  margin: 0 auto;
}

.pricing__main-plan {
  text-align: center;
  margin-bottom: 80px;
  padding: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 16px;
  background: #fff;
}

.pricing__plan-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #303a4d;
}

.pricing__plan-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.pricing__plan-cost {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.pricing__currency {
  font-size: 2rem;
  font-weight: 600;
  color: #303a4d;
}

.pricing__amount {
  font-size: 4rem;
  font-weight: 700;
  color: #303a4d;
}

.pricing__period {
  font-size: 1.2rem;
  color: #666;
}

.pricing__features {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing__feature {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #303a4d;
}

.pricing__order-button {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  padding: 1rem 3rem;
  background-color: #303a4d;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
}

.pricing__order-button:hover {
  background-color: #1a2332;
  transform: translateY(-2px);
}

.pricing__addons {
  width: 100%;
  margin-bottom: 60px;
}

.pricing__addons-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #303a4d;
  text-align: center;
}

.pricing__addons-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.5;
}

.pricing__addons-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pricing__addon {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e1e4eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing__addon:hover {
  border-color: #303a4d;
  box-shadow: 0 2px 8px rgba(48, 58, 77, 0.1);
}

.pricing__addon.selected {
  border-color: #303a4d;
  background-color: #f8f9fa;
  box-shadow: 0 2px 8px rgba(48, 58, 77, 0.15);
}

.pricing__addon-checkbox {
  display: none;
}

.pricing__addon-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  cursor: pointer;
  margin: 0;
}

.pricing__addon-label::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #e1e4eb;
  border-radius: 4px;
  background: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.pricing__addon-checkbox:checked + .pricing__addon-label::before {
  background: #303a4d;
  border-color: #303a4d;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.pricing__addon-price {
  font-weight: 600;
  color: #303a4d;
  white-space: nowrap;
  min-width: 80px;
}

.pricing__addon-name {
  font-weight: 600;
  color: #303a4d;
  margin-right: 1rem;
}

.pricing__addon-desc {
  color: #666;
  line-height: 1.4;
}

.pricing__total {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #e1e4eb;
}

.pricing__total-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #303a4d;
  margin: 0 0 1rem 0;
}

.selected-addons-list {
  margin-top: 1rem;
  text-align: left;
}

.selected-addon {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #303a4d;
  border-bottom: 1px solid #e1e4eb;
}

.selected-addon:last-child {
  border-bottom: none;
}

.pricing__additional {
  width: 100%;
  margin-top: 40px;
}

.pricing__additional-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #303a4d;
}

.pricing__additional-services {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing__additional-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 1px solid #e1e4eb;
  border-radius: 8px;
  background: #fff;
}

.pricing__service-name {
  font-weight: 500;
  color: #303a4d;
}

.pricing__service-price {
  font-weight: 600;
  color: #303a4d;
}

/* Responsive adjustments for pricing page */
@media (max-width: 768px) {
  .pricing__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  
  .pricing__main-plan {
    padding: 20px;
    margin-bottom: 40px;
  }
  
  .pricing__plan-title {
    font-size: 2rem;
  }
  
  .pricing__amount {
    font-size: 3rem;
  }
  
  .pricing__addon {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pricing__addon-label {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pricing__addon-price {
    min-width: auto;
  }
  
  .pricing__additional-service {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .selected-addons-list {
    text-align: center;
  }
}

.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: 2rem;
  max-width: 483px;
}

.team__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.team__intro p {
  margin-bottom: 1rem;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.team__intro p:last-child {
  margin-bottom: 0;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 60px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  min-height: 600px;
}

.item-team__img {
  width: 280px;
  height: 280px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

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

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

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

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #303a4d;
}

.item-team__text {
  font-size: 14px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 280px;
  margin-bottom: 0;
  flex-grow: 1;
}

.item-team__education {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  letter-spacing: 2%;
  font-size: 14px;
  color: #666;
  text-align: center;
}

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

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

.team__philosophy {
  text-align: center;
  max-width: 800px;
  margin: 3rem auto 0 auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team__philosophy h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #303a4d;
  margin-bottom: 1rem;
}

.team__philosophy p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

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

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

.spollers-faq__item {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

.director__title {
  margin-bottom: 16px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .page__main {
    padding-bottom: 80px;
  }
}

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

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

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

  .gallery__paggination {
    gap: 27px;
  }

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

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

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

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

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

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

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

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

  .footer__logo {
    margin-bottom: 1rem;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .menu__item {
    text-align: center;
  }

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

  .menu__link {
    font-size: 2rem;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container {
    padding-top: 12.5rem;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .main__title {
    font-size: 3rem;
  }

  .title {
    font-size: 2rem;
  }

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

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

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

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

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

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

  .logo {
    font-size: 1rem;
  }

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

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

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

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

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

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

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

/* ****************MEETING SCHEDULING MODAL**************** */

.meeting-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.meeting-modal__content {
  background-color: #fff;
  margin: 2% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.meeting-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid #e1e4eb;
}

.meeting-modal__header h2 {
  margin: 0;
  color: #303a4d;
  font-size: 1.8rem;
  font-weight: 600;
}

.meeting-modal__close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.meeting-modal__close:hover {
  background-color: #f0f0f0;
  color: #303a4d;
}

.meeting-modal__body {
  padding: 2rem;
}

.meeting-modal__step h3 {
  margin: 0 0 1.5rem 0;
  color: #303a4d;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Calendar Styles */
.calendar-container {
  margin-bottom: 2rem;
  border: 1px solid #e1e4eb;
  border-radius: 12px;
  overflow: hidden;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e1e4eb;
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.calendar-header button:hover {
  background-color: #e1e4eb;
}

.calendar-header h4 {
  margin: 0;
  color: #303a4d;
  font-weight: 600;
}

.calendar-grid {
  background: #fff;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: #f8f9fa;
  border-bottom: 1px solid #e1e4eb;
}

.calendar-weekdays div {
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day:hover {
  background-color: #f0f0f0;
}

.calendar-day.selected {
  background-color: #303a4d;
  color: #fff;
  border-color: #303a4d;
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.today {
  border: 2px solid #303a4d;
  font-weight: 600;
}

/* Time Slots */
.time-slots {
  margin-bottom: 2rem;
}

.time-slots h4 {
  margin: 0 0 1rem 0;
  color: #303a4d;
  font-weight: 600;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.time-slot {
  padding: 0.75rem 1rem;
  border: 2px solid #e1e4eb;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  color: #303a4d;
}

.time-slot:hover {
  border-color: #303a4d;
  background-color: #f8f9fa;
}

.time-slot.selected {
  background-color: #303a4d;
  color: #fff;
  border-color: #303a4d;
}

.timezone-info {
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #303a4d;
}

.timezone-info p {
  margin: 0 0 10px 0;
  color: #303a4d;
  font-weight: 600;
}

.timezone-info ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: none;
}

.timezone-info li {
  margin-bottom: 5px;
  color: #666;
  font-size: 0.9rem;
  position: relative;
}

.timezone-info li:before {
  content: "•";
  color: #303a4d;
  font-weight: bold;
  position: absolute;
  left: -15px;
}

.selected-datetime {
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e1e4eb;
}

.selected-datetime p {
  margin: 0;
  color: #303a4d;
}

/* Form Styles */
.consultation-form {
  max-width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #303a4d;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e4eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #303a4d;
  box-shadow: 0 0 0 3px rgba(48, 58, 77, 0.1);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* Button Styles */
.meeting-modal__next,
.meeting-modal__back,
.meeting-modal__submit {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.meeting-modal__next,
.meeting-modal__submit {
  background-color: #303a4d;
  color: #fff;
}

.meeting-modal__next:hover,
.meeting-modal__submit:hover {
  background-color: #1a2332;
  transform: translateY(-2px);
}

.meeting-modal__back {
  background-color: #f8f9fa;
  color: #303a4d;
  border: 2px solid #e1e4eb;
}

.meeting-modal__back:hover {
  background-color: #e1e4eb;
}

/* Confirmation Step */
.confirmation-message {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #28a745;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
}

.confirmation-message h3 {
  color: #303a4d;
  margin-bottom: 1rem;
}

.appointment-details {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  text-align: left;
}

.appointment-details p {
  margin: 0.5rem 0;
  color: #303a4d;
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.whatsapp-button {
  background-color: #25d366;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .meeting-modal__content {
    width: 95%;
    margin: 5% auto;
    max-height: 95vh;
  }
  
  .meeting-modal__header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .meeting-modal__header h2 {
    font-size: 1.5rem;
  }
  
  .meeting-modal__body {
    padding: 1.5rem;
  }
  
  .time-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .form-buttons {
    flex-direction: column;
  }
  
  .confirmation-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .calendar-day {
    padding: 0.5rem;
    min-height: 40px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .meeting-modal__content {
    width: 98%;
    margin: 2% auto;
  }
  
  .meeting-modal__header {
    padding: 1rem;
  }
  
  .meeting-modal__body {
    padding: 1rem;
  }
  
  .time-grid {
    grid-template-columns: 1fr;
  }
  
  .calendar-weekdays div {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .calendar-day {
    padding: 0.4rem;
    min-height: 35px;
    font-size: 0.8rem;
  }
}

/* ==================== PROFESSIONAL POLISH ==================== */
:root {
  --color-text: #303a4d;
  --color-muted: #666b7a;
  --color-primary: #303a4d;
  --color-primary-600: #1a2332;
  --surface: #ffffff;
  --border: #e1e4eb;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(48,58,77,0.08);
  --shadow-md: 0 6px 18px rgba(48,58,77,0.12);
  --shadow-lg: 0 14px 36px rgba(48,58,77,0.18);
}

body {
  line-height: 1.6;
  color: var(--color-text);
}

.header {
  border-bottom: 1px solid rgba(225,228,235,0.6);
}

.title {
  letter-spacing: 0.01em;
}

.button {
  box-shadow: var(--shadow-sm);
}
.button:hover {
  background-color: var(--color-primary-600);
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(0);
}
.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(48,58,77,0.15);
}

.menu__link {
  position: relative;
}
.menu__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}
.menu__link:hover::after { width: 100%; }

/* Card polish */
.blog__item,
.pricing__plan,
.order-summary,
.order-receipt {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.blog__item:hover,
.pricing__plan:hover {
  box-shadow: var(--shadow-lg);
}

/* Blog typography improvements */
.blog__title { line-height: 1.4; }
.blog__excerpt { color: var(--color-muted); }
.blog__meta { color: var(--color-muted); }

/* Footer spacing */
.footer__container { row-gap: 12px; }

/* Accessible focus for links */
a:focus-visible {
  outline: 2px dashed rgba(48,58,77,0.6);
  outline-offset: 3px;
}

/* ****************ORDER MODAL**************** */

.order-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.order-modal__content {
  background-color: #fff;
  margin: 2% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

.order-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid #e1e4eb;
}

.order-modal__header h2 {
  margin: 0;
  color: #303a4d;
  font-size: 1.8rem;
  font-weight: 600;
}

.order-modal__close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.order-modal__close:hover {
  background-color: #f0f0f0;
  color: #303a4d;
}

.order-modal__body {
  padding: 2rem;
}

/* Order Summary */
.order-summary {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e1e4eb;
}

.order-summary h3 {
  margin: 0 0 1rem 0;
  color: #303a4d;
  font-size: 1.3rem;
  font-weight: 600;
}

.order-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e1e4eb;
}

.order-item:last-child {
  border-bottom: none;
}

.order-item-name {
  font-weight: 500;
  color: #303a4d;
}

.order-item-price {
  font-weight: 600;
  color: #303a4d;
}

.order-addons {
  margin-left: 1rem;
}

.order-addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: #666;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 2px solid #303a4d;
  margin-top: 0.5rem;
}

.order-total-label {
  font-weight: 600;
  color: #303a4d;
  font-size: 1.1rem;
}

.order-total-price {
  font-weight: 700;
  color: #303a4d;
  font-size: 1.2rem;
}

/* Order Form */
.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.order-form .form-group:nth-child(5),
.order-form .form-group:nth-child(6),
.order-form .form-group:nth-child(7) {
  grid-column: 1 / -1;
}

.order-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.order-modal__cancel,
.order-modal__submit {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.order-modal__submit {
  background-color: #303a4d;
  color: #fff;
}

.order-modal__submit:hover {
  background-color: #1a2332;
  transform: translateY(-2px);
}

.order-modal__cancel {
  background-color: #f8f9fa;
  color: #303a4d;
  border: 2px solid #e1e4eb;
}

.order-modal__cancel:hover {
  background-color: #e1e4eb;
}

/* Order Confirmation Modal */
.order-confirmation-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.order-confirmation-modal__content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

.order-confirmation-modal__header {
  text-align: center;
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid #e1e4eb;
}

.order-confirmation-modal__header .success-icon {
  width: 80px;
  height: 80px;
  background-color: #28a745;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem auto;
}

.order-confirmation-modal__header h2 {
  margin: 0;
  color: #303a4d;
  font-size: 1.8rem;
  font-weight: 600;
}

.order-confirmation-modal__body {
  padding: 2rem;
  text-align: center;
}

.order-confirmation-modal__body p {
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.6;
}

/* Order Receipt */
.order-receipt {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e1e4eb;
  margin-bottom: 2rem;
  text-align: left;
}

.order-receipt h3 {
  margin: 0 0 1rem 0;
  color: #303a4d;
  font-size: 1.3rem;
  font-weight: 600;
}

.receipt-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e1e4eb;
}

.receipt-item:last-child {
  border-bottom: none;
}

.receipt-label {
  font-weight: 600;
  color: #303a4d;
}

.receipt-value {
  color: #666;
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.order-confirmation-modal__close {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e1e4eb;
  background-color: #f8f9fa;
  color: #303a4d;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.order-confirmation-modal__close:hover {
  background-color: #e1e4eb;
}

/* Responsive Design for Order Modal */
@media (max-width: 768px) {
  .order-modal__content,
  .order-confirmation-modal__content {
    width: 95%;
    margin: 5% auto;
    max-height: 95vh;
  }
  
  .order-modal__header,
  .order-confirmation-modal__header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .order-modal__header h2,
  .order-confirmation-modal__header h2 {
    font-size: 1.5rem;
  }
  
  .order-modal__body,
  .order-confirmation-modal__body {
    padding: 1.5rem;
  }
  
  .order-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .order-form .form-group:nth-child(5),
  .order-form .form-group:nth-child(6),
  .order-form .form-group:nth-child(7) {
    grid-column: 1;
  }
  
  .order-actions {
    flex-direction: column;
  }
  
  .confirmation-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .receipt-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

@media (max-width: 480px) {
  .order-modal__content,
  .order-confirmation-modal__content {
    width: 98%;
    margin: 2% auto;
  }
  
  .order-modal__header,
  .order-confirmation-modal__header {
    padding: 1rem;
  }
  
  .order-modal__body,
  .order-confirmation-modal__body {
    padding: 1rem;
  }
  
  .order-summary {
    padding: 1rem;
  }
  
  .order-receipt {
    padding: 1rem;
  }
}

/* ****************BLOG PAGE****************/
.blog {
  padding: 80px 0;
  background-color: #fff;
}

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

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

.blog__title {
  margin-bottom: 30px;
  color: #303a4d;
}

.blog__filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.blog__filter {
  padding: 10px 20px;
  border: 2px solid #e1e4eb;
  background: #fff;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  color: #666;
}

.blog__filter:hover,
.blog__filter.active {
  border-color: #303a4d;
  background-color: #303a4d;
  color: #fff;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  align-items: start;
}

/* Ensure proper spacing below the blog header so content never overlaps with filters or header */
.blog__header { margin-bottom: 60px; }
.main_blog .main__container { padding-top: 200px; padding-bottom: 40px; }
.main_blog { min-height: 420px; }

/* Fix potential overlap on some hosts by forcing stacking context and spacing */
.main_blog .main__bg-image { z-index: 1; }
.main_blog .main__container { position: relative; z-index: 3; }

/* Prevent overlapping/overflow issues on some hosts/browsers */
.blog__item {
  display: flex;
  flex-direction: column;
  min-width: 0; /* allow content to shrink inside grid cells */
}

.blog__item--featured > .blog__image,
.blog__item--featured > .blog__content {
  min-width: 0; /* fix long text overflow in CSS grid children */
}

.blog__image img {
  display: block; /* remove inline-gap and layout glitches */
}

.blog__content {
  display: block;
  box-sizing: border-box;
}

.blog__title,
.blog__excerpt {
  overflow-wrap: anywhere;
  word-break: break-word;
  -ms-word-break: break-word;
  hyphens: auto;
  line-height: 1.6;
}

.blog__item {
  background: #fff;
  border: 1px solid #e1e4eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.blog__item--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

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

.blog__item--featured .blog__image {
  height: 300px;
}

.blog__item:not(.blog__item--featured) .blog__image {
  height: 200px;
}

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

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

.blog__category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #303a4d;
  color: #fff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.blog__content {
  padding: 25px;
}

.blog__meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.blog__date,
.blog__read-time {
  display: flex;
  align-items: center;
}

.blog__read-time::before {
  content: "•";
  margin-right: 15px;
}

.blog__title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #303a4d;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog__item--featured .blog__title {
  font-size: 1.8rem;
}

.blog__excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog__link {
  color: #303a4d;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.blog__link:hover {
  color: #666;
}

.blog__link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s;
}

.blog__link:hover::after {
  transform: translateX(5px);
}

.blog__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.blog__pagination-btn {
  padding: 10px 15px;
  border: 2px solid #e1e4eb;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  color: #666;
  min-width: 45px;
}

.blog__pagination-btn:hover,
.blog__pagination-btn.active {
  border-color: #303a4d;
  background-color: #303a4d;
  color: #fff;
  }
  
  /* Admin Panel Styling */
  .main_admin {
    background-color: #f8f9fa;
  }
  
  .admin-login {
    padding: 80px 0;
    background-color: #fff;
  }
  
  .admin-login__container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .admin-login__form-container {
    background: #fff;
    border: 1px solid #e1e4eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .admin-login__title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #303a4d;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .admin-login__form .form-group {
    margin-bottom: 20px;
  }
  
  .admin-login__form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #303a4d;
  }
  
  .admin-login__form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e4eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
  }
  
  .admin-login__form .form-group input:focus {
    outline: none;
    border-color: #303a4d;
  }
  
  .admin-login__button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .admin-login__error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid #f5c6cb;
  }
  
  /* Admin Panel */
  .admin-panel {
    padding: 80px 0;
    background-color: #fff;
  }
  
  .admin-panel__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
  }
  
  .admin-panel__sidebar {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
  }
  
  .admin-panel__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .admin-panel__nav-btn {
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #666;
    text-align: left;
  }
  
  .admin-panel__nav-btn:hover,
  .admin-panel__nav-btn.active {
    background-color: #303a4d;
    color: #fff;
  }
  
  .admin-panel__clear-btn {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: 1px solid #dc3545;
    margin-top: 20px;
  }
  
  .admin-panel__clear-btn:hover {
    background-color: #c82333 !important;
    border-color: #bd2130;
  }
  
  .admin-panel__clear-btn:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d;
    cursor: not-allowed;
  }
  
  .admin-panel__content {
    background: #fff;
    border: 1px solid #e1e4eb;
    border-radius: 12px;
    padding: 30px;
  }
  
  .admin-panel__tab {
    display: none;
  }
  
  .admin-panel__tab.active {
    display: block;
  }
  
  .admin-panel__tab-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #303a4d;
    margin-bottom: 10px;
  }
  
  .admin-panel__tab-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .admin-panel__upload-form {
    max-width: 600px;
  }
  
  .admin-panel__upload-form .form-group {
    margin-bottom: 20px;
  }
  
  .admin-panel__upload-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #303a4d;
  }
  
  .admin-panel__upload-form .form-group input,
  .admin-panel__upload-form .form-group select,
  .admin-panel__upload-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e4eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
  }
  
  .admin-panel__upload-form .form-group input:focus,
  .admin-panel__upload-form .form-group select:focus,
  .admin-panel__upload-form .form-group textarea:focus {
    outline: none;
    border-color: #303a4d;
  }
  
  .admin-panel__upload-form .form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
  }
  
  .admin-panel__form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
  }
  
  .admin-panel__submit-btn {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .admin-panel__preview-btn {
    padding: 12px 25px;
    border: 2px solid #e1e4eb;
    background: #f8f9fa;
    color: #303a4d;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .admin-panel__preview-btn:hover {
    background: #e1e4eb;
  }
  
  .admin-panel__progress {
    margin-top: 30px;
    text-align: center;
  }
  
  .admin-panel__progress-bar {
    width: 100%;
    height: 8px;
    background: #e1e4eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
  }
  
  .admin-panel__progress-fill {
    height: 100%;
    background: #303a4d;
    width: 0%;
    transition: width 0.3s;
  }
  
  .admin-panel__success {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
  }
  
  .admin-panel__success .success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
  }
  
  .admin-panel__success h3 {
    font-size: 1.5rem;
    color: #303a4d;
    margin-bottom: 10px;
  }
  
  .admin-panel__success p {
    color: #666;
    margin-bottom: 20px;
  }
  
  .admin-panel__success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
  }
  
  .admin-panel__new-upload-btn {
    padding: 10px 20px;
    border: 2px solid #e1e4eb;
    background: #f8f9fa;
    color: #303a4d;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .admin-panel__new-upload-btn:hover {
    background: #e1e4eb;
  }
  
  /* Admin Header */
  .admin-welcome {
    color: #303a4d;
    font-weight: 500;
    margin-right: 15px;
  }
  
  .admin-logout-btn {
    padding: 8px 16px;
    border: 2px solid #e1e4eb;
    background: #f8f9fa;
    color: #303a4d;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .admin-logout-btn:hover {
    background: #e1e4eb;
  }
  
  /* Blog Admin Link */
  .blog__admin-link {
    text-align: center;
  }
  
  .blog__admin-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #e1e4eb;
  }
  
  .blog__admin-btn:hover {
    background: #e1e4eb;
    color: #303a4d;
  }
  
  /* Empty state styling */
  .blog__empty-state {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
    grid-column: 1 / -1;
  }
  
  .blog__empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.6;
  }
  
  .blog__empty-title {
    font-size: 1.8rem;
    color: #303a4d;
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  .blog__empty-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .blog__empty-actions {
    margin-top: 20px;
  }
  
  .blog__empty-actions .button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #303a4d;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }
  
  .blog__empty-actions .button:hover {
    background-color: #1e252f;
  }
  
  /* Responsive Design for Admin Panel */
  @media (max-width: 768px) {
    .admin-panel__container {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .admin-panel__sidebar {
      order: 2;
    }
    
    .admin-panel__nav {
      flex-direction: row;
      overflow-x: auto;
      padding-bottom: 10px;
    }
    
    .admin-panel__nav-btn {
      flex-shrink: 0;
      white-space: nowrap;
    }
    
    .admin-panel__form-actions {
      flex-direction: column;
    }
    
    .admin-panel__success-actions {
      flex-direction: column;
      align-items: center;
    }
    
    .admin-login__form-container {
      padding: 30px 20px;
    }
  }
  
  @media (max-width: 480px) {
    .admin-panel {
      padding: 60px 0;
    }
    
    .admin-panel__container {
      padding: 0 15px;
    }
    
    .admin-panel__content {
      padding: 20px;
    }
    
    .admin-panel__upload-form {
      max-width: 100%;
    }
  }
  
  /* Newsletter Section */
.newsletter {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.newsletter__container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.newsletter__title {
  font-size: 2rem;
  font-weight: 600;
  color: #303a4d;
  margin-bottom: 15px;
}

.newsletter__text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.newsletter__form {
  display: flex;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #e1e4eb;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.newsletter__input:focus {
  outline: none;
  border-color: #303a4d;
}

.newsletter__button {
  padding: 12px 25px;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog__item--featured {
    grid-template-columns: 1fr;
  }
  
  .blog__item--featured .blog__image {
    height: 240px;
  }
  
  .blog__filters {
    gap: 10px;
  }
  
  .blog__filter {
    padding: 8px 15px;
    font-size: 14px;
  }
  
  .blog__content {
    padding: 20px;
  }
  
  .blog__title {
    font-size: 1.2rem;
  }
  
  .blog__item--featured .blog__title {
    font-size: 1.4rem;
  }
  
  .newsletter__form {
    flex-direction: column;
  }
  
  .newsletter__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .blog {
    padding: 60px 0;
  }
  
  .blog__container {
    padding: 0 15px;
  }
  
  .blog__header {
    margin-bottom: 40px;
  }
  
  .blog__filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .blog__filter {
    flex-shrink: 0;
  }
  
  .blog__content {
    padding: 15px;
  }
  
  .blog__meta {
    flex-direction: column;
    gap: 5px;
  }
  
  .blog__read-time::before {
    display: none;
  }
}