.top-bar {
    background-color: #0b2e4e;
    color: white;
    font-size: 1rem;
    line-height: 40px;
  }
  .top-bar i {
    vertical-align: middle;
    margin-right: 4px;
    color: #22A3D1;
  }
  .top-bar .divider {
    border-left: 1px solid #aaa;
    height: 16px;
    margin: 0 15px;
  }

  .navbar .nav-link {
    font-weight: 500;
    padding: 10px 15px;
  }

  .apply-btn {
    background-color: #ff6b00;
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
  }
  .apply-btn:hover {
    background-color: #e55b00;
  }

  .navbar-nav .nav-link {
    font-weight: 500;
    color: #333;
    padding: 8px 15px;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    color: #0d6efd;
  }

  .btn-primary {
    background-color: #ff6b00;
    border-color: #ff6b00;
  }
  .btn-primary:hover {
    background-color: #e55b00;
    border-color: #e55b00;
  }

  .dropdown-menu {
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0px 20px;
}

.nav-bg { background-color:silver; }
.hero-slider .slider-item {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .heroBanner-slider {
    max-height: 600px;
    overflow: hidden;
    position: relative;
  }
  
  .heroBanner-slide {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;         /* <== This vertically centers */
    justify-content: center;
    overflow: hidden;
    position: relative;
  }
  
  .heroBanner-slide img {
    width: 100%;
    height: auto;
    min-height: 100%;            /* Ensures tall images stretch fully */
    object-fit: cover;
    object-position: center;     /* Ensures center alignment */
    display: block;
  }
  
  .heroBanner-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 15px 25px;
    border-radius: 8px;
    max-width: 80%;
  }
  
  .heroBanner-caption h2 {
    font-size: 2.2rem;
    margin: 0 0 10px;
  }
  
  .heroBanner-caption p {
    font-size: 1.2rem;
    margin: 0;
  }

  @media screen and (max-width: 768px) {
    .heroBanner-caption {
      bottom: 10%;
      left: 5%;
      padding: 10px 15px;
    }
  
    .heroBanner-caption h2 {
      font-size: 1.5rem;
    }
  
    .heroBanner-caption p {
      font-size: 1rem;
    }
  }

  @media screen and (max-width: 768px) {
    .heroBanner-slider {
      height: 350px;
    }
  }

  .custom-slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.3s ease;
  }
  
  .custom-slick-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .slick-prev {
    left: 15px;
  }
  
  .slick-next {
    right: 15px;
  }
  
  /* Dots customization */
  .slick-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    gap: 10px;
  }
  
  .slick-dots li button:before {
    font-size: 14px;
    color: #fff;
    opacity: 0.6;
  }
  
  .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #ff6b00;
  }
  .news-ticker {
    background: linear-gradient(to right, #0b2e4e, #154d7d);
    color: white;
    padding: 10px 0;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
  }
  
  .news-ticker .container {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .ticker-title {
    white-space: nowrap;
    font-weight: 600;
    color: #22A3D1;
    display: flex;
    align-items: center;
  }
  
  .ticker-title i {
    font-size: 1.2rem;
    margin-right: 8px;
  }
  
  .ticker-wrapper {
    overflow: hidden;
    flex: 1;
    position: relative;
  }
  
  .ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 25s linear infinite;
  }
  
  .ticker-content span {
    display: inline-block;
    margin-right: 50px;
  }
  
  /* Animation */
  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  .ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
  }
  
  .about-section {
    background: #f9f9f9;
    position: relative;
  }
  
  .vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 1.5rem;
    font-weight: 700;
    color: #154d7d;
    letter-spacing: 2px;
  }

  .about-us-section { padding: 100px 0; }
  
  .about-us-section .img-wrapper:first-child {
    margin-top: 50px; /* pushes first image down */
  }
  .about-us-section .img-wrapper:last-child {
    margin-top: 0;
  }
  .about-us-section .img-wrapper img {
    height: auto;
    object-fit: cover;
    width: 100%;
    max-width: 100%;
  }
  .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0b2e4e;
    margin-bottom: 1rem;
  }
  .section-subtitle-2 {
    color: #22A3D1;
    font-size: 14px;
    font-weight: 400;
    height: 32px;
    line-height: 32px;
    padding: 0 22px;
    display: inline-block;
    margin-bottom: 5px;
    text-transform: uppercase;
    border-radius: 5px;
    background-color: rgba(0, 175, 239, 0.2);
}

.about-content { font-size: 20px; text-align: justify; }

.mission-vision-section {
    background: linear-gradient(to right, #e3f2fd, #bbdefb);
    color: #0d47a1;
    padding: 100px 0;
  }
  
  .mv-text {
    flex: 1 1 55%;
    padding-right: 30px;
  }
  
  .mv-image {
    flex: 1 1 40%;
  }
  
  .mv-block {
    background: #ffffffcc;
    border-left: 5px solid #1976d2;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
  }
  
  .mv-block:hover {
    transform: translateY(-5px);
  }
  
  .mv-block h2 {
    color: #1565c0;
    font-weight: 700;
    font-size: 1.8rem;
    border-bottom: 2px dashed #64b5f6;
    margin-bottom: 10px;
    padding-bottom: 5px;
  }
  
  .mv-block p {
    color: #263238;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .mv-block strong {
    color: #0d47a1;
    background-color: #e3f2fd;
    padding: 2px 6px;
    border-radius: 4px;
  }
  
  @media (max-width: 768px) {
    .mv-text, .mv-image {
      flex: 1 1 100%;
      padding-right: 0;
      text-align: center;
    }
  
    .mv-block {
      margin-bottom: 20px;
    }
  }
  
  .gallery-section {
    background: linear-gradient(to bottom, #e3f2fd, #ffffff);
  }
  
  .section-title {
    font-size: 2.5rem;
    color: #0d47a1;
    font-weight: bold;
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #2196f3;
    margin: 10px auto 0;
    border-radius: 10px;
  }
  
  .gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    border-radius: 12px;
  }
  
  .gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
  }
  
  .gallery-card:hover img {
    transform: scale(1.05);
  }

  .gallery-section {
    background: linear-gradient(to bottom, #e3f2fd, #ffffff);
    padding: 100px 0;
  }
  
  .section-title {
    font-size: 2.5rem;
    color: #0d47a1;
    font-weight: bold;
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #2196f3;
    margin: 10px auto 0;
    border-radius: 10px;
  }
  
  .gallery-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.15);
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery-card img {
    border-radius: 10px;
    transition: transform 0.4s ease;
    width: 100%;
    height: auto;
  }
  
  .gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
  }
  
  .gallery-card:hover img {
    transform: scale(1.05);
  }
  
  .gallery-title {
    font-size: 1.1rem;
    color: #0d47a1;
    font-weight: 600;
    margin-top: 10px;
  }
  
  .school-footer {
    background: #023e75;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    padding: 100px 0;
  }
  
  .footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #64b5f6;
    display: inline-block;
    padding-bottom: 5px;
  }
  
  .footer-links li {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .footer-links i {
    color: #64b5f6;
    font-size: 1.1rem;
  }
  
  .footer-links a {
    color: #bbdefb;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  
  /* School Timings Enhanced */
  .footer-timings li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 6px;
  }
  
  .footer-timings .day {
    color: #bbdefb;
    font-weight: 500;
  }
  
  .footer-timings .time {
    color: #ffffff;
    font-weight: 600;
  }
  
  .footer-timings .closed {
    color: #f44336;
    font-weight: bold;
  }
  
  /* Responsive Text Size */
  @media (max-width: 768px) {
    .footer-title {
      font-size: 1.2rem;
    }
    .footer-links li,
    .footer-info li {
      font-size: 0.95rem;
    }
  }

  .footer-info li {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: start;
    gap: 8px;
    color: #bbdefb;
  }
  
  .footer-info i {
    color: #64b5f6;
    font-size: 1.2rem;
    margin-top: 3px;
  }
  
  .footer-info a {
    color: #bbdefb;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-info a:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  
  .footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
  }
  
  .footer-social a {
    font-size: 1.6rem;
    color: #bbdefb;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .footer-social a:hover {
    color: #ffffff;
    transform: scale(1.2);
  }

  a { text-decoration: none; }