* {
  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;
  text-decoration: none;
}

.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);
}

.navbar-nav .nav-link.active {
  color: #1e3c72 !important;
  background: rgba(30, 60, 114, 0.15);
}

.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;
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 100px 20px 60px;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::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;
}

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

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s both;
  line-height: 1.6;
}

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

.contact-card {
  background: white;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  height: 100%;
}

.contact-info-card {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 12px 40px rgba(30, 60, 114, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-info-card::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)"/></svg>');
  z-index: 1;
}

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

.section-title {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 800;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.contact-info-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-text p {
  opacity: 0.9;
  margin: 0;
  line-height: 1.6;
}

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

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

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

.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);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.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);
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.map-container {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

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

.map-placeholder::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="30" cy="30" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="70" cy="70" r="3" fill="rgba(255,255,255,0.2)"/><circle cx="50" cy="20" r="1" fill="rgba(255,255,255,0.4)"/></svg>');
  z-index: 1;
}

.map-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.map-content i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.8;
}

/* Office Hours */
.office-hours {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.office-hours h4 {
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
  color: #1e293b;
}

.hours-time {
  color: #64748b;
  font-weight: 500;
}

/* Quick Links */
.quick-links {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.quick-links h4 {
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  cursor: pointer;
}

.quick-link-item:hover {
  background: rgba(30, 60, 114, 0.05);
  transform: translateX(5px);
}

.quick-link-icon {
  color: #1e3c72;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.quick-link-text {
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
}

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

.footer-content {
  text-align: center;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-social {
  display: flex;
  gap: 15px;
  justify-content: center;
  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);
  text-decoration: none;
}

.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);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 80px 20px 50px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-card,
  .contact-info-card {
    padding: 30px;
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-info-item {
    padding: 20px;
  }

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

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .contact-card,
  .contact-info-card {
    padding: 25px;
  }

  .contact-info-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}
/* Toast Notification Styles */
.custom-toast {
  position: fixed;
  top: 100px;
  right: 30px;
  min-width: 350px;
  max-width: 450px;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.custom-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  color: white;
}

.toast-icon {
  font-size: 28px;
  flex-shrink: 0;
  animation: iconPop 0.5s ease-out;
}

.toast-message {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.toast-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.custom-toast.success {
  background: linear-gradient(135deg, #059669, #10b981);
}

.custom-toast.error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

@keyframes iconPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Toast */
@media (max-width: 768px) {
  .custom-toast {
    right: 15px;
    left: 15px;
    min-width: auto;
    max-width: none;
    top: 80px;
  }
  
  .toast-content {
    padding: 18px 20px;
  }
  
  .toast-icon {
    font-size: 24px;
  }
  
  .toast-message {
    font-size: 14px;
  }
}