/* 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;
}



  /* Banner */
.banner2-section {
    position: relative;
    background-image: url('../assets/images/appointment-banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 30px 0;
    color: #003366; /* Dark blue text color */
  
    /* Add a subtle box shadow to the banner edges */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  
    /* Optional: Add a gradient overlay for a softer look */
    background: linear-gradient(
        rgba(0, 0, 0, 0.1), 
        rgba(0, 0, 0, 0.1)
      ),
      url('../assets/images/appointment-banner.jpg');
    background-size: cover;
    background-position: center;
  }
  
  /* Add text-shadow for the banner text */
  .banner2-section h1, 
  .banner2-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  }
  
  .banner2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White overlay with transparency */
  }
  .banner2-content {
    position: relative;
    z-index: 1;
    text-align: left;
  }
  .banner2-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
  }
  .breadcrumb1 {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
  }
  .breadcrumb1 a {
    color: #003366;
    text-decoration: none;
  }
  .breadcrumb1 a:hover {
    text-decoration: underline;
  }



   /* main section */


  h2 {
    color: #003366;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
}

aside h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}
.card {
  border: 2px solid #003366;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  min-height: 310px;
  max-height: 310px;
  min-width: 310px;
  max-width: 310px;
  overflow: hidden;
  box-sizing: border-box;
}
.card-top {
  background: linear-gradient(to right, #2e7ac7, #98b971); /* Gradient from dark blue to green */
  padding: 15px 10px;
  
}



.card-img-top {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px; /* Center the image and add spacing below */
  display: block;
}

.card-body-top {
  text-align: center; /* Center the text inside the top section */
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card-text {
  font-size: 14px;
  margin-bottom: 10px;
}

.card-body {
  padding: 10px;
}

.card .d-flex {
  gap: 10px;
  justify-content: flex-start;
}

.card .btn {
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  line-height: 1.2;
}

.card .btn i {
  font-size: 0.9rem;
  margin-right: 5px;
}

.card .btn-primary {
  background-color: #003366;
  color: #fff;
  border: none;
}

.card .btn-primary:hover {
  background-color: #00509e;
}

.card .btn-success {
  background-color: #638F32 !important;
  color: #fff;
  border: none;
}

.card .btn-success:hover {
  background-color: #4f7127;
}

hr {
  height: 2px !important;  /* Defines the height of the line */
  background-color: black !important;  /* Black color for the line */
  /* Add spacing around the line */
}


/* Responsive Design: Reduce button width for smaller screens */
@media (max-width: 768px) {
  .card .btn {
    width: 100%; /* Make buttons stack vertically */
    justify-content: center; /* Center align text and icons */
  }
}











/* 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;
}

