/* Programs Hero Sections */
.program-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5%;
  text-align: center;
}

/* Foundation Hero */
.foundation-hero {
  background-image: url('../../images/main-img/FoundationHeroSec.png');
  min-height: 310px;
}

.foundation-hero .hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* Course Info Section */
.course-info-section {
  background-image: url('../../images/main-img/foundationbg2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-info-content {
  text-align: center;
}

.course-info-text {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 2;
  text-transform: uppercase;
}

.course-info-title {
  color: #C4161C;
  font-weight: 800;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.2);
}

.course-info-sub {
  color: #000000;
  font-weight: 700;
  text-shadow: none;
}

/* Programme Overview Section */
.programme-overview-section {
  background-color: #ffffff;
  padding: 30px 20px;
  text-align: center;
}

.overview-heading {
  font-size: 30px;
  font-weight: 700;
  color: #C4161C;
  margin-bottom: 25px;
}

.overview-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 auto;
  max-width: 900px;
}

.specialist-overview {
  max-width: 100%;
  width: 100%;
  padding: 0 5%;
}

.specialist-overview .overview-description {
  max-width: 100%;
  margin-bottom: 14px;
}

.specialist-overview .overview-description:last-child {
  margin-bottom: 0;
}

/* =========================
   WHAT YOU WILL LEARN SECTION
   ========================= */

.what-you-learn-section {
   background: linear-gradient(180deg, #570F12 0%, #EC2939  100%);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.learn-heading {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: left;
  max-width: 1400px;
  width: 100%;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1400px;
  width: 100%;
}

.learn-grid.learn-grid-cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.learn-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  height: auto;
}

.learn-card-image {
  display: flex;
  justify-content: center;
}

.learn-card-image img {
  width: 280px;
  height: 180px;
  border-radius: 12px;
  border: 4px solid #FFFFFF;
  box-shadow: 0px 4px 16px 0px #0000001A;
  transform: rotate(6deg) translateX(30px);
}

.learn-card-body {
  background: #FFF5F6;
  padding: 20px;
  padding-bottom: 30px;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}

.learn-card-title {
  color: #C4161C;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 22px;
  text-transform: capitalize;
  margin-bottom: 10px;
  padding-right: 30px;
}

.learn-card-divider {
  border-top: 1px solid #FFD700;
  margin: 10px 0;
}

.learn-card-list {
  list-style-type: disc;
  margin: 0;
  padding-bottom: 10px;
  padding-left: 18px;
}

.learn-card-list li {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 29px;
  color: #1A1A1A;
}

/* Old learn-item styles (foundation / advanced / specialist) */
.learn-item {
  border-radius: 0;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.learn-item:last-child {
  border-right: none;
}

.learn-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background-color: #FFD700;
}

.learn-item:last-child::after {
  display: none;
}

.learn-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
}

@keyframes learnImgPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.1); }
}
.learn-item:nth-child(2) img { animation-delay: 0.4s; }
.learn-item:nth-child(3) img { animation-delay: 0.8s; }
.learn-item:nth-child(4) img { animation-delay: 1.2s; }
.learn-item:nth-child(5) img { animation-delay: 1.6s; }

@keyframes learnImgPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 0px rgba(196,22,28,0)); }
  50%       { transform: scale(1.18); filter: drop-shadow(0 0 12px rgba(196,22,28,0.9)); }
}

.learn-item-text {
  font-size: 17px;
  color: #ffffff;
  line-height: 1.1;
  font-weight: 500;
}

.learn-additional-text {
  font-size: 17px;
  color: #ffffff;
  line-height: 1.5;
  text-align: center;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1200px) {
  .learn-grid { grid-template-columns: repeat(3, 1fr); }
  .learn-grid.learn-grid-cards { grid-template-columns: repeat(2, 1fr); }
  .what-you-learn-section { height: auto; min-height: 300px; padding: 40px 20px; }
  .learn-item:nth-child(3)::after { display: none; }
  .learn-card-image img { width: 220px; height: 150px; }
}

@media (max-width: 992px) {
  .learn-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 15px; }
  .learn-item { padding: 15px 10px; }
  .learn-item img { width: 50px; height: 50px; }
  .learn-item-text { font-size: 12px; }
  .learn-grid.learn-grid-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .learn-card-image img { width: 180px; height: 130px; transform: rotate(6deg) translateX(20px); }
}

@media (max-width: 768px) {
  .what-you-learn-section { height: auto; padding: 40px 20px; }
  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .learn-grid.learn-grid-cards { grid-template-columns: 1fr; }
  .learn-card { width: 100%; height: auto; }
  .learn-card-image img { width: 240px; height: 160px; transform: rotate(6deg) translateX(25px); }
  .learn-item::after { display: none; }
  .learn-item { border-right: none; }
  .learn-item:nth-child(odd)::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: #C4161C;
  }
  .learn-item:nth-child(even)::after { display: none; }
}

@media (max-width: 480px) {
  .learn-grid { grid-template-columns: 1fr; }
  .learn-grid.learn-grid-cards { grid-template-columns: 1fr; }
  .learn-card-image img { width: 200px; height: 140px; transform: rotate(6deg) translateX(20px); }
  .learn-item::after { display: none !important; }
  .learn-item {
    border-right: none;
    border-bottom: 1px solid #C4161C;
    padding: 30px 20px;
  }
  .learn-item:last-child { border-bottom: none; }
}

/* Image Sections */
.image-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.image-overlay-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.base-image {
  width: 100%;
  display: block;
}

.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
}

.full-width-image {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto;
}

/* Key Highlights Section */
.key-highlights-section {
  background-color: #EFEFEF;
  padding: 120px 5% 100px;
}

.highlights-container {
  background-color: #C4161C;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  min-height: 280px;
}

.highlights-left {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.highlights-image {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 370px;
  height: auto;
  object-fit: contain;
}

.highlights-right {
  display: flex;
  align-items: center;
  padding: 40px 30px 40px 40px;
}

.highlights-content {
  width: 100%;
}

.highlights-heading {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.highlights-list li {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.4;
  padding-left: 30px;
  position: relative;
}

.highlights-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
}

.highlights-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-apply,
.btn-brochure {
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 600;
  background-color: #ffffff;
  color: #C4161C;
  border: 2px solid #ffffff;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-apply:hover,
.btn-brochure:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-apply:active,
.btn-brochure:active {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .highlights-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .highlights-left {
    order: 2;
    padding: 40px 20px;
    justify-content: center;
  }
  
  .highlights-image {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 80%;
    max-width: 400px;
  }
  
  .highlights-right {
    order: 1;
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .key-highlights-section {
    padding: 40px 20px;
  }
  
  .highlights-right {
    padding: 30px 20px;
  }
  
  .highlights-buttons {
    flex-direction: column;
  }
  
  .btn-apply,
  .btn-brochure {
    width: 100%;
  }
}

/* Capstone Section */
.capstone-section {
  background: #ffffff;
  padding: 70px 5%;
}

.capstone-heading {
  font-size: 30px;
  font-weight: 700;
  color: #C4161C;
  text-align: center;
  margin-bottom: 10px;
}

.capstone-divider {
  width: 60px;
  height: 4px;
  background: #C4161C;
  border-radius: 2px;
  margin: 0 auto 40px;
}

.capstone-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.capstone-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 12px;
  padding: 20px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capstone-item:nth-child(1)  { background: #FFF5F6; }
.capstone-item:nth-child(2)  { background: #FFF5F6; }
.capstone-item:nth-child(3)  { background: #FFF5F6; }
.capstone-item:nth-child(4)  { background: #FFF5F6; }
.capstone-item:nth-child(5)  { background: #FFF5F6; }
.capstone-item:nth-child(6)  { background: #FFF5F6; }
.capstone-item:nth-child(7)  { background: #FFF5F6; }
.capstone-item:nth-child(8)  { background: #FFF5F6; }
.capstone-item:nth-child(9)  { background: #FFF5F6; }
.capstone-item:nth-child(10) { background: #FFF5F6; }

.capstone-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(196,22,28,0.15);
}

.capstone-icon {
  width: 44px;
  height: 44px;
  background: #C4161C;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 20px;
}

.capstone-text {
  font-size: 15px;
  font-weight: 500;
  color: #C4161C;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .capstone-grid { grid-template-columns: 1fr; }
  .capstone-heading { font-size: 24px; }
}

/* Program Pages — Certification Section (index style) */
.prog-cert-section {
  display: flex;
  align-items: stretch;
  height: 320px;
  overflow: hidden;
  margin: 40px 0;
}

.prog-cert-image {
  flex: 0 0 50%;
  overflow: hidden;
  border-radius: 20px 0px 0px 20px;
}

.prog-cert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prog-cert-content {
  flex: 0 0 50%;
  background: #C4161C;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 50px;
  gap: 12px;
  border-radius: 0px 20px 20px 0px;
}

.prog-cert-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
}

.prog-cert-text {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .prog-cert-section { 
    flex-direction: column; 
    height: auto; 
  }
  .prog-cert-image { 
    flex: 0 0 240px; 
    border-radius: 20px 20px 0 0;
  }
  .prog-cert-content { 
    padding: 32px 24px; 
    border-radius: 0 0 20px 20px;
  }
  .prog-cert-heading { 
    font-size: 24px; 
  }
  .prog-cert-text { 
    font-size: 15px; 
  }
}

@media (max-width: 480px) {
  .prog-cert-section { flex-direction: column; }
  .prog-cert-image { flex: 0 0 180px; }
  .prog-cert-content { padding: 20px 24px; }
  .prog-cert-heading { font-size: 18px; }
  .prog-cert-text { font-size: 14px; }
}

.adv-problem-block {
  background: #570F12;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px;
  text-align: center;
}

.adv-problem-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  animation: proFlicker 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .adv-problem-block { padding: 20px 24px; }
  .adv-problem-text { font-size: 16px; }
}

.learning-outcomes-wrapper {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0;
}

.outcomes-heading {
  font-size: 30px;
  font-weight: 700;
  color: #C4161C;
  text-align: center;
  margin-bottom: 25px;
}

.outcomes-container {
  display: grid;
  grid-template-columns: 250px auto 250px;
  gap: 70px;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
}

.outcomes-left,
.outcomes-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.outcomes-left {
  justify-self: start;
}

.outcomes-right {
  justify-self: end;
}

.outcome-block {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.outcome-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.outcome-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 10px;
}

.outcome-text {
  font-size: 17px;
  font-weight: 600;
  color: #000000;
  line-height: 1.3;
  margin: 0;
}

.outcomes-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.outcomes-center-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .outcomes-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  
  .outcomes-center {
    order: 1;
  }
  
  .outcomes-left {
    order: 2;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  
  .outcomes-right {
    order: 3;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  
  .outcome-block {
    max-width: 220px;
  }
  
  .outcomes-center-image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .learning-outcomes-wrapper {
    padding: 0 20px;
  }
  
  .outcomes-heading {
    margin-bottom: 20px;
  }
  
  .outcomes-left,
  .outcomes-right {
    flex-direction: column;
    gap: 15px;
  }
  
  .outcome-block {
    max-width: 100%;
    padding: 20px;
  }
  
  .outcome-icon {
    width: 60px;
    height: 60px;
  }
  
  .outcome-text {
    font-size: 13px;
  }
  
  .outcomes-center-image {
    max-width: 250px;
  }
}

/* Certification Section */
.certification-wrapper {
  padding: 60px 0;
}

.certification-box {
  background-color: #C4161C;
  border-radius: 20px;
  overflow: hidden;
  height: 250px;
}

.cert-image-half {
  padding: 0;
  height: 250px;
}

.cert-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cert-content-half {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  color: #ffffff;
  height: 250px;
}

.cert-title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.cert-description {
  font-size: 17px;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .certification-box {
    height: auto;
  }
  
  .cert-image-half {
    height: 200px;
  }
  
  .cert-content-half {
    height: auto;
    padding: 30px 20px;
    text-align: center;
  }
  
  .cert-image {
    object-fit: contain;
  }
}

/* Professional Hero */
.professional-hero {
  background-image: url('../../images/main-img/FoundationHeroSec.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 310px;
}

.professional-hero .hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* Advanced Hero */
.advanced-hero {
  background-image: url('../../images/main-img/FoundationHeroSec.png');
  background-size: cover;
  background-position: center;
  min-height: 310px;
}

.advanced-hero .hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* Specialist Hero */
.specialist-hero {
  background-image: url('../../images/main-img/FoundationHeroSec.png');
  background-size: cover;
  background-position: center;
  min-height: 310px;
}

.specialist-hero .hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.hero-content {
  max-width: 100%;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
  color: #FFD700;
  white-space: normal;
  text-transform: uppercase;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--text);
  margin-top: 15px;
}

/* Program Details Section */
.program-details {
  padding: 60px 5%;
}

.program-details .container {
  max-width: 1200px;
}

.program-details h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.program-details h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 30px;
  margin-bottom: 15px;
}

.program-details p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}

.program-details ul {
  list-style: none;
  padding-left: 0;
}

.program-details ul li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  font-size: 1.05rem;
}

.program-details ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
  .program-hero {
    min-height: 250px;
    padding: 60px 5%;
    justify-content: center;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .program-hero {
    min-height: 200px;
    padding: 50px 5%;
    justify-content: center;
  }
  .hero-content { text-align: center; }
  .hero-title {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .program-hero {
    min-height: 180px;
    padding: 40px 5%;
  }
  .hero-title { font-size: clamp(1rem, 4.5vw, 1.4rem); }
}

/* =====================
   WHO SHOULD JOIN
   ===================== */
.who-join-section {
  background: #ffffff;
  padding: 0;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

.who-join-container {
  background: linear-gradient(180deg, #FFF5F6 0%, #E8C5CB 100%);
  border-radius: 12px;
  padding: 15px 40px;
  position: relative;
  margin-bottom: -25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(196,22,28,0.1);
  width: calc(100% - 80px);
  max-width: 1200px;
  box-sizing: border-box;
}

.who-join-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #C4161C;
  text-align: center;
  margin: 0 0 4px;
}

.who-join-grid {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  overflow: hidden;
}

.who-join-item {
  font-family: 'Inter', sans-serif;
  font-size: clamp(12px, 1.3vw, 17px);
  font-weight: 500;
  color: #C4161C;
  padding: 0 20px;
  white-space: nowrap;
  text-align: center;
  flex: 1;
}

.who-join-item + .who-join-item {
  border-left: 1px solid #FFD700;
}

/* Large screens — 1200px+ */
@media (min-width: 1200px) {
  .who-join-item { font-size: 17px; padding: 0 28px; }
}

/* Medium — tablet landscape 993–1199px */
@media (max-width: 1199px) and (min-width: 993px) {
  .who-join-item { font-size: 15px; padding: 0 18px; }
  .who-join-container { padding: 20px 32px; }
}

/* Tablet portrait — 768–992px */
@media (max-width: 992px) and (min-width: 769px) {
  .who-join-container { width: calc(100% - 48px); padding: 18px 24px; }
  .who-join-item { font-size: 13px; padding: 0 14px; }
  .who-join-heading { font-size: 18px; }
}

/* Mobile — stack vertically below 768px */
@media (max-width: 768px) {
  .who-join-container {
    width: calc(100% - 32px);
    padding: 18px 20px;
    gap: 0;
    margin-bottom: -24px;
  }
  .who-join-heading { font-size: 17px; margin-bottom: 8px; }
  .who-join-grid { flex-direction: column; }
  .who-join-item {
    font-size: 14px;
    white-space: normal;
    padding: 10px 0;
    flex: unset;
    width: 100%;
    text-align: center;
  }
  .who-join-item + .who-join-item {
    border-left: none;
    border-top: 1px solid #FFD700;
  }
}

/* Small mobile — 480px and below */
@media (max-width: 480px) {
  .who-join-container { width: calc(100% - 20px); padding: 14px 16px; }
  .who-join-heading { font-size: 15px; }
  .who-join-item { font-size: 13px; padding: 8px 0; }
}

/* Single item variant — no dividers, centred */
.who-join-single .who-join-item {
  flex: unset;
  white-space: nowrap;
  max-width: 100%;
  font-size: clamp(11px, 1.3vw, 17px);
  padding: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .who-join-single .who-join-item { white-space: normal; font-size: 14px; }
}

@media (max-width: 480px) {
  .who-join-single .who-join-item { font-size: 13px; }
}

/* =====================
   PROBLEM STATEMENTS SECTION
   ===================== */
.pro-problem-section {
  background: #570F12;
  padding: 28px 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  overflow: hidden;
}

.pro-problem-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  text-align: center;
  animation: proFlicker 3s ease-in-out infinite;
}

@keyframes proFlicker {
  0%, 100% { transform: scale(1);    text-shadow: none; }
  50%       { transform: scale(1.06); text-shadow: 0 0 20px rgba(196,22,28,0.7), 0 0 40px rgba(196,22,28,0.3); }
}

@media (max-width: 768px) {
  .pro-problem-section { padding: 20px 6%; }
  .pro-problem-text { font-size: 15px; line-height: 24px; }
}

/* =====================
   CAREER OPPORTUNITIES
   ===================== */
.pro-career-section {
  padding: 52px 0;
  background: #FFF5F6;
}

.pro-career-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #EC2939;
  text-align: center;
  margin-bottom: 32px;
  padding: 0 6%;
}

.pro-career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 0;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.pro-career-item {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 27px;
  letter-spacing: 0;
  color: #ffffff;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .pro-career-grid { grid-template-columns: 1fr; }
  .pro-career-item { font-size: 18px; padding: 22px 24px; justify-content: center; text-align: center; }
  .pro-career-heading { font-size: 24px; }
}

@media (max-width: 480px) {
  .pro-career-item { font-size: 16px; padding: 18px 20px; justify-content: center; text-align: center; }
}

/* =====================
   INDUSTRIES SECTION
   ===================== */
.pro-industries-section {
  background: #F1F1F1;
  padding: 48px 0;
  overflow: hidden;
}

.pro-industries-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #C4161C;
  text-align: center;
  margin-bottom: 32px;
}

.pro-industries-track-wrap {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.pro-industries-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: industriesScroll 30s linear infinite;
}

.pro-industries-track-wrap:hover .pro-industries-track {
  animation-play-state: paused;
}

@keyframes industriesScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.pro-industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFF5F6;
  border-radius: 50px;
  padding: 8px 16px;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #C4161C;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pro-industry-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.pro-industry-pill img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .pro-industries-track-wrap { width: 100%; }
}

@media (max-width: 768px) {
  .pro-industries-track-wrap { width: 100%; }
  .pro-industry-pill { font-size: 13px; padding: 10px 18px; }
  .pro-industry-pill img { width: 26px; height: 26px; }
  .pro-industries-heading { font-size: 22px; }
}

/* =====================
   BROCHURE MODAL
   ===================== */
.bro-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bro-modal.active { display: flex; }

.bro-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  animation: broFadeIn 0.2s ease;
}
@keyframes broFadeIn { from { opacity:0; } to { opacity:1; } }

.bro-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  overflow: hidden;
  animation: broSlideUp 0.3s cubic-bezier(0.34,1.4,0.64,1);
}
@keyframes broSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Form state */
.bro-form-state {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.bro-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.bro-close:hover { background: rgba(255,255,255,0.35); }

.bro-header {
  background: linear-gradient(135deg, #C4161C, #C4161C);
  padding: 22px 28px 18px;
  text-align: center;
}
.bro-header-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #FFD700;
  margin: 0 auto 10px;
}
.bro-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 700;
  color: #fff; margin: 0 0 4px;
}
.bro-sub {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.bro-form {
  padding: 16px 24px 20px;
  display: flex; flex-direction: column; gap: 10px;
}

.bro-field {
  display: flex; flex-direction: column; gap: 4px;
}
.bro-field label {
  font-size: 11px; font-weight: 700;
  color: #C4161C; text-transform: uppercase; letter-spacing: 0.05em;
}
.bro-field input,
.bro-field select {
  height: 38px;
  border: 1.5px solid #E1E1E1;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px; color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #f8fafc;
}
.bro-field input:focus,
.bro-field select:focus {
  border-color: #C4161C;
  box-shadow: 0 0 0 3px rgba(196,22,28,0.12);
  background: #fff;
}

.bro-submit {
  margin-top: 4px;
  height: 44px;
  background: linear-gradient(135deg, #C4161C, #C4161C);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.bro-submit:hover { opacity: 0.9; transform: translateY(-1px); }

/* Success state */
.bro-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 32px;
  text-align: center;
  gap: 16px;
}
.bro-success-icon {
  font-size: 3.5rem;
  color: #C4161C;
  animation: broPopIn 0.4s cubic-bezier(0.34,1.6,0.64,1);
}
@keyframes broPopIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.bro-success-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px; font-weight: 700;
  color: #C4161C; margin: 0;
}
.bro-success-msg {
  font-size: 15px; color: #475569;
  line-height: 1.6; margin: 0;
}
.bro-done-btn {
  margin-top: 8px;
  padding: 12px 36px;
  background: #C4161C;
  color: #fff;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.bro-done-btn:hover { background: #C4161C; }

/* ── Brochure form validation styles ── */
.bro-req { color: #C4161C; margin-left: 2px; }

.bro-err {
  display: none;
  font-size: 11px;
  color: #C4161C;
  margin-top: 2px;
}

.bro-field.bro-invalid input,
.bro-field.bro-invalid select {
  border-color: #C4161C;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
  background: #fff5f5;
}

.bro-field.bro-invalid .bro-err { display: block; }
