/* Reset and Base Styles */


/* Color Variables */
:root {
  --color-dark-blue: #001844;
  --color-brand-blue: #00a0db;
  --color-navy: #162356;
  --color-white: #ffffff;
  --shadow-main: -2px 14px 45px -16px rgba(0, 0, 0, 0.2);
}

#collaboration-section {
  max-width: 100%;
}
/* Typography */
.text-medium {
  font-weight: 500;
  color: var(--color-dark-blue);
}

.text-brand-blue {
  font-weight: 700;
  color: var(--color-brand-blue);
}

.text-dark-blue {
  font-weight: 700;
  color: var(--color-navy);
}

.text-white {
  color: var(--color-white);
}

.no-partner {
  text-align: center;
  padding-block: 60px;
  font-size: 28px;
  text-transform: capitalize;
  grid-column: span 2;
}
/* Buttons */
.btn {
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.button-group {
  background: url(../images/dot-bg.png) right center no-repeat;
}

.btn-primary {
  background-color: var(--color-brand-blue);
  color: var(--color-white);
}

  .btn-primary:hover {
    background-color: #0090c5;
  }

.btn-secondary {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
}

  .btn-secondary:hover {
    background-color: #001235;
  }

.btn-cta {
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  padding: 12px 19px;
}

  .btn-cta:hover {
    background-color: #0090c5;
  }

/* Engagement Models Section */
.engagement-section {
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-main);
  border-radius: 10px;
  overflow: hidden;
  border-bottom-right-radius: 100px;
  font-size: 0;
}

  .engagement-section img {
    scale: 1.01;
  }

.engagement-card {
  display: flex;
  position: relative;
}

.engagement-content {
  flex: 1;
  max-width: 718px;
  background-color: var(--color-white);
  padding: 32px;
}

.intro-text {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 48px;
}

.button-group {
  display: flex;
  gap: 24px;
}

.engagement-image {
  position: relative;
  flex: 0 0 440px;
  height: 100%;
  margin-left: auto;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-overlay {
  position: absolute;
  top: 70px;
  left: 149px;
}

.logo-large {
  width: 153px;
  height: 70px;
}

.union-bottom {
  position: absolute;
  bottom: 29px;
  left: -30px;
}

.union-img {
  width: 120px;
  height: 35px;
}

/* Collaboration Section */
.collaboration-section {
  width: 100%;
  max-width: 1113px;
  padding: 48px 0;
  margin: 0 auto;
}

.collaboration-container {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}


.collaboration-card {
  position: relative;
  width: 100%;
  background: url(../images/dot-bg.png) no-repeat left 30px top 30px;
  background-color: var(--color-white);
  border-radius: 10px 10px 100px 10px;
  box-shadow: var(--shadow-main);
  padding: 60px 40px;
  text-align: center;
}

  .collaboration-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 42px;
    height: 30px;
    background: url(../images/bars-bg.png) no-repeat center center / cover;
  }

.union-top-left {
  position: absolute;
  top: 20px;
  left: 20px;
}



.union-bottom-right {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.union-small {
  width: 42px;
  height: 30px;
}

.collaboration-right {
  flex: 1;
  max-width: 60%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: auto;
}

.collaboration-left {
  max-width: 40%;
}

.collaboration-point {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-dark-blue);
}

.point-title {
  font-weight: 600;
}

.point-content {
  font-weight: 500;
}

.collaboration-bottom {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-dark-blue);
}

/* Partnership Section */
.partner-banner {
  margin-bottom: 30px;
}

.partnership-section {
  width: 100%;
}

.partnership-card {
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-main);
  padding: 0;
  position: relative;
}

.partnership-content {
  display: flex;
  width: 100%;
  min-height: 400px;
}

.partnership-left,
.partnership-right {
  padding: 40px;
  flex: 1;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark-blue);
  line-height: 30px;
  margin-bottom: 16px;
}

.engagement-models,
.benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-item,
.benefit-item {
  margin-bottom: 16px;
}

.model-title,
.benefit-title {
  font-weight: 700;
  color: var(--color-brand-blue);
  font-size: 17px;
  line-height: 30px;
}

.model-content,
.benefit-content {
  font-weight: 500;
  color: var(--color-dark-blue);
  font-size: 18px;
  line-height: 30px;
}

.partnership-logo {
  padding: 40px;
  padding-top: 0;
}

/* Benefits Section */
.benefits-section {
  position: relative;
  width: 100%;
  padding: 64px 0;
  display: flex;
  justify-content: center;
}

.benefits-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.benefits-text {
  flex: 1;
  max-width: 522px;
}

.benefits-title {
  font-weight: 700;
  color: var(--color-dark-blue);
  font-size: 20px;
  margin-bottom: 16px;
}

.benefits-paragraph {
  font-weight: 500;
  color: var(--color-dark-blue);
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 16px;
}

  .benefits-paragraph.highlight {
    line-height: 40px;
    margin-bottom: 8px;
  }

.brand-name .text-brand-blue {
  font-size: 17px;
}

.brand-name .text-dark-blue {
  font-size: 17px;
}

.benefits-image-card {
  position: relative;
  background: url(../images/dot-bg.png) right 20px top 20px no-repeat;
  background-color: var(--color-white);
  border-radius: 10px 10px 10px 100px;
  box-shadow: var(--shadow-main);
  padding: 60px 40px;
  text-align: center;
  position: relative;
}

  .benefits-image-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 30px;
    background: url(../images/bars-bg.png) no-repeat center center/cover;
  }

.union-top-right {
  position: absolute;
  top: 30px;
  right: 30px;
}



.partnership-img {
  width: 419px;
  height: 420px;
  object-fit: cover;
}

.union-bottom-left {
  position: absolute;
  bottom: 18px;
  left: 0;
}

/* Call to Action Section */
.cta-section {
  width: 100%;
}

.cta-card {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  background: linear-gradient(135deg, #063998 0%, #001844 50%), linear-gradient(225deg, #063998 0%, #001844 50%), linear-gradient(315deg, #063998 0%, #001844 50%), linear-gradient(45deg, #063998 0%, #001844 50%);
  background-size: 50% 50%;
  background-position: top right, bottom left, top left, bottom right;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.union-top-left-cta {
  position: absolute;
  top: 12px;
  left: 12px;
}

.union-cta {
  width: 86px;
  height: 25px;
}

.cta-logo-center {
  position: absolute;
  top: 115px;
  left: 88px;
}

.cta-text-section {
  position: absolute;
  top: 55px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  max-width: 400px;
}

.cta-title {
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
}

.cta-image {
  position: absolute;
  right: 0;
  top: 19px;
  width: 386px;
  height: 281px;
}

.cta-people {
  position: absolute;
  right: 0;
  top: 0;
  width: 312px;
  height: 281px;
  object-fit: cover;
}

.union-cta-image {
  position: absolute;
  bottom: 20px;
  left: 0;
}

.cta-decorative-circles {
  position: absolute;
  bottom: 20px;
  left: 12px;
  width: 45px;
  height: 38px;
}

.circle {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 78, 222, 0.75) 0%, rgba(0, 24, 68, 0.75) 50%);
}

.circle-1 {
  top: 1px;
  left: 6px;
}

.circle-2 {
  top: 19px;
  left: 0;
  opacity: 0.5;
}

.circle-3 {
  top: 14px;
  left: 13px;
  opacity: 0.2;
}

.footer-cta {
  margin-block: 40px;
}

  .footer-cta img {
    width: 100%;
  }
/* Responsive Design */
@media (max-width: 1200px) {
  .page-body .container {
    max-width: 100%;
    padding: 32px 16px;
  }



  .partnership-content {
    flex-direction: column;
  }

  .partnership-left,
  .partnership-right {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .collaboration-left,
  .collaboration-right {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .benefits-text,
  .benefits-image-card {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .collaboration-container {
    flex-direction: column;
    gap: 32px;
    padding-inline: 15px;
  }

  .benefits-container {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .benefits-section {
    padding-inline: 15px;
  }

  .collaboration-bottom {
    padding-inline: 15px;
  }

  .engagement-card {
    flex-direction: column-reverse;
  }

  .engagement-content {
    flex: none;
    max-width: none;
  }

  .engagement-section {
    border-radius: 10px;
  }

  .engagement-image {
    flex: none;
    width: 100%;
  }

  .button-group {
    flex-direction: column;
    gap: 16px;
    background: none;
  }


  .team-image {
    width: 100%;
  }

  .partnership-left,
  .partnership-right {
    padding: 20px;
  }

  .benefits-image-card {
    height: 400px;
  }

  .partnership-img {
    width: 300px;
    height: 300px;
    left: 30px;
  }

  .cta-text-section {
    position: relative;
    top: 20px;
    left: 20px;
    max-width: calc(100% - 40px);
  }

  .cta-image {
    position: relative;
    width: 100%;
    height: 200px;
    top: 20px;
  }

  .cta-people {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-body .container {
    padding: 16px 8px;
  }

  .engagement-content {
    padding: 20px;
  }

  .engagement-image {
    height: 250px;
  }

  .intro-text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
  }

  .btn {
    font-size: 16px;
    padding: 10px 20px;
    text-align: center;
  }

  .collaboration-point,
  .collaboration-bottom {
    font-size: 15px;
    line-height: 24px;
  }

  .section-title {
    font-size: 18px;
  }

  .model-title,
  .benefit-title,
  .model-content,
  .benefit-content {
    font-size: 15px;
    line-height: 24px;
  }

  .benefits-title {
    font-size: 18px;
  }

  .benefits-paragraph {
    font-size: 15px;
    line-height: 24px;
  }

  .cta-title {
    font-size: 20px;
    line-height: 28px;
  }

  .cta-text-section {
    left: 16px;
    max-width: calc(100% - 32px);
  }

  .logo-overlay {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
  }

  .cta-logo-center {
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.partners {
  margin-block: 30px;
}

  .partners .partner-card {
    box-shadow: -2px 14px 45px -16px rgba(0, 0, 0, 0.2);
    background: #fff;
    padding: 30px 25px;
    margin-bottom: 30px;
  }

  .partners .partner-card .logo-title {
    margin-bottom: 25px;
    max-width: 200px;
    height: 80px;
    background: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .partners .partner-card .logo-title img {
    width: 200px;
    height: 80px;
    background: #fff;
    object-fit: contain;
    padding: 10px;
    object-position: left;
  }
  .partners .partner-card .tagline {
    margin-bottom: 15px;
    color: #00A0DB;
    font-size: 18px;
  }

    .partners .partner-card p {
      margin-bottom: 15px;
      font-size: 16px;
      line-height: 1.5;
    }

    .partners .partner-card .partner-url {
      margin-top: 30px;
    }

      .partners .partner-card .partner-url a {
        font-size: 18px;
        color: #00A0DB;
        font-weight: 700;
      }

  .partners .pagination {
    width: 100%;
    grid-column: span 2;
  }

.partner-container {
  margin-block: 40px;
  box-shadow: -2px 14px 45px -16px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

  .partner-container form {
    padding: clamp(15px, 3vw, 30px);
  }

.partner-sidebanner {
  display: none;
}

.custom-file-input {
  position: relative;
}

  .custom-file-input label {
    display: block;
    text-align: center;
    padding: 20px 30px;
    text-align: center;
    border: 1px dashed #ccc;
  }

    .custom-file-input label .green {
      display: block;
      color: #00A0DB;
    }

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.custom-file-input img {
  display: none;
  width: auto;
  max-width: 200px; /* adjust as needed */
  margin-top: 15px;
}

.sidebar-banner {
  display: none;
}

.partner-form .buttons {
  margin-top: 15px;
  background: url(../images/dot-bg.png) right center no-repeat;
}

  .partner-form .buttons button {
    color: #fff;
    background: #00A0DB;
    padding: 15px 35px;
    line-height: 1;
    border-radius: 4px;
    font-size: 18px;
  }

@media (min-width: 992px) {
  .partners {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar-banner {
    display: block;
    position: relative;
  }

  .partner-sidebanner {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    max-width: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .benefits-image-card,
  .benefits-text {
    max-width: calc(50% - 20px);
    width: 100%;
  }
}

.custom-file-input label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.custom-file-input span {
  margin: 5px 0;
}

.custom-file-input img {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  background: #f9f9f9;
}

.section-label {
  background-color: #eeeff4;
  border-radius: 6px;
  padding: 10px 13px;
  font-weight: bold;
  font-size: 18px;
  color: #000;
  display: inline-block;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 20px;
}

.preview-wrapper {
  position: relative;
  display: inline-block;
  margin: 10px auto 0 auto;
}

.preview-wrapper img {
  max-height: 150px;
  display: block;
  max-width: 280px;
  border-radius: 5px;
  object-fit: contain;
}
.html-partner-page .result {
    margin-block: 40px;
}
.html-partner-page .result h1 {
    font-size: clamp(18px , 2vw , 28px)
}
.html-partner-page .result h3 {
  max-width: 600px;
  margin: 30px auto;
  color: var(--color-dark-blue);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.5px;
  font-size: clamp(16px, 1.6vw, 22px);
}
.html-partner-page  textarea {
    resize: none;
}
.html-partner-page  .hints {
  font-size: 14px;
  font-weight: 300;
  display: block;
  margin-block: 4px;
}
.html-partner-page .result img {
    max-width: 400px;
    width: 100%;
}
.remove-icon {
  position: absolute;
  top: -10px;
  left: 100%;
  right: 5px;
  background: rgba(220, 53, 69, 0.8);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  line-height: 24px;
  text-align: center;
  font-size: 20px;
  font-weight: lighter;
}

.partner-container textarea {
  margin-top: 0;
}
.partner-site {
    display: flex;
    align-items: center;
}
.partner-site a {
    text-decoration: none;
}
.partner-site .label {
    font-weight: bold;
}