/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

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



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



/* Navigation Styles */
.nav-pills {
  margin-top: 30px; /* Add space from top */
}

.nav-pills .nav-link {
color: #003366;
font-weight: 500;
border: 1px solid transparent;
margin: 5px;
border-radius: 50px;
transition: 0.3s;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
background-color: #003366;
color: #fff;
border-color: #003366;
}

/* Header */
header {
  background-image: url('../assets/medical_tourism/banner.avif');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 70px 20px;
  animation: fadeInDown 2s;
}

header h1 {
  font-size: 3.5rem;
  font-weight: bold;
}

header p {
  font-size: 1.5rem;
  font-style: italic;
}

/* Section Styles */
.services-section {
  padding: 60px 20px;
  background: linear-gradient(to right, #2e7ac7, #98b971);
  color: #333;
  animation: fadeInUp 1.5s;
}

.services-section h2 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
}

.services-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card-body {
  text-align: center;
  padding: 25px;
}

.card-title {
  font-size: 1.5rem;
  color: #003366;
  font-weight: bold;
  margin-bottom: 15px;
}

.card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

ul {
  list-style: disc;
  margin-left: 40px;
  color: #555;
  font-size: 1rem;
}

.btn-link {
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: color 0.2s ease-in-out;
}

.btn-link:hover {
  color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card {
    margin-bottom: 20px;
  }
}


#treatments {
  padding: 80px 20px;
  background: linear-gradient(135deg, #003366, #6c757d);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

#treatments:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  animation: move-background 20s linear infinite;
}

/* Animation for background */
@keyframes move-background {
  0% { left: 50%; }
  100% { left: -50%; }
}

/* Container and Content Styling */
.treatments-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.treatments-container .section-title {
  font-size: 3rem;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #000000;
  animation: fadeIn 1s ease-in-out;
}

.section-description {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: #dcdcdc;
  line-height: 1.5;
  animation: fadeIn 1.5s ease-in-out;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.service-category {
  background: rgba(0, 0, 0, 0.3);
  padding: 35px;
  width: 370px; /* Increased width */
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  opacity: 0;
  animation: slideUp 0.8s forwards;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .service-category {
      width: 90%; /* Keep the width responsive on smaller screens */
  }
}


.service-category h3 {
  font-size: 1.8rem;
  color: #f0f0f0;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.service-category ul {
  list-style-type: none;
  padding-left: 0;
  font-size: 1.1rem;
  color: #dcdcdc;
  line-height: 1.7;
}

.service-category li {
  margin: 12px 0;
}

/* Animation for category items */
@keyframes slideUp {
  from {
      transform: translateY(20px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Hover Effect */
.service-category:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-in-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .services {
      flex-direction: column;
      align-items: center;
  }

  .service-category {
      width: 90%;
  }
}


.patient-guide {
  padding: 80px 20px;
  background: linear-gradient(145deg, #8fa9de, #f1faee); /* New gradient colors */
  color: #003366;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.patient-guide:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  animation: slide-background 25s linear infinite;
}

/* Animation for background (new) */
@keyframes slide-background {
  0% { left: 50%; }
  100% { left: -50%; }
}

/* Title and Description */
.guide-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.patient-guide .section-title {
  font-size: 3rem;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  color: #003366;
  animation: fadeInUp 1s ease-in-out; /* New animation */
}

.section-description {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: #003366;
  line-height: 1.6;
  animation: fadeInUp 1.5s ease-in-out;
}

/* Content Layout */
.guide-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 50px;
}

.guide-column {
  background: rgba(0, 0, 0, 0.4);
  padding: 35px;
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s forwards; /* Apply the fadeInUp animation */
  transition: all 0.3s ease;
}

.guide-column h5 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.faq-list {
  list-style-type: none;
  padding-left: 0;
  font-size: 1.1rem;
  color: #f0f0f0;
  line-height: 1.7;
}

.guide-column p {
  font-size: 1.1rem;
  color: #f0f0f0;
  line-height: 1.6;
}

.guide-questionnaire {
  background: rgba(0, 0, 0, 0.4); /* Light background for better readability */
    /* Subtle border for separation */
  padding: 20px;
  border-radius: 10px;    /* Rounded corners for a modern look */
  max-width: 600px;         /* Limit width for better readability */
  margin: 20px auto;        /* Center the block */
  font-family: Arial, sans-serif;
  color: #333;    
  animation: fadeInUp 0.8s forwards; 
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);  
  opacity: 0;        /* Darker text for better contrast */
}

.guide-questionnaire h5 {
  font-size: 2.0rem;
  color: #003366;           /* Accent color for the heading */
  margin-bottom: 10px;
  text-align: center;
}

.guide-questionnaire p {
  font-size: 1.orem;
  color: #000000;
  margin-bottom: 20px;
}

.guide-questionnaire ul {
  list-style-type: none;    /* Remove default list styling */
  padding-left: 0;
  margin: 0;
}

.guide-questionnaire li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.6;
}

.guide-questionnaire li::before {
  content: "•";             /* Add a custom bullet point */
  color: #003366;           /* Accent color for the bullet */
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
}


/* New Fade In Animation */
@keyframes fadeInUp {
  from {
      transform: translateY(20px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Hover Effect */
.guide-column:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .guide-content {
      flex-direction: column;
      align-items: center;
  }

  .guide-column {
      width: 90%;
  }
}



.testimonials-section {
  padding: 80px 20px;
  background: linear-gradient(145deg, #7bc1ff, #b3c7ff); /* Soft gradient background */
  color: #333;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonials-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  animation: slide-background 30s linear infinite;
}

/* Animation for background */
@keyframes slide-background {
  0% { left: 50%; }
  100% { left: -50%; }
}

/* Section Title */
.section-title {
  font-size: 2.8rem;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  margin-bottom: 20px;
  color: #003366;
  font-weight: 700;
  text-transform: uppercase;
  animation: fadeInUp 1s ease-in-out;
}

.section-description {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 50px;
  color: #000000;
  line-height: 1.6;
  animation: fadeInUp 1.2s ease-in-out;
}

/* Testimonial Cards */
.testimonial-card,
.video-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

/* Blockquote Styling */
blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: #333;
  border-left: 5px solid #7bc8ff;
  padding-left: 20px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

blockquote footer {
  font-size: 1rem;
  color: #7bb6ff;
  font-weight: bold;
}

/* Video Styling */
.testimonial-video {
  border-radius: 10px;
  border: 3px solid #7bcaff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hover Effect for Testimonials */
.testimonial-card:hover,
.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
      transform: translateY(20px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonial-card,
  .video-card {
      width: 100%;
      margin-bottom: 30px;
  }

  .section-title {
      font-size: 2.2rem;
  }

  .section-description {
      font-size: 1rem;
  }
}



/* Scoped styles for Contact Our Team section */
#contact-team {
  background: #eef5f9;
}

#contact-team .contact-title {
  color: #004d66;
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Helvetica', sans-serif;
}

#contact-team .contact-description {
  color: #5a5a5a;
  font-size: 1.2rem;
  line-height: 1.6;
  font-family: 'Georgia', serif;
}

#contact-team .contact-card {
  background: linear-gradient(135deg, #ffffff, #d9f3f7);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

#contact-team .contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#contact-team .contact-icon {
  background: #004d66;
  color: #fff;
  font-size: 2.5rem;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#contact-team .contact-item {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
  font-family: 'Arial', sans-serif;
}

#contact-team .contact-item strong {
  color: #004d66;
}

/* Responsive Design */
@media (max-width: 768px) {
  #contact-team .contact-title {
      font-size: 2rem;
  }

  #contact-team .contact-description {
      font-size: 1rem;
  }

  #contact-team .contact-card {
      padding: 20px;
  }

  #contact-team .contact-icon {
      font-size: 2rem;
      width: 60px;
      height: 60px;
      line-height: 60px;
  }
}










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








  /* Custom Modal Styling */
  #aclsModal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  #aclsModal.show .modal-content {
    transform: scale(1);
  }
  
  #aclsModal .modal-header {
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
    color: white;
    border-bottom: none;
    padding: 1.5rem;
  }
  
  #aclsModal .modal-title {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.5rem;
  }
  
  #aclsModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: all 0.2s ease;
  }
  
  #aclsModal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
  }
  
  #aclsModal .modal-body {
    padding: 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: #495057;
    font-weight: 500;
    position: relative;
  }
  
  
  
  #aclsModal .modal-footer {
    border-top: none;
    padding: 1rem;
    background: rgba(255,255,255,0.8);
    justify-content: center;
  }
  
  #aclsModal .btn-secondary {
    background: linear-gradient(135deg, #6a85b6 0%, #bac8e0 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  
  #aclsModal .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 133, 182, 0.3);
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  /* Optional: Add smooth backdrop */
  .modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(9px);
  }
  
  
  