* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.partner-section {
  background: linear-gradient(90deg, #780202 0%, #E42E00 100%);
  height: calc(100vh - 65px);
  position: relative;
}

.partner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(92, 0, 0, 0.75) 0%,
      rgba(92, 0, 0, 0.45) 40%,
      rgba(92, 0, 0, 0.1) 100%);
}

.partner-content {
  color: #fff;
}

.partner-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-content h1 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 18px;
}

.partner-content h1 span {
  font-weight: 400;
}

.partner-content p {
  font-size: 16px;
  color: #fff;
  max-width: 650px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.partner-content button {
  background: #fff;
  color: #8b0000;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.partner-content button:hover {
  transform: translateY(-2px);
  background: #f2f2f2;
}

.gxeco-partners {
  width: 100%;
  background: #ffffff;
  padding: 40px 80px;
}

.gxeco-partner-section {
  width: 100%;
  background: #f5f5f5;
  padding: 80px;
}

.gxeco-partner-section2 {
  width: 100%;
  background: #ffffff;
  padding: 80px;
}

.gxeco-top-brands {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.gxeco-top-brands img {
  max-height: 45px;
  object-fit: contain;
  opacity: 0.65;
  transition: 0.3s ease;
}

.gxeco-top-brands img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.gxeco-heading-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.gxeco-heading-wrap h2 {
  font-size: 42px;
  font-weight: 500;
  color: #111;
}

.gxeco-heading-wrap h2 span {
  color: #8f0000;
}

.gxeco-content-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 80px;
}

.gxeco-left-content {
  flex: 1;
  max-width: 520px;
}

.gxeco-icon-box {
  font-size: 46px;
  color: #8f0000;
  margin-bottom: 24px;
}

.gxeco-left-content h3 {
  font-size: 38px;
  font-weight: 500;
  color: #111;
  margin-bottom: 24px;
}

.gxeco-left-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  opacity: 0.7;
}

.gxeco-image-box {
  flex: 1;
  display: flex;
  justify-content: center;
}

.gxeco-image-box img {
  width: 100%;
  max-width: 600px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.gxeco-bottom-brands {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
}

.gxeco-bottom-brands img {
  max-height: 65px;
  object-fit: contain;
  transition: 0.3s ease;
}

.gxeco-bottom-brands img:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.careerfuture-section {
  width: 100%;
  background: #f5f5f5;
  padding: 80px;
}

.careerfuture-container {
  max-width: 1400px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.careerfuture-content {
  flex: 1;
  max-width: 560px;
}

.careerfuture-content h2 {
  font-size: 32px;
  font-weight: 500;
  color: #740F0F;
  margin-bottom: 28px;
}

.careerfuture-content p {
  font-size: 16px;
  color: #000000;
  margin-bottom: 38px;
}

.careerfuture-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: #8d0b02;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.careerfuture-btn:hover {
  background: #6f0801;
  transform: translateY(-2px);
}

.careerfuture-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.careerfuture-image img {
  width: 100%;
  max-width: 620px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.partner-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.partner-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.partner-modal-box {
  width: 100%;
  max-width: 1000px;
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  position: relative;
  animation: modalFade 0.35s ease;
}

.partner-modal-box.success-mode h2 {
  display: none;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.partner-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: none;
  background: transparent;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  color: #222;
}

.partner-modal-box h2 {
  text-align: center;
  font-size: 34px;
  font-weight: 500;
  color: #7c0000;
  margin-bottom: 30px;
}

.partner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}

.partner-form-group {
  display: flex;
  flex-direction: column;
}

.partner-form-group label {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  margin-bottom: 10px;
}

.partner-form-group label span {
  color: red;
}

.partner-form-group input,
.partner-form-group select {
  width: 100%;
  height: 56px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 16px;
  outline: none;
  background: #fff;
  transition: 0.3s ease;
}

.partner-form-group input:focus,
.partner-form-group select:focus {
  border-color: #8d0b02;
}

.partner-submit-wrap {
  text-align: center;
  margin-top: 45px;
}

.partner-submit-btn {
  border: none;
  background: #8d0b02;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
}

.partner-submit-btn:hover {
  background: #690700;
}

@media (max-width: 991px) {
  .partner-modal-box {
    padding: 35px 25px 40px;
  }

  .partner-modal-box h2 {
    font-size: 40px;
    margin-bottom: 35px;
  }

  .partner-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .partner-modal-box {
    padding: 30px 18px 35px;
  }

  .partner-modal-box h2 {
    font-size: 30px;
  }

  .partner-form-group input,
  .partner-form-group select {
    height: 50px;
    font-size: 14px;
  }

  .partner-submit-btn {
    width: 100%;
    font-size: 18px;
  }
}

/* =========================================================
   LARGE DEVICES (1200px and below)
========================================================= */

@media (max-width: 1200px) {

  .partner-content {
    margin-left: 40px;
  }

  .partner-content h1 {
    font-size: 42px;
  }

  .gxeco-partner-section,
  .gxeco-partner-section2,
  .careerfuture-section,
  .gxeco-partners {
    padding: 60px 40px;
  }

  .gxeco-content-wrap,
  .careerfuture-container {
    gap: 40px;
  }

  .gxeco-left-content h3 {
    font-size: 32px;
  }

}

/* =========================================================
   TABLETS (991px and below)
========================================================= */

@media (max-width: 991px) {

  /* NAVBAR */

  .navbar {
    padding: 14px 0;
  }

  .navbar-brand img {
    max-width: 150px;
  }

  .navbar-collapse {
    background: #fff;
    padding: 20px;
    margin-top: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .navbar-nav {
    align-items: flex-start !important;
    gap: 10px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 10px 0 !important;
  }

  .mega-menu {
    display: none !important;
  }

  /* HERO SECTION */

  .partner-section {
    min-height: 420px;
    background-position: center;
  }

  .partner-content {
    margin-left: 0;
    padding: 0 20px;
  }

  .partner-content h1 {
    font-size: 36px;
  }

  .partner-content p {
    max-width: 100%;
    font-size: 15px;
  }

  /* COMMON SECTION SPACING */

  .gxeco-partner-section,
  .gxeco-partner-section2,
  .careerfuture-section,
  .gxeco-partners {
    padding: 60px 20px;
  }

  /* ECOSYSTEM SECTION */

  .gxeco-heading-wrap {
    margin-bottom: 40px;
  }

  .gxeco-heading-wrap h2 {
    font-size: 32px;
  }

  .gxeco-content-wrap {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
  }

  .gxeco-partner-section2 .gxeco-content-wrap {
    flex-direction: column-reverse;
  }

  .gxeco-left-content {
    max-width: 100%;
    text-align: center;
  }

  .gxeco-left-content h3 {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .gxeco-icon-box {
    margin-bottom: 18px;
  }

  .gxeco-image-box img {
    max-width: 100%;
  }

  .gxeco-bottom-brands {
    justify-content: center;
    gap: 25px;
  }

  .gxeco-bottom-brands img {
    max-height: 55px;
  }

  /* CAREER SECTION */

  .careerfuture-container {
    flex-direction: column;
    gap: 40px;
  }

  .careerfuture-content {
    max-width: 100%;
    text-align: center;
  }

  .careerfuture-content h2 {
    font-size: 30px;
  }

  .careerfuture-content p {
    font-size: 15px;
  }

  .careerfuture-image {
    justify-content: center;
  }

  .careerfuture-image img {
    max-width: 100%;
  }

  /* FOOTER */

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 35px;
  }

}


/* =========================================================
   MOBILE DEVICES (767px and below)
========================================================= */

@media (max-width: 767px) {

  .p-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* HERO */

  .partner-section {
    min-height: 360px;
    align-items: center;
  }

  .partner-content h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .partner-content p {
    font-size: 14px;
    line-height: 1.7;
  }

  .partner-content button {
    padding: 12px 22px;
    font-size: 14px;
  }

  /* SECTION HEADINGS */

  .gxeco-heading-wrap h2 {
    font-size: 28px;
  }

  .gxeco-left-content h3 {
    font-size: 26px;
  }

  .careerfuture-content h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  /* TEXT */

  .gxeco-left-content p,
  .careerfuture-content p {
    font-size: 14px;
    line-height: 1.8;
  }

  /* LOGOS */

  .gxeco-bottom-brands {
    gap: 20px;
  }

  .gxeco-bottom-brands img {
    max-height: 42px;
  }

  /* IMAGES */

  .gxeco-image-box img,
  .careerfuture-image img {
    border-radius: 12px;
  }

  /* FOOTER */

  .footer-subscribe {
    flex-direction: column;
    gap: 15px;
  }

  .footer-subscribe input,
  .footer-subscribe button {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
  }

  .footer-column {
    width: 100%;
  }

  .footer-bottom {
    text-align: center;
    font-size: 13px;
    padding: 15px;
  }

}


/* =========================================================
   SMALL MOBILE DEVICES (575px and below)
========================================================= */

@media (max-width: 575px) {

  .partner-section {
    min-height: 320px;
  }

  .partner-content h1 {
    font-size: 26px;
  }

  .partner-content p {
    font-size: 13px;
  }

  .gxeco-heading-wrap h2 {
    font-size: 24px;
  }

  .gxeco-left-content h3,
  .careerfuture-content h2 {
    font-size: 22px;
  }

  .gxeco-left-content p,
  .careerfuture-content p {
    font-size: 13px;
  }

  .careerfuture-btn,
  .partner-content button {
    width: 100%;
    justify-content: center;
  }

  .gxeco-bottom-brands img {
    max-height: 36px;
  }

}

/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.partner-success-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  animation: modalFade 0.4s ease;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.success-icon-wrap svg {
  width: 40px;
  height: 40px;
  color: #2e7d32;
}

.partner-success-msg h3 {
  font-size: 28px;
  color: #111;
  margin-bottom: 12px;
  font-weight: 600;
}

.partner-success-msg p {
  font-size: 16px;
  color: #555;
  max-width: 400px;
  line-height: 1.5;
}