/* =========================
   GLOBAL STYLES
========================= */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

.section-padding {
  padding: 60px 0;
}

h1, h2, h3, h4, h5 {
  color: #0a2a43;
  font-weight: 600;
}

p {
  font-size: 15px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background: linear-gradient(90deg, #0a2a43, #0f4c75);
  padding: 10px 0;
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: #fff !important;
  margin-left: 15px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-link:hover {
  color: #ffd166 !important;
}

/* Blinking Admission Button */
.blink {
  color: #fff;
  font-weight: bold;
  animation: blinkAnim 1s infinite;
}

@keyframes blinkAnim {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* =========================
   CAROUSEL
========================= */
.carousel-item {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
}
.modal-dialog-scrollable .modal-content{overflow: scroll;}
.carousel-overlay {
  background: rgba(0, 0, 0, 0.55);
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.carousel-overlay h1 {
  font-size: 42px;
}

.carousel-overlay p {
  font-size: 18px;
}
/* Section Styling */
#mission {
  background: #f8f9fa;
  padding: 60px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 25px;
        }
        th, td {
            border: 1px solid #333;
            padding: 8px;
            text-align: center;
        }
        th {
            background-color: #0f4c75;
            color: white;
        }




/* Card-like columns */
#mission .col-md-6 article {
  background: #ffffff;
  padding: 25px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
#mission .col-md-6 article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Sub-headings */
#mission h4 {
  color: #007bff;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Paragraph styling */
#mission p {
  color: #555;
  line-height: 1.7;
  text-align: justify;
}

/* Spacing fix for row */
#mission .row {
  margin-top: 30px;
}


/* =========================
   ABOUT SECTION
========================= */
#about p {
  max-width: 800px;
  margin: auto;
  text-align: center;
}
/* Section Styling */
#programs {
  /* background: linear-gradient(135deg, #f5f7fa, #e4ecf7); */
  padding:20px 0;
}
.accordion-button{padding: 10px;}
/* Container */
#programs .container {
  max-width: 900px;
  margin: auto;
}
.modal-content h2{font-size: 18px;}
/* Heading */
 h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
}

h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #3498db;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}
.modal-content h2::after{margin: 0px;background:none;}
/* Card Styling */
#programs .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#programs .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Card Body */
#programs .card-body {
  padding: 30px;
  background: #ffffff;
}

/* Program Title */
#programs .card-body h4 {
  font-size: 1.5rem;
  color: #34495e;
  margin-bottom: 15px;
}

/* Paragraphs */
#programs .card-body p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Highlight Intake */
#programs .card-body strong {
  color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
  #programs h2 {
    font-size: 1.8rem;
  }

  #programs .card-body {
    padding: 20px;
  }
}
.footer {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #ffffff;
  padding: 30px 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer .container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.footer-details p {
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.9;
}

.footer-details strong {
  font-size: 15px;
  color: #ffd700;
}

.footer a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}


/* =========================
   CARDS (PROGRAMS)
========================= */
.card {
  border: none;
  border-radius: 12px;
}

.card-body {
  padding: 25px;
}

.card h4 {
  color: #0f4c75;
}

/* =========================
   FACILITIES
========================= */
#facilities ul {
  list-style: none;
  padding: 0;
}

#facilities ul li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

#facilities ul li::before {
  content: "✔";
  color: #28a745;
  margin-right: 8px;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #0a2a43;
  color: #fff;
  padding: 15px 0;
  font-size: 14px;
}

/* =========================
   MODAL FORM
========================= */
.modal-content {
  border-radius: 12px;
}

.modal-header {
  background: #0f4c75;
  color: #fff;
}

.modal-title {
  font-weight: 600;color: #fff;
}

.form-label {
  font-weight: 500;
}

.form-control {
  border-radius: 6px;
  font-size: 14px;
}

textarea.form-control {
  resize: none;
}

.required {
  color: red;
}

/* =========================
   BUTTONS
========================= */
.btn-success {
  background: #28a745;
  border: none;
}

.btn-success:hover {
  background: #218838;
}

.btn-secondary {
  border-radius: 6px;
}
/* Section Styling */
.section-padding {
  padding: 60px 0;
}

.bg-light {
  background: #f8fafc;
}

/* Section Title */
h2 {
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.5px;
}

/* Info Box Card */
.info-box {width: 100%;
  background: #ffffff;
  padding: 25px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

/* Hover Effect */
.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* Section Subtitles */
.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
  border-left: 4px solid #3b82f6;
  padding-left: 10px;
}

/* Paragraph Styling */
.info-box p {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Custom List */
.custom-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.custom-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: #475569;
  font-size: 14.5px;
}

/* Custom Bullet */
.custom-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #3b82f6;
  font-size: 13px;
}

/* Small List */
.custom-list.small li {
  font-size: 13px;
}

/* Grid spacing fix */
.row.g-4 > div {
  display: flex;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .info-box {
    padding: 20px;
  }

  h2 {
    font-size: 24px;
  }
}
/* =========================
   RESPONSIVE
========================= *//* Responsive adjustments */
@media (max-width: 768px) {
  #mission .col-md-6 {
    margin-bottom: 20px;
  }



  #mission h4 {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .carousel-item {
    height: 60vh;
  }

  .carousel-overlay h1 {
    font-size: 26px;
  }

  .carousel-overlay p {
    font-size: 14px;
  }

  .section-padding {
    padding: 40px 0;
  }
}
/* Responsive Design */
@media (max-width: 600px) {
  .footer {
    padding: 20px 10px;
  }

  .footer-title {
    font-size: 14px;
  }

  .footer-details p {
    font-size: 13px;
  }
}