@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap");

.custom_container {
  max-width: 1278px !important;
}

body {
  font-family: "Geist", sans-serif !important;
  background-color: rgba(128, 128, 128, 0.297);
}

:root {
  --primary-orange: #ea580c;
  --primary-blue: #2563eb;
  --primary-green: #16a34a;
  --text-light: #6c757d;
}

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

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

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

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

.bg-primary-blue {
  background-color: var(--primary-blue) !important;
}

.duration-300 {
  transition: all 0.3s ease-in-out;
}

.top-background {
  background-image: url("https://www.gmuniversity.ac.in/assets/icons/1.jpg");
  background-size: auto 15px;
  height: 15px;
  background-repeat: repeat-x;
}

.top-2-background {
  background-image: url("https://www.gmuniversity.ac.in/assets/icons/2.png");
  background-size: auto 20px;
  height: 20px;
  background-repeat: repeat-x;
}

.top-3-background {
  background-image: url("https://www.gmuniversity.ac.in/assets/image/lower_border.jpg");
  background-size: auto 25px;
  height: 25px;
  background-repeat: repeat-x;
}

/* Mobile Sidebar Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1rem;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.mobile-menu-toggle:hover {
  color: var(--primary-orange);
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  transition: all 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-close {
  background: none;
  border: none;
  font-size: 1rem;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.sidebar-close:hover {
  color: var(--primary-orange);
  transform: rotate(90deg);
}

.sidebar-nav {
  padding: 1rem;
}

.sidebar-nav .nav-link {
  display: block;
  padding: 0.75rem 0;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-nav .nav-link:hover {
  color: var(--primary-orange);
  padding-left: 10px;
}

.sidebar-nav .nav-link.active {
  color: var(--primary-orange);
}

.sidebar-actions {
  padding: 1rem;
  border-top: 1px solid #eee;
}

.sidebar-actions .login-btn {
  width: 100%;
  margin-bottom: 1rem;
}

.sidebar-actions .language-selector {
  width: 100%;
}

/* Hide hamburger icon */
.navbar-toggler {
  display: none !important;
}

/* Navbar Styles */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text h4 {
  font-size: 1.5rem;
  margin: 0;
  color: #2c3e50;
  font-weight: 800;
}

.brand-text p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-light);
}

.navbar-nav .nav-link {
  color: #2c3e50;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease-in-out;
  padding: 0 !important;
}

.navbar-nav .nav-link.active {
  color: var(--primary-orange);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-orange);
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-orange);
}

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

.login-btn {
  background-color: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.5rem 2rem;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.login-btn:hover {
  background-color: #af4105;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
  color: white;
}

.language-selector {
  background-color: transparent;
  border: 1px solid #ddd;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: #2c3e50;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  min-width: 110px;
}

.language-selector:hover {
  border-color: var(--primary-orange);
}

.language-selector:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Indian Flag Strip */
.flag-strip {
  height: 4px;
  background: linear-gradient(
    to right,
    #ff9933 33.33%,
    #ffffff 33.33% 66.66%,
    #138808 66.66%
  );
}

/* Hero Section Slider Styles */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hero-section .slick-slider,
.hero-section .slick-track,
.hero-section .hero-slide,
.hero-section .slick-list {
  align-items: end;
  min-height: 400px !important;
}

.hero-slider {
  height: 100%;
  position: relative;
}

.hero-slider .slick-list,
.hero-slider .slick-track {
  height: 100%;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex !important;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 46, 100, 0.95) 0%,
    rgba(27, 46, 100, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

/* Hero Slider Dots */
.hero-slider .slick-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important;
  justify-content: center;
  gap: 12px;
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.hero-slider .slick-dots li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider .slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  outline: none;
  background: transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-slider .slick-dots li.slick-active button {
  background: white;
  border-color: white;
  width: 14px;
  height: 14px;
}

.slick-dots li button:before {
  display: none;
}

.hero-slider .slick-dots li button:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

/* Hero Navigation Arrows */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.hero-prev {
  left: 30px;
}

.hero-next {
  right: 30px;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

/* Animation Classes */
.animate-fadeInUp {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.animation-delay-1 {
  animation-delay: 0.3s;
}

.animation-delay-2 {
  animation-delay: 0.6s;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1b2e64e3;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 95%;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 620px;
}

.admission-btn {
  background-color: var(--primary-orange);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.admission-btn:hover {
  background-color: #af4105;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

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

.info-cards-section,
.school-gallery-section,
.reviews-section,
.criteria-section,
.alumni-section,
.about-section {
  background-color: #f9fafb;
}

.about-section img {
  object-fit: cover;
  max-height: 200px;
  object-position: top;
}

.school-gallery-section img:hover {
  transform: scale(1.03);
}

.info-card {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.info-card:hover,
.achievements-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Notices & Events Section */
.notices-events-section {
  background-color: #fff;
}

.notices-wrapper {
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.events_height {
  max-height: 410px;
  overflow: hidden;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #4dcfe6 transparent;
}

.events_height::-webkit-scrollbar {
  width: 6px;
}

.events_height::-webkit-scrollbar-track {
  background: transparent;
  display: none !important;
}

.events_height::-webkit-scrollbar-thumb {
  background-color: #4dcfe6;
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.events_height::-webkit-scrollbar-thumb:hover {
  background-color: #ff4907;
}

.events_height::-webkit-scrollbar-button {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

.notice-item {
  padding: 12px 20px;
  border: 1px solid;
  border-color: transparent;
  transition: all 0.3s ease-in-out;
}

.notice-item:hover.border-orange {
  border-color: var(--primary-orange) !important;
}

.notice-item:hover.border-blue {
  border-color: var(--primary-blue) !important;
}

.notice-item:hover.border-green {
  border-color: var(--primary-green) !important;
}

.notice-item:hover.border-purple {
  border-color: #9333ea !important;
}

.notice-item.border-orange {
  border-left: 4px solid;
  border-left-color: var(--primary-orange);
}

.notice-item.border-blue {
  border-left: 4px solid;
  border-left-color: var(--primary-blue);
}

.notice-item.border-green {
  border-left: 4px solid;
  border-left-color: var(--primary-green);
}

.notice-item.border-purple {
  border-left: 4px solid;
  border-left-color: #9333ea;
}

.notice-date {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
  margin-bottom: 4px;
}

.notice-desc {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
  font-weight: 500;
}

/* Events Styles */
.events-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease-in-out;
  border: 1px solid transparent;
}

.event-card-1 {
  background-color: #ffedd5;
}

.event-card-1:hover {
  border-color: var(--primary-orange);
}

.event-card-2:hover {
  border-color: var(--primary-blue);
}

.event-card-3:hover {
  border-color: var(--primary-green);
}

.event-card-1 .event-date-badge {
  background-color: var(--primary-orange);
}

.event-card-1 .event-time {
  color: var(--primary-orange);
}

.event-card-2 {
  background-color: #dbeafe;
}

.event-card-2 .event-date-badge {
  background-color: var(--primary-blue);
}

.event-card-2 .event-time {
  color: var(--primary-blue);
}

.event-card-3 {
  background-color: #dcfce7;
}

.event-card-3 .event-date-badge {
  background-color: var(--primary-green);
}

.event-card-3 .event-time {
  color: var(--primary-green);
}

.event-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.event-date-badge {
  border-radius: 40px;
  padding: 4px 12px;
  text-align: center;
}

.date-month {
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
}

.event-desc {
  font-weight: 500;
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.event-time {
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

.achievements-card img {
  height: 200px;
  object-fit: cover;
}

.user-img {
  height: 50px;
  width: 50px;
  border-radius: 100%;
}

.footer-section {
  background-color: #fef3f2;
  color: black;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: black;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #e2e8f0;
  transition: all 0.3s ease-in-out;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: black;
}

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

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

.social-links a:hover {
  color: var(--primary-orange);
}

.footer-links a {
  color: black;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-orange);
  transition: all 0.3s ease-in-out;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

.footer-links a:hover::after {
  width: 100%;
}

.border-f-t {
  background-image: url("https://www.gmuniversity.ac.in/assets/icons/footer.png");
  background-size: auto 15px;
  height: 20px;
  background-repeat: repeat-x;
}

.border-f-b {
  background-image: url("https://www.gmuniversity.ac.in/assets/icons/footer.png");
  background-size: auto 15px;
  height: 15px;
  background-repeat: repeat-x;
  transform: rotate(180deg);
}
.about-card {
  border: 1px solid #b61718;
  padding: 8px;
  border-radius: 6px;
}

/* Common Heading & Paragraph Styles - Reusable across sections */
.section-heading {
  font-size: 32px;
  font-weight: 700;
  color: #a61e22;
  margin-bottom: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border-radius: 6px;
}

.section-para {
  font-size: 1.125rem;
  line-height: 140%;
  font-weight: 500;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.card-heading {
  color: #2c3e50;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.card-desc {
  color: var(--primary-orange);
  font-weight: 500;
  margin-bottom: 0;
  font-size: 16px;
}

/* Alumni Section Styles */
.alumni-section .slick-list {
  padding-top: 16px;
}

.alumni-card {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  min-height: 320px;
  border: 1px solid #0000002d;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.alumni-card:hover {
  transform: translateY(-5px);
  border: 1px solid #000000b0;
}

.alumni-img-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alumni-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.alumni-prev-btn,
.alumni-next-btn {
  width: 45px;
  height: 45px;
  background: #ff6b35;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.alumni-prev-btn:hover,
.alumni-next-btn:hover {
  background: #e55a2b;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.alumni-prev-btn svg,
.alumni-next-btn svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* Departments Section */
.departments-section {
  overflow: hidden;
}

.departments-section .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-weight: 500;
}

.departments-scroll-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 12px;
}

.departments-scroll {
  display: flex;
  animation: scroll-departments 20s linear infinite;
}

.department-card {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  margin: 0 10px;
  text-align: center;
  min-width: 200px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-color: #ff6b35;
}

.department-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: #fff5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.department-card:hover .department-icon {
  background: #ffe5db;
}

.department-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.department-card h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 220px;
}

/* Continuous scroll animation */
@keyframes scroll-departments {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.departments-scroll-wrapper:hover .departments-scroll {
  animation-play-state: paused;
}

@media (min-width: 1200px) {
  .main_parent {
    min-height: 100vh;
  }
}

@media (max-width: 1199.98px) {
  .hero-section,
  .hero-section .slick-slider,
  .hero-section .slick-track,
  .hero-section .hero-slide,
  .hero-section .slick-list {
    min-height: 350px !important;
  }

  .navbar-brand {
    gap: 8px;
  }

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

  .hero-content p {
    font-size: 1rem;
    max-width: 520px;
    margin-bottom: 24px;
  }

  .brand-text h4 {
    font-size: 1rem;
  }

  .brand-text p {
    font-size: 12px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .admission-btn {
    font-size: 16px;
    padding: 12px 28px;
  }

  .section-para {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .info-card,
  .school-gallery-section article {
    margin: 0 -8px;
  }

  .events_height {
    max-height: 390px;
  }

  .notice-item,
  .event-card {
    padding: 16px;
  }

  .section-heading {
    font-size: 28px;
  }

  .card-desc {
    font-size: 14px;
  }

  .departments-scroll-wrapper {
    padding-top: 24px;
  }
}

@media (max-width: 991.98px) {
  .hed_logo {
    max-width: 250px !important;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .navbar-nav,
  .navbar-actions {
    display: none !important;
  }

  .navbar-nav .nav-link {
    font-size: 20px;
  }

  .navbar-nav {
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 8px;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-actions {
    justify-content: center;
    padding: 1rem 0;
    gap: 1rem;
  }

  .principal-img {
    width: 200px;
    height: 200px;
  }

  .section-para {
    font-size: 14px;
  }

  .card-heading {
    font-size: 1.125rem;
  }

  .info-card,
  .school-gallery-section article {
    margin: 0;
  }

  .section-heading {
    font-size: 24px;
  }

  .events_height {
    max-height: 370px;
  }

  .events-wrapper {
    gap: 16px;
  }

  .alumni-slide {
    flex: 0 0 50%;
  }

  .department-card {
    min-width: 160px;
    padding: 1rem 0.75rem;
  }

  .department-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.75rem;
  }

  .department-icon img {
    width: 30px;
    height: 30px;
  }

  .department-card h6 {
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .section-heading {
    font-size: 1.75rem;
    text-align: center;
  }

  .event-header {
    gap: 16px;
  }

  .event-date-badge {
    font-size: 14px;
  }

  .date-month {
    font-size: 12px;
  }

  .event-time {
    font-size: 13px;
  }

  .alumni-slide {
    flex: 0 0 100%;
  }

  .alumni-card {
    min-height: auto;
  }

  .alumni-img-wrapper {
    width: 120px;
    height: 120px;
  }

  .department-card {
    min-width: 140px;
  }

  .departments-section .section-heading {
    font-size: 1.5rem;
  }

  .departments-section .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section,
  .hero-section .slick-slider,
  .hero-section .slick-track,
  .hero-section .hero-slide,
  .hero-section .slick-list {
    min-height: 350px !important;
  }

  .hero-section,
  .hero-slide {
    min-height: 350px;
  }

  .hero-content h1 {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 110%;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .admission-btn {
    font-size: 14px;
    padding: 12px 24px;
  }

  .principal-img {
    width: 150px;
    height: 150px;
  }

  .section-heading {
    font-size: 22px;
  }

  .info-card,
  .achievements-card,
  .infrastructure-card,
  .award-card,
  .faculty-card,
  .contact-card,
  .input-group,
  .gallery-card,
  .gallery-tabs {
    max-width: 400px;
    margin: auto;
  }

  .notice-item,
  .event-card {
    padding: 14px;
  }

  .card-heading {
    font-size: 16px;
  }

  .notice-desc,
  .event-desc,
  .notice-date {
    font-size: 13px;
  }

  .event-header {
    gap: 12px;
  }

  .school-gallery-section .col-6 {
    padding: 0 8px;
  }

  .departments-scroll {
    animation-duration: 3s;
  }
}

@media (max-width: 374.98px) {
  .section-heading {
    font-size: 19px;
    gap: 4px;
  }

  .section-heading img {
    max-width: 20px !important;
  }
}
