/* Global Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 20px;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--dark-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), 
              url('images/hero.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  padding: 180px 0 140px; /* extra bottom padding for the boxes */
  text-align: center;
  position: relative;
}

.hero-features {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: absolute;
  bottom: -60px; /* pulls boxes into overlap position */
  left: 0;
  right: 0;
  flex-wrap: wrap;
}

.feature-box {
  background: white;
  color: #2c3e50;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  width: 250px;
  text-align: center;
}

.feature-box h3 {
  color: #c0392b; /* new accent color */
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.95rem;
}

/* Mobile Fix */
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 60px; /* reduce padding on mobile */
  }

  .hero-features {
    position: relative;   /* no overlap */
    bottom: 0;
    margin-top: 40px;     /* spacing below hero */
    flex-direction: column;
    align-items: center;
  }

  .feature-box {
    width: 100%;
    max-width: 300px; /* prevents too wide on large phones */
  }
}



/* Program Details — Balanced Desktop Layout */
.program-details {
  padding: 100px 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;               /* balanced columns on desktop */
  align-items: center;                           /* vertically center both sides */
  gap: clamp(32px, 5vw, 72px);                   /* responsive spacing */
}

.detail-content {
  background: #fff;
  padding: clamp(28px, 3vw, 48px);               /* scale padding with viewport */
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.8s ease forwards;
  max-width: 720px;                              /* keep text column from getting too wide */
}

.detail-content h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  color: var(--primary-color);
  margin-bottom: 18px;
  line-height: 1.25;
}

.detail-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 22px;
}

.detail-content a {
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}
.detail-content a:hover { color: var(--secondary-color); }

/* Detail Points */
.detail-point {
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--secondary-color);
  transition: transform 0.3s ease;
}
.detail-point:hover { transform: translateX(5px); }

.detail-point h3 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.detail-point p { font-size: 0.97rem; color: var(--text-color); }

/* Image — fixed overlay + no bleed */
.detail-image {
  position: relative;                             /* anchor ::after inside this box */
  overflow: hidden;                               /* stop hover scale from bleeding */
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  z-index: 0;                                     /* local stacking context */
}

.detail-image img {
  display: block;
  width: 100%;
  height: auto;                                   /* natural height, no forced crop */
  object-fit: contain;                            /* show full image, no zoom/crop */
  object-position: center;
  transition: transform 0.6s ease, filter 0.4s ease;
  will-change: transform;                         /* smoother hover */
}

.detail-image:hover img {
  transform: scale(1.02);                         /* subtle, won’t push layout */
  filter: brightness(1.04);
}

.detail-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.08), rgba(231, 76, 60, 0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;                            /* overlay won’t “catch” the cursor */
  z-index: 1;
}
.detail-image:hover::after { opacity: 1; }

/* Mobile / Tablet */
@media (max-width: 992px) {
  .detail-section {
    grid-template-columns: 1fr;                   /* stack on smaller screens */
    gap: 32px;
  }
  .detail-image {
    /* keep natural height; avoid forced min-height that can cause jumps */
  }
  .detail-content { padding: 24px; }
  .detail-content h2 { font-size: 1.7rem; }
}

/* Why Us Section */
.why-us {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.why-us h2 {
  font-size: 2rem;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--light-color);
}

/* Career Support */
.career-support {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
}
.career-support h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.career-support .subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 60px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
}
.support-item {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.support-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.support-item i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}
.support-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}
.support-item p {
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Benefits Section */
.program-benefits {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f2f6fa 100%);
}
.program-benefits h2 {
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.program-benefits .subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 50px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
  margin-bottom: 40px;
}
.benefit-card {
  background: white;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.benefit-card i {
  font-size: 2.3rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
}
.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-color);
}
.benefits-cta .btn-primary {
  background: var(--secondary-color);
  color: white;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.benefits-cta .btn-primary:hover {
  opacity: 0.9;
}


/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-color);
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links a {
  color: white;
  margin-left: 15px;
  font-size: 1.2rem;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Mobile Menu Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
  }
  .nav-links.active {
    display: flex;
    max-height: 500px;
    opacity: 1;
  }
  .hero {
    padding: 150px 0 80px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .social-links {
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }
  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}


/* WPForms Styling to Match Landing Page */
.registration-hero {
  padding: 120px 0 100px;
  text-align: center;
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
}

.registration-hero h1 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.registration-hero .subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* WPForms Fields */
.wpforms-form input,
.wpforms-form select,
.wpforms-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.wpforms-form .wpforms-submit {
  background-color: var(--secondary-color);
  color: white;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

.wpforms-form .wpforms-submit:hover {
  background-color: #c0392b;
}

