/* =====================
   FORM INPUTS
===================== */
.form_input {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  background: #f5f5f5;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form_input::placeholder {
  color: #aaa;
}

.form_input:hover {
  border-color: #bbb;
}

.form_input:focus {
  border-color: #4f8cff;
  background: #fff;
  outline: none;
  box-shadow: none; /* removes any lingering focus ring */
}

/* after blur — reset to normal (no highlight stays) */
.form_input:not(:focus) {
  border-color: #e0e0e0;
  background: #f5f5f5;
  box-shadow: none;
}

.form_input.error {
  border-color: #e53935;
  background: #fff5f5;
}

/* Select arrow */
.form_input.is-select-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('../images/chevron-down.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}


/* =====================
   FORM BUTTON
===================== */
.form-btn {
  border-radius: 12px;
  padding: 13px;
  font-weight: 600;
  background: linear-gradient(90deg, #4f8cff, #6ea8ff);
  color: #fff;
  transition: all 0.2s ease;
  width: 100%;
  border: none;
  cursor: pointer;
}

.form-btn:disabled {
  background: #cfd8dc;
  cursor: not-allowed;
  opacity: 0.7;
}

/* =========================
   FOOTER LINK COLOR FIX
   (Footer has dark background; ensure links render white)
========================= */
.footer11_component .footer11_menu-address a.text-size-small,
.footer11_component .footer11_menu-address a.text-size-small:visited {
  color: #ffffff;
}

.footer11_component .footer11_menu-address a.text-size-small:hover,
.footer11_component .footer11_menu-address a.text-size-small:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}


/* =====================
   CHECKBOX
===================== */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #333;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-checkbox input:checked + .checkmark {
  background: #000;
  border-color: #000;
}

.custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* =====================
   PHONE GROUP
===================== */
.phone-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-group .select2-container {
  width: 110px !important;
  flex: 0 0 110px !important;
}

.phone-number {
  flex: 1;
  min-width: 0;
}


/* =====================
   SELECT2
===================== */
.select2-container--default .select2-selection--single {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  padding: 0 12px;
  box-shadow: none;
}

.select2-selection__rendered {
  line-height: normal !important;
  padding-left: 0 !important;
  font-size: 14px;
  color: #333;
}

.select2-selection__arrow {
  height: 100% !important;
  right: 10px !important;
}

.select2-selection__arrow b {
  border-color: #666 transparent transparent transparent !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #4f8cff;
  background: #fff;
}

.select2-dropdown {
  border-radius: 10px;
  border: 1px solid #ddd;
  top: 100% !important;
  margin-top: 4px;
}

.select2-results__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  font-size: 14px;
}

.select2-results__option img,
.select2-selection__rendered img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 6px;
}

.select2-results__option--highlighted {
  background: #4f8cff !important;
  color: #fff;
}

.select2-search--dropdown {
  padding: 8px;
}

.select2-search__field {
  border-radius: 6px !important;
  border: 1px solid #ddd !important;
  padding: 6px !important;
  font-size: 13px;
}

.select2-container {
  z-index: 9999;
}

.select2-container--open .select2-dropdown {
  width: 110px !important;
  min-width: 110px !important;
}


/* =====================
   LAYOUT HELPERS
===================== */
.hero-aipmc-grid {
  align-items: center;
}

.div-block-37 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form_message-success-wrapper,
.form_message-error-wrapper {
  display: none;
}
.aipmc_signup-form {
    grid-column-gap: 2rem;
    grid-row-gap: 1rem!important;
    background-color: var(--_primitives---neutrals--white);
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    flex-flow: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    padding: 20px 24px;
    display: flex;
    box-shadow: 8px 8px 16px #0000000a;
}
/* =====================
   TRUST / STATS BAR
===================== */
.event-detail-card-list {
  grid-template-columns: 1fr 1fr 1fr 1fr; /* equal columns — overrides webflow's 1fr 1fr 1fr 2fr */
  align-items: center;
}
 
.event-detail-card {
  padding-right: 2rem;
}
 
.event-detail-card p {
  margin: 0;
  white-space: nowrap; /* prevent text wrapping mid-label */
}

/* =====================
   ABOUT SECTION
===================== */
.aipmc-about-grid {
  align-items: center; /* vertically center text column with image */
}
 
.aipmc-about-grid > div:first-child img {
  border-radius: 20px;
  width: 100%;
  display: block;
}
 


/* =====================
   AIPMC POPUP - PROFESSIONAL DESIGN (without select2)
   Add/Replace these styles in aipmc-signup.css
===================== */

/* Overlay with blur backdrop */
.aipmc-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Popup Container */
.aipmc-popup-box {
  background: #ffffff;
  width: 90%;
  max-width: 520px;
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: popupSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  padding: 28px 30px 36px;
  box-sizing: border-box;
}

@keyframes popupSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Close Button */
.aipmc-popup-overlay .popup-close {
  position: absolute;
  top: 20px!important;
  right: 24px!important;
  width: 32px!important;
  height: 32px!important;
  border-radius: 50%!important;
  background: #f0f2f5!important;
  border: none;
  font-size: 18px!important;
  font-weight: 400!important;
  color: #2c3e50!important;
  cursor: pointer!important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
}

.aipmc-popup-overlay .popup-close:hover {
  background: #e4e6e9!important;
  transform: rotate(90deg)!important;
  color: #000!important;
}

/* Title */
.popup-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-align: center;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #1a2a3a, #0f1a24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.popup-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4f8cff, #6ea8ff);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Form Container */
.aipmc-popup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

/* Inputs & Selects - consistent with main form */
.aipmc-popup-form input,
.aipmc-popup-form select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #f8f9fc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  transition: all 0.2s ease;
  color: #1e293b;
  box-sizing: border-box;
}

.aipmc-popup-form input:focus,
.aipmc-popup-form select:focus {
  outline: none;
  border-color: #4f8cff;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.1);
}

.aipmc-popup-form input:hover,
.aipmc-popup-form select:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.aipmc-popup-form input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* Two-column row */
.form-row {
  display: flex;
  gap: 14px;
}

.form-row input {
  flex: 1;
}

/* Phone row with country select & phone input */
.phone-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.phone-row select {
  flex: 0 0 100px;          
  width: 100px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  padding-right: 28px;
  font-size: 14px;
}

.phone-row input {
  flex: 1;
}

/* Experience select */
.aipmc-popup-form select:not(.phone-row select) {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234f8cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

/* Checkbox - modern */
.aipmc-popup-form .checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 8px;
  cursor: pointer;
  font-size: 13px;
  color: #475569;
}

.aipmc-popup-form .checkbox-wrap input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #4f8cff;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 4px;
}

.aipmc-popup-form .checkbox-wrap span {
  line-height: 1.4;
  user-select: none;
}

.aipmc-popup-form .checkbox-wrap a {
  color: #4f8cff;
  text-decoration: none;
  font-weight: 500;
}

.aipmc-popup-form .checkbox-wrap a:hover {
  text-decoration: underline;
}

/* Submit Button - matches main form gradient */
.popup-submit-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(90deg, #4f8cff, #6ea8ff);
  border: none;
  border-radius: 40px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
  box-shadow: 0 4px 10px rgba(79, 140, 255, 0.3);
}

.popup-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 140, 255, 0.4);
  background: linear-gradient(90deg, #3a7bff, #5c9cff);
}

.popup-submit-btn:active {
  transform: translateY(1px);
}

/* Responsive adjustments */
@media (max-width: 540px) {
  .aipmc-popup-box {
    width: 92%;
    padding: 24px 20px 28px;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .popup-title {
    font-size: 24px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .phone-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .phone-row select {
    width: 100%;
  }
  
  .popup-close {
    top: 16px;
    right: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
}


.aipmc-popup-form .select2-container {
  width: 28% !important;
  min-width: 80px;
  max-width: 95px;
  flex: 0 0 28% !important;
}

.btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #1e293b;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.custom-alert.show {
  opacity: 1;
  transform: translateY(0);
}

.custom-alert.success {
  background: #16a34a;
}

.custom-alert.error {
  background: #dc2626;
}


/* =========================
   HERO TOP RED BADGE
========================= */
.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ff4d4d, #ff2d2d);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}


/* =====================
   WHY AIPMC SECTION
===================== */
.section-why-aipmc {
  background: #ffffff;
}
 
.why-aipmc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
 
.why-aipmc-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px;
  border: 1.5px solid #eaeef6;
  border-radius: 20px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
 
/* Left accent bar */
.why-aipmc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #0055d4, #4f8cff);
  transition: height 0.3s ease, top 0.3s ease;
}
 
.why-aipmc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 85, 212, 0.1);
  border-color: #c4d8ff;
}
 
.why-aipmc-card:hover::before {
  top: 0;
  height: 100%;
  border-radius: 0;
}
 
/* Icon */
.why-card-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0055d4, #4f8cff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 85, 212, 0.25);
  margin-top: 2px;
}
 
/* Text */
.why-card-body {
  flex: 1;
}
 
.why-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0d1f3c;
  margin-bottom: 6px;
  line-height: 1.3;
}
 
.why-card-text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}
 
/* CTA row */
.why-aipmc-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
 
/* Responsive */
@media (max-width: 768px) {
  .why-aipmc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* Carousel Styles – only for the grid and sliding */
  .carousel-wrapper {
    position: relative;
    margin-top: 2rem;
  }

  .carousel-container {
    overflow: hidden;
    margin: 0 auto;
    padding: 0 2.5rem;
  }

  .carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }

  .project-card {
    flex: 0 0 calc((100% - 4rem) / 3); /* 3 cards on desktop */
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
  }

  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
    border-color: #cbdff0;
  }

  .project-emoji {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 1.25rem;
    background: #f0f6fe;
    border-radius: 20px;
    padding: 12px;
  }

  .project-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.5rem 0 0.75rem;
    color: #0b2b44;
    line-height: 1.3;
  }

  .project-desc {
    font-size: 0.95rem;
    color: #2c3e50;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  /* Navigation Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-btn:hover {
    background: #f0f6fe;
    border-color: #1e5f9e;
    color: #1e5f9e;
  }

  .prev-btn {
    left: 0;
  }

  .next-btn {
    right: 0;
  }

  /* Dots */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
  }

  .dot.active {
    background: #1e5f9e;
    width: 24px;
    border-radius: 8px;
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .project-card {
      flex: 0 0 calc((100% - 2rem) / 2);
    }
    .carousel-container {
      padding: 0 2rem;
    }
  }

  @media (max-width: 640px) {
    .project-card {
      flex: 0 0 100%;
    }
    .carousel-container {
      padding: 0 1.5rem;
    }
    .carousel-btn {
      width: 36px;
      height: 36px;
      font-size: 1.6rem;
    }
  }

    /* Shimmer effect for loading */
        .shimmer {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 12px;
            height: 80px;
            margin: 16px 0;
        }
        @keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        .load-more-container {
            text-align: center;
            margin-top: 30px;
        }
        .load-more-btn {
            background: linear-gradient(90deg, #4f8cff, #6ea8ff);
            color: #fff;
            border: none;
            padding: 12px 28px;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .load-more-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(79,140,255,0.3);
        }
        .load-more-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }
       
#curriculum-list .expand-container {
    transition: all 0.3s ease;
  }


  #loadMoreBtn {
   background: linear-gradient(135deg, #636364, #22262f);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover */
#loadMoreBtn:hover {
  background: linear-gradient(135deg, #22262f, #636364);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Active (click effect) */
#loadMoreBtn:active {
  transform: scale(0.96);
  box-shadow: none;
}

/* Disabled state */
#loadMoreBtn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  opacity: 0.7;
}
.blue-container h5{
  font-size: 15px;
}