@charset "utf-8";
/* CSS Document */

:root {
  /* Fonts */
  --default-font: "Open Sans", system-ui, sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  /* Global Colors */
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #37323b;
  --accent-color: #0c3963;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  /* Nav Colors */
  --nav-color: #272828;
  --nav-hover-color: #0c3963;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #272828;
  --nav-dropdown-hover-color: #0c3963;
}


/* ===== BANNER ===== */
/* ===== COLLEGE HERO BANNER ===== */
.college-hero {
  position: relative;
  height: 320px;          /* FIXED HEIGHT */
  overflow: hidden;      /* IMPORTANT */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

/* Dark overlay */
.college-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

/* Container */
.college-hero-container {
  position: relative;
  max-width: 1200px;
  height: 100%;
  margin: auto;
  padding: 30px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Breadcrumb */
.college-breadcrumb {
  font-size: 13px;
  color: #ddd;
}

/* Text content */
.college-hero-content h1 {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 
    0 2px 4px rgba(0,0,0,0.6),
    0 0 1px rgba(0,0,0,0.8);
  max-width: 80%;
  font-size: 28px;
  margin-bottom: 10px;
}

.college-meta {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.college-meta li {
  color: #f1f1f1;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* Logo bottom-left */
.college-hero-logo {
  position: absolute;
  bottom: -30px;
  left: 15px;
  background: #ffffff;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.college-hero-logo img {
  width: 90px;
  height: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .college-hero {
    height: 260px;
  }

  .college-hero-content h1 {
    font-size: 20px;
  }

  .college-hero-logo {
    bottom: -25px;
  }

  .college-hero-logo img {
    width: 70px;
  }
}


/* ===== TABS ===== */
.college-tabs {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.college-tabs-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

.tabs-nav {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 15px 0;
  margin: 0;
  overflow-x: auto;
}

.tabs-nav li {
  font-size: 14px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
  transition: 0.3s;
}

.tabs-nav li.active {
  background: #0c3963;
  color: #fff;
}

.tabs-nav li:hover {
  background: #f2f2f2;
}

/* ===== CONTENT ===== */
.tabs-content {
  max-width: 1200px;
  margin: auto;
  padding: 30px 15px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .college-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .college-title h1 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {

  .college-tabs {
    position: relative; /* disable sticky feel */
  }

  .tabs-nav {
    flex-direction: column;
    gap: 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
  }

  .tabs-nav li {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
  }

  .tabs-nav li:last-child {
    border-bottom: none;
  }

  .tabs-nav li.active {
    background: #0c3963;
    color: #ffffff;
  }

  .tabs-nav li:not(.active) {
    background: #ffffff;
    color: #333;
  }
}





.college-tab-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.college-tab-header h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.college-tab-header h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.college-tab-header p {
  color: #555;
  line-height: 1.6;
  max-width: 900px;
}

.college-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
}

.college-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.college-table th,
.college-table td {
  border: 1px solid #ddd;
  padding: 14px;
  vertical-align: top;
}

.college-table th {
  background: #f8f9fb;
  font-weight: 600;
  text-align: left;
}

.college-table td strong {
  color: #111;
}
.table-responsive {
  overflow-x: auto;
}

.college-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.college-table th,
.college-table td {
  border: 1px solid #ddd;
  padding: 12px;
  vertical-align: top;
}

.college-table th {
  background: #f5f7fa;
  font-weight: 600;
}

.apply-btn {
  background: #f4511e;
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.apply-btn:hover {
  background: #d84315;
}


.enquiry-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.enquiry-modal.active {
  display: flex;
}

.enquiry-box {
  background: #fff;
  padding: 25px;
  max-width: 420px;
  width: 100%;
  border-radius: 6px;
  position: relative;
}

.enquiry-box input,
.enquiry-box textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
}

.enquiry-box button {
  background: #f4511e;
  color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
}













@media (max-width: 768px) {

  .college-hero-container {
    justify-content: center;   /* 🔥 vertical centering */
    padding-top: 24px;
    padding-bottom: 24px;
  }

}
@media (max-width: 768px) {

  .college-hero-logo {
    position: static;     /* ← stops overlap */
    margin-top: 16px;
    align-self: flex-start;
  }

}


@media (max-width: 768px) {

  /*.college-hero-container {
    justify-content: flex-end;
  }*/

  /*.college-hero-logo {
    position: absolute;
    bottom: 20px;
    left: 15px;
  }*/

  .college-hero-content {
    padding-left: 0;
    padding-bottom: 90px; /* space above logo */
  }

  .college-hero-content h1 {
    font-size: 20px;
    max-width: 100%;
  }

}

@media (max-width: 768px) {

  /* Hero container: center everything */
  .college-hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px;
  }

  /* Content first */
  .college-hero-content {
    order: 1;
    padding: 0;
    margin: 0;
  }

  /* Logo comes AFTER text */
  .college-hero-logo {
    order: 2;
    position: static;        /* 🔥 kill absolute positioning */
    margin-top: 16px;
    align-self: flex-start;
  }

}


/* =========================
   COURSES TAB – MOBILE FIX
   ========================= */
@media (max-width: 768px) {

  /* Only affect Courses tab */
  #courses .table-responsive {
    overflow-x: hidden;
  }

  #courses table,
  #courses thead,
  #courses tbody,
  #courses th,
  #courses td,
  #courses tr {
    display: block;
    width: 100%;
  }

  /* Hide table header */
  #courses thead {
    display: none;
  }

  /* Each row becomes a card */
  #courses tbody tr {
    background: #ffffff;
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  #courses tbody td {
    padding: 8px 0;
    border: none;
    font-size: 14px;
    line-height: 1.6;
  }

  /* Labels before content */
  #courses tbody td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
  }

  /* Apply button full width */
  #courses .apply-btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-size: 14px;
  }
}



/* Mobile table fix */
@media (max-width: 768px) {

  .college-table thead {
    display: none;
  }

  .college-table,
  .college-table tbody,
  .college-table tr,
  .college-table td {
    display: block;
    width: 100%;
  }

  .college-table tr {
    margin-bottom: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }

  .college-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border: none;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
  }

  .college-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    margin-right: 12px;
    white-space: nowrap;
  }

  .college-table td:last-child {
    border-bottom: none;
  }

  .college-table .apply-btn {
    width: 100%;
  }
}


section.integrated-course-section2 {
  padding-top: 0 !important;
}


/* =====================================================
   NDRK Nursing – GNM Fee Table (Desktop-style on Mobile)
===================================================== */
@media (max-width: 768px) {

  /* Allow horizontal scroll */
  .college-fee-section .table-responsive.horizontal-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Force wide table */
  .college-fee-section .college-table.no-mobile-stack {
    min-width: 750px;
    border-collapse: collapse;
  }

  /* Disable mobile stacked/card layout */
  .college-fee-section .college-table.no-mobile-stack thead {
    display: table-header-group !important;
  }

  .college-fee-section .college-table.no-mobile-stack tbody {
    display: table-row-group !important;
  }

  .college-fee-section .college-table.no-mobile-stack tr {
    display: table-row !important;
  }

  .college-fee-section .college-table.no-mobile-stack th,
  .college-fee-section .college-table.no-mobile-stack td {
    display: table-cell !important;
    white-space: nowrap;
    font-size: 13px;
  }

  /* Kill label-based mobile view */
  .college-fee-section .college-table.no-mobile-stack td::before {
    content: none !important;
    display: none !important;
  }
}


/* Important Note Box */
.important-note-box {
  max-width: 900px;
  margin: 30px auto;
  border-radius: 8px;
  overflow: hidden;
  background: #eef3fb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.important-note-title {
  background: #0c3963;
  color: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px;
  font-size: 16px;
}

.important-note-content {
  text-align: center;
  padding: 18px 15px;
  color: #111;
  font-size: 15px;
}

.important-note-content p {
  margin: 6px 0;
}

/* ===============================
   OTHER FEES TABLE
================================ */

.other-fees-section {
  margin: 40px 0;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.other-fees-table {
  width: 100%;
  min-width: 750px;
  border-collapse: collapse;
  background: #eaf4fb;
  text-align: center;
  font-size: 15px;
}

.other-fees-table th {
  background: #0b1b5e;
  color: #fff;
  padding: 14px 10px;
  border: 2px solid #000;
  font-weight: 700;
}

.other-fees-table td {
  padding: 12px 10px;
  border: 2px solid #000;
  background: #e6f2fa;
  font-weight: 500;
}

.other-fees-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.other-fees-table .total-row td {
  background: #0b1b5e;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

/* Hostel Note */
.hostel-note {
  margin-top: 15px;
  padding: 12px 15px;
  background: #ffffff;
  border: 2px solid #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.hostel-note span {
  color: #e60000;
  font-weight: 700;
}

/* ===============================
   MOBILE FIX
================================ */
@media (max-width: 768px) {
  .other-fees-table {
    font-size: 14px;
  }

  .hostel-note {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}



/* ===============================
   NOTICE SECTION
================================ */

.notice-section {
  margin: 20px 0;
}

.notice-box {
  background: #eaf4fb;
  border-left: 5px solid #0b1b5e;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #1a1a1a;
}

/* Mobile refinement */
@media (max-width: 768px) {
  .notice-box {
    font-size: 14px;
    padding: 12px;
  }
}

/* Remove top gap ONLY for notice section */
.notice-section {
  scroll-margin-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}



  .fee-title {
    color: #0c3963;
    position: relative;
  }

  #downArrow {
    display: inline-block;
    margin-left: 10px;
    font-size: 26px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  #downArrow.show {
    opacity: 1;
    transform: translateY(5px);
  }


  #downArrow2 {
    display: inline-block;
    margin-left: 10px;
    font-size: 26px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  #downArrow2.show {
    opacity: 1;
    transform: translateY(5px);
  }

  #downArrow3 {
    display: inline-block;
    margin-left: 10px;
    font-size: 26px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  #downArrow3.show {
    opacity: 1;
    transform: translateY(5px);
  }

  #downArrow4 {
    display: inline-block;
    margin-left: 10px;
    font-size: 26px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  #downArrow4.show {
    opacity: 1;
    transform: translateY(5px);
  }



/* ===============================
   Program Info Section
================================ */
.program-info-section {
  margin: 0px ;
}

.program-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.program-box {
  position: relative;
  border: 1px solid #ddd;
  padding: 20px 18px 18px;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.program-box p {
  margin: 6px 0;
}

/* Left label (B.Sc, GNM etc.) */
.program-tag {
  position: absolute;
  top: -12px;
  left: 15px;
  background: #0b2c5d;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
}

/* ===============================
   Mobile View
================================ */
@media (max-width: 768px) {
  .program-info-grid {
    grid-template-columns: 1fr;
  }

  .program-box {
    font-size: 13px;
  }
}
