/* === AIR INDIA CADET PAGES | PPA GOLD THEME === */

/* === GLOBAL === */
body, .site, .entry-content, .page, .container {
  background: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  max-width: 100% !important;
  box-shadow: none !important;
  font-family: 'Poppins', sans-serif;
  color: #222;
}

h1, h2, h3 {
  font-weight: 700;
  color: #1e1e1e;
}

p {
  color: #444;
  line-height: 1.65;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* === BUTTONS === */
.ai-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #000;
  padding: 14px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.ai-btn:hover {
  background-color: #f5c400;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* === HERO === */
.ai-hero {
  position: relative;
  background: url('images/hero-airindia.jpg') center/cover no-repeat;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.ai-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.ai-hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  animation: fadeInUp 1.5s ease;
}
.ai-hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFD700;
}
.ai-hero p {
  font-size: 1.1rem;
  color: #f8f8f8;
  max-width: 700px;
  margin: 15px auto;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === SUBHERO (INDIA / USA) === */
.ai-subhero {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 120px 20px;
  background-position: center;
  background-size: cover;
}
.ai-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.ai-subhero h1 {
  color: #FFD700;
  font-size: 2.8rem;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ai-subhero p {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 10px auto 0;
}

/* === ABOUT === */
.ai-about {
  background: linear-gradient(180deg, #fffef7, #fff9e6);
  padding: 80px 8%;
  text-align: center;
}
.ai-about p {
  max-width: 850px;
  margin: 0 auto;
}

/* === PROGRAM OPTIONS === */
.ai-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 80px 8%;
  background: #fff;
}
.ai-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  width: 350px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.ai-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.ai-card-content {
  padding: 25px;
}
.ai-card-content h3 {
  color: #c79a00;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

/* === DETAILS === */
.ai-details {
  background: #fff;
  padding: 80px 10%;
  text-align: center;
}
.ai-details h2, .ai-support h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
}
.ai-details h2::after, .ai-support h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 80px;
  height: 4px;
  background: #FFD700;
  transform: translateX(-50%);
  border-radius: 2px;
}
.ai-details h3 {
  color: #c79a00;
  margin-bottom: 15px;
}
.ai-details ul {
  list-style: none;
  margin: 15px 0;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.ai-details ul li {
  padding-left: 28px;
  margin-bottom: 10px;
  position: relative;
  font-size: 1rem;
}
.ai-details ul li::before {
  content: "✈";
  position: absolute;
  left: 0;
  color: #c79a00;
  font-size: 1.1rem;
  top: 0;
}

/* === TABLE === */
.ai-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  margin: 30px auto;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}
.ai-table th, .ai-table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}
.ai-table th {
  background: #FFD700;
  color: #000;
  font-weight: 700;
}

/* === SUPPORT === */
.ai-support {
  background: linear-gradient(180deg, #fffef7, #fff9e6);
  padding: 80px 8%;
  text-align: center;
}
.ai-support p {
  max-width: 750px;
  margin: 0 auto 25px;
}
.ai-support ul {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 0;
}
.ai-support ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.ai-support ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #c79a00;
  font-weight: 700;
  font-size: 1.1rem;
}

/* === GRID === */
.ai-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.ai-grid article {
  flex: 1;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  padding: 25px;
  min-width: 300px;
  text-align: left;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .ai-hero h1 { font-size: 2.2rem; }
  .ai-card { width: 90%; }
  .ai-details, .ai-about, .ai-support { padding: 60px 5%; }
  .ai-table th, .ai-table td { font-size: 0.9rem; }
}
/* === PROGRAM PATHS TITLE STYLING === */
#programme-paths h2 {
    margin-top: 60px;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e1e1e;
  position: relative;
  margin-bottom: 20px;
}

#programme-paths h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 80px;
  height: 4px;
  background: #FFD700; /* gold underline */
  transform: translateX(-50%);
  border-radius: 2px;
}
/* === MOBILE HERO IMAGE FIX (show left part instead of center) === */
@media (max-width: 768px) {
  .ai-hero,
  .ai-subhero {
    background-position: 20% center !important;
    background-size: 350%;
  }
}
