/**
 * Main Stylesheet for Zee School Deoghar Website
 */

/* Base Styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333333;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Roboto", sans-serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
  color: #fff;
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-white {
  background-color: #fff;
  border-color: #fff;
  color: var(--primary-color);
}

.btn-white:hover {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
  color: var(--primary-color);
}

.btn-outline-white {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-white:hover {
  background-color: #fff;
  color: var(--primary-color);
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--light-color);
}

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-divider {
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0 auto 20px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Top Bar Styles */
.top-bar {
  background-color: var(--secondary-color);
  padding: 10px 0;
  color: #fff;
}

.contact-info ul {
  display: flex;
  align-items: center;
}

.contact-info li {
  margin-right: 20px;
  font-size: 14px;
}

.contact-info li:last-child {
  margin-right: 0;
}

.contact-info li i {
  margin-right: 5px;
  color: var(--primary-color);
}

.contact-info a {
  color: #fff;
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--primary-color);
}

.social-links ul {
  display: flex;
  align-items: center;
}

.social-links li {
  margin-left: 15px;
}

.social-links a {
  color: #fff;
  font-size: 14px;
  transition: var(--transition);
}

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

/* Header Styles */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: relative;
  z-index: 999;
  transition: var(--transition);
}

.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  animation: slideDown 0.5s forwards;
  padding: 10px 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  flex: 0 0 auto;
}

.logo-image {
  max-height: 60px;
  width: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav li {
  position: relative;
  margin: 0 15px;
}

.main-nav a {
  color: var(--secondary-color);
  font-weight: 500;
  padding: 10px 0;
  display: block;
  position: relative;
}

.main-nav a:hover,
.main-nav .active > a {
  color: var(--primary-color);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav .active > a::after {
  width: 100%;
}

.main-nav .has-submenu > a {
  padding-right: 20px;
}

.main-nav .has-submenu > a::before {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.main-nav .has-submenu:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}

.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}

.main-nav .has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .submenu li {
  margin: 0;
  width: 100%;
}

.main-nav .submenu a {
  padding: 8px 20px;
  font-weight: 400;
  color: var(--text-color);
  display: block;
}

.main-nav .submenu a:hover {
  background-color: #f8f9fa;
  color: var(--primary-color);
}

.main-nav .submenu a::after {
  display: none;
}

.header-buttons {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  margin-left: 15px;
}

.hamburger {
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  display: block;
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
  background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 998;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu ul {
  display: block;
}

.mobile-menu li {
  position: relative;
  width: 100%;
}

.mobile-menu a {
  color: var(--text-color);
  font-weight: 500;
  padding: 12px 20px;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover,
.mobile-menu .active > a {
  color: var(--primary-color);
}

.mobile-menu .has-submenu > a {
  position: relative;
}

.mobile-menu .has-submenu > a::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.mobile-menu .has-submenu.active > a::after {
  transform: translateY(-50%) rotate(180deg);
}

.mobile-menu .submenu {
  display: block;
  background-color: #f8f9fa;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.mobile-menu .submenu a {
  padding-left: 40px;
  font-weight: 400;
  font-size: 14px;
}

.mobile-buttons {
  padding: 20px;
  text-align: center;
}

.btn-full {
  width: 100%;
}

/* Breadcrumbs Styles */
.breadcrumbs-section {
  background-color: var(--light-color);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: transparent;
}

.breadcrumb-item {
  font-size: 14px;
  color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 8px;
  color: var(--text-light);
}

.breadcrumb-item a {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--text-color);
}

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

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-desktop,
.hero-slide-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-mobile {
  display: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 150px 20px 0;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  animation: fadeInDown 1s forwards;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-buttons {
  animation: fadeInUp 1s forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.hero-buttons .btn {
  margin: 0 10px 10px 0;
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.slider-prev,
.slider-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slider-dots {
  display: flex;
  align-items: center;
  margin: 0 15px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: #fff;
  transform: scale(1.2);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* About Section Styles */
.about-image {
  position: relative;
  margin-bottom: 30px;
}

.about-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-item {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-item i {
  font-size: 36px;
  margin-bottom: 15px;
}

.feature-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* Academics Section Styles */
.academics-image {
  margin-bottom: 30px;
}

.academics-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.academics-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-icon {
  flex: 0 0 50px;
  font-size: 24px;
  color: var(--primary-color);
}

.feature-content {
  flex: 1;
}

.feature-content h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-content p {
  font-size: 14px;
  color: var(--text-light);
}

/* Facilities Section Styles */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.facility-card {
  position: relative;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.facility-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.facility-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: #fff;
  transform: translateY(20px);
  transition: var(--transition);
}

.facility-content h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #fff;
}

.facility-content p {
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0;
  transition: var(--transition);
}

.facility-card:hover img {
  transform: scale(1.1);
}

.facility-card:hover .facility-content {
  transform: translateY(0);
}

.facility-card:hover .facility-content p {
  opacity: 1;
}

/* Testimonials Section Styles */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 30px;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 1s forwards;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 5px solid #fff;
  box-shadow: var(--box-shadow);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 18px;
  font-style: italic;
  color: var(--text-color);
  position: relative;
  padding: 0 30px;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 50px;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  line-height: 1;
}

.testimonial-content p::before {
  top: 0;
  left: 0;
}

.testimonial-content p::after {
  bottom: -20px;
  right: 0;
}

.testimonial-author h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.testimonial-author p {
  font-size: 14px;
  color: var(--text-light);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Stats Section Styles */
.stats-section {
  background-color: var(--primary-color);
  padding: 60px 0;
  color: #fff;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}

.stat-item {
  flex: 0 0 auto;
  width: 200px;
  margin: 20px;
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 18px;
  font-weight: 500;
}

/* Gallery Section Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-info {
  text-align: center;
  color: #fff;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #fff;
}

.gallery-info p {
  font-size: 14px;
  margin-bottom: 0;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

/* CTA Section Styles */
.cta-section {
  background-color: var(--primary-color);
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons .btn {
  margin: 0 10px 10px;
}

/* Footer Styles */
.site-footer {
  background-color: var(--secondary-color);
  color: #fff;
}

.footer-top {
  padding: 80px 0 50px;
}

.footer-widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-height: 60px;
  width: auto;
}

.about-widget p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social ul {
  display: flex;
  align-items: center;
}

.footer-social li {
  margin-right: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
  display: block;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  margin-bottom: 20px;
}

.contact-info li i {
  flex: 0 0 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-right: 15px;
}

.contact-info li div {
  flex: 1;
}

.contact-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #fff;
}

.contact-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.contact-info a:hover {
  color: #fff;
}

.newsletter-widget p {
  font-size: 14px;
  margin-bottom: 20px;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  height: 46px;
  color: #fff;
  margin-bottom: 15px;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  font-size: 14px;
}

.copyright p {
  margin-bottom: 0;
}

.footer-bottom-links ul {
  display: flex;
  justify-content: flex-end;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: #fff;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 42px;
  }

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

@media (max-width: 991px) {
  .section {
    padding: 60px 0;
  }

  .hero-section {
    height: 500px;
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .main-nav {
    display: none;
  }

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

  .mobile-menu {
    display: block;
  }

  .about-image {
    margin-bottom: 30px;
  }

  .academics-image {
    margin-bottom: 30px;
  }

  .facilities-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .stat-item {
    width: 160px;
    margin: 15px;
  }

  .stat-icon {
    font-size: 36px;
  }

  .stat-number {
    font-size: 30px;
  }

  .stat-title {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .hero-section {
    height: 450px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-slide-desktop {
    display: none;
  }

  .hero-slide-mobile {
    display: block;
  }

  .facilities-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .stats-container {
    flex-wrap: wrap;
  }

  .stat-item {
    width: 140px;
    margin: 10px;
  }

  .footer-bottom-links ul {
    justify-content: center;
    margin-top: 15px;
  }

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

  .copyright {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .section {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .hero-section {
    height: 400px;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

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

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    margin: 15px 0;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }
}
