@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap');

:root {
  --color-primary: #00B2EE;
  --header-color: #170C68;
  --card-color: #2B579E;
  --max-width: 1100px;
  --page-pad-x: 10%;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Generic container */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
}

/* ---------------------------
   Programs Banner
   --------------------------- */
.programs-banner {
  background: linear-gradient(135deg, var(--header-color), var(--color-primary));
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.programs-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.05;
}

.programs-banner p {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 10px auto;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
}

/* ---------------------------
   Course Details Styling
   --------------------------- */
.course-details {
  background: #fff;
  border-radius: 12px;
  padding:.65rem rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.course-details h4 {
  color: var(--header-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

.course-details p {
  color: #444;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}
/* ---------------------------
   Hybrid Course Schedule
   --------------------------- */
.hybrid-schedule {
  background: #f5f7fb;
  padding: 80px var(--page-pad-x);
}

.hybrid-schedule h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--header-color);
  margin-bottom: 2rem;
  font-weight: 700;
}

.schedule-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.schedule-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(17, 24, 39, 0.06);
  padding: 2rem;
  text-align: left;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.schedule-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
}

.schedule-box h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.schedule-box p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #444;
  font-size: 0.95rem;
}

.schedule-box ul {
  list-style: none;
  padding-left: 20px;
  margin: 0;
}

.schedule-box ul li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  line-height: 1.5;
  color: #333;
  font-size: 0.95rem;
}

.schedule-box ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------------------------
   Responsive
   --------------------------- */
@media (max-width: 768px) {
  .schedule-content {
    grid-template-columns: 1fr;
  }
}

/* Body Styles */
body {
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Programs Section */
.programs-section {
  padding: 3rem 1rem;
}

.programs-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.programs-section .lead {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

/* Programs Grid */
.programs-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.programs-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.program-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.program-card h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.program-card .price {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn.primary {
    background-color: #007bff;
    color: #fff;
}

.btn.primary:hover {
    background-color: #0056b3;
}

.btn.secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn.secondary:hover {
    background-color: #5a6268;
}

/* Card hover effect */
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
        gap: 10px;
    }
}


/* Hybrid Schedule Section */
.hybrid-schedule {
  padding: 3rem 1rem;
}

.hybrid-schedule h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.schedule-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.schedule-box {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.schedule-box h3 {
  margin-bottom: 1rem;
  color: #222;
}

.schedule-box p,
.schedule-box ul {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.schedule-box ul li {
  margin-bottom: 0.3rem;
}

/* Responsive */
@media (max-width: 992px) {
  .programs-grid {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .schedule-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .program-card {
    width: 100%;
  }
}
/* 🎯 Career Opportunities Button */
.career-btn {
  width: 90%;
  background: #ff8c00;
  color: white;
  font-weight: 600;
  padding: 5px 5px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

.career-btn:hover {
  background: #e67e00;
}

/* 💬 Popup Container */
.career-popup {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 20;
}

.career-popup h4 {
  color: #170C68;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
}

.career-popup ul {
  list-style: none;
  text-align: left;
  padding: 0;
}

.career-popup ul li {
  font-size: 0.9rem;
  padding: 4px 0;
  color: #333;
}

/* ✨ Show popup on hover (desktop) */
.career-btn:hover + .career-popup {
  opacity: 1;
  visibility: visible;
}

/* 📱 Mobile Styles */
@media (max-width: 768px) {
  .career-popup {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    opacity: 0;
    visibility: hidden;
  }
.career-btn{
  width: 100%;
  text-align: center;
}
  
  .career-popup.active {
    opacity: 1;
    visibility: visible;
  }

 
 
}
