* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
}

p {
  line-height: 1.8;
}

.main-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  background: linear-gradient(90deg, #494949, #0146ae);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
}

.container {
  width: 92% !important;
  margin: 0 auto;
  max-width: 100%;
}

/* Navbar */
.navbar {
  background: #0146ae;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* Brand */
.navbar-brand {
  color: #fff !important;
  font-weight: 600;
  font-size: 22px;
}

/* Nav links */
.navbar-nav .nav-link {
  color: #fff !important;
  margin: 0 10px;
  position: relative;
  font-size: 15px;
  transition: 0.3s;
}

/* Hover underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #ffd700;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important;
}

/* Active link */
.navbar-nav .active > .nav-link {
  color: #ffd700 !important;
}

/* Hamburger animation */
.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background: #fff;
  transition: 0.4s;
}

/* Toggle animation */
.navbar-toggler.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler.open span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 15px;
  }

  .navbar-nav .nav-link {
    margin: 5px 0;
  }
}

/* ================= SLIDER ================= */
.carousel-item {
  transition: transform 0.8s ease-in-out;
  /* smooth slide */
}

/* Image */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🔥 Attractive Buttons */
.carousel-control-prev,
.carousel-control-next {
  width: 35px;
  height: 35px;
  background: #0146ae;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 1;
}

/* Hover Gradient */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
}

/* Icon */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 20px;
  height: 20px;
}

/* Hover Icon */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: invert(0);
}

/* Position */
.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 25px;
    height: 25px;
  }
}

#goTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  background: #ff9800;
  color: #000;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  /* hidden by default */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Hover Effect */
#goTopBtn:hover {
  background: #002147;
  transform: scale(1.15);
  color: #fff;
}

.footer {
  background: #111;
  color: #fff;
  padding: 15px 0;
  text-align: center;
}

.padding-box {
  padding: 60px 20px;
  background: #fff;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Image */
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Load More */
.load-more {
  text-align: center;
  margin-top: 30px;
}

.load-more a {
  display: inline-block;
  padding: 10px 25px;
  background: #002147;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

#loadBtn:hover,
.load-more a:hover {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
}

/* Tablet */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.end-msg {
  color: #002147;
  background: #eaf2ff;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
}

#loadBtn {
  padding: 8px 16px;
  background: #002147;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Loader Wrapper */
#loader {
  margin-top: 15px;
}

/* Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #002147;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}

/* Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Card */
.award-card {
  background: #f5f7fb;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
}

.award-icon {
  font-size: 35px;
  margin-bottom: 15px;
}

.award-card h4 {
  font-size: 18px;
  color: #002147;
  margin-bottom: 10px;
}

.award-card p {
  font-size: 14px;
  color: #555;
}

/* Hover Effect */
.award-card:hover {
  transform: translateY(-8px);
}

/* Responsive */
@media (max-width: 992px) {
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }
}

.video-section {
  padding: 60px 20px;
  background: #f5f7fb;
}

.vcontainer {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

/* Responsive Video */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Hover Effect */
.video-wrapper:hover {
  transform: scale(1.02);
  transition: 0.3s ease;
}

.contact-section {
  padding: 60px 20px;
  background: #f5f7fb;
  text-align: center;
}

/* Box */
.contact-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-box h3 {
  color: #002147;
  margin-bottom: 10px;
}

.contact-text {
  color: #555;
  margin-bottom: 20px;
}

/* Details */
.contact-details p {
  margin: 8px 0;
  color: #444;
}

/* Social Icons */
.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 5px;
  border-radius: 50%;
  background: #002147;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  background: #007bff;
  transform: translateY(-5px);
}

.section-subtitle {
  color: #666;
  margin-bottom: 40px;
  text-align: center;
}

/* Images */
.swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.swiper-slide img:hover {
  transform: scale(1.05);
}

/* Arrows */
.swiper-button-next,
.swiper-button-prev {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #000;
  transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #007bff;
  color: #fff;
  transform: scale(1.1);
}

/* Arrow icon size */
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
}

/* Pagination dots */
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #007bff;
  width: 20px;
  border-radius: 10px;
}

.profile-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.profile-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.3s;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Image */
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.profile-content {
  padding: 30px;
}

.profile-title {
  font-size: clamp(22px, 3vw, 32px);
  color: #002147;
  font-weight: 700;
  margin-bottom: 15px;
}

.profile-content p {
  font-size: 15px;
  color: #555;
}

/* Responsive */
@media (max-width: 767px) {
  .profile-img {
    height: 300px;
  }
}

.read-btn {
  margin-top: 10px;
  border: none;
  background: #0146ae;
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.read-btn:hover {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
}

.info-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
}

/* Title with icon */
.section-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #0146ae;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

/* Icon circle */
.section-title i {
  margin-right: 12px;
  font-size: 18px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
}

/* Text */
.info-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* List */
.info-list {
  padding-left: 18px;
}

.info-list li {
  margin-bottom: 8px;
}

/* Highlight */
.highlight-box {
  background: #eaf4ff;
  padding: 15px;
  border-left: 4px solid #0072ff;
  border-radius: 8px;
  margin-top: 15px;
}

/* Mobile */
@media (max-width: 767px) {
  .info-card {
    padding: 20px;
  }
}

.header-section {
  background: linear-gradient(135deg, #ffffff, #04181e);
  color: #fff;
  padding: 55px 0;
  text-align: center;
}

.header-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.header-subtitle {
  font-size: 16px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .header-title {
    font-size: 26px;
  }
}

/* Section */
.institution-section {
  padding: 60px 20px;
  background: #fff;
}

/* Block */
.institution-block {
  background: #f5f7fb;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 5px 0px 25px rgba(0, 0, 0, 0.08);
}

/* Title */
.institution-heading {
  font-size: clamp(14px, 3vw, 20px);
  font-weight: 700;
  color: #0146ae;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.institution-heading i {
  margin-right: 10px;
  color: #0146ae;
}

/* Text */
.institution-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* Highlight */
.highlight {
  background: #eaf4ff;
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: 600;
}

/* Important box */
.important-box {
  margin-top: 15px;
  padding: 15px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  font-size: 14px;
}

.institution-block {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* LEFT IMAGE (1:1 RATIO) */
.institution-img {
  width: 200px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.institution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

/* Hover zoom */
.institution-block:hover img {
  transform: scale(1.05);
}

/* RIGHT CONTENT */
.institution-content {
  flex: 1;
}

@media (max-width: 768px) {
  .institution-block {
    flex-direction: column;
  }

  .institution-img {
    width: 100%;
  }
}

.quote-section {
  padding: 60px 20px;
  background: linear-gradient(90deg, #494949, #0146ae);
  display: flex;
  justify-content: center;
}

/* Card */
.quote-card {
  max-width: 1000px;
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
}

/* Author Image */
.author-img {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #0072ff;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Author Name */
.author-name {
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.author-role {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

/* Icon */
.quote-icon {
  font-size: 35px;
  color: #0072ff;
  margin-bottom: 15px;
}

/* English Quote */
.quote-en {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Divider */
.quote-divider {
  width: 60px;
  height: 3px;
  background: #0072ff;
  margin: 15px auto;
}

/* Telugu Quote */
.quote-te {
  font-size: 20px;
  color: #555;
  line-height: 1.8;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .quote-card {
    padding: 25px 20px;
  }

  .quote-en {
    font-size: 18px;
  }

  .quote-te {
    font-size: 16px;
  }
}

.impact-section {
  padding: 60px 20px;
  background: #dcecfb;
}

/* Heading */
.impact-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #222;
}

/* Cards */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Card */
.impact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  position: relative;
}

.impact-card:hover {
  transform: translateY(-6px);
}

/* Text */
.impact-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .impact-title {
    font-size: 26px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }
}

.impact-card h3 {
  position: relative;
  font-size: 18px;
}

.impact-card h3::before {
  content: "★";
  position: relative;
  left: 0px;
  top: 0px;
  font-size: 20px;
  color: #ff9800;
  margin-right: 4px;
}
