.main-page {
  background-color: #ffffff;
  width: 100%;
  max-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Add some space between sections */
}

.main-page .hero-section {
  width: 100%;
  min-height: 650px;
  object-fit: cover;
}

.hero-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 650px;
  background-image: url('images/right-shapes.png');
  background-size: cover;
  background-position: left;
  background-color: #F3F3F3;
  height: 100vh;
  max-height: 950px;

}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  width: 100%;
  max-width: 1400px;
  max-height: 80%;
  padding: 0 50px;
  margin-top: 200px;
}

.hero-image-container {
  width: auto;
  min-height: 250px;

}

.hero-image-graphic {
  width: 100%;
  height: 100%;
}

.hero-text-container {
  text-align: right;
  color: #2A2766;
  max-width: max-content;
  font-family: "Readex Pro", Helvetica;
  padding-right: 10%;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  color: #8E8E8E;
  line-height: 200%;


}

.hero-title {
  font-size: 48px;
  font-weight: bold;
}

.main-page .our-pilars {
  width: 100%;
  background-color: #312979;
  padding: 300px 0 150px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}



.main-page .text-wrapper {
  font-family: "Readex Pro", Helvetica;
  font-weight: 400;
  color: #f7965c;
  font-size: 30px;
  text-align: center;
  letter-spacing: 0;
  line-height: 30px;
  white-space: nowrap;
  direction: rtl;
}

.main-page .group {
  width: 90%;
  max-width: 1472px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.pillar-card {
  background-color: #27206c;
  border-radius: 50px;
  width: 194px;
  height: 297px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 15px;
  text-align: center;
}

.pillar-card img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.pillar-card .content {
  font-family: "Readex Pro", Helvetica;
  font-weight: 400;
  font-size: 27px;
  line-height: 30px;
  color: transparent;
  white-space: nowrap;
  letter-spacing: 0;
}

.pillar-card .content .span,
.pillar-card .content .text-wrapper-2 {
  letter-spacing: 0;
}

.pillar-card .text-wrapper-3 {
  font-family: "Readex Pro", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  line-height: 27px;
}

.main-page .span {
  color: #d94783;
}

.main-page .text-wrapper-2 {
  color: #ffffff;
}



.main-page .main-menu {
  position: absolute;
  top: 47px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1050px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 20px;
  border-radius: 50px;
  z-index: 10;
}

/* Desktop Navigation */
.desktop-nav {
  display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 20px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  user-select: none;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: #B3B3B3;
  border-radius: 2px;
  transition: all 0.3s ease;
  user-select: none;

}


/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  color: #636363;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: #f5f5f5;
  color: #dd5281;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.mobile-nav-link {
  text-decoration: none;
  color: #636363;
  font-size: 20px;
  font-family: "Readex Pro", Helvetica;
  font-weight: 400;
  padding: 15px 20px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  direction: rtl;
  border: 2px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  background-color: #f8f9ff;
  color: #dd5281;
  border-color: #dd5281;
  transform: translateY(-2px);
}

.main-page .element-c {
  position: relative;
  font-family: "Readex Pro", Helvetica;
  font-weight: 400;
  color: transparent;
  font-size: 20px;
  text-align: left;
  letter-spacing: 0;
  line-height: normal;
  direction: rtl;
  flex: 1;
}

.main-page .text-wrapper-8 {
  color: #dd5281;
}

.main-page .text-wrapper-9 {
  color: #9e9e9e;
}

.main-page .text-wrapper-10 {
  color: #636363;
}

.main-page .vector {
  display: none;
}

.main-page .logo {
  position: relative;
  width: 218px;
  height: 79px;
  aspect-ratio: 2.75;
  object-fit: cover;
  order: -1;
}

.main-page .who-we-are {
  width: 90%;
  max-width: 1189px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 150px 0 100px;
  flex-direction: row-reverse;
}

.who-text-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 45%;
  max-width: 545px;
}

.main-page .element-6 {
  width: 50%;
  max-width: 589px;
  height: auto;
  object-fit: cover;
}

.main-page .p {
  width: 100%;
  font-weight: 300;
  color: #000000;
  font-size: 20px;
  text-align: justify;
  line-height: 30px;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
}

.main-page .text-wrapper-11 {
  width: 100%;
  text-align: right;
  font-weight: 400;
  color: #d94783;
  font-size: 30px;
  line-height: 30px;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
}

.main-page .it-is-a-story {
  width: 100%;
  position: relative;
  text-align: center;
}

.main-page .element-7 {
  width: 100%;
  height: auto;
  max-height: 473px;
  min-height: 200px;
  object-fit: cover;
}

.main-page .text-wrapper-12 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 400;
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  line-height: 45px;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
}

.main-page .our-services {
  width: 90%;
  max-width: 1554px;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.main-page .text-wrapper-13 {
  font-weight: 400;
  color: #d94783;
  font-size: 30px;
  text-align: center;
  line-height: 30px;
  white-space: nowrap;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
}

.main-page .text-wrapper-14 {
  width: 621px;
  max-width: 90%;
  font-weight: 300;
  color: #000000;
  font-size: 20px;
  text-align: center;
  line-height: 30px;
  white-space: nowrap;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
}

.services-container {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 10px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: calc(33.333% - 20px);
  min-width: 280px;
  max-width: 490px;
}

.service-item .element-8 {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.main-page .group-11,
.main-page .group-10 {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 10px;
}

.main-page .group-8,
.main-page .group-9 {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.main-page .text-wrapper-15,
.main-page .text-wrapper-16,
.main-page .text-wrapper-17,
.main-page .text-wrapper-18,
.main-page .text-wrapper-19,
.main-page .text-wrapper-20 {
  width: 100%;
  max-width: 100%;
  font-weight: 300;
  color: #000000;
  font-size: 18px;
  text-align: center;
  line-height: 30px;
  white-space: normal;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
  margin: 0;
}















.main-page .element-8 {
  width: calc(33.333% - 20px);
  min-width: 280px;
  max-width: 490px;
  height: auto;
  object-fit: cover;
}





.main-page .why {
  background-color: #fafafa;
  border-radius: 64px;
  width: 90%;
  max-width: 1487px;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
}

.why-section {
  background-color: #fafafa;
  border-radius: 64px;
  width: 100%;
  max-width: 1487px;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  transform: translateY(70%);
  margin-top: -200px;
}

.main-page .text-wrapper-28 {
  font-weight: 400;
  color: #d94783;
  font-size: 30px;
  text-align: center;
  line-height: 1.4;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
}

.main-page .text-wrapper-29 {
  width: 577px;
  max-width: 90%;
  font-weight: 300;
  color: #000000;
  font-size: 20px;
  text-align: center;
  line-height: 1.5;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
}

.why-items-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  gap: 20px;
  margin-top: 20px;
}

.why-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 33.33%;
}

.why-icon {
  width: 92px;
  height: 90px;
  object-fit: contain;
}

.why-text {
  width: 100%;
  max-width: 200px;
  font-weight: 300;
  color: #000000;
  font-size: 20px;
  text-align: center;
  line-height: 1.5;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
  margin: 0;
}

.why-separator {
  width: 4px;
  height: 182px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Responsive styles for why-section */
@media screen and (max-width: 992px) {
  .why-items-container {
    flex-direction: column;
    gap: 40px;
  }

  .why-item {
    max-width: 100%;
    width: 100%;
  }

  .why-separator {
    display: none;
  }

  .why-text {
    max-width: 300px;
  }
}

@media screen and (max-width: 768px) {
  .why-section {
    padding: 40px 20px;
    transform: translateY(50%);
    margin-top: -150px;
  }

  .main-page .text-wrapper-28 {
    font-size: 24px;
  }

  .main-page .text-wrapper-29 {
    font-size: 16px;
    width: 100%;
  }

  .why-text {
    font-size: 16px;
  }

  .why-icon {
    width: 80px;
    height: 78px;
  }
}

@media screen and (max-width: 576px) {
  .why-section {
    padding: 30px 15px;
    border-radius: 32px;
    transform: translateY(30%);
    margin-top: -100px;
  }

  .main-page .text-wrapper-28 {
    font-size: 20px;
  }

  .main-page .text-wrapper-29 {
    font-size: 14px;
    line-height: 1.6;
  }

  .why-text {
    font-size: 14px;
    max-width: 250px;
  }

  .why-icon {
    width: 70px;
    height: 68px;
  }

  .why-items-container {
    gap: 30px;
  }
}

.main-page .our-works {
  background-color: #f3f3f3;
  width: 100%;
  padding: 150px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.main-page .group-18 {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  max-width: 515px;
  gap: 20px;
}

.main-page .rectangle-7 {
  width: 590px;
  max-width: 88%;
  padding: 0.6rem 1rem;
  background-color: #ffffff;
  border-radius: 50px;
  box-shadow: 1px 2px 1px 4px #00000003;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-page .group-18 {
  gap: 13px;
  justify-content: center;
}


.main-page .text-wrapper-33 {
  font-weight: 400;
  color: #d94783;
  font-size: 30px;
  text-align: center;
  line-height: 30px;
  white-space: nowrap;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
}



.main-page .text-wrapper-34,
.main-page .text-wrapper-35,
.main-page .text-wrapper-36 {
  font-weight: 300;
  color: #000000;
  font-size: 20px;
  text-align: center;
  line-height: 30px;
  white-space: nowrap;
  font-family: "Readex Pro", Helvetica;
  letter-spacing: 0;
  direction: rtl;
}





.main-page .group-19 {
  position: absolute;
  width: 214px;
  height: 49px;
  top: 1184px;
  left: 853px;
  display: flex;
}

.main-page .group-20 {
  width: 90%;
  max-width: 1325px;
  height: auto;
}

.main-page .footer {
  background-color: #f3f3f3;
  width: 100%;
  padding: 60px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  flex-direction: row-reverse;
  /* logo/social on the right */
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* right-aligned in Arabic */
  gap: 12px;
  text-align: right;
  flex: 0 0 auto;
  /* fixed width like Figma */
}

.footer-logo-section .logo {
  width: 240px;
  height: auto;
  object-fit: contain;
}

.footer-logo-section .text-wrapper-38,
.footer-logo-section .text-wrapper-39 {
  color: #707070;
  font-size: 20px;
  font-family: "Readex Pro", Helvetica;
}

.footer-links-section {
  display: flex;
  gap: 80px;
  justify-content: center;
  align-items: flex-start;
  flex: 1 1 auto;
  /* grow in the middle */
  flex-direction: row-reverse;
  /* keep RTL column order */
}

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

.footer-links-column .element-13,
.footer-links-column .text-wrapper-37 {
  font-family: "Readex Pro", Helvetica;
  color: #707070;
  font-size: 20px;
  line-height: 35px;
  text-decoration: none;
  position: relative;
  padding-right: 18px;
  /* chevron on the right in RTL */
  padding-left: 0;
  text-align: right;
  /* space for chevron on the left side */
  display: inline-block;
}

/* Chevron markers on the right (RTL) */
.footer-links-column .element-13::before,
.footer-links-column .text-wrapper-37::before {
  content: "»";
  position: absolute;
  right: 0;
  left: auto;
  top: 0;
  color: #d94783;
}

.footer-contact-section {
  background-color: #ffffff;
  border-radius: 25px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* left column, but content inside controls text direction */
  gap: 16px;
  min-width: 360px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  flex: 0 0 auto;
  /* fixed width like Figma */
}

.footer-contact-section .text-wrapper-42 {
  background-color: #d94783;
  color: #ffffff;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 20px;
  font-family: "Readex Pro", Helvetica;
  text-decoration: none;
  align-self: flex-start;
  /* appears on the right in RTL */
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-direction: row-reverse;
  /* icon on the right */
  justify-content: flex-end;
  /* pack to the right */
}

.contact-row .text-wrapper-40,
.contact-row .text-wrapper-41 {
  color: #707070;
  font-size: 20px;
  font-family: "Readex Pro", Helvetica;
  text-decoration: none;
  direction: ltr;
  /* show URLs/emails naturally */
  text-align: left;
}

.contact-row .web,
.contact-row .email {
  width: 24px;
  height: 24px;
}

.social-media {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-direction: row-reverse;
  /* icons flow right-to-left */
}

.copy-right-container {
  width: 100%;
  max-width: 1400px;
  border-top: 1px solid var(--x-200);
  margin: 40px auto 0;
  padding: 14px 0 24px;
  text-align: center;
}

.yoursitename {
  font-family: "Plus Jakarta Sans", Helvetica;
  color: var(--x-800);
  font-size: 15px;
}

/* Footer responsive refinements */
@media screen and (max-width: 1200px) {
  .footer-container {
    gap: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-logo-section,
  .footer-links-section,
  .footer-contact-section {
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
  }

  .footer-links-section {
    gap: 40px;
  }

  .footer-contact-section {
    align-items: center;
  }

  .footer-contact-section .text-wrapper-42 {
    align-self: center;
  }

  .contact-row {
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {

  .footer-links-column .element-13,
  .footer-links-column .text-wrapper-37 {
    font-size: 18px;
    line-height: 30px;
  }

  .footer-contact-section {
    min-width: 0;
    width: 100%;
  }
}

/* Responsive Media Queries */
@media screen and (max-width: 1400px) {

  .main-page .group-8,
  .main-page .group-9 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: auto;
  }

  .main-page .text-wrapper-15,
  .main-page .text-wrapper-16,
  .main-page .text-wrapper-17,
  .main-page .text-wrapper-18,
  .main-page .text-wrapper-19,
  .main-page .text-wrapper-20 {
    position: static;
    width: 100%;
    text-align: center;
    font-size: 15px;
  }
}

@media screen and (max-width: 1200px) {
  .main-page .element-c {
    font-size: 16px;
  }

  .main-page .logo {
    width: 150px;
    height: auto;
  }

  .main-page .group .div,
  .main-page .group .group-2,
  .main-page .group .group-3,
  .main-page .group .group-4,
  .main-page .group .group-5,
  .main-page .group .group-6,
  .main-page .group .group-7 {
    width: calc(25% - 15px);
    min-width: 180px;
  }
}

@media screen and (max-width: 992px) {
  .main-page .element-c {
    font-size: 14px;
  }

  .main-page .who-we-are {
    flex-direction: column;
    height: auto;
  }

  .who-text-container {
    width: 100%;
    max-width: 100%;
  }

  .main-page .element-6 {
    position: relative;
    width: 100%;
    max-width: 100%;
    order: -1;
  }

  .main-page .p {
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  .main-page .text-wrapper-11 {
    position: relative;
    transform: none;
    left: 0;
    text-align: center;
    width: 100%;
  }

  .main-page .element-8 {
    width: calc(50% - 20px);
    min-width: 250px;
  }

  .service-item {
    width: calc(50% - 15px);
    min-width: 250px;
  }

  .main-page .element-9 {
    width: calc(50% - 20px);
    min-width: 280px;
  }
}

@media screen and (max-width: 768px) {
  .hero-container {
    padding-bottom: 20px;
    max-height: auto;
    height: max-content;
  }

  .hero-text-container {
    display: none;
    /* Hide hero text on mobile */
  }

  .hero-content {
    padding-top: 120px;
    /* More space for navbar */
    padding-bottom: 0;
    padding-inline: 20px;
    justify-content: center;
    /* Center the image */
  }

  .hero-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(15px);
  }

  .main-page .main-menu {
    padding: 15px 20px;
    background-color: transparent;
    backdrop-filter: none;
    border-radius: 0;
    justify-content: center;
    height: 60px;
    /* Fixed height for navbar */
  }

  .main-page .who-we-are {

    padding: 100px 0 100px;
  }

  .main-page .logo {
    width: 160px;
    position: relative;
    left: auto;
    transform: none;
    top: auto;
  }

  .mobile-menu-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  /* Hide desktop navigation on mobile */
  .desktop-nav {
    display: none;
  }

  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex;
  }

  .main-page .text-wrapper,
  .main-page .text-wrapper-28 {
    font-size: 24px;
  }

  .main-page .text-wrapper-12 {
    font-size: 24px;
    line-height: 35px;
    text-align: center;
    padding: 0 20px;
  }

  .main-page .group .div,
  .main-page .group .group-2,
  .main-page .group .group-3,
  .main-page .group .group-4,
  .main-page .group .group-5,
  .main-page .group .group-6,
  .main-page .group .group-7 {
    width: calc(50% - 10px);
    min-width: 140px;
    height: 220px;
  }

  .pillar-card {
    padding: 15px;
    gap: 10px;
  }

  .pillar-card img {
    width: 60px;
  }

  .pillar-card .content {
    font-size: 20px;
    line-height: 24px;
  }

  .pillar-card .text-wrapper-3 {
    font-size: 14px;
    line-height: 20px;
  }

  .main-page .p {
    font-size: 16px;
    line-height: 24px;
  }

  .main-page .text-wrapper-13 {
    font-size: 24px;
  }

  .main-page .text-wrapper-14 {
    font-size: 16px;
    white-space: normal;
    width: 100%;
    text-align: center;
  }

  .main-page .element-8 {
    width: 100%;
    min-width: 100%;
  }

  .service-item {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .services-container {
    gap: 40px;
  }

  .main-page .group-20 {
    content: url('images/Group 18-mobile.svg');
  }

  .main-page .text-wrapper-34,
  .main-page .text-wrapper-35,
  .main-page .text-wrapper-36 {
    font-size: 13px;
    line-height: 20px;
  }

  .main-page .element-9 {
    width: 100%;
    min-width: 100%;
  }

  .main-page .text-wrapper-21 {
    font-size: 24px;
  }

  /* Mobile Footer Design */
  .main-page .footer {
    background-color: #f3f3f3;
    width: 100%;
    padding: 60px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    order: 1;
  }

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

  .footer-logo-section .text-wrapper-38 {
    color: #707070;
    font-size: 16px;
    font-family: "Readex Pro", Helvetica;
    text-align: center;
    line-height: 1.4;
    margin: 0;
  }

  .footer-logo-section .text-wrapper-39 {
    color: #707070;
    font-size: 16px;
    font-family: "Readex Pro", Helvetica;
    text-align: center;
    margin: 10px 0;
  }

  .social-media {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 15px 0;
  }

  .social-media a img {
    width: 24px;
    height: 24px;
  }

  .footer-contact-section {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 0;
    box-shadow: none;
    order: 2;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    justify-content: center;
  }

  .contact-row .text-wrapper-40,
  .contact-row .text-wrapper-41 {
    color: #707070;
    font-size: 14px;
    font-family: "Readex Pro", Helvetica;
    direction: ltr;
  }

  .contact-row .web,
  .contact-row .email {
    width: 20px;
    height: 20px;
  }

  .footer-contact-section .text-wrapper-42 {
    background-color: #d94783;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-family: "Readex Pro", Helvetica;
    text-decoration: none;
    order: 3;
  }

  .footer-links-section {
    display: none;
  }

  .copy-right-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
  }

  .yoursitename {
    font-size: 12px;
    color: #999;
  }
}

@media screen and (max-width: 576px) {
  .main-page {
    height: max-content;
    max-height: auto;
  }

  .main-page .hero-section {
    height: max-content;
    max-height: 300px;
  }

  .hero-container {
    min-height: 540px;
  }

  .hero-text-container {
    display: none;
    /* Ensure hero text is hidden on smallest screens too */
  }

  .hero-content {
    padding-top: 20px;
    margin-top: 170px;
    /* Adjust for smaller screens */
  }

  .main-page .group {
    gap: 10px;
  }

  .services-container {
    gap: 10px;
  }

  /* Ensure mobile menu button is visible on smallest screens */
  .mobile-menu-btn {
    display: flex;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .desktop-nav {
    display: none;
  }

  .main-page .logo {
    width: 150px;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }

  .mobile-nav-link {
    font-size: 18px;
    padding: 12px 15px;
  }

  .mobile-menu-content {
    padding: 30px 20px;
  }

  .main-page .text-wrapper,
  .main-page .text-wrapper-11,
  .main-page .text-wrapper-13,
  .main-page .text-wrapper-21,
  .main-page .text-wrapper-28,
  .main-page .text-wrapper-33 {
    font-size: 20px;
  }

  .main-page .text-wrapper-12 {
    font-size: 18px;
    line-height: 28px;
  }

  .main-page .p,
  .main-page .text-wrapper-14,
  .main-page .text-wrapper-29 {
    font-size: 14px;
    line-height: 22px;
  }

  .main-page .group .div,
  .main-page .group .group-2,
  .main-page .group .group-3,
  .main-page .group .group-4,
  .main-page .group .group-5,
  .main-page .group .group-6,
  .main-page .group .group-7 {
    width: calc(50% - 8px);
    min-width: 120px;
    max-width: 160px;
    height: 200px;
  }

  .main-page .our-pilars {

    padding: 200px 0 150px 0;

  }

  .pillar-card {
    padding: 12px;
    gap: 8px;
  }

  .pillar-card img {
    width: 50px;
  }

  .pillar-card .content {
    font-size: 18px;
    line-height: 22px;
  }

  .main-page .service-item {
    font-size: 12px;
  }

  .pillar-card .text-wrapper-3 {
    font-size: 12px;
    line-height: 18px;
  }

  .main-page .rectangle-2 {
    width: 100%;
  }

  .main-page .content,
  .main-page .creativity,
  .main-page .community,
  .main-page .connectivity,
  .main-page .collaboration,
  .main-page .culture,
  .main-page .credibility {
    font-size: 22px;
  }

  .main-page .text-wrapper-3,
  .main-page .text-wrapper-4,
  .main-page .text-wrapper-5,
  .main-page .text-wrapper-6,
  .main-page .text-wrapper-7 {
    font-size: 15px;
  }
}

/* Additional overflow fixes */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}