/* ===== ARB Public School - Custom Styles ===== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --light-bg: #f8fafc;
  --border-color: #e5e7eb;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --border-radius: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

.container-fluid {
  max-width: 1400px;
}

/* ===== Loading Animation ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out;
}

.loader-content {
  text-align: center;
  color: var(--white);
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== Navbar Styles ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  padding: 0.75rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-medium);
  padding: 0.5rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark) !important;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.navbar-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
}

.navbar-logo:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 8px;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
  z-index: -1;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  left: 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2837, 99, 235, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}





/* ===== Animations ===== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  
  .navbar-logo {
    width: 40px;
    height: 40px;
  }
  
  .hero-carousel {
    height: 70vh;
    min-height: 550px;
  }

  
  .slide-title {
    font-size: 3.2rem;
  }
  
  .slide-subtitle {
    font-size: 1.3rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 70px;
    height: 70px;
  }
  
  .carousel-control-prev {
    left: 30px;
  }
  
  .carousel-control-next {
    right: 30px;
  }
  

}

@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 0;
  }
  
  .hero-carousel {
    height: 60vh;
    min-height: 500px;
  }
  
  
  .carousel-caption {
    padding: 1.5rem;
    width: 95%;
  }
  
  .slide-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .slide-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .slide-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-hero-primary,
  .btn-hero-outline {
    padding: 14px 28px;
    font-size: 1rem;
    width: 250px;
    justify-content: center;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 60px;
    height: 60px;
  }
  
  .carousel-control-prev {
    left: 20px;
  }
  
  .carousel-control-next {
    right: 20px;
  }
}

@media (max-width: 576px) {
  
  .hero-carousel {
    height: 55vh;
    min-height: 450px;
  }
  
  
  .carousel-caption {
    padding: 1rem;
  }
  
  .slide-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
  
  .slide-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .btn-hero-primary,
  .btn-hero-outline {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 220px;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
    height: 50px;
  }
  
  .carousel-control-prev {
    left: 15px;
  }
  
  .carousel-control-next {
    right: 15px;
  }
  
  .carousel-indicators {
    bottom: 20px;
  }
  
  .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    margin: 0 6px;
  }
  
  .about-title::after {
    width: 60px;
    height: 3px;
  }
  
  .about-lead-text {
    font-size: 1.1rem;
  }
  
  .about-description {
    font-size: 1rem;
  }
  
  .video-play-btn {
    width: 70px;
    height: 70px;
  }
  
  .video-play-btn i {
    font-size: 2rem;
  }
  
  .btn-about-primary,
  .btn-about-outline {
    padding: 12px 24px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    width: 100%;
    justify-content: center;
  }
  
  .btn-about-primary {
    margin-right: 0;
  }
}
  

@media (max-width: 576px) {

}

/* ===== About Preview Section Styles ===== */
.about-preview-section {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
}

.about-preview-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.about-preview-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.about-image-container {
  position: relative;
  z-index: 2;
}

.about-main-image {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.about-main-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--white) 0%, #f1f5f9 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.video-play-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  border-radius: 50%;
  transition: var(--transition-smooth);
  z-index: -1;
}

.video-play-btn:hover::before {
  opacity: 1;
}

.video-play-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.video-play-btn:hover i {
  color: var(--white) !important;
}

.video-play-btn i {
  font-size: 2.5rem;
  margin-left: 3px;
  transition: var(--transition-smooth);
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-title {
  position: relative;
  margin-bottom: 2rem;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.about-lead-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.feature-item {
  padding: 0.75rem 0;
  transition: var(--transition-smooth);
}

.feature-item:hover {
  transform: translateX(8px);
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  transition: var(--transition-smooth);
  opacity: 0;
}

.feature-item:hover .feature-icon::before {
  animation: shimmer 0.6s ease-out;
  opacity: 1;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.feature-text {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.btn-about-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
}

.btn-about-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-about-primary:hover::before {
  left: 0;
}

.btn-about-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
  color: var(--white);
}

.btn-about-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

.btn-about-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-about-outline:hover::before {
  left: 0;
}

.btn-about-outline:hover {
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

/* ===== Utility Classes ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: var(--shadow-medium);
}

.rounded-custom {
  border-radius: var(--border-radius);
}

.transition-smooth {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

/* ===== Principal Message & Notice Board Styles ===== */
.principal-message-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.principal-message-card:hover {
  box-shadow: var(--shadow-heavy);
  transform: translateY(-5px);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.principal-photo {
  width: 100%;
  max-width: 150px;
  border-radius: 12px;
  border: 4px solid var(--primary-color);
  transition: var(--transition-smooth);
}

.principal-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.principal-greeting {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.principal-text {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.btn-read-more {
  background: var(--gradient-primary);
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-read-more:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  color: var(--white);
}

/* Notice Board Styles */
.notice-board-card {
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  border: 2px solid var(--accent-color);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.notice-board-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.notice-board-card:hover {
  box-shadow: var(--shadow-heavy);
  transform: translateY(-5px);
}

.notice-board-content {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  height: 350px;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

.notice-item {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-left: 4px solid var(--accent-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notice-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
  border-left-color: var(--primary-color);
}

.notice-date {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notice-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.notice-description {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.btn-view-all-notices {
  background: var(--gradient-accent);
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  position: relative;
  z-index: 2;
}

.btn-view-all-notices:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  color: var(--white);
}

/* Responsive Styles for Principal & Notice Section */
@media (max-width: 768px) {
  .principal-message-card,
  .notice-board-card {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .principal-photo {
    max-width: 120px;
  }
  
  .notice-board-content {
    height: 300px;
  }
  
  .notice-item {
    padding: 0.75rem 1rem;
  }
  
  .notice-title {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .principal-message-card,
  .notice-board-card {
    padding: 1rem;
  }
  
  .section-title {
    font-size: 1.1rem;
  }
  
  .principal-text {
    font-size: 0.9rem;
  }
  
  .notice-board-content {
    height: 250px;
  }
}

/* Principal Message Page Styles */
.principal-photo-large {
  max-width: 200px;
  border: 5px solid var(--primary-color);
  transition: var(--transition-smooth);
}

.principal-photo-large:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.principal-message-full {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-light);
}

.principal-message-full p {
  text-align: justify;
}

.highlight-box {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  height: 100%;
}

.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-left-color: var(--accent-color);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.highlight-icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.highlight-box h5 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  font-weight: 600;
}

.text-justify {
  text-align: justify;
}

/* ===== Footer Styles ===== */
footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  color: var(--white);
  position: relative;
  margin-top: auto;
  z-index: 10;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.footer-logo:hover {
  transform: scale(1.1);
}

.footer-brand h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-brand .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-section-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  font-size: 1.1rem;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
  padding: 0.25rem 0;
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-contact-item {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.footer-contact-item i {
  color: var(--accent-color);
  margin-right: 0.75rem;
  font-size: 1.1rem;
  width: 20px;
}

.footer-contact-item:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: var(--transition-smooth);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.footer-social-link:hover {
  color: var(--white);
  background: var(--accent-color);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2) !important;
  margin: 2.5rem 0 1.5rem 0;
}

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-credit span {
  color: #ef4444;
  font-size: 1.1rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ===== Facilities Section Styles ===== */
.facilities-section {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.facilities-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.facilities-section::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -8%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.facilities-content {
  position: relative;
  z-index: 2;
}

.facilities-title {
  position: relative;
  margin-bottom: 1rem;
  text-align: center;
}

.facilities-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.facilities-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.facility-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.facility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(245, 158, 11, 0.02) 100%);
  transition: var(--transition-smooth);
  z-index: -1;
}

.facility-card:hover::before {
  left: 0;
}

.facility-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(37, 99, 235, 0.2);
}

.facility-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.facility-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: var(--transition-smooth);
  opacity: 0;
}

.facility-card:hover .facility-icon::before {
  animation: shine 0.8s ease-out;
  opacity: 1;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.facility-icon i {
  font-size: 2.5rem;
  color: var(--white);
  z-index: 1;
}

.facility-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.facility-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Specific facility icon colors */
.facility-card:nth-child(1) .facility-icon {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.facility-card:nth-child(2) .facility-icon {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.facility-card:nth-child(3) .facility-icon {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.facility-card:nth-child(4) .facility-icon {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.facility-card:nth-child(5) .facility-icon {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.facility-card:nth-child(6) .facility-icon {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

.facility-card:nth-child(7) .facility-icon {
  background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
}

.facility-card:nth-child(8) .facility-icon {
  background: linear-gradient(135deg, #65a30d 0%, #4d7c0f 100%);
}

.facility-card:nth-child(9) .facility-icon {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* Facilities Responsive Design */
@media (max-width: 768px) {
  .facilities-title {
    font-size: 2.5rem;
  }
  
  .facilities-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .facility-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .facility-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
  }
  
  .facility-icon i {
    font-size: 2rem;
  }
  
  .facility-title {
    font-size: 1.1rem;
  }
  
  .facility-description {
    font-size: 0.9rem;
  }
}

/* Footer Responsive Design */
@media (max-width: 768px) {
  .footer-section-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .footer-social-link {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .footer-bottom {
    text-align: center !important;
  }
  
  .footer-bottom .col-md-6:last-child {
    margin-top: 0.5rem;
  }
}