/* Color Variables */
:root {
  --primary-color: #1a3b5d;
  --secondary-color: #e67e22;
  --accent-color: #f39c12;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --white: #ffffff;
  --gray: #7f8c8d;
  --light-gray: #bdc3c7;
  --success: #27ae60;
  --danger: #e74c3c;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Top Bar */
.top-bar {
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

.top-info span {
  margin-right: 20px;
}

.social-links a {
  color: var(--white);
  margin-left: 15px;
  font-size: 16px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--secondary-color);
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  padding: 10px 0;
  transition: all 0.4s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
   min-height: 64px;
  padding: 6px 0;
}

.navbar.scrolled {
  padding: 5px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: var(--primary-color) !important;
  padding: 5px 0;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.logo {
  height: 55px;
  width: 55px;
  margin-right: 16px;
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
  object-fit: cover;
  transition: all 0.3s ease;
}

.logo:hover {
  border-color: var(--primary-color);
  transform: rotate(5deg);
}

.brand-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 12px;
  color: var(--secondary-color);
  font-weight: 600;
  font-style: italic;
}

.nav-link {
  color: var(--dark-color) !important;
  font-weight: 600;
  margin: 0 5px;
  padding: 6px 14px !important;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(230, 126, 34, 0.1);
}
.navbar-nav {
  align-items: center;
}

.nav-link i {
  font-size: 14px;
}

.dropdown-menu-modern {
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 10px 0;
  margin-top: 10px;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu-modern .dropdown-item {
  padding: 12px 25px;
  color: var(--dark-color);
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.dropdown-menu-modern .dropdown-item i {
  color: var(--secondary-color);
  font-size: 16px;
  width: 20px;
}

.dropdown-menu-modern .dropdown-item:hover {
  background: var(--light-color);
  color: var(--secondary-color);
  padding-left: 30px;
}

.btn-donate {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
  color: var(--white) !important;
  border-radius: 25px;
  padding: 10px 25px !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-donate:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color)) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* Hero Section */
.hero-section {
  position: relative;
}

.carousel-item {
  height: 600px;
  position: relative;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}

.carousel-caption h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.carousel-caption p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
  background: var(--secondary-color);
  border: none;
  padding: 12px 35px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  border-radius: 25px;
  padding: 10px 30px;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
}

/* Section Titles */
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 30px;
}

/* Welcome Section */
.welcome-section {
  padding: 80px 0;
}

.feature-box {
  padding: 20px;
  border-left: 4px solid var(--secondary-color);
  background: var(--light-color);
  border-radius: 5px;
  transition: transform 0.3s;
}

.feature-box:hover {
  transform: translateX(10px);
}

.feature-box i {
  font-size: 32px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Stats Section */
.stats-section {
  background: var(--primary-color);
  color: var(--white);
}

.stat-box {
  text-align: center;
  padding: 30px;
}

.stat-box i {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.stat-box h3 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Programs Section */
.program-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.program-card img {
  height: 250px;
  object-fit: cover;
}

.program-card .card-body {
  padding: 25px;
}

.program-card h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* News Section */
.news-card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-date {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.news-card h5 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.read-more:hover {
  color: var(--accent-color);
}

/* Page Header */
.page-header {
  /*background: linear-gradient(135deg, var(--primary-color), var(--dark-color));*/
  background-image:url("https://jhapordahdukeinstitution.in/images/bg-header.jpg");
  color: var(--white);
  padding: 80px 0 40px;
  margin-bottom: 0;
}

.page-header .container {
  background: linear-gradient(
    to right,
    rgb(0 0 0 / 59%),
    transparent
  );
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--secondary-color);
}

/* Academic Styles */
.academic-section {
  padding: 30px 0;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 10px 0;
  font-size: 16px;
}

.features-list i {
  color: var(--success);
  margin-right: 10px;
}

.department-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  height: 100%;
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.department-card i {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.department-card h5 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Teacher/Staff Cards */
.teacher-card,
.staff-card,
.committee-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.teacher-card:hover,
.staff-card:hover,
.committee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.teacher-img,
.staff-img,
.committee-img {
  width: 100%;
  height: 300px;
  /*object-fit: cover;*/
  object-fit: contain;
}

.teacher-info,
.committee-card {
  padding: 20px;
}

.teacher-position,
.staff-role,
.committee-role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.teacher-qualification {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 10px;
}

.teacher-contact {
  font-size: 14px;
  color: var(--primary-color);
}

/* Staff Card Specific */
.staff-card {
  text-align: center;
  padding-bottom: 20px;
}

.staff-img {
  width: 200px;
  height: 200px;
  margin: 20px auto;
  display: block;
   /*border-radius: 15%;*/
}

.staff-role {
  margin-top: 10px;
}

.staff-desc {
  color: var(--gray);
  font-size: 14px;
  margin: 10px 0;
  padding: 0 15px;
}

.staff-contact {
  color: var(--primary-color);
  font-size: 14px;
}

/* Committee Specific */
.committee-details {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--light-gray);
}

.committee-details p {
  margin: 5px 0;
  font-size: 14px;
}

.responsibility-card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
}

.responsibility-card i {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.meeting-schedule {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* Secretary/Info Cards */
.info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.list-styled {
  list-style: none;
  padding: 0;
}

.list-styled li {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-color);
}

.list-styled li:before {
  content: "✓ ";
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
}

.contact-card {
  background: var(--light-color);
  padding: 30px;
  border-radius: 10px;
}

.contact-method {
  text-align: center;
  padding: 20px;
}

.contact-method i {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.services-section {
  background: var(--light-color);
  padding: 40px;
  border-radius: 10px;
}

.service-item {
  text-align: center;
  padding: 20px;
}

.service-item i {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Notice Board */
.notice-item {
  background: var(--white);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 20px;
  position: relative;
}

.notice-item.important {
  border-left: 5px solid var(--danger);
}

.notice-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--danger);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.date-box {
  background: var(--secondary-color);
  color: var(--white);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  min-width: 80px;
}

.date-box .day {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.date-box .month {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
}

.notice-content h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.notice-meta {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 10px;
}

/* Footer logo styling */
.footer-logo {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
  object-fit: cover;
}

/* Gallery Styles */
.gallery-filter {
  text-align: center;
}

.filter-btn {
  background: var(--white);
  color: var(--dark-color);
  border: 2px solid var(--light-gray);
  padding: 10px 25px;
  margin: 5px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.gallery-grid {
  margin-top: 30px;
}

.gallery-item {
  transition: all 0.3s ease;
}

.gallery-item.hide {
  display: none;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 59, 93, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 15px;
}

.gallery-overlay p {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Contact Page Styles */
.contact-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-icon i {
  font-size: 36px;
  color: var(--white);
}

.contact-info-card h5 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-info-card p {
  color: var(--gray);
  margin: 0;
  line-height: 1.8;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3 {
  color: var(--primary-color);
}

.contact-form-wrapper .form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
  border: 2px solid var(--light-color);
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

.map-section iframe {
  width: 100%;
  filter: grayscale(20%);
}

.office-hours-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.office-hours-card h3 {
  color: var(--primary-color);
}

.office-hours-card .table {
  margin-top: 20px;
}

.office-hours-card .table td {
  padding: 15px;
  border-color: var(--light-color);
}

/* Footer Styles */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 50px;
}

.footer h4 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  line-height: 1.8;
}

.footer-contact i {
  color: var(--secondary-color);
  margin-right: 10px;
  margin-top: 5px;
  font-size: 18px;
  min-width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
  color: var(--secondary-color);
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
}

.back-to-top i {
  font-size: 20px;
}

/* Donation Page Styles */
.donation-section {
  padding: 40px 0;
}

.donation-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.donation-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.donation-hero {
  padding: 60px 0;
}

.impact-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.impact-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.impact-card h5 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.donation-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.donation-form-wrapper h3 {
  color: var(--primary-color);
}

.donation-amounts .btn-outline-primary {
  padding: 15px;
  font-size: 18px;
  font-weight: 600;
}

.donation-amounts .btn-check:checked + .btn-outline-primary {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
}

/* Completing the donation page styles that were cut off */
.giving-method-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.giving-method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.giving-method-card i {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.giving-method-card h5 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.bank-details {
  background: var(--light-color);
  padding: 15px;
  border-radius: 5px;
  font-size: 14px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 20px;
}

.testimonial-author {
  border-top: 2px solid var(--light-color);
  padding-top: 15px;
}

.testimonial-author strong {
  color: var(--primary-color);
}

/* Mobile responsive navbar */
@media (max-width: 991px) {
  .navbar {
    padding: 10px 0;
  }

  .logo {
    height: 50px;
    width: 50px;
  }

  .brand-text {
    font-size: 14px;
  }

  .brand-tagline {
    font-size: 10px;
  }

  .navbar-collapse {
    background: var(--white);
    padding: 20px;
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-link {
    margin: 5px 0;
    padding: 12px 15px !important;
  }

  .nav-link::before {
    display: none;
  }

  .btn-donate {
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .dropdown-menu-modern {
    box-shadow: none;
    border-left: 3px solid var(--secondary-color);
    background: var(--light-color);
    margin-left: 15px;
  }

  .top-info span {
    font-size: 12px;
    margin-right: 10px;
  }

  .top-info .d-none.d-md-inline-block {
    display: none !important;
  }

  .carousel-item {
    height: 400px;
  }

  .carousel-caption h1 {
    font-size: 28px;
  }

  .carousel-caption p {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .notice-item {
    flex-direction: column;
  }

  .date-box {
    min-width: 100%;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .brand-text {
    font-size: 12px;
  }

  .logo {
    height: 45px;
    width: 45px;
  }

  .top-bar {
    font-size: 12px;
    padding: 8px 0;
  }

  .carousel-item {
    height: 300px;
  }

  .carousel-caption h1 {
    font-size: 20px;
  }

  .carousel-caption p {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .stat-box h3 {
    font-size: 36px;
  }

  .gallery-card img {
    height: 200px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
