:root {
  --primary-color: #0033FF;
  --secondary-color: #00B5E2;
  --light-bg: #F5F7FA;
  --text-color: #333;
  --white: #FFFFFF;
  --primary-highlight: #00F2FE;
  --primary-highlight-hover: #00d8e2;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

/* ===== Navbar ===== */
.navbar-nav {
  gap: 25px; 
}

.navbar {
  background-color: #ffffffcc; /* subtle transparency */
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  padding: 10px 0;  /* Reduced from default padding */
}

.navbar.scrolled {
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
  max-height: 60px;  /* Adjust based on your logo size */
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar .nav-link {
  color: #003366;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
  padding: 8px 15px !important;  /* Reduced padding for nav links */
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #00c2d1;
  transform: translateY(-2px);
}

/* ===== Navbar Links with Underline Hover Effect ===== */
.navbar .nav-link {
  color: #003366;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #00c2d1;
  transition: width 0.3s ease;
  border-radius: 1px;
}

/* ===== Navbar Links with Underline Hover & Active Effect ===== */
.navbar .nav-link {
  color: #003366;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #00c2d1;
  transition: width 0.3s ease;
  border-radius: 1px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #00c2d1;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}



/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  display: flex;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1.2s ease forwards;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.text-primary {
  color: #003366 !important;
}

.text-primary-1 {
  color: #00c2d1 !important;
}

.btn-light {
  border-radius: 50px;
  font-weight: 600;
  background-color: #00c2d1;
  color: #fff;
  padding: 12px 35px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-light:hover {
  background-color: #007bff;
  transform: translateY(-3px);
}

/* ===== Carousel Indicators ===== */
.carousel-indicators button {
  background-color: rgba(255,255,255,0.6);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators .active {
  background-color: #00c2d1;
}

/* ===== Section Titles ===== */
/* Common styles for all section headings */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    color: #0B2447;
    padding-bottom: 1.5rem;
}

/* Underline effect for section headings */
section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #00F2FE;
    border-radius: 2px;
}

/* Responsive font size for smaller screens */
@media (max-width: 768px) {
    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Dark background sections - light text */
section.bg-dark h2 {
    color: #ffffff;
}

.btn-primary {
  background-color: #00c2d1 ;
  border-color: #00c2d1 ;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #007bff;
  border-color: #007bff;
  transform: scale(1.05);
}



/* ===== About Section ===== */
#about {
  background: #f3f8ff;
  padding-top: 80px;
  padding-bottom: 80px;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

#about .btn-primary {
  background-color: #00c2d1;
  border: none;
  border-radius: 50px;
  padding: 12px 35px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#about .btn-primary:hover {
  background-color: #007bff;
  transform: translateY(-3px);
}

#story {
  background-color: var(--light-bg);
}

#story h2 {
  font-weight: 700;
}

#story .p-4 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#story .p-4:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


/* ===== Cards (Services) ===== */
.card {
  border: none;
  overflow: hidden; /* Ensure content doesn't overflow */
  transition: transform 0.3s ease; /* Smooth hover effect */
  background-color: #fff;
}

.card-body {
  padding: 2rem;
}

.card:hover {
  transform: scale(1.05); 
}

.card-img-top {
  height: 220px; 
}

.card-title {
  font-size: 1.75rem; /* Title font size */
  font-weight: bold; /* Bold title */
  color: #00c2d1;
  margin-bottom: 0.8rem;
  text-align: center;
}

.card-text {
  font-size: 1rem; /* Description font size */
  color: #6c757d; /* Gray color for text */
  line-height: 1.6;
}

/* ===== Careers Section ===== */
#careers {
  background: linear-gradient(135deg, #003366 0%, #007bff 100%);
  color: #fff;
  padding: 80px 0;
}

#careers h2::after {
  background-color: #fff;
}

#careers .btn-primary {
  background-color: #fff;
  color: #003366;
  border-radius: 50px;
  font-weight: 600;
}

#careers .btn-primary:hover {
  background-color: #00c2d1;
  color: #fff;
}

/* ===== Career Modal Styling ===== */
.career-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7); /* Black overlay */
  justify-content: center;
  align-items: center;
}

.career-modal-content {
  background: #fff;
  color: #333;
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.career-close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
}

.career-close:hover {
  color: #e74c3c;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #0056b3;
}

/* ===== Contact Form ===== */
#contact {
  padding: 60px 0;
}

/* optional wrapper: .contact-card (if you don't have it, wrap the form) */
.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(6,22,37,0.08);
  border: 1px solid rgba(2,48,86,0.04);
}

/* form controls */
#contact-form .form-group {
  margin-bottom: 14px;
}

#contact-form .form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e6eef3;
  background: #fbfdff;
  color: #123344;
  font-size: 15px;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

/* focus state */
#contact-form .form-control:focus {
  outline: none;
  border-color: #00f2fe; /* highlight color */
  box-shadow: 0 6px 20px rgba(0,242,254,0.08);
}

/* textarea */
#contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* labels (if using) */
#contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #0b2447;
  font-size: 14px;
}

/* submit button */
#contact-form button[type="submit"],
#contact-form .btn-submit {
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: #00c2d1;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 26px rgba(0,242,254,0.12);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

#contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,242,254,0.16);
  background: #007bff;
  color: #000;
}

/* small status / alert */
#form-status {
  display: none;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

#form-status.show { display: block; }

/* layout tweak when using bootstrap columns inside form */
#contact-form .row > [class*='col-'] {
  padding-left: 8px;
  padding-right: 8px;
}

/* compact mobile */
@media (max-width: 576px) {
    .contact-card { padding: 18px; border-radius: 10px; }
    #contact-form .form-control { padding: 10px 12px; font-size: 14px; }
    #contact-form button[type="submit"] { padding: 10px; font-size: 14px; border-radius: 8px; }
}

/* ===== Footer ===== */
footer {
  background: linear-gradient(90deg, #003366, #007bff);
  color: #fff;
  text-align: center;
  padding: 25px 0;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}


footer .social-icons a {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.3s ease;
}


/* ===== Sticky CTA Button ===== */
.sticky-cta-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

.sticky-cta-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}


/* ===== Animations ===== */
@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(30px);}
  100% {opacity: 1; transform: translateY(0);}
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .navbar-brand img {
    height: 45px;
  }
}

@media (max-width: 768px) {
  section h2 {
    font-size: 2rem;
  }
  .card-body {
    padding: 1.5rem;
  }
}

.navbar-collapse {
    padding: 10px 0;
}

/* ===== Performance & Mobile Optimization ===== */
img {
  max-width: 100%;
  height: auto;
}
* {
  scroll-behavior: smooth;
}
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .lead {
    font-size: 0.95rem;
  }
  .btn {
    padding: 10px 22px;
  }
}

.btn {
    min-width: 180px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    min-width: 200px;
    padding: 14px 28px;
    font-size: 18px;
}

.highlight-text {
    color: var(--primary-highlight);
}

.btn-highlight {
    background-color: var(--primary-highlight);
}

.btn-highlight:hover {
    background-color: var(--primary-highlight-hover);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-dialog {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 100px;
}

.modal-content {
    padding: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-title {
    color: #0B2447;
    font-size: 1.8rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

.modal-body {
    padding: 1rem 0;
}

.modal .form-control {
    border: 1px solid #e1e1e1;
    padding: 12px 15px;
    margin-bottom: 1rem;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal .form-control:focus {
    border-color: #00F2FE;
    box-shadow: none;
    outline: none;
}

.modal textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.modal select.form-control {
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.modal .btn-primary {
    background: #007bff;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s ease;
}

.modal .btn-primary:hover {
    background: #0056b3;
}

.alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn i {
    font-size: 20px;
}

#testimonials h2 {
  font-size: 2.2rem;
  letter-spacing: 0.5px;
}

.testimonial-box {
  transition: all 0.4s ease;
  border: 1px solid #eee;
}

.testimonial-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-box p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

.testimonial-box img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

@media (max-width: 768px) {
  #testimonials h2 {
    font-size: 1.8rem;
  }
  .testimonial-box {
    padding: 2rem 1.5rem;
  }
  .testimonial-box p {
    font-size: 0.95rem;
  }
}

/* ===== Trusted by Leading Brands Section ===== */
.trusted-brands-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-title {
  font-size: 2.2rem;
  color: #0d1b2a;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #00c2d1;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  margin: 0 auto;
  line-height: 1.6;
  color: #6c757d !important;
}

/* Brand logos grid */
.brand-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 10px;
  transition: all 0.4s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.brand-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand-logo {
  max-height: 100px;
}

.brand-card:hover .brand-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .brand-card {
    height: 100px;
  }
  .brand-logo {
    max-height: 60px;
  }
}

/* ===== Career Modal Final Design ===== */
.career-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6); /* dark overlay only, no blur */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* prevent page scroll */
  padding: 0;
}

/* White modal box */
.career-modal-content {
  background: #ffffff;
  color: #1c1c1c;
  width: 100%;
  max-width: 520px; /* slightly wider to fit long form fields */
  max-height: 90vh; /* fit inside screen height */
  overflow-y: auto; /* enable scroll only inside modal if needed */
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

/* Smooth open animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Heading */
.career-modal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0d47a1;
  text-align: center;
  margin-bottom: 20px;
}

/* Close button */
.career-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}
.career-close:hover {
  color: #e74c3c;
}

/* Input fields */
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* Submit button */
.submit-btn {
  width: 100%;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.submit-btn:hover {
  background: #0056b3;
}

/* Message below form */
#career-form-status {
  margin-top: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}

/* Prevent background scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .career-modal-content {
    max-width: 90%;
    padding: 25px 20px;
  }
  .career-modal-content h2 {
    font-size: 20px;
  }
}

/* Hide modal by default */
.career-modal {
  display: none;
}

/* Show modal when active */
.career-modal.active {
  display: flex;
}

/* css/student-programs.css
   Modern styles for the Student Programs section.
   - Centered header/subtitle
   - Larger card sizes with richer content
   - Clean, modern modal centered in viewport
*/

/* Section layout & heading */
#students {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
  color: #0f1724;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

#students .display-6 {
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

#students .underline {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #06b6d4 0%, #08b3a7 100%);
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

/* Cards */
.program-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,251,255,0.95));
  border: 1px solid rgba(12, 34, 63, 0.06);
  box-shadow: 0 12px 30px rgba(12, 34, 63, 0.06);
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 260ms;
  padding: 1.6rem;
  min-height: 360px; /* increase card size */
  display: flex;
  justify-content: flex-start;
}

/* Hover lift */
.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 60px rgba(12, 34, 63, 0.10);
}

/* Icon styles */
.program-card .icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  background: linear-gradient(135deg, #06b6d4, #06a0d3);
  flex-shrink: 0;
}

/* variant icon colors (optional) */
.program-card .icon.bg-boot {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}
.program-card .icon.bg-intern {
  background: linear-gradient(135deg, #0ea5a4, #06a0d3);
}

/* Card headings & meta */
.program-card h3 {
  margin: 0;
  font-weight: 700;
  color: #07203a;
  font-size: 1.05rem;
}
.program-card .meta {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Card details lists */
.program-card .card-details ul {
  padding-left: 1.05rem;
  margin: .35rem 0;
}
.program-card .card-details li {
  margin-bottom: .35rem;
  color: #475569;
  font-size: 0.93rem;
}

/* Apply button - strong CTA */
.btn-apply {
  --btn-radius: 12px;
  background: linear-gradient(90deg, #06b6d4 0%, #08b3a7 100%);
  color: #fff;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: var(--btn-radius);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(6, 182, 212, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms;
}
.btn-apply:hover,
.btn-apply:focus {
  transform: translateY(-3px);
  filter: brightness(1.03);
  outline: none;
  box-shadow: 0 18px 36px rgba(6, 182, 212, 0.22);
}

/* Modal overlay and content */
.student-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  background: rgba(8, 16, 30, 0.45);
  padding: 1.25rem;
}

.student-modal.show {
  display: flex;
}

.student-modal-dialog {
  width: 100%;
  max-width: 720px;
}

.student-modal-content {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(8, 16, 30, 0.25);
}

/* Modal header */
.student-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(12, 34, 63, 0.04);
}

.student-modal-header .modal-title {
  margin: 0;
  font-weight: 700;
}

.student-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

/* Modal body & form controls */
.student-modal-body {
  padding: 1.2rem 1.25rem;
}
.student-modal .form-control {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(12, 34, 63, 0.08);
}

/* small status alert */
#student-program-status {
  padding: .6rem .8rem;
  border-radius: 8px;
  font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 991px) {
  #students .display-6 {
    font-size: 1.7rem;
  }
  .program-card {
    min-height: 320px;
  }
  .program-card .icon {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 575px) {
  .program-card { min-height: auto; padding: 1rem; }
  .program-card .icon { width: 48px; height: 48px; font-size: 18px; }
  #students .display-6 { font-size: 1.4rem; }
}

/* Variant 2: pill with icon and hover lift */
.btn-apply-pill {
  background: linear-gradient(90deg, #06b6d4 0%, #08b3a7 100%);
  color: white;
  border: none;
  padding: .72rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 10px 28px rgba(6, 182, 212, 0.12);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-apply-pill:hover,
.btn-apply-pill:focus {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(6, 182, 212, 0.20);
  outline: none;
}