



/* Top Bar */
.custom-top-bar {
  border-bottom: 1px solid #ddd;
}

/* Primary Text Color */
.custom-text-primary {
  color: #003366 !important;
}

/* Icon Styling */
.custom-phone-info i, 
.custom-location-info i {
  font-size: 1.2rem;
}

/* Ensure content is aligned as required */
.custom-logo-container {
  display: flex;
  align-items: center;
  position: relative; /* Add relative positioning */
  left: -20px; /* Increase the negative value to move the logo further left */
}

.custom-logo-container .custom-logo-image {
  margin-right: 5px; /* Space between logo and text */
}

/* Container Styling */
.custom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Flexbox Utility */
.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

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

/* Move right items further right */
.custom-right-content {
  position: relative;
  right: -20px; /* Move right items further to the right */
}

.custom-phone-info {
  margin-right: 15px;
}

.custom-location-info {
  margin-left: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .custom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-logo-container {
    left: 0; /* Reset left positioning */
    justify-content: center;
    margin-bottom: 10px;
  }

  .custom-right-content {
    flex-direction: column;
    right: 0; /* Reset right positioning */
    text-align: center;
  }

  .custom-phone-info,
  .custom-location-info {
    margin: 5px 0;
  }
}

@media (max-width: 768px) {
  .custom-logo-image {
    height: 40px; /* Adjust logo size for smaller screens */
  }

  .custom-text-primary {
    font-size: 0.9rem;
  }

  .custom-phone-info i, 
  .custom-location-info i {
    font-size: 1.1rem;
  }
}

/* Navbar Styles */
.navbar {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.navbar-dark {
  background-color: #003366; /* Navy Blue */
}

.navbar-nav {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
}

.nav-link:hover {
  color: #f8f9fa;
}

/* Dropdown Styles */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #000;
}

/* Show Dropdown on Hover */
.nav-item:hover > .dropdown-menu {
  display: block;
}

/* Preventive Cardiology Submenu */
.preventive-dropdown .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%; /* Align to the right of the parent */
  margin-left: 0;
  border-radius: 5px;
}

.preventive-dropdown:hover > .dropdown-menu {
  display: block;
}

/* Submenu Items */
.preventive-dropdown .dropdown-item {
  padding: 10px 16px;
  font-size: 14px;
}

.preventive-dropdown .dropdown-item:hover {
  background-color: #f1f1f1;
  color: #000;
}

/* Nested Dropdowns */
.dropdown-item.dropdown {
  position: relative;
}

.dropdown-item.dropdown .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%; /* Aligns submenu to the right */
  margin-top: -10px; /* Slight alignment adjustment */
  border-radius: 5px;
  display: none;
}

.dropdown-item.dropdown:hover .dropdown-menu {
  display: block;
}
/* Remove default styles for all anchor tags inside dropdown menus */
.dropdown-link {
  text-decoration: none; /* Remove underline */
  color: #333; /* Set the color to dark gray or another color */
}

.dropdown-link:hover {
  color: #003366; /* Change hover color (optional) */
}


/* Specific Padding for the Parent Div */
.d-flex.align-items-center {
  padding: 0 15px; /* Add padding to move items away from edges */
  width: auto; /* Ensure it doesn't stretch unnecessarily */
}

/* Appointment Button Custom Style */
.btn-appointment {
  background-color: #638F32; /* custom green background */
  color: #fff; /* White text */
  font-weight: bold; /* Bold text */
  font-family: 'Poppins', sans-serif; /* Poppins font */
  border: 2px solid #638F32; 
  border-radius: 4px; /* Rounded corners */
  padding: 10px 20px; /* Padding for a clean appearance */
  font-size: 1rem; /* Font size */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover transition */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Add subtle shadow */
  margin-left: 10px; /* Fine-tune spacing if needed */
}

/* Hover Effect */
.btn-appointment:hover {
  background-color: #638F32;
  color: #fff; /* text white */
  border-color: #638F32; 
}

/* Focus State */
.btn-appointment:focus {
  box-shadow: 0 0 5px rgba(131, 174, 67, 0.6); /* Subtle green glow on focus */
  outline: none; 
}
/* Training Button Custom Style */
.btn-training {
  background-color: #638F32; /* custom green background */
  color: #fff; /* White text */
  font-weight: bold; /* Bold text */
  font-family: 'Poppins', sans-serif; /* Poppins font */
  border: 2px solid #002366; 
  border-radius: 4px; /* Rounded corners */
  padding: 10px 20px; /* Padding for a clean appearance */
  font-size: 1rem; /* Font size */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover transition */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Add subtle shadow */
  margin-left: 10px; /* Fine-tune spacing if needed */
}

/* Hover Effect */
.btn-training:hover {
  background-color: #7f9664;
  color: #fff; /* text white */
  border-color: #002366; 
}

/* Focus State */
.btn-training:focus {
  box-shadow: 0 0 5px rgba(67, 74, 174, 0.6); /* Subtle green glow on focus */
  outline: none; 
}


.department-banner {
  background-color: #003366; /* Bootstrap Primary Color */
  color: white;
}














/* Footer Section */
.footer-section {
    background-color: #003366; /* Dark blue background */
    
  }
  
  .footer-section h5,
  .footer-section h6 {
    font-size: 1.25rem;
    font-weight: bold;
  }
  
  .footer-section p,
  .footer-section ul {
    font-size: 0.9rem;
    color: #eaeaea;
  }
  
  .footer-section a {
    color: #eaeaea;
    transition: color 0.3s ease;
  }
  
  .footer-section a:hover {
    color: #003366;
  }
  
  .footer-section .input-group .form-control {
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
  }
  
  .footer-section .input-group .btn {
    background-color: #003366; /* Light blue button */
    border: none;
    color: #fff;
    border-radius: 0;
    transition: background-color 0.3s ease;
  }
  
  .footer-section .input-group .btn:hover {
    background-color: #003366;
  }
  
  .footer-section hr {
    border-top: 1px solid #eaeaea;
    opacity: 0.2;
  }
  
  




  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Banner styling */
.banner {
    position: relative;
    background-image: url('../assets/zakaat/banner3.png'); /* Replace with your banner image URL */
    background-size: cover;
    background-position: center;
    height: 300px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.banner h1 {
    font-size: 3rem;
    margin: 0;
}

.banner p {
    font-size: 1.5rem;
    margin: 10px 0;
}

/* Add a slight overlay effect for text readability */
.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.banner h1, .banner p {
    position: relative;
    z-index: 1;
}
.language-toggle {
    text-align: center;
    margin-bottom: 20px;
}
.language-toggle button {
    margin: 0 10px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}
.language-toggle button.active {
    background: #28a745;
    color: white;
}
.instructions {
    display: none;
}
.instructions.active {
    display: block;
}


/* Zakat Support Section */
.zakat-support {
  background: linear-gradient(135deg, #edf2fb, #e0f7fa); /* Soft pastel gradient */
  padding: 60px 40px;
  border-radius: 20px; /* Rounded corners for modern look */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  max-width: 1400px; /* Centralized layout */
  margin: 40px auto; /* Center alignment */
}

/* Content Layout */
.zakat-support .content {
  display: flex; /* Side-by-side layout */
  align-items: center;
  gap: 50px; /* Space between text and image */
  flex-wrap: wrap; /* Responsive wrapping */
}

/* Text Section */
.zakat-support .text-section {
  flex: 1;
  max-width: 55%; /* Control text width */
  color: #333; /* Neutral text color */
}

.zakat-support .details-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.zakat-support .details-list li {
  font-size: 20px; /* Larger font for readability */
  margin-bottom: 10px;
  line-height: 1.6;
  font-weight: 600; /* Slightly bold text */
  color: #0056b3; /* Highlight key points */
}

.zakat-support .details-list li strong {
  color: #002d62; /* Darker highlight for labels */
}

.zakat-support .description {
  font-size: 18px;
  line-height: 1.8;
  text-align: justify; /* Professional alignment */
  margin-top: 10px;
  color: #555; /* Subtle contrast */
}

.zakat-support .cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #638F32; /* Primary button color */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.zakat-support .cta-button:hover {
  background-color: #003f87; /* Darker hover effect */
  transform: scale(1.05); /* Slight zoom */
}

/* Image Section */
.zakat-support .image-section {
  flex: 1;
  max-width: 45%; /* Limit image size */
  text-align: center; /* Center-align image */
}

.zakat-support .side-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover; /* Maintain aspect ratio */
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow for emphasis */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zakat-support .side-image:hover {
  transform: scale(1.08); /* Interactive zoom */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

/* Responsive Design */
@media (max-width: 768px) {
  .zakat-support .content {
      flex-direction: column; /* Stack vertically */
  }
  .zakat-support .text-section,
  .zakat-support .image-section {
      max-width: 100%; /* Full width */
  }
  .zakat-support .text-section {
      text-align: center; /* Center text for small screens */
  }
  .zakat-support .description {
      text-align: center;
  }
}


/* Call-to-Action Button */
.cta-button {
  display: inline-block;
  padding: 12px 20px; /* Button size remains unchanged */
  background-color: #638F32; /* Button color */
  color: #fff; /* Text color */
  font-size: 16px; /* Modern font size */
  font-weight: bold;
  text-decoration: none; /* Remove underline */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Button shadow */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Centering the Button */
.cta-container {
  display: flex; /* Flexbox layout */
  justify-content: center; /* Center the button horizontally */
  align-items: center; /* Align items vertically */
  margin: 20px 0; /* Add vertical spacing */
}

/* Button Hover Effect */
.cta-button:hover {
  background-color: #005bb5; /* Darker hover effect */
  transform: translateY(-3px); /* Lift effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}