/* =========================================================
   media-partner.css
   Page-specific styles for /media-partner

   Restyled to match mumbai.animazegraphic.com. The class names
   are unchanged from the expo2027 version, so media-partner.php
   needs no edits — only the visual language has been swapped:

     fonts     Open Sans (body) + Roboto (headings/buttons),
               the two families header.php already loads
     buttons   .btn.btn-primary gradient, pill shape, 0.5s hover
               that reverses the gradient  (#63005d -> #01316f)
     surfaces  .bg-light #f7fafb  /  .bg-dark #01253f
     accent    --bs-primary #44d2f6
     cards     white, 10px radius, image scale(1.2) on hover,
               matching .serices-1-item on the homepage
   ========================================================= */

.media-partner-page,
.partner-hero,
.partnership-section,
.who-section,
.glow-section,
.benefits-section,
.cta-section,
.media-form-section {
  font-family: 'Open Sans', sans-serif;
}

.partnership-title,
.who-title,
.glow-section-title,
.benefits-title,
.form-header h2,
.partner-hero h1,
.cta-card h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Shared button — mirrors .btn.btn-primary from core.css */
.hero-apply-btn,
.partnership-btn,
.who-btn a,
.cta-btn,
.submit-btn {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .3px;
  color: #fff;
  background: linear-gradient(to right, #63005d, #01316f);
  border: none;
  border-radius: 50rem;
  padding: 16px 42px;
  text-decoration: none;
  cursor: pointer;
  transition: .5s;
}

.hero-apply-btn:hover,
.partnership-btn:hover,
.who-btn a:hover,
.cta-btn:hover,
.submit-btn:hover {
  background: linear-gradient(to right, #01316f, #63005d);
  color: #f7fafb;
}

.submit-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

/*==========================================
  HERO
==========================================*/
.partner-hero {
  position: relative;
  background: url("/img/mediapartner (3).webp") center center / cover no-repeat;
  padding: 110px 20px;
  overflow: hidden;
}

.partner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 37, 63, .93), rgba(16, 33, 71, .82));
}

.partner-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-content h1 {
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.partner-content h2 {
  color: var(--bs-primary, #44d2f6);
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 22px;
}

.partner-content p {
  color: #dfe7ee;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.partner-content .hero-apply-btn {
  margin-top: 18px;
}

.hero-apply-btn i {
  margin-left: 8px;
}

/*==========================================
  POWER YOUR INFLUENCE  (light)
==========================================*/
.partnership-section {
  background: #f7fafb;
  padding: 70px 20px;
}

.partnership-container {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.partnership-title,
.benefits-title {
  color: #0A1650;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  margin-bottom: 40px;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 44px;
  text-align: left;
}

.partners-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(1, 37, 63, .08);
  transition: .5s;
}

.partners-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(1, 37, 63, .16);
}

.partners-img {
  overflow: hidden;
}

.partners-img img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: .5s;
}

.partners-card:hover .partners-img img {
  transform: scale(1.2);
}

.partners-body {
  padding: 22px 24px 28px;
}

.partners-body h4 {
  font-family: 'Roboto', sans-serif;
  color: #0A1650;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 10px;
}

.partners-body p {
  color: #55636f;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

/*==========================================
  WHO CAN JOIN  (dark)
==========================================*/
.who-section {
  position: relative;
  background: url("/img/media-partner/visit.webp") center center / cover no-repeat;
  padding: 70px 20px;
  overflow: hidden;
}

.who-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 37, 63, .92);
}

.who-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
}

.who-title {
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  text-align: center;
  margin-bottom: 14px;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.who-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(68, 210, 246, .18);
  border-radius: 10px;
  padding: 30px 26px;
  transition: .5s;
}

.who-card:hover {
  background: rgba(68, 210, 246, .1);
  border-color: var(--bs-primary, #44d2f6);
  transform: translateY(-6px);
}

.who-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(to right, #63005d, #01316f);
  color: #fff;
  font-size: 24px;
  margin-bottom: 18px;
}

.who-card h4 {
  font-family: 'Roboto', sans-serif;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 10px;
}

.who-card p {
  color: #c5d3df;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.who-btn {
  text-align: center;
}

/*==========================================
  WHAT CAN YOU CREATE  (dark)
==========================================*/
.glow-section {
  background: #01253f;
  padding: 70px 20px;
}

.glow-container {
  max-width: 1100px;
  margin: 0 auto;
}

.glow-section-title {
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  text-align: center;
  margin-bottom: 14px;
}

.create-tags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.create-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(68, 210, 246, .25);
  border-radius: 50rem;
  color: #e4edf4;
  font-size: 15px;
  padding: 11px 22px;
  transition: .5s;
}

.create-tag:hover {
  background: linear-gradient(to right, #63005d, #01316f);
  border-color: transparent;
  color: #fff;
}

.create-tag i {
  color: var(--bs-primary, #44d2f6);
  transition: .5s;
}

.create-tag:hover i {
  color: #fff;
}

/*==========================================
  WHAT YOU GET  (light)
==========================================*/
.benefits-section {
  background: #f7fafb;
  padding: 70px 20px;
}

.benefits-container {
  max-width: 1240px;
  margin: 0 auto;
}

.benefits-title {
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  display: flex;
  gap: 18px;
  background: #fff;
  border-radius: 10px;
  padding: 28px 26px;
  box-shadow: 0 4px 18px rgba(1, 37, 63, .08);
  transition: .5s;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(1, 37, 63, .16);
}

.benefit-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(to right, #63005d, #01316f);
  color: #fff;
  font-size: 21px;
}

.benefit-content h3 {
  font-family: 'Roboto', sans-serif;
  color: #0A1650;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 8px;
}

.benefit-content p {
  color: #55636f;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

/*==========================================
  WHY AUTOMATION EXPO  (light)
==========================================*/
.cta-section {
  background: #fff;
  padding: 70px 20px;
}

.cta-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.cta-card {
  background: #f7fafb;
  border: 1px solid #e3ecf2;
  border-left: 4px solid var(--bs-primary, #44d2f6);
  border-radius: 10px;
  padding: 36px 34px;
}

.cta-card h2 {
  color: #0A1650;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.cta-card p {
  color: #55636f;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.cta-card .cta-btn {
  margin-top: 12px;
}

/*==========================================
  APPLICATION FORM  (dark, matches .bg-dark)
==========================================*/
.media-form-section {
  background: #01253f;
  padding: 70px 20px;
}

.media-form-container {
  max-width: 940px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 34px;
}

.form-header h2 {
  color: #fff;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.form-header p {
  color: #b9c9d6;
  font-size: 16px;
  margin: 0;
}

.media-form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(68, 210, 246, .16);
  border-radius: 10px;
  padding: 36px 34px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  margin-bottom: 20px;
}

/* ---------------------------------------------------------
   BOOTSTRAP COMPATIBILITY
   expo2027 does not load Bootstrap on this page; mumbai does,
   site-wide, from includes/header.php. Bootstrap defines
   .input-group as a horizontal flex row, which would lay the
   label and field side by side instead of stacked. Scoped to
   .media-form so it outranks Bootstrap's bare .input-group
   without affecting any other page.
   --------------------------------------------------------- */
.media-form .input-group {
  position: static;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.media-form .input-group > .form-control,
.media-form .input-group > .form-select {
  position: static;
  flex: 0 0 auto;
  width: 100%;
}

.media-form .input-group.full-width {
  margin-bottom: 20px;
}

.media-form .input-group label {
  color: #dbe6ef;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.media-form .input-group label span {
  color: #ff4d6d;
  margin-left: 3px;
}

.media-form input,
.media-form select,
.media-form textarea {
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #fff;
  background: #012f4f;
  border: 1px solid #17456b;
  border-radius: 8px;
  padding: 15px 18px;
  transition: .5s;
}

.media-form input::placeholder,
.media-form textarea::placeholder {
  color: #7b8c9c;
}

.media-form input:focus,
.media-form select:focus,
.media-form textarea:focus {
  outline: none;
  border-color: var(--bs-primary, #44d2f6);
  box-shadow: 0 0 0 3px rgba(68, 210, 246, .16);
}

.media-form textarea {
  resize: vertical;
  min-height: 110px;
}

/* Custom dropdown */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.select-wrapper i {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--bs-primary, #44d2f6);
  pointer-events: none;
  font-size: 14px;
}

.select-wrapper select option {
  background: #01253f;
  color: #fff;
}

/* Info note */
.form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(68, 210, 246, .08);
  border-left: 3px solid var(--bs-primary, #44d2f6);
  border-radius: 6px;
  color: #c5d3df;
  font-size: 14px;
  line-height: 1.6;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.form-note i {
  color: var(--bs-primary, #44d2f6);
  margin-top: 2px;
}

.submit-btn {
  width: 100%;
  padding: 17px 42px;
  font-size: 16px;
  letter-spacing: 1px;
}

/*==========================================
  PHONE FIELD (intl-tel-input)
==========================================*/
.media-form .iti {
  width: 100%;
}

.media-form .iti__selected-dial-code,
.media-form .iti__selected-country .iti__dial-code {
  color: #dbe6ef;
}

.media-form .iti__selected-country {
  background: transparent;
  border-radius: 8px 0 0 8px;
}

.media-form .iti__selected-country:hover,
.media-form .iti__selected-country[aria-expanded="true"] {
  background: rgba(68, 210, 246, .1);
}

.media-form .iti__dropdown-content {
  background: #012f4f;
  border: 1px solid #17456b;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

/* Left padding must clear the magnifier icon intl-tel-input v25
   renders inside this field. A plain "12px 14px" shorthand wipes
   out the reserved space and the placeholder sits on the icon. */
.media-form .iti__search-input {
  background: #01253f;
  border: none;
  border-bottom: 1px solid #17456b;
  border-radius: 8px 8px 0 0;
  color: #fff;
  padding: 13px 14px 13px 44px;
  font-size: 15px;
}

.media-form .iti__search-input::placeholder {
  color: #7b8c9c;
}

.media-form .iti__country-list {
  background: #012f4f;
}

.media-form .iti__country {
  color: #dbe6ef;
  padding: 10px 12px;
}

.media-form .iti__country.iti__highlight,
.media-form .iti__country:hover {
  background: rgba(68, 210, 246, .12);
}

.media-form .iti__dial-code {
  color: #8fa3b5;
}

/* Invalid number state */
.media-form input.is-invalid-phone {
  border-color: #ff4d6d;
}

.phone-error {
  display: none;
  color: #ff8fa3;
  font-size: 13px;
  margin-top: 7px;
}

.phone-error.show {
  display: block;
}

/* Animation for the "Other" input box */
#mediaTypeOther,
#primaryPlatformOther {
  animation: mpSlideDown .3s ease;
}

@keyframes mpSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/*==========================================
  HONEYPOT + STATUS MESSAGE
  On expo2027 these live in that site's menu.css, which loads
  everywhere. Mumbai's menu.css is a different file and has
  neither, so without this the honeypot renders as a visible
  text box at the top of the form.
==========================================*/

/* Must stay invisible. If a real person types in it, the backend
   treats the submission as a bot and silently drops it. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.enquiry-msg {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.enquiry-msg.is-ok {
  color: #0d5c1e;
  background: #e4f8e8;
  border: 1px solid #9fdcaa;
}

.enquiry-msg.is-error {
  color: #8a1408;
  background: #fdeae8;
  border: 1px solid #f3b5ad;
}

/*==========================================
  RESPONSIVE
==========================================*/
@media (max-width: 1199px) {
  .partnership-grid,
  .who-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .partner-hero { padding: 80px 18px; }
  .partner-content h2 { font-size: 18px; }
  .cta-container { grid-template-columns: 1fr; }
  .partnership-section,
  .who-section,
  .glow-section,
  .benefits-section,
  .cta-section,
  .media-form-section { padding: 55px 18px; }
}

@media (max-width: 767px) {
  .partnership-grid,
  .who-grid,
  .benefits-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .media-form { padding: 26px 20px; }
  .cta-card { padding: 28px 24px; }
  .partners-img img { height: 190px; }
  .create-tag { font-size: 14px; padding: 10px 18px; }

  /* card titles step down, matching .pbmit-element-title in index.css */
  .partners-body h4,
  .who-card h4,
  .benefit-content h3 { font-size: 18px; line-height: 24px; }
  .cta-card h2 { font-size: 22px; }

  /* 16px stops iOS Safari zooming the page on focus */
  .media-form input,
  .media-form select,
  .media-form textarea { font-size: 16px; }
  .media-form .iti__search-input { font-size: 16px; padding: 12px 12px 12px 42px; }

  .hero-apply-btn,
  .partnership-btn,
  .who-btn a,
  .cta-btn { padding: 14px 32px; font-size: 15px; }
}