:root {
  --primary-color: #1f3b5c;
  --primary-rgb: 31, 59, 92;
  --secondary-color: #FF5A5F;
  --border-color: #DDDDDD;
  --text-dark: #222222;
  --text-light: #666666;
  --background-light: #F7F7F7;
  --background: #FFFFFF;
}

[data-theme="dark"] {
  --primary-color: #4a6fa5;
  --primary-rgb: 74, 111, 165;
  --secondary-color: #FF5A5F;
  --border-color: #333333;
  --text-dark: #E0E0E0;
  --text-light: #B0B0B0;
  --background-light: #1a1a1a;
  --background: #121212;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.navbar {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  background: var(--background) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.dark-mode-toggle {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-dark);
}

.dark-mode-toggle:hover {
  border-color: var(--text-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-bar {
  border: 1px solid var(--border-color);
  border-radius: 40px;
  padding: 8px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

.search-bar:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.search-divider {
  height: 24px;
  width: 1px;
  background-color: var(--border-color);
  margin: 0 12px;
}

.search-input {
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 400;
  background-color: white !important;
}

.search-input::placeholder {
  color: var(--text-light);
}

.navbar-cycle-select {
  background: transparent;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  min-width: 120px;
  padding-right: 24px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.navbar-cycle-select:focus {
  outline: none;
  color: var(--primary-color);
}

.navbar-cycle-select option {
  background: var(--background);
  color: var(--text-dark);
  padding: 8px 12px;
  font-weight: 400;
}

.btn-search {
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background-color 0.2s ease;
}

.btn-search:hover {
  background-color: #FF385C;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary-custom:hover {
  background-color: #152a42;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline-custom {
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline-custom:hover {
  border-color: var(--text-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section {
  background: linear-gradient(135deg, rgba(31, 59, 92, 0.95) 0%, rgba(31, 59, 92, 0.85) 100%),
    url('https://images.pexels.com/photos/159844/cellular-education-classroom-159844.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-section p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.school-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--background);
  margin-bottom: 24px;
  cursor: pointer;
}

.school-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.school-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.school-card-body {
  padding: 16px;
}

.school-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.school-card-location {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.school-card-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}

.rating svg {
  width: 14px;
  height: 14px;
  fill: var(--secondary-color);
}

.search-page-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.search-filters-top {
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.filter-pill {
  border-radius: 32px;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  font-size: 14px;
  background: var(--background);
  transition: all 0.2s ease;
  max-width: 200px;
}

.filter-pill:hover {
  border-color: var(--text-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-pill:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(31, 59, 92, 0.1);
}

.search-content-wrapper {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.search-results-section {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 100%;
}

.map-section {
  width: 33%;
  position: sticky;
  top: 0;
  margin-top:20px;
  height: 100%;
}

.map-section #map {
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: 1fr;
  }

  .map-section {
    display: none;
  }

  .search-results-section {
    width: 100%;
  }
}

.form-label {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control, .form-select {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--text-dark);
  box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.badge-custom {
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 12px;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
}

.user-menu {
  border: 1px solid var(--border-color);
  border-radius: 21px;
  padding: 5px 5px 5px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.user-menu:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.footer {
  background-color: var(--background-light);
  border-top: 1px solid var(--border-color);
  padding: 20px 0 24px;
  margin-top: 30px;
}

.footer h6 {
  font-weight: 600;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

/* Footer Social Icons */
.footer-social-icons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.footer-social-icon:hover::before {
  opacity: 1;
}

.footer-social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer social media colors */
.footer-social-icon.facebook {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.footer-social-icon.instagram {
  background: linear-gradient(135deg, #e4405f, #f77737, #fccc63);
}

.footer-social-icon.twitter {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.footer-social-icon.linkedin {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.footer-social-icon.youtube {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}

/* Responsive footer social icons */
@media (max-width: 768px) {
  .footer-social-icons {
    justify-content: center;
    margin-top: 15px;
  }
  
  .footer-social-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

.auth-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.auth-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-card h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.divider span {
  padding: 0 12px;
  color: var(--text-light);
  font-size: 14px;
}

.btn-google {
  border: 1px solid var(--border-color);
  background: var(--background);
  color: var(--text-dark);
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  width: 100%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-google:hover {
  border-color: var(--text-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-type-btn {
  padding: 16px;
  text-align: left;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.user-type-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.user-type-btn.active:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 5;
}

.favorite-btn:hover {
  transform: scale(1.1);
}

.favorite-btn svg {
  width: 20px;
  height: 20px;
}

/* Fix dropdown z-index to appear above favorite buttons and all school card elements */
.dropdown-menu {
  z-index: 10000 !important;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 32px;
  }

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

  .search-bar {
    flex-direction: column;
    padding: 12px;
  }

  .search-divider {
    display: none;
  }
}

/* Floating Social Media Icons */
.floating-social-icons {
  position: fixed;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.3s ease;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform: translateX(0) scale(1);
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover {
  transform: translateX(50px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/* Individual social media colors */
.social-icon.facebook {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-icon.instagram {
  background: linear-gradient(135deg, #e4405f, #f77737, #fccc63);
}

.social-icon.twitter {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-icon.linkedin {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-icon.youtube {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}

/* Hover effects for each platform */
.social-icon.facebook:hover {
  background: linear-gradient(135deg, #166fe5, #1877f2);
}

.social-icon.instagram:hover {
  background: linear-gradient(135deg, #d6336c, #f77737, #fccc63);
}

.social-icon.twitter:hover {
  background: linear-gradient(135deg, #0d8bd9, #1da1f2);
}

.social-icon.linkedin:hover {
  background: linear-gradient(135deg, #005885, #0077b5);
}

.social-icon.youtube:hover {
  background: linear-gradient(135deg, #cc0000, #ff0000);
}

/* Animation for the container on hover */
.floating-social-icons:hover {
  left: 0;
}

/* Reset individual icon position when not hovering the specific icon */
.floating-social-icons:not(:hover) .social-icon {
  transform: translateX(0) scale(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-social-icons {
    left: -35px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .social-icon:hover {
    transform: translateX(40px) scale(1.05);
  }
}

@media (max-width: 480px) {
  .floating-social-icons {
    display: none;
  }
}

/* Contact Page Styles */
.contact-hero-section {
  background: linear-gradient(135deg, rgba(31, 59, 92, 0.95) 0%, rgba(31, 59, 92, 0.85) 100%),
    url('https://images.pexels.com/photos/5428836/pexels-photo-5428836.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-hero-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.15"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.15"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

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

.bg-primary-light {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stats .stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.floating-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

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

.contact-form-card, .contact-info-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-form-card:hover, .contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.enhanced-input, .enhanced-textarea {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem 1rem 1rem 3rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.enhanced-input:focus, .enhanced-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.1);
  background: white;
  transform: translateY(-2px);
}

.form-floating {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 4;
  transition: color 0.3s ease;
}

.enhanced-input:focus + label + .input-icon,
.enhanced-textarea:focus + .input-icon {
  color: var(--primary-color);
}

.subject-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.subject-btn {
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  background: #f8f9fa;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 120px;
}

.subject-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-check:checked + .subject-btn {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
}

.btn-primary-enhanced {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
}

.btn-primary-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary-enhanced:hover::before {
  left: 100%;
}

.contact-method-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  background: white;
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon-enhanced {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.contact-method-card:hover .contact-icon-enhanced {
  transform: scale(1.1) rotate(5deg);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-info .d-flex {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-info .d-flex:last-child {
  border-bottom: none;
}

.accordion-button {
  border-radius: 12px !important;
  border: none;
  background: #f8f9fa;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: white;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-body {
  background: white;
  padding: 1.5rem;
}

.social-links .btn {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-checkbox .form-check-input {
  border-radius: 6px;
  border: 2px solid #e9ecef;
  width: 1.2em;
  height: 1.2em;
}

.custom-checkbox .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  .contact-form-card, .contact-info-card {
    padding: 1.5rem;
  }
  
  .subject-options {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .floating-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
  }
}

.social-links .btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* About Page Styles */
.hero-section-about {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%);
  color: white;
  padding: 80px 0;
}

.hero-section-about .btn-outline-primary {
  border-color: white;
  color: white;
}

.hero-section-about .btn-outline-primary:hover {
  background-color: white;
  color: var(--primary-color);
}

.min-vh-50 {
  min-height: 50vh;
}

/* Team member cards */
.card img {
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/* Values section in About page */
.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
  .hero-section-about {
    padding: 60px 0;
  }
  
  .hero-section-about h1 {
    font-size: 2.5rem;
  }
  
  .contact-info .d-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    margin: 0 auto 10px;
  }
}

/* Registration Request Pages Styles */
.info-item {
  margin-bottom: 1rem;
}

.info-item label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-item p {
  font-size: 1rem;
  color: var(--text-dark);
}

.card-header {
  border-bottom: 1px solid var(--border-color);
}

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

/* Enhanced Breadcrumb Styles */
.breadcrumb {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.02) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.breadcrumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), rgba(var(--primary-rgb), 0.3));
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.breadcrumb-item a:hover {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.breadcrumb-item a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.breadcrumb-item a:hover::before {
  width: 80%;
}

.breadcrumb-item.active {
  color: var(--text-dark);
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
}

.breadcrumb-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 60%;
  background: var(--primary-color);
  border-radius: 2px;
  transform: translateY(-50%);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0 8px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.breadcrumb-item + .breadcrumb-item:hover::before {
  background: rgba(var(--primary-rgb), 0.2);
  transform: scale(1.1);
}

/* Hide arrow before active item */
.breadcrumb-item + .breadcrumb-item.active::before {
  display: none;
}

/* Enhanced breadcrumb with icons */
.breadcrumb-enhanced {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.breadcrumb-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #5a67d8 50%, var(--primary-color) 100%);
}

.breadcrumb-enhanced .breadcrumb-item {
  font-size: 14px;
  font-weight: 500;
}

.breadcrumb-enhanced .breadcrumb-item a {
  color: #6c757d;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-enhanced .breadcrumb-item a:hover {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.15);
}

.breadcrumb-enhanced .breadcrumb-item.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, #5a67d8 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-enhanced .breadcrumb-item + .breadcrumb-item::before {
  content: "→";
  background: none;
  width: auto;
  height: auto;
  margin: 0 12px;
  border-radius: 0;
  color: #adb5bd;
  font-size: 16px;
  font-weight: normal;
}

/* Hide arrow before active item in enhanced breadcrumb */
.breadcrumb-enhanced .breadcrumb-item + .breadcrumb-item.active::before {
  display: none;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
  .breadcrumb, .breadcrumb-enhanced {
    padding: 10px 16px;
    margin-bottom: 1rem;
  }
  
  .breadcrumb-item, .breadcrumb-enhanced .breadcrumb-item {
    font-size: 13px;
  }
  
  .breadcrumb-item a, .breadcrumb-enhanced .breadcrumb-item a {
    padding: 4px 8px;
  }
  
  .breadcrumb-item + .breadcrumb-item::before,
  .breadcrumb-enhanced .breadcrumb-item + .breadcrumb-item::before {
    margin: 0 6px;
    font-size: 14px;
  }
}

/* Breadcrumb with home icon - Removed to avoid conflicts with Bootstrap icons */

/* Breadcrumb animations */
.breadcrumb-item {
  animation: breadcrumbSlideIn 0.3s ease-out;
}

@keyframes breadcrumbSlideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn-group .btn {
  border-radius: 0.375rem;
  margin-right: 0.25rem;
}

.btn-group .btn:last-child {
  margin-right: 0;
}

/* Form enhancements */
.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-select:focus,
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(31, 59, 92, 0.25);
}

/* Badge styles */
.badge {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.badge.bg-warning {
  color: #000;
}

/* Loading and error states */
.spinner-border {
  width: 2rem;
  height: 2rem;
}

/* Responsive table improvements */
@media (max-width: 768px) {
  .table-responsive {
    font-size: 0.875rem;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
}

/* Photo gallery styles for admin registration view */
.photo-thumbnail {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

#main-image {
  transition: transform 0.2s ease;
  cursor: pointer;
}

#main-image:hover {
  transform: scale(1.02);
}

/* Modal image styles */
#modalImage {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
}

/* Info item styling for admin pages */
.info-item {
  margin-bottom: 1rem;
}

.info-item .form-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-item p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Ensure Bootstrap Icons display properly */
.bi {
  font-family: "bootstrap-icons" !important;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Specific styles for partner section icons */
.partner-section .bi {
  display: inline-block;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* Fallback for icon display issues */
.partner-section i[class*="bi-"]:before {
  font-family: "bootstrap-icons" !important;
}
