:root {
  --primary: #1a5276;
  --primary-dark: #0e3a56;
  --primary-light: #2e86c1;
  --secondary: #e67e22;
  --secondary-dark: #d35400;
  --accent: #27ae60;
  --dark: #1a1a2e;
  --gray: #6c757d;
  --light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

section {
  padding: 10px;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--dark);
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar-info span {
  margin-right: 20px;
}

.top-bar-info i,
.top-bar-social a {
  color: var(--secondary);
  margin-right: 5px;
}

.top-bar-social a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 12px;
  font-size: 0.9rem;
}

.top-bar-social a:hover {
  color: var(--secondary);
}

/* ---- Navbar ---- */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 12px 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand i {
  font-size: 1.8rem;
  color: var(--secondary);
}

.nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  padding: 8px 16px !important;
  border-radius: 6px;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  /* color: var(--primary) !important; */
  background: rgba(26, 82, 118, 0.06);
}

.btn-admin-login {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
}

.btn-admin-login:hover {
  background: var(--primary-dark) !important;
}

/* ---- Section Styling ---- */
.welcome-section .section-padding {
  padding: 80px 0;
}

.welcome-section .section-heading {
  margin-bottom: 40px;
}

.welcome-section .section-heading .sub-title {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.welcome-section .section-heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
}

.welcome-section.section-heading.text-center h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ---- Welcome Section ---- */
/* .welcome-text {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 25px;
}

.welcome-image {
    border-radius: var(--radius);
    overflow: hidden;
}

.welcome-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 80px 40px;
    text-align: center;
    border-radius: var(--radius);
}

.welcome-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

.welcome-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.welcome-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    border-radius: 20px;
} */

/* Floating Shapes */
/* .bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s infinite ease-in-out alternate;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #00c6ff;
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: #ff7a00;
    bottom: -100px;
    right: -80px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(40px);
    }
} */

/* Content Card */
/* .welcome-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInLeft 1.2s ease;
}

.sub-title {
    color: #00e5ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.welcome-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 15px 0;
}

.welcome-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 25px;
} */

/* Button */
.btn-custom {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(45deg, #ff7a00, #ff512f);
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.4s;
}

.btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 81, 47, 0.6);
}

/* Image */
.welcome-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  transition: 0.5s ease;
  animation: fadeInRight 1.2s ease;
}

.welcome-image img:hover {
  transform: scale(1.08);
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---- Facility Cards ---- */
.facility-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(26, 82, 118, 0.15);
  position: relative;
  overflow: hidden;
}

/* Top accent line */
.facility-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, #1a73e8, #00bcd4, #f39c12, #ff5722);
}

.facility-btn {
  display: inline-block;
  margin-top: 15px;
  color: #ff5722;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
}

.facility-card:hover .facility-btn {
  opacity: 1;
  transform: translateY(0);
}

.facility-card h4 {
  transition: 0.3s ease;
}

.facility-card:hover h4 {
  color: #1a73e8;
  letter-spacing: 0.5px;
}

.facility-card:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Gradient glow border */
.facility-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 3px;
  background: linear-gradient(120deg, #1a73e8, #00bcd4, #f39c12, #ff5722);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: 0.4s ease;
}

.facility-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 18px rgba(0, 188, 212, 0.6);
}

.facility-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(26, 82, 118, 0.45);
  transition: 0.5s;
}

/* icon animation on card hover */
.facility-card:hover .facility-icon {
  transform: scale(1.15) rotateY(180deg);
  box-shadow: 0 18px 35px rgba(26, 82, 118, 0.65);
}

.facility-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.facility-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===============================
   Facilities Section Background
================================ */

.facilities-section {
  position: relative;
  background: linear-gradient(
    180deg,
    #f4f8ff 0%,
    #eef5ff 50%,
    #ffffff 100%
  ) !important;
  overflow: hidden;
  border-radius: 20px;
}

.facilities-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.15), transparent);
  top: -80px;
  left: -80px;
  border-radius: 50%;
}

.facilities-section::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.15), transparent);
  bottom: -120px;
  right: -120px;
  border-radius: 50%;
}

.facilities-section .section-heading h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a5276;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.facilities-section .section-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 90px;
  height: 5px;
  border-radius: 10px;
  background: linear-gradient(90deg, #1a73e8, #00bcd4, #f39c12, #ff5722);
}

.facilities-section .section-heading .sub-title {
  display: inline-block;
  background: linear-gradient(90deg, #1a73e8, #00bcd4);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* ---- Announcements ---- */
.announcement-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
  height: 100%;
}

.announcement-card:hover {
  box-shadow: var(--shadow-lg);
}

.announcement-date {
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 15px;
  text-align: center;
  min-width: 65px;
  height: fit-content;
}

.announcement-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.announcement-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.announcement-content h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.announcement-content p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

.homeGallerySwiper .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  transition-timing-function: linear !important;
}

.homeGallerySwiper .swiper-slide {
  flex-shrink: 0 !important;
}

.swiper {
  overflow: hidden !important;
  border-radius: 20px;
}

body {
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
}

.gallery-section {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-section {
  padding: 0px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

/* top wave layer */
.gallery-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: #2e86c1;
  filter: blur(180px);
  opacity: 0.15;
}

/* bottom glow layer */
.gallery-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: #ff7a00;
  filter: blur(180px);
  opacity: 0.15;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px;
}

.swiper-wrapper {
  will-change: transform;
  transition: transform 1s ease-in-out !important;
}

.section-heading .sub-title {
  display: inline-block;
  font-size: 14px;
  color: #a85d31;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-heading h2 {
  font-size: 42px;
  color: #2c2c2c;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-heading h2::before,
.section-heading h2::after {
  content: "❧";
  color: #a85d31;
  margin: 0 15px;
  font-size: 24px;
}

/* Gallery Wrapper */
.gallery-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 50px;
}

.homeGallerySwiper .swiper {
  width: 100%;
  overflow: hidden;
}

.homeGallerySwiper .swiper-slide {
  width: 280px !important;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

/* Gallery Card */
.gallery-card {
  background: linear-gradient(rgb(247, 251, 255) 0%, rgb(238, 245, 255) 100%);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 330px;
  width: 100%;
  max-width: 360px;
}

.gallery-card:hover {
  box-shadow: 0 8px 20px rgba(158, 159, 226, 0.15);
  transform: translateY(-8px);
}

/* Gallery Image */
.gallery-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  overflow: hidden;
  position: relative;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.05);
}

/* Gallery Content */
.gallery-content {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0px;
  padding: 0px 0px;
  text-align: center;
  transition: 0.4s;
}

.gallery-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.gallery-description {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 15px;
}

.gallery-footer {
  padding: 0px;
  background: #fff;
}

.gallery-label {
  display: block;
  width: 100%;
  background: #2f6f4e;
  color: #fff;
  text-align: center;
  padding: 14px 18px;
  border-radius: 0px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: 0.35s ease;
}

/* hover animation */
.gallery-card:hover .gallery-label {
  background: #ff7a00;
  transform: scale(0.96);
}

/* .gallery-label:hover {
    background: #3a6049;
    color: white;
    text-decoration: none;
} */

/* Navigation Arrows */
/* .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #2c2c2c;
    transition: all 0.3s ease;
    z-index: 10;
} */

/* .gallery-nav:hover {
    background: #4a7c59;
    color: white;
    border-color: #4a7c59;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
} */

/* Responsive */
/* Wrapper spacing only */
@media (max-width: 1024px) {
  .gallery-wrapper {
    padding: 20px 40px;
  }
}

@media (max-width: 768px) {
  .gallery-wrapper {
    padding: 20px 30px;
  }
}

@media (max-width: 480px) {
  .gallery-wrapper {
    padding: 20px;
  }
}

/* Swiper width control */
.homeGallerySwiper .swiper-slide {
  width: auto !important; /* desktop */
}

/* Mobile → full width card */
@media (max-width: 768px) {
  .homeGallerySwiper .swiper-slide {
    width: 100% !important;
  }
}

/* Card should fill slide */
.gallery-card {
  width: 100%;
}

.gallery-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ⭐ main magic */
  display: block;
}

@media (max-width: 768px) {
  .gallery-image {
    height: 220px;
  }
}

/* Card Setup */
/* .gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
} */

/* Image wrapper */
/* .gallery-image {
    position: relative;
    overflow: hidden;
} */

/* SHUTTER OVERLAY */
/* .gallery-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(66, 82, 36, 0.65);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
} */

/* .gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b, #0f172a);
} */

/* .gallery-section .section-heading h2,
.gallery-section .sub-title {
    color: #fff;
}


.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
} */

/* Label styling */
/* .gallery-overlay .overlay-label {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 25px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}

.gallery-overlay .overlay-label:hover {
    background: #ffffff;
    color: #000;
} */

/* ---- Contact Preview ---- */
.contact-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.contact-box:hover {
  box-shadow: var(--shadow-lg);
}

.contact-box i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-box h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* ---- Page Banner ---- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 60px 0 40px;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
}

.page-banner .breadcrumb {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.page-banner .breadcrumb-item.active {
  color: var(--secondary);
}

/* ---- About Page ---- */
.about-text {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.9;
}

.vision-mission-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
}

.vm-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.vision-mission-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.vision-mission-card p {
  color: var(--gray);
}

/* ---- Principal ---- */
.principal-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.principal-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border: 5px solid var(--primary-light);
}

.principal-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  margin: 0 auto 20px;
}

.principal-message-text {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.9;
}

/* ---- Enquiry Form ---- */
.enquiry-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-control,
.form-select {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

.form-label {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

/* ---- Contact Info ---- */
.contact-info-card .contact-box {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-info-card .contact-box i {
  font-size: 1.3rem;
  margin-top: 3px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px;
}

.site-footer h5 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.site-footer h5 i {
  color: var(--secondary);
  margin-right: 8px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  margin-right: 15px;
  font-size: 1.1rem;
}

.footer-social a:hover {
  color: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--secondary);
  margin-right: 10px;
  width: 18px;
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0 15px;
}

.site-footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Map ---- */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-padding {
    padding: 50px 0;
  }
}

@media (max-width: 767px) {
  .top-bar-info span {
    display: block;
    margin-bottom: 3px;
  }

  .hero-section {
    min-height: 420px;
  }

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

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

  .section-heading h2 {
    font-size: 1.7rem;
  }

  .enquiry-form-card {
    padding: 25px 20px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }
}

.video-box video {
  width: 100%;
  border-radius: 12px;
}

.announcement-video-section .row {
  position: relative;
  z-index: 5;
}

.notice-box {
  background: #fff;
  border-radius: 16px;
  height: 450px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
  position: relative;
}

.notice-header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 15px 20px;
  z-index: 10;
}

.notice-item {
  padding: 12px 20px;
}

.notice-box::-webkit-scrollbar {
  width: 6px;
}

.notice-box::-webkit-scrollbar-thumb {
  background: #ff5722;
  border-radius: 10px;
}

.notice-scroll {
  padding: 15px 20px;
  overflow-y: auto;
  flex: 1;
}

.notice-header h5 {
  font-weight: 600;
  margin: 0;
}

.view-all {
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  color: #ff5722;
  transition: 0.3s;
}

.view-all:hover {
  letter-spacing: 0.5px;
}

.notice-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: 0.3s ease;
}

.notice-item:hover {
  background: #f8f9fa;
  transform: translateX(4px);
}

.notice-date {
  background: linear-gradient(135deg, #ff6a00, #ff3c00);
  color: white;
  padding: 10px 12px;
  text-align: center;
  border-radius: 10px;
  min-width: 60px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.notice-date .day {
  font-size: 18px;
  line-height: 1;
}

.notice-date .month {
  font-size: 12px;
  text-transform: uppercase;
}

.notice-content h6 {
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 600;
}

.notice-content p {
  font-size: 13px;
  margin: 0;
  color: #666;
}

.notice-box {
  transition: 0.4s ease;
}

.notice-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.video-box {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 16/9;
  position: relative;
}

.video-box video {
  width: 100%;
  height: 100%;
}

.announcement-video-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #e9f6ff, #d6efff);
  overflow: visible;
  border-radius: 20px;
}

/* ===== DIAGONAL LINE TEXTURE ===== */
.announcement-video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.35) 1px,
    transparent 1px,
    transparent 22px
  );
  opacity: 0.35;
}

/* ===== BIG TOP RIGHT BLOB ===== */
.announcement-video-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle at center,
    rgba(0, 140, 255, 0.25),
    rgba(0, 140, 255, 0)
  );
  border-radius: 50%;
  top: -200px;
  right: -180px;
}

/* ===== FLOATING SHAPES CONTAINER ===== */
.announcement-video-section .bg-shapes span {
  position: absolute;
  display: block;
  z-index: 0;
}

/* Circle left */
.announcement-video-section .shape1 {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.12);
  left: -60px;
  top: 120px;
}

/* Triangle */
.announcement-video-section .shape2 {
  width: 0;
  height: 0;
  border-left: 90px solid transparent;
  border-right: 90px solid transparent;
  border-bottom: 140px solid rgba(0, 140, 255, 0.15);
  top: 50px;
  left: 40%;
}

/* Ring shape */
.announcement-video-section .shape3 {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 18px solid rgba(0, 110, 255, 0.15);
  bottom: 80px;
  right: 120px;
}

/* Rounded square */
.announcement-video-section .shape4 {
  width: 130px;
  height: 130px;
  background: rgba(0, 160, 255, 0.12);
  border-radius: 30px;
  bottom: -40px;
  left: 25%;
  transform: rotate(35deg);
}

/* DOT GRID (very subtle) */
.announcement-video-section .dots {
  position: absolute;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(
    rgba(0, 120, 255, 0.25) 2px,
    transparent 2px
  );
  background-size: 18px 18px;
  bottom: 40px;
  right: 30%;
  opacity: 0.25;
}

/* keep content above background */
.announcement-video-section .container {
  position: relative;
  z-index: 2;
}

.announcement-video-section .announcement-heading .sub-title {
  font-size: 14px;
  font-weight: 600;
  color: #ff5722;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.announcement-video-section .announcement-heading h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.announcement-video-section .row {
  display: flex;
  align-items: stretch;
}

.video-box {
  position: relative;
  z-index: 10;
}

.announcement-video-section .col-lg-8 {
  position: relative;
  z-index: 10;
  display: flex;
}

.announcement-video-section .col-lg-4 {
  position: relative;
  z-index: 1;
  display: flex;
}

.carousel-section {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* Desktop */
.carousel-section .swiper {
  width: 100%;
  height: 55vh;
  border-radius: 20px;
  overflow: hidden;
  max-height: 520px;
}

.carousel-section .swiper-slide {
  width: 100%;
  height: 100%;
}

.carousel-section .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* IMPORTANT */
  display: block;
  border-radius: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-section .swiper {
    width: 95%;
    height: 160px !important;
    border-radius: 12px;
  }

  .carousel-section .swiper-slide,
  .swiper-slide img {
    height: 160px !important;
  }

  .carousel-section .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

.carousel-section .swiper-slide {
  opacity: 0.4;
  filter: blur(3px);
}

.carousel-section .swiper-slide-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1.15);
}

.carousel-section {
  position: relative;
  padding: 60px 0 40px;
  background: #f4f9ff;
  overflow: hidden;
  margin: 0;
}

.carousel-section::before {
  content: "";
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: #2575fc;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.5;
}

.carousel-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: #2575fc;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.5;
}

.carousel-section .texture-layer {
  position: absolute;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.carousel-section .section-heading h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 15px auto 0;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  border-radius: 2px;
}

.carousel-section.section-description {
  max-width: 420px;
  margin-top: 10px;
  color: #334155;
  line-height: 1.7;
  font-size: 15px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: linear-gradient(90deg, #0f3b57, #0b2d44);
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}

.top-bar-info span {
  margin-right: 20px;
  animation: slideTop 0.8s ease;
}

.top-bar-social a {
  color: #fff;
  margin-left: 15px;
  transition: 0.3s;
}

.top-bar-social a:hover {
  color: #ff7a00;
  transform: translateY(-3px);
}

/* ===== NAVBAR BASE ===== */
.navbar {
  padding: 18px 0;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
}

/* scroll shrink */
.nav-scrolled {
  padding: 10px 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

/* LOGO */
.navbar-brand {
  font-size: 22px;
  font-weight: 700;
  color: #0f3b57 !important;
  transition: 0.4s;
}

.navbar-brand i {
  color: #ff7a00;
  margin-right: 6px;
}

.navbar-brand:hover {
  transform: scale(1.2);
}

.navbar-nav .nav-link .btn-admin-login {
  font-weight: 600;
  margin: 0 3px;
  color: #ebeaea !important;
  position: relative;
  padding: 6px 4px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  margin: 0 3px;
  color: #744949;
  position: relative;
  padding: 6px 4px;
}

/* underline grow animation */
.navbar-nav .nav-link:not(.student-zone)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: #ff7a00;
  transition: 0.35s;
  border-radius: 10px;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* active link glow */
.navbar-nav .nav-link.active {
  color: #0f3b57 !important;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
}

.btn-admin-login {
  /* background: #0f3b57; */
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 8px;
  margin-left: 10px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

/* glow wave */
.btn-admin-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transition: 0.6s;
}

.btn-admin-login:hover::before {
  left: 120%;
}

.btn-admin-login:hover {
  background: #ff7a00;
}

.navbar-collapse {
  transition: all 0.4s ease;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* zoom animation on dynamic image */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 59, 87, 0.95) 0%,
    rgba(15, 59, 87, 0.75) 40%,
    rgba(15, 59, 87, 0.35) 75%,
    rgba(15, 59, 87, 0.15) 100%
  );
}

.hero-content {
  max-width: 680px;
  color: #fff;
}

/* title animation */
.hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(60px);
  animation: titleReveal 1s ease forwards;
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* subtitle animation */
.hero-content p {
  font-size: 20px;
  margin: 25px 0 35px;
  opacity: 0;
  transform: translateY(60px);
  animation: subtitleReveal 1.4s ease forwards;
}

@keyframes subtitleReveal {
  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

.hero-buttons {
  opacity: 0;
  animation: btnReveal 1.8s ease forwards;
}

@keyframes btnReveal {
  to {
    opacity: 1;
  }
}

/* primary button */
.btn-hero-primary {
  background: #ff7a00;
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  margin-right: 15px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.btn-hero-primary:hover {
  transform: translateY(-4px);
}

/* outline button */
.btn-hero-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.btn-hero-outline:hover {
  background: #fff;
  color: #0f3b57;
}

/* glow wave effect */
.btn-hero-primary::after,
.btn-hero-outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.6s;
}

.btn-hero-primary:hover::after,
.btn-hero-outline:hover::after {
  left: 120%;
}

.hero-particles span {
  position: absolute;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: float 16s linear infinite;
}

.hero-particles span:nth-child(1) {
  left: 10%;
  top: 25%;
}

.hero-particles span:nth-child(2) {
  left: 85%;
  top: 35%;
  animation-duration: 20s;
}

.hero-particles span:nth-child(3) {
  left: 70%;
  top: 75%;
  animation-duration: 18s;
}

.hero-particles span:nth-child(4) {
  left: 30%;
  top: 80%;
  animation-duration: 22s;
}

@keyframes float {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-180px);
  }
}

.hero-content h1 {
  color: #ceced7;
}

/* common style */
.swiper-button-next,
.swiper-button-prev {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  background: rgb(16 16 16 / 41%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: 0.4s;
}

/* arrow color */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

/* hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #ff7a00;
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0.5;
  transition: 0.4s;
}

/* active dot */
.swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 20px;
  background: #ff7a00;
  opacity: 1;
}

.swiper-pagination-bullet:hover {
  transform: scale(1.3);
  opacity: 1;
}

.swiper-button-next {
  right: 30px;
}

.swiper-button-prev {
  left: 30px;
}

.swiper-pagination {
  bottom: 0px !important;
}

.welcome-content h2 {
  font-size: 44px;
  font-weight: 800;
  margin: 20px 0;
  color: #0f3b57;
}

.sub-title {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0f3b57;
  background: #00bcd461;
  padding: 8px 16px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.sub-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: shineTag 3s infinite;
}

@keyframes shineTag {
  0% {
    left: -120%;
  }

  50% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

.sub-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 3px;
  background: #ff7a00;
  border-radius: 10px;
  transition: 0.6s;
}

.welcome-section.show .sub-title::after {
  width: 100%;
}

.gallery-card {
  border-radius: 20px 20px 0px 0px;
  overflow: hidden;
  background: linear-gradient(rgb(247, 251, 255) 0%, rgb(238, 245, 255) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.5s;
}

.gallery-card:hover {
  transform: translateY(-15px) scale(1.03);
}

.gallery-image {
  position: relative;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.7s;
}

/* zoom on hover */
.gallery-card:hover img {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.3),
    transparent
  );
  opacity: 0;
  transition: 0.5s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.overlay-text {
  color: #fff;
  font-weight: 600;
  transform: translateY(20px);
  transition: 0.4s;
}

.gallery-card:hover .overlay-text {
  transform: translateY(0);
}

.gallery-footer {
  padding: 0px;
  text-align: center;
}

.gallery-label {
  background: #2f6b45;
  color: #fff;
  padding: 10px 20px;
  border-radius: 0px 0px 0px 0px;
  display: inline-block;
  font-weight: 600;
  transition: 0.4s;
}

.gallery-label:hover {
  background: #ff7a00;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background: #dc354540;
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 18px;
  transition: 0.4s;
  z-index: 5;
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-nav:hover {
  background: #ff7a00;
  transform: translateY(-50%) scale(1.15);
}

.gallery-wrapper {
  position: relative;
  padding: 0 40px;
}

.swiper-slide {
  height: auto !important;
}

.contact-preview {
  padding: 110px 0;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  position: relative;
  overflow: hidden;
}

/* glow blobs */
.contact-preview::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: #2e86c1;
  filter: blur(170px);
  opacity: 0.12;
  top: -120px;
  left: -120px;
}

.contact-preview::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: #ff7a00;
  filter: blur(170px);
  opacity: 0.12;
  bottom: -120px;
  right: -120px;
}

.contact-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: 0.5s;
  position: relative;
  overflow: hidden;
}

/* gradient border glow */
.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(120deg, #2e86c1, #00c6ff, #ff7a00);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: 0.5s;
}

.contact-box:hover::before {
  opacity: 1;
}

.contact-box:hover {
  transform: translateY(-18px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.contact-box i {
  font-size: 32px;
  color: #1a5276;
  margin-bottom: 18px;
  transition: 0.5s;
}

/* icon pop animation */
.contact-box:hover i {
  transform: scale(1.3) rotate(8deg);
  color: #ff7a00;
}

.contact-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(180deg, #a9c4e4 0%, #f4f9ff 100%);
  overflow: hidden;
}
.contact-link {
  color: #23d2e9; /* theme color */
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-link:hover {
  color: #ff5722;
  text-decoration: underline;
}

/* blue soft glow */
.contact-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #2e86c1;
  top: -180px;
  left: -180px;
  filter: blur(200px);
  opacity: 0.15;
}

/* orange glow */
.contact-section::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: #ff7a00;
  bottom: -180px;
  right: -180px;
  filter: blur(200px);
  opacity: 0.12;
}

.hero-title-animate {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  display: inline-block;

  /* moving gradient text */
  background: linear-gradient(90deg, #ffffff, #ff7a00, #ffd166, #ffffff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientMove 6s linear infinite;
}

/* gradient movement */
@keyframes gradientMove {
  0% {
    background-position: 0%;
  }

  100% {
    background-position: 300%;
  }
}

/* ⭐ zoom animation separate wrapper */
.hero-content {
  animation: heroZoomText 3.5s ease-in-out infinite;
}

@keyframes heroZoomText {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.submitEnquiryBtn {
  background: #198754e8;
  color: #e9ecef;
  padding: 8px 22px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.submitEnquiryBtn:hover {
  background: #036336;
  color: hwb(0 98% 1%);
  transform: scale(0.92);
}

.submitEnquiryBtn:active {
  transform: scale(0.88);
}

/* ==============================
   GLOBAL MOBILE SPACING FIX
==============================*/

@media (max-width: 768px) {
  /* har section ka vertical gap same */
  section {
    padding: 60px 0 !important;
  }

  /* container side spacing */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* bootstrap row gap fix */
  .row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
  }

  /* buttons chipakne ka fix */
  .btn {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  /* headings ka gap */
  .section-heading {
    margin-bottom: 35px !important;
    padding: 0 !important;
  }

  /* cards ka bottom spacing */
  .card,
  .gallery-card,
  .contact-box,
  .facility-card {
    margin-bottom: 20px;
  }

  /* hero section height fix */
  .hero-section {
    min-height: 520px !important;
  }
}

.container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.homeGallerySwiper {
  overflow: hidden;
}

.homeGallerySwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.homeGallerySwiper .swiper-slide {
  height: auto;
}

/* Desktop only */
.navbar .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.dropdown-item {
  padding: 10px 16px;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.nav-item.dropdown .dropdown-toggle::after {
  transform: scale(1);
}

.nav-item.dropdown:hover .dropdown-toggle::after {
  transform: scale(0);
}

/* Parent dropdown */
.nav-item.dropdown {
  position: relative;
}

/* Student Zone link */
.nav-item.dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Arrow */
.nav-item.dropdown .dropdown-toggle::after {
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  transform-origin: center;
}

/* Hover pe arrow rotate */
.nav-item.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown box */
.navbar .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.28s ease;
  margin-top: 12px;
  min-width: 220px;
  padding: 10px 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Hover pe show */
.navbar .nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items */
.navbar .dropdown-menu .dropdown-item {
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 500;
  color: #2b2b2b;
  transition: all 0.25s ease;
  border-radius: 10px;
  margin: 2px 8px;
  width: auto;
}

/* Item hover */
.navbar .dropdown-menu .dropdown-item:hover {
  background: rgba(255, 122, 0, 0.08);
  color: #ff7a00;
  padding-left: 24px;
}

/* Active page inside dropdown */
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
  background: rgba(255, 122, 0, 0.12);
  color: #ff7a00;
}

/* Student Zone main nav hover */
.navbar .nav-item.dropdown:hover > .nav-link {
  color: #ff7a00;
}

@media (max-width: 991px) {
  .navbar .dropdown-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
    min-width: 100%;
    padding: 6px 0;
    border-radius: 10px;
    box-shadow: none;
  }

  .navbar .dropdown-menu.show {
    display: block;
  }

  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: none;
  }

  .navbar .nav-item.dropdown:hover .dropdown-menu.show {
    display: block;
  }

  .navbar-nav {
    margin-left: 0 !important;
  }

  .nav-item.dropdown .dropdown-toggle::after {
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
    transform-origin: center;
  }

  /* Hover pe arrow rotate */
  .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  /* .nav-item.dropdown .dropdown-toggle::after {
    transform: scale(1);
  } */

  .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: scale(0);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 12px !important;
  }

  .navbar .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
    margin-right: 8px !important;
  }

  .school-logo {
    height: 38px !important;
    width: auto !important;
    flex-shrink: 0;
  }

  .navbar-brand img {
    height: 38px !important;
    width: auto !important;
    flex-shrink: 0;
  }

  .navbar-brand h1,
  .navbar-brand h2,
  .navbar-brand h3,
  .navbar-brand h4,
  .navbar-brand h5,
  .navbar-brand h6,
  .navbar-brand p,
  .navbar-brand span,
  .navbar-brand small,
  .navbar-brand div {
    min-width: 0;
  }

  .school-text {
    min-width: 0;
    overflow: hidden;
  }

  .school-text h5,
  .school-text h4,
  .school-text h3,
  .school-text h2,
  .school-text h1 {
    font-size: 10px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .school-text p,
  .school-text span,
  .school-text small {
    font-size: 8px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar-toggler {
    flex-shrink: 0;
    padding: 4px 6px !important;
    margin-left: 0 !important;
  }
}
