/* ==========================================================================
   THEME REFRESH — BLDEA Shri B M Patil Institute of Nursing Sciences
   A modern layer on top of style.css. Loaded AFTER style.css so these
   rules win. Extends the navy/gold system already used on the faculty
   pages (see .faculty-card, --navy, --gold) across the whole site so the
   look is consistent everywhere.
   ========================================================================== */

:root{
  --navy:        #0d2b55;
  --navy-dark:   #081b38;
  --navy-light:  #17407a;
  --gold:        #c8973a;
  --gold-light:  #e0b563;
  --ink:         #1a1a2e;
  --muted:       #5b6472;
  --bg-soft:     #f5f7fb;
  --white:       #ffffff;
  --radius:      14px;
  --shadow-sm:   0 4px 14px rgba(13,43,85,.08);
  --shadow-md:   0 10px 30px rgba(13,43,85,.14);
  --shadow-lg:   0 20px 48px rgba(13,43,85,.22);
  --ease:        cubic-bezier(.22,.68,0,1.2);
}

/* -------------------------------------------------- Base type & headings */
body{
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-headline h2{
  font-family: 'Playfair Display', 'Raleway', serif;
  color: var(--navy);
}

.section-headline h2,
.section-headline.services-head > h2{
  font-weight: 700;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 30px !important;
}

.section-headline h2::after,
.section-headline.services-head > h2::after{
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 3px;
}
.section-headline.services-head > h2::after{ margin-left: auto; margin-right: auto; }

/* -------------------------------------------------- Top utility bar */
.top-navg{
  background: var(--navy-dark) !important;
  color: #cfd8e8 !important;
  padding: .45rem .1rem !important;
  font-size: 13px !important;
  letter-spacing: .2px;
}
.top-navg a{ color: #dce4f2 !important; transition: color .2s ease; }
.top-navg a:hover{ color: var(--gold-light) !important; }
.top-navg .dropdown-menu{
  border: none;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 6px 0;
}
.top-navg .dropdown-item{ font-size: 13.5px; padding: .5rem 1.1rem; }
.top-navg .dropdown-item:hover{ background: var(--bg-soft); color: var(--navy); }

.blink_admission{
  color: var(--gold-light) !important;
  font-weight: 700;
}

/* -------------------------------------------------- Logo / masthead row */
.logo-menu-links a{
  color: var(--navy) !important;
  font-weight: 500;
  font-size: 14px !important;
}
.logo-menu-links hr{ border-color: rgba(13,43,85,.15); }

.head-txt{
  font-family: 'Playfair Display', serif;
  color: var(--navy) !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
}
.head-txt a{ color: var(--navy) !important; }

/* -------------------------------------------------- Main navigation */
.bg-menu{
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 100%) !important;
  box-shadow: 0 4px 16px rgba(13,43,85,.18);
}

.navbar-dark .navbar-nav .nav-link{
  color: #eef2fa !important;
  font-size: 15px;
  font-weight: 500;
  padding: 1rem .95rem !important;
  transition: color .2s ease, background .2s ease;
}
.navbar-dark .navbar-nav .nav-item:hover > .nav-link,
.navbar-dark .navbar-nav .nav-link:hover{
  color: var(--gold-light) !important;
}
.navbar-dark .navbar-nav .nav-item.active > .nav-link{
  color: var(--gold-light) !important;
}

.dropdown-menu{
  border: none;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  margin-top: 0;
}
.dropdown-item{
  font-size: 14px;
  padding: .55rem 1.2rem;
  color: var(--ink);
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.dropdown-item:hover, .dropdown-item:focus{
  background: var(--bg-soft);
  color: var(--navy);
  padding-left: 1.4rem;
}
.dropdown-divider{ margin: .25rem 0; opacity: .5; }

/* -------------------------------------------------- Buttons */
.btn{ border-radius: 30px !important; font-weight: 600; letter-spacing: .2px; }

.btn-info{
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
  padding: .55rem 1.5rem !important;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-sm);
}
.btn-info:hover{
  background: var(--navy-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary{
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--navy-dark) !important;
  padding: .55rem 1.5rem !important;
  transition: background .25s ease, transform .2s ease;
}
.btn-primary:hover{
  background: var(--gold-light) !important;
  transform: translateY(-2px);
}

.text-center-link{ color: var(--navy) !important; font-weight: 600; }
.text-center-link:hover{ color: var(--gold) !important; }

/* -------------------------------------------------- Hero / recognition strip */
.yellow-tabs-top{ z-index: 12; }

.yellow-tabs .icon-boxes .icon-box{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold);
}
.icon-box-purple{
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%) !important;
  border-radius: 12px;
  padding: 10px !important;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.icon-box-purple:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-box-purple p{ color: #fff !important; font-size: 15px; margin-bottom: 0; }

.purple-mob-box{
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%) !important;
  border-radius: 12px !important;
  padding: 14px 0;
}

/* -------------------------------------------------- About section */
#about .single-well img{
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
#about h3{ font-weight: 700; }
#about p{ color: var(--muted); line-height: 1.75; }

/* -------------------------------------------------- Courses band */
.bg-courses{
  background: linear-gradient(90deg, var(--navy-dark), var(--navy) 55%, var(--navy-light)) !important;
  border-radius: var(--radius);
  margin: 10px auto 30px;
  padding: 26px 10px !important;
  box-shadow: var(--shadow-md);
}
.para-yellow, .courses-blue-band-title{
  color: var(--gold-light) !important;
  font-weight: 700 !important;
}
.line-yellow{
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 10px;
  border-radius: 3px;
}
.courses-blue-band{
  color: #eef2fa !important;
  font-weight: 500;
  transition: color .2s ease;
}
a:hover .courses-blue-band{ color: var(--gold-light) !important; }

/* -------------------------------------------------- Campus life / skill section */
.green-box-transparent{
  background: linear-gradient(135deg, rgba(13,43,85,.92), rgba(23,64,122,.88)) !important;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.green-box-transparent h4{ color: var(--gold-light) !important; font-family: 'Playfair Display', serif; }
.green-box-a{ color: var(--gold-light) !important; font-weight: 600; }

/* -------------------------------------------------- Academic resource cards */
.services-area .card{
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s ease;
  height: 100%;
}
.services-area .card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.bg-one-box, .bg-two-box, .bg-thre-box{
  background: var(--white) !important;
  border-top: 4px solid var(--gold) !important;
}
.bg-one-box .para-text, .bg-two-box .para-text, .bg-thre-box .para-text{
  color: var(--navy) !important;
  font-weight: 700 !important;
  font-family: 'Playfair Display', serif;
}
.bg-one-box p, .bg-two-box p, .bg-thre-box p{
  color: var(--muted) !important;
}
.services-area .card img{
  border-radius: 10px;
}

/* -------------------------------------------------- Legacy / team photos */
.legacies img{
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.legacies img:hover{ transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow-md); }
.legacies p{ color: var(--navy) !important; font-weight: 600; }

/* -------------------------------------------------- Footer */
.footer-area{
  background: var(--bg-soft) !important;
  padding: 55px 0 20px;
}
.footer-head h4{
  color: var(--navy) !important;
  font-family: 'Playfair Display', serif;
}
.footer-head h4:after{ border-bottom: 2px solid var(--gold) !important; }
.footer-content a.text-dark{ color: var(--muted) !important; transition: color .2s ease, padding-left .2s ease; }
.footer-content a.text-dark:hover{ color: var(--navy) !important; padding-left: 3px; }
.footer-contacts span{ color: var(--navy) !important; font-weight: 600; }

.custom-visitor-card{
  background: linear-gradient(90deg, var(--navy), var(--navy-light)) !important;
}

.footer-area-bottom{ background: var(--navy-dark) !important; }
.copyright > p{ color: #dce4f2 !important; }
.credits a{ color: var(--gold-light) !important; }

.back-to-top{
  background: var(--navy) !important;
  transition: background .2s ease, transform .2s ease;
}
.back-to-top:hover{ background: var(--gold) !important; transform: translateY(-3px); }

/* -------------------------------------------------- Notifications modal */
#myModal .modal-content{ border: none; border-radius: var(--radius); overflow: hidden; }
#myModal .modal-header.bg-success{
  background: linear-gradient(90deg, var(--navy), var(--navy-light)) !important;
}
#myModal .btn-outline-danger{ border-radius: 30px; }

/* -------------------------------------------------- Reveal-on-scroll (used with animate.css already loaded) */
.reveal-up{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------- Inner-page sidebars
   (courses-sidebar.php, dept-sidebar.php, and any similar include using
   .sidebar / .sidebar-form / .double-arrows / .yellow-paras) */

.sidebar{
  background: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: 1.9rem 1.6rem !important;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold) !important;
  margin-bottom: 24px;
}

.sidebar .ufeatures{
  font-family: 'Playfair Display', serif;
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 4px;
}
.sidebar .ufeatures:after{
  border-bottom: none !important;
  width: 46px !important;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 3px;
  margin-bottom: 14px;
}

.sidebar p{
  position: relative;
  color: var(--muted) !important;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.6;
  padding: 8px 0 8px 26px;
  margin-bottom: 0 !important;
  border-bottom: 1px dashed rgba(13,43,85,.12);
}
.sidebar p:last-child{ border-bottom: none; }
.sidebar p::before{
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-size: 14px;
}

.sidebar a{
  color: var(--navy) !important;
  font-weight: 600;
  transition: color .2s ease;
}
.sidebar a:hover{ color: var(--gold) !important; text-decoration: none; }

/* Departments list — turn the double-arrow rows into a clean, hoverable
   list instead of plain stacked text */
.sidebar .double-arrows{
  display: flex;
  align-items: center;
  padding: 11px 8px;
  border-radius: 8px;
  transition: background .2s ease, padding-left .2s ease;
}
.sidebar .double-arrows:hover{
  background: var(--bg-soft);
  padding-left: 14px;
}
.sidebar .double-arrows .icon-container{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  margin-right: 12px;
}
.sidebar .double-arrows .icon-container i{
  color: var(--gold-light) !important;
  font-size: 14px !important;
  margin: 0 !important;
}
.sidebar .double-arrows .text-container p{
  border-bottom: none;
  padding: 0;
}
.sidebar .double-arrows .text-container a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink) !important;
}
.sidebar .double-arrows:hover .text-container a{ color: var(--navy) !important; }
.sidebar hr{ display: none; } /* spacing now handled by .double-arrows padding */

/* Courses-offered / call-to-action panel */
.sidebar-form{
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%) !important;
  border-radius: var(--radius) !important;
  padding: 1.9rem 1.6rem !important;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.sidebar-form::before{
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(200,151,58,.14);
}
.sidebar-form h5.text-white{
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 14px !important;
}
.sidebar-form h5.text-white::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.sidebar-form p{
  color: #e4e9f4 !important;
  font-weight: 400 !important;
  font-size: 14.5px;
  position: relative;
}
.sidebar-form hr{
  border-top: 1px solid rgba(255,255,255,.14) !important;
  margin: 12px 0;
}

.yellow-paras{
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(200,151,58,.5);
  border-radius: 8px;
  padding: 10px 14px !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.yellow-paras:hover{
  background: var(--gold) !important;
  border-color: var(--gold);
  transform: translateX(3px);
}
.yellow-paras-anch{
  color: var(--gold-light) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.yellow-paras-anch::after{
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.yellow-paras:hover .yellow-paras-anch{ color: var(--navy-dark) !important; }

/* Enquiry form inside sidebar-form */
.sidebar-form .bg-white{
  border-radius: 10px !important;
  margin-top: 6px;
  box-shadow: var(--shadow-sm);
}
.sidebar-form .form-control{
  border: 1px solid #e2e6ee;
  border-radius: 8px !important;
  font-size: 14px;
  padding: .55rem .8rem;
}
.sidebar-form .form-control:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,151,58,.18);
}
.sidebar-form .btn-link{
  width: 100%;
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600;
  padding: .6rem 1rem !important;
  transition: background .2s ease, transform .2s ease;
}
.sidebar-form .btn-link:hover{
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  text-decoration: none;
  transform: translateY(-2px);
}
.sidebar-form .btn-link i{ margin-left: 6px; }

@media (max-width: 767px){
  .sidebar, .sidebar-form{ padding: 1.4rem 1.2rem !important; }
}

/* -------------------------------------------------- Responsive tweaks */
@media (max-width: 991px){
  .head-txt{ font-size: 19px !important; }
  .bg-courses{ margin-left: 10px; margin-right: 10px; }
}
