/* Custom CSS for JAFS Website */

/* Global Styles */
:root {
  --primary-color: #B89B72;
  --secondary-color: #6c757d;
  --accent-color: #d4af37;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.wave-divider {
  line-height: 0;
}

/* Section Styles */
.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Card Styles */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(13, 110, 253, 0.1);
  margin-bottom: 20px;
}

/* Footer Styles */
footer {
    background-color:#e6e9f0;
}

/* Error Page */
.error-page {
  position: relative;
  overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
      font-size: 2rem;
  }
  
  .section-title {
      font-size: 1.8rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fadeIn {
  animation: fadeIn 1s ease-in-out;
}

/* Form Styles */
.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Page Header */
.page-header {
  position: relative;
  overflow: hidden;
}

/* Map Section */
.map-section iframe {
  border-radius: 0.375rem;
}

/* Partner Logos */
.partner-logos img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* News and Events */
.news-item, .event-item {
  transition: all 0.3s ease;
}

.news-item:hover, .event-item:hover {
  transform: translateX(5px);
}

/* Button Hover Effects */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
  .navbar-collapse {
      flex-grow:0;
  }
/* Dropdown Menu Animation - Only for desktop */
@media (min-width: 992px) {
  .dropdown-menu {
      display: block;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
  }

  .dropdown:hover > .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }
}

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
  .navbar-collapse {
      max-height: 80vh;
      overflow-y: auto;
  }
  
  .dropdown-menu {
      border: none;
      background-color: rgba(0, 0, 0, 0.03);
      padding-left: 1rem;
  }
  
  .navbar-nav .nav-link {
      padding: 0.75rem 0;
  }
  
  .dropdown-item {
      padding: 0.75rem 1rem;
  }
  
  .navbar-toggler {
      border: none;
      padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
      box-shadow: none;
      outline: none;
  }
  
  .navbar-toggler-icon {
      width: 1.5em;
      height: 1.5em;
  }


 
}

 .color_update {
      --bs-btn-color: #fff;
      --bs-btn-bg: #B89B72;
    --bs-btn-border-color: #B89B72;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #B89B72;
    --bs-btn-hover-border-color: #B89B72;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #B89B72;
    --bs-btn-active-border-color: #B89B72;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #B89B72;
    --bs-gradient: none;
  }

 .color_outline_update {
  --bs-btn-color: #B89B72;
    --bs-btn-border-color: #B89B72;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #B89B72;
    --bs-btn-hover-border-color: #B89B72;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #B89B72;
    --bs-btn-active-border-color: #B89B72;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #B89B72;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #B89B72;
    --bs-gradient: none;
      }


      .color_text_update{
        color: #B89B72 !important;
      }