/* General Styles for the Form Elements */
.form-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
 h1 {
  font-size: 40px;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
}
p{
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  text-align: center;

}

.form-group {
  margin-top: 20px;
  margin-bottom: 15px;
}

.form-container label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.form-container input[type="date"] {
  cursor: pointer;
  padding: 8px; /* Slight padding for better aesthetics */
}

.form-container input[type="text"],
.form-container input[type="tel"],
.form-container input[type="email"] {
  background-color: #f9f9f9; /* Light background for text inputs */
}

.form-container textarea {
  background-color: #f9f9f9; /* Light background for textareas */
  resize: vertical; /* Allow vertical resizing */
}

/* Gender Selection Dropdown */
.form-container select {
  cursor: pointer;
}



/* Suggestions Textarea */
.form-container textarea#suggestions {
  background-color: #f9f9f9;
  resize: vertical;
  font-size: 14px;
  padding: 10px;
  border: 1px solid #ccc;
}

/* Center the button */
.submit-button-container {
  display: flex;
  justify-content: center; /* Centers button horizontally */
  align-items: center; /* Centers button vertically (if the container height is large) */
  margin-top: 20px; /* Optional: space above the button */
}

/* Submit Button Styles */
.form-container button[type="submit"] {
  background-color: #4CAF50; /* Green background */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  text-align: center; /* Ensures text inside the button is centered */
}


.form-container button[type="submit"]:hover {
  background-color: #45a049; /* Darker green on hover */
}





/* Ensure the feedback section is isolated */
.feedback-section {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  gap: 10px; /* Space between each radio button and label pair */
  margin-top: 10px;
}

.feedback-option {
  display: flex;
  align-items: center; /* Align radio buttons and labels vertically centered */
  gap: 8px; /* Adjust space between radio button and label */
}

.feedback-option input[type="radio"] {
  transform: scale(1.2); /* Slightly enlarge the radio buttons */
  cursor: pointer;
  margin: 0; /* Remove any margin */
  padding: 0; /* Remove any padding */
  vertical-align: middle; /* Align the radio button vertically with the label */
}

.feedback-option label {
  font-weight: bold;
  color: #333;
  cursor: pointer;
  margin: 0; /* Remove margin */
  padding: 0; /* Remove padding */
  line-height: normal; /* Adjust line-height to prevent extra space */
  display: inline-block; 
  /* Ensure label is inline with radio button */
}

/* Override conflicting styles for feedback section */
.feedback-section label {
  font-weight: normal; /* Override form-container label styles */
  display: inline; /* Ensure label is inline with radio button */
}

.feedback-section input[type="radio"],
.feedback-section select,
.feedback-section textarea {
  width: auto; /* Remove width: 100% */
  padding: 0; /* Remove padding */
  border: none; /* Remove border */
  font-size: 14px; /* Keep the font size consistent */
}





/* 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;
  z-index: 1; /* Ensure submenu appears above other elements */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Add subtle shadow */
}

.dropdown-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-link {
  text-decoration: none; /* Remove underline */
  color: #333; /* Set the color to dark gray or another color */
  transition: color 0.3s ease; /* Smooth hover transition */
}

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

/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    margin-top: 5px;
  }

  .preventive-dropdown .dropdown-menu {
    position: static;
    margin-left: 0;
  }
}
/* 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; 
}







/* 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: black;
    color: #fff;
    border-radius: 0;
    transition: background-color 0.3s ease;
  }
  
  .footer-section .input-group .btn:hover {
    background-color: #003366;
    border:#002366;
  }
  
  .footer-section hr {
    border-top: 1px solid #eaeaea;
    opacity: 0.2;
  }


