:root {
  /* ROHI KIDDIES THEME */
  --rk-primary: #590694; /* deep purple */
  --rk-accent: #00BFFF;  /* deep sky blue */

  /* ROHI COLLEGE THEME */
  --rc-primary: #FF8C00; /* dark orange */
  --rc-accent: #B0B0B0;  /* silver grey */

  /* Shared settings */
  --text-color: #333;
  --heading-color: #222;
  --white: #fff;
}

/* ========== NAVBAR (Enhanced) ========== */
/* ========== NAVBAR ========== */
.navbar {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 20, 0.88),
    rgba(30, 30, 30, 0.75)
  ); /* smooth glassy dark gradient */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease-in-out;
}
.navbar {
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.08),
              inset 0 0 8px rgba(255, 255, 255, 0.05);
}
.navbar-brand {
  color: #f1f1f1 !important;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.navbar-nav .nav-link {
  color: #f1f1f1 !important;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--rc-primary) !important;
  background-color: rgba(255, 140, 0, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(255, 140, 0, 0.15);
}

.navbar-toggler {
  border: none;
  outline: none;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: 0.3s ease;
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
  filter: invert(1);
  width: 1.4rem;
  height: 1.4rem;
}


/* Smooth dropdown look */
.dropdown-menu {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.dropdown-item {
  color: #f1f1f1;
  transition: all 0.25s ease;
}
.dropdown-item:hover {
  color: var(--rc-primary);
  background-color: rgba(255, 140, 0, 0.08);
  border-radius: 6px;
}

/* ========== HERO SLIDE ========== */
.hero-slide {
  position: relative;
  height: 90vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  animation: zoomIn 10s ease-in-out infinite;
}

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(25, 25, 112, 0.30), rgba(0, 0, 64, 0.5)
);
  z-index: 1;
}

.hero-slide .container {
  z-index: 2;
  padding: 0 1rem;
  text-align: center;
}

.hero-slide h1,
.hero-slide p {
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
  color: #fff;
}

/* Optional zoom animation */
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* ========== RESPONSIVE TWEAKS ========== */
@media (max-width: 768px) {
  .hero-slide {
    height: 75vh;
  }

  .hero-slide h1 {
    font-size: 2rem;
  }

  .hero-slide p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-slide {
    height: 65vh;
  }

  .hero-slide h1 {
    font-size: 1.8rem;
  }

  .hero-slide p {
    font-size: 0.95rem;
  }
}
.hero-btn {
  background-color: rgba(0, 191, 255, 0.85); /* Sky blue with slight transparency */
  color: white;
  font-weight: 600;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background-color: rgba(0, 191, 255, 1); /* Full solid on hover */
  transform: scale(1.05);
  color: white;
}
#datetime-widget {
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  color: #444;
  background: #f2f2f2;
  border-top: 1px solid #ddd;
}

/* News Card Styling */
.news-card {
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.news-card .card-title {
  font-weight: 600;
  color: var(--rk-primary);
}

.news-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}
/* ======== GALLERY NAV PILLS STYLING ======== */
#school-gallery .nav-pills .nav-link {
  border-radius: 50px;
  padding: 10px 22px;
  color: #333;
  background-color: transparent;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

#school-gallery .nav-pills .nav-link:hover {
  background-color: rgba(255, 140, 0, 0.15);  /* transparent orange */
  color: var(--rc-primary);
}

#school-gallery .nav-pills .nav-link.active {
  background-color: rgba(255, 140, 0, 0.25);  /* slightly bolder */
  color: var(--rc-primary);
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.2);
}
.gallery-img {
  width: 100%;
  height: 150px; /* you can adjust this: try 180px–250px */
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

footer {
  font-size: 14px;
  background: #111;
}

.footer-link {
  color: #bbb;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--rc-primary);
  transform: translateX(4px);
}

.footer-icon i {
  color: #bbb;
  font-size: 18px;
  transition: 0.3s;
}

.footer-icon i:hover {
  color: var(--rc-primary);
  transform: scale(1.2);
}
.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: block;
  object-position: top;
}
.proprietress-img {
  object-position: 0% 37%; /* Pushes focus slightly down */
}
.about-programs ul{
  list-style: none;
  padding-left: 0;
}
.about-programs li{
  padding: 4px 0;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.accordion-button {
  background-color: rgba(255, 140, 0, 0);
  font-weight: bold;
  color: #444;
  transition: 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(255, 140, 0, 0);
  color: var(--rc-accent);
}

.accordion-body {
  background-color: #fff;
  border-left: 3px solid var(--rc-primary);
  padding: 1rem 1.25rem;
  border-radius: 5px;
}
.accordion-button:focus, 
.accordion-button:active,
 .accordion-button:focus-visible{
box-shadow: none;
outline: none;
border-color: transparent;
}
@keyframes subtleFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.floating-text {
  animation: subtleFloat 6s ease-in-out infinite;
}
form input,
form textarea {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease-in-out;
}

form input:focus,
form textarea:focus {
  border-color: var(--rk-accent);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
  outline: none;
}

.hero-btn {
  background-color: var(--rk-accent);
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

.hero-btn:hover {
  background-color: #009fd9;
  transform: scale(1.05);
}
@keyframes subtleFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.floating-contact {
  animation: subtleFloat 6s ease-in-out infinite;
}
:root {
  --rk-primary: #590694;
  --rk-accent: #00BFFF;
  --rc-primary: #FF8C00;
  --rc-accent: #B0B0B0;
  --white: #fff;
  --light-bg: #f9f9f9;
  --text-dark: #333;
}

body.portal-login {
  background: linear-gradient(to bottom right, rgba(89, 6, 148, 0.15), rgba(0, 191, 255, 0.15));
  font-family: 'Segoe UI', sans-serif;
}

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

.login-container {
  max-width: 100%;
}

.login-btn {
  background-color: var(--rk-primary);
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background-color: #3d046b;
  transform: scale(1.03);
}

.form-control,
.form-select {
  border-radius: 6px;
  border: 1px solid #ddd;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--rk-accent);
  box-shadow: 0 0 0 0.1rem rgba(0, 191, 255, 0.25);
}
/* NEWS PAGE */
.news-page {
  background: #f8f9fa;
}

.news-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  background: #fff;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.news-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.news-date {
  display: inline-block;
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 500;
}

.news-card .card-title {
  font-size: 1.35rem;
  line-height: 1.35;
}

.news-card .card-text {
  font-size: 0.98rem;
  line-height: 1.7;
}

/* SINGLE POST PAGE */
.post-page {
  background: #f8f9fa;
}

.post-wrapper {
  background: #fff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.post-meta {
  font-size: 0.95rem;
}

.post-hero-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.post-content {
  font-size: 1.08rem;
  line-height: 1.95;
  color: #222;
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .post-wrapper {
    padding: 1.25rem;
  }

  .news-img {
    height: 210px;
  }
}