* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
  z-index: -1;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.navbar-brand {
  font-size: 28px;
  font-weight: 800;
  color: #1e3c72 !important;
  text-shadow: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cspc-logo-nav {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.navbar-nav .nav-link {
  color: #1e293b !important;
  font-weight: 600;
  margin: 0 15px;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #1e3c72 !important;
  background: rgba(30, 60, 114, 0.1);
  transform: translateY(-2px);
}

.login-btn {
  background: linear-gradient(45deg, #1e3c72, #2a5298) !important;
  color: white !important;
  padding: 12px 25px;
  border-radius: 16px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.5);
  background: rgba(30, 60, 114, 0.9) !important;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 120px 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="20" fill="rgba(255,255,255,0.08)"/><circle cx="70" cy="20" r="10" fill="rgba(255,255,255,0.12)"/></svg>');
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 50px;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s both;
  line-height: 1.6;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary-custom {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3c72;
  padding: 18px 40px;
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 18px 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-primary-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
  background: white;
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3c72;
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Facilities Section */
.facilities-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  position: relative;
}

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

.section-header h2 {
  font-size: 2.8rem;
  color: #1e293b;
  margin-bottom: 20px;
  font-weight: 800;
}

.section-header p {
  color: #64748b;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.facility-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.facility-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.facility-image {
  height: 220px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.facility-image::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.8s ease;
}

.facility-card:hover .facility-image::before {
  animation: shimmer 2s ease-in-out;
}

.facility-content {
  padding: 30px;
}

.facility-content h3 {
  font-size: 1.4rem;
  color: #1e293b;
  margin-bottom: 12px;
  font-weight: 700;
}

.facility-content p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
}

.facility-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.feature-tag {
  background: rgba(30, 60, 114, 0.1);
  color: #1e3c72;
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(30, 60, 114, 0.2);
}

.book-now-btn {
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1rem;
}

.book-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
}

.availability-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(34, 197, 94, 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.availability-indicator.busy {
  background: rgba(239, 68, 68, 0.95);
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.about-content h2 {
  font-size: 2.8rem;
  color: #1e293b;
  margin-bottom: 25px;
  font-weight: 800;
}

.about-content .lead {
  font-size: 1.3rem;
  color: #1e3c72;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.6;
}

.about-content p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 50px 0;
}

.stat-item {
  text-align: center;
  padding: 30px 25px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #1e3c72;
  margin-bottom: 8px;
}

.stat-label {
  color: #64748b;
  font-weight: 600;
  font-size: 1rem;
}

.feature-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(30, 60, 114, 0.05);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 60, 114, 0.1);
}

.highlight-item:hover {
  background: rgba(30, 60, 114, 0.1);
  transform: translateX(8px);
}

.highlight-item i {
  color: #1e3c72;
  font-size: 1.3rem;
}

.highlight-item span {
  color: #1e293b;
  font-weight: 600;
}

.visual-card {
  background: white;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.visual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  transition: all 0.3s ease;
}

.visual-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.visual-card i {
  font-size: 2.8rem;
  color: #1e3c72;
  margin-bottom: 20px;
}

.visual-card h4 {
  color: #1e293b;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.visual-card p {
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="80" r="15" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="20" fill="rgba(255,255,255,0.08)"/><circle cx="30" cy="30" r="10" fill="rgba(255,255,255,0.12)"/></svg>');
  z-index: 1;
}

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

.cta-section h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-cta {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3c72;
  padding: 18px 45px;
  border: none;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
  background: white;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.4s ease-out;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
}

.modal-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.modal-body {
  padding: 40px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e3c72;
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.submit-btn {
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 50px;
  margin-bottom: 40px;
}

.footer-section h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

.footer-section a:hover {
  color: #fff;
  transform: translateX(8px);
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: #2a5298;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
  background: #2a5298;
  color: white;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  color: #94a3b8;
  font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    max-width: 300px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-highlights {
    grid-template-columns: 1fr;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  .footer-social {
    justify-content: center;
  }

  .navbar-nav .nav-link {
    margin: 0 8px;
    padding: 10px 15px;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-body {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .facilities-section,
  .about-section,
  .cta-section {
    padding: 60px 0;
  }

  .footer {
    padding: 60px 0 20px;
  }
}
