* {
  transition: all 0.3s ease-in-out;
}
body {
  background: linear-gradient(-45deg, #f3f8ff, #e6f0ff, #f3f8ff, #ffffff);
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
[data-aos] {
  transition-property: transform, opacity !important;
  will-change: transform, opacity;
}


@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) translateX(100vw) rotate(360deg);
  }
}

.shadow-box, .gallery-thumb, .slider-img, .rounded {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.bubble-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -20px;
  background: radial-gradient(circle, red 0%, darkred 100%);
  border-radius: 50%;
  opacity: 0.4;
  animation: floatUp ease-in infinite;
}

@keyframes floatUp {
  0% {
	transform: translateY(0) translateX(0) scale(1);
	opacity: 0.4;
  }
  50% {
	transform: translateY(-50vh) translateX(10px) scale(1.2);
	opacity: 0.3;
  }
  100% {
	transform: translateY(-110vh) translateX(-10px) scale(0.8);
	opacity: 0;
  }
}
/* 🌫️ Elegant Grey Topbar */
.topbar {
  background: linear-gradient(to right, #f5f5f5, #e0e0e0); /* soft grey gradient */
  color: #333;
  padding: 8px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  animation: fadeInTop 0.6s ease-in-out;
  font-size: 14px;
}

.topbar a {
  color: #333 !important;
  margin-right: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.topbar a:hover {
  color: #6c757d !important; /* muted grey hover */
  transform: translateY(-1px);
}

.topbar i {
  font-size: 14px;
  margin-right: 4px;
  vertical-align: middle;
}

/* ✨ Entry Animation */
@keyframes fadeInTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.school-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.school-carousel .owl-nav button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  border-radius: 50%;
  border: none;
}

.school-carousel .owl-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.school-carousel .owl-dot span {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  display: block;
  margin: 5px 5px;
  transition: all 0.3s ease;
}

.school-carousel .owl-dot.active span {
  background: #007bff;
  transform: scale(1.2);
}
.section-padding {
  padding: 60px 0;
}
section h3, section h4 {
  font-weight: 700;
  position: relative;
}
section h3::after, section h4::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #007bff;
  margin-top: 8px;
}
section .text-center h3::after,
section .text-center h4::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #007bff; /* a soft grey instead of bright blue */
  margin: 8px auto 0; /* center it */
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  transition: width 0.3s ease;
}
.notice-board {
  background-color: #f8f9fa;
  padding: 20px;
  height: 100%;
  border-left: 2px solid #0d6efd;
}
.teacher-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
/* Logo size control */
.logo-img {
  height: 60px;
  width: auto;
}
.logo-right a{
	text-decoration:none;
	color: rgb(87, 32, 244);
}
/* Custom menu spacing or color */
/* 🌫️ Grey Navigation */
.navbar {
  background: linear-gradient(to right, #e0e0e0, #f8f8f8); /* smooth grey gradient */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  animation: fadeInNav 0.5s ease-in-out;
}

.navbar-brand {
  color: #333 !important;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #555 !important;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover underline effect */
.navbar-nav .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #555;
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #555 !important;
}

/* Active link style */
.navbar-nav .nav-link.active {
  color: #222 !important;
  font-weight: 600;
}

/* Toggler button */
.navbar-toggler {
  border: none;
  outline: none;
}

/* Animate nav on load */
@keyframes fadeInNav {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Admission Banner */
.admission-banner {
  background: linear-gradient(135deg, #007bff, #6610f2);
  animation: pulseGlow 3s infinite;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.4);
}
/* Notice Marquee */
.notice-marquee-wrapper {
  height: 277px;
  position: relative;
  overflow: hidden;
}
.notice-marquee-wrapper {
  border: 1px solid #007bff;
  border-radius: 8px;
  background: #f0f8ff;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.notice-marquee ul li {
  padding: 6px 0;
  font-weight: 500;
}
.notice-marquee ul {
  animation: scroll-up 15s linear infinite;
}

.notice-marquee ul li {
  padding: 10px 0;
  border-bottom: 1px dashed #ccc;
  color: #333;
  font-size: 16px;
}
.notice-marquee ul li a{
	text-decoration:none;
}
.notice-group li a{
	text-decoration:none;
}
/* Scroll animation */
@keyframes scroll-up {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}
.about-dops-section .badge {
  background-color: #0d6efd; /* Bootstrap primary */
  color: white;
  font-size: 1rem;
  border-radius: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.gallery-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.gallery-thumb:hover,
.slider-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 45px rgba(0, 123, 255, 0.8);
  }
}
.card-img-top {
  height: 200px;
  object-fit: cover;
}
.teacher-carousel .item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 4px solid #f0f0f0;
  margin: 0 auto 15px;
  display: block;
  transition: transform 0.3s ease;
}

.teacher-carousel .item:hover img {
  transform: scale(1.05);
}
/* Style the nav arrows */
.teacher-carousel .owl-nav {
  position: absolute;
  top: 35%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* allow clicks only on icons */
}

.teacher-carousel .owl-nav button {
  width: 45px !important;
  height: 45px !important;
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 50% !important;
  color: #333 !important;
  font-size: 20px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  pointer-events: auto;
  transition: 0.3s;
}

.teacher-carousel .owl-nav button:hover {
  background-color: #007bff !important;
  color: #fff !important;
}


/* Style the dots */
.teacher-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.teacher-carousel .owl-dot i {
  width: 12px;
  height: 12px;
  background: #ccc;
  display: inline-block;
  margin: 0 5px;
  border-radius: 50%;
  transition: 0.3s;
}

.teacher-carousel .owl-dot.active span {
  background: #007bff;
}

.testimonials-section .section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

.testimonial-item {
  background: #f9f9f9;
  padding: 20px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  height: 100%; /* make height auto-adjust in owl stage */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}


.testimonial-item:hover {
  transform: translateY(-5px);
}

.testimonial-content p {
  font-style: italic;
  color: #555;
}

.testimonial-item img {
  width: 60px !important;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ddd;
}
.btn-primary {
  background: linear-gradient(to right, #0062E6, #33AEFF);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
}
.btn-primary:hover {
  background: linear-gradient(to right, #0052cc, #0099ff);
  transform: translateY(-2px);
}
.single-news-wrapper{
    border: 1px solid rgba(0,0,0,0.05);
}
.news-header {
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.left-title{
    width: 90%;
}
.news-header .news-meta {
    color: #adafb1;
}
.news-header .news-title {
    font-size: 32px;
    line-height: 1.2;
}
.news-image{
    padding: 20px;
    background: #fff;
}
.page-content {
    background: #fff;
    padding: 20px;
    line-height: 1.8;
    letter-spacing: 0.005em;
}
.page-content img{
    margin-bottom: 2rem;
}

.gallery-album-view {
    margin-bottom: 50px;
}

.gallery-album-view .album-title {
    margin-bottom: 20px;
}

.gallery-album-view .album-title h3 {
    margin-bottom: 0;
    margin-top: 5px;
}

.gallery-album-view .view-all-btn .btn {
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #105997;
    font-size: 13px;
    border-radius: 0;
    background: #dfe7ef;
}
.gallery-album-view .view-all-btn .btn:hover {
    color: #fff;
    background: #105997;
}
.gallery-area{
    background: #fff;
}

/*******************/
/******sidebar******/
/******************/
.widgets {
	margin-bottom: 30px;
	border: 1px solid rgba(0,0,0,0.05);
}
.widgets .widget-title {
    background: #fff;
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.widgets .widgets-content {
    background: #fff;
    padding: 20px;
}

.widgets .widgets-content
 ul {
    list-style: none;
    padding: 0;
	margin: 0;
}

.widgets .widget-title h4 {
    color: #105997;
    text-transform: uppercase;
	font-weight: 600;
}

.widgets .widgets-content
 ul li span.meta {
    font-size: 13px;
    color: #abb0b5;
}

.widgets .widgets-content
 ul li h5.news-title {
    font-size: 20px;
	line-height: 1.3;
    margin-bottom: 0;
}
.widgets .widgets-content
 ul li h5.news-title a {
    color: #152736;
}

.widgets .widgets-content
 ul li h5.news-title a:hover {
    color: #105997;
}

.widgets .widgets-content
 ul li {
    margin-bottom: 12px;
    border-bottom: 1px dotted rgba(0,0,0,0.08);
    padding-bottom: 12px;
	padding-left: 0;
}

.widgets .widgets-content
 ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}


.widgets.recent-events-widget .widgets-content
 ul li {
    display: table;
}

.recent-events-widget .event-date {
    text-align: center;
    background: #105997;
    color: #fff;
    display: block;
    height: 80px;
    width: 80px;
}

.recent-events-widget .event-date .date {
    font-size: 36px;
    line-height: 24px;
}

.recent-events-widget .event-date .month {
    font-size: 14px;
    color: #d3d9de;
	display: block;
	line-height: 20px;
}

.recent-events-widget .event-title {
    padding-left: 20px;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 0;
    display: table-cell;
    vertical-align: middle;
}
.widgets .widgets-content
 ul li h5.event-title a {
    color: #152736;
}

.widgets .widgets-content
 ul li h5.event-title a:hover {
    color: #105997;
}
form .form-control {
  transition: 0.3s ease-in-out;
}

form .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

form textarea {
  resize: none;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.icon-circle:hover {
  transform: scale(1.1);
}


.whychooseus .feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whychooseus .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.whychooseus .icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}