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

  



        /* Header Banner */
        .header-banner {
            background: url('../assets/training/banner.png') no-repeat center center/cover;
            color: rgb(55, 54, 54);
            padding: 80px 0;
            text-align: center;
        }

        .header-banner h1 {
            font-size: 3.5rem;
            font-weight: 600;
        }

        .header-banner p {
            font-size: 1.2rem;
            margin-top: 10px;
        }

        /* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin: 40px 0;
    color: #003366;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title span {
    color: #638F32;
    font-weight: bold;
}

/* News Section */
.news-section {
    background: #f9f9f9; /* Light background for contrast */
    padding: 50px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

/* News Items Layout */
.news-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1.5s ease-out;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Event Icon */
.event-icon {
    background: #638F32;
    color: white;
    padding: 15px;
    border-radius: 50%;
    margin-right: 20px;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Event Details */
.event-details h4 {
    font-size: 1.6rem;
    color: #003366;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-details p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

/* Animation for News Items */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Training & Figures Section */
.training-section {
    background: linear-gradient(to right, #9fd1fd, #8c98ba);
    padding: 60px 30px;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.5s ease-out;
}

/* Title Styling */
.training-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

/* Container Styling */
.training-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Each Training Item */
.training-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    border-left: 5px solid #003366;
}

/* Hover Effect */
.training-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Heading Style */
.training-item h4 {
    font-size: 1.6rem;
    color: #003366;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* List Styling */
.training-item ul {
    padding-left: 20px;
    list-style-type: disc;
}

.training-item ul li {
    font-size: 1rem;
    color: #34495e;
    line-height: 1.6;
}

/* Animation for Section */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}





/* Awards & Recognition Section */
.awards-section {
    background: linear-gradient(to right, #65a4e3, #c1d7a7);
    padding: 60px 30px;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.5s ease-out;
    margin-top: 40px;
}

/* Section Title Styling */
.awards-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

/* Collaboration Section */
.collaboration-section {
    margin-bottom: 40px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #003366; /* Blue left border for distinction */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collaboration-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Heading inside Collaboration Section */
.collaboration-section h4 {
    font-size: 1.7rem;
    color: #638F32;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* List Styling */
.collaboration-section ul {
    padding-left: 20px;
    list-style-type: disc;
}

.collaboration-section ul li {
    font-size: 1.2rem;
    color: #34495e;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Animation for Section */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}










  /* Accreditation Section */
.accreditation-section {
    background: linear-gradient(135deg, #56a2d5, #d1a7e2); /* Gradient background */
    padding: 60px 30px;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.5s ease-out;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.accreditation-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-family: 'Arial', sans-serif;
}

/* Accreditation Card Styling */
.accreditation-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    color: #2980b9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.accreditation-card h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.accreditation-card h4 i {
    font-size: 2rem;
    margin-right: 15px;
}

.accreditation-card p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.accreditation-card:hover {
    transform: translateY(-10px);
}

/* List Style */
.accreditation-section ul {
    padding-left: 20px;
    list-style-type: none;
}

.accreditation-section ul li {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.accreditation-section ul li i {
    font-size: 1.5rem;
    color: #003366; 
    margin-right: 10px;
}

/* Animation for Section */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Section Styling */
#unique-fellowship-programs-section {
  padding: 40px;
  background: linear-gradient(to right, #78a0c8, #c6d6b3);
  border-radius: 15px;
  color: #fff;
  font-family: 'Poppins', Arial, sans-serif;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  margin: 20px auto;
  transition: transform 0.3s ease-in-out;
  margin-top: 40px;
  margin-bottom: 20px;
}

#unique-fellowship-programs-section:hover {
  transform: scale(1.02);
}

/* Heading Styling */
#unique-fellowship-programs-section .unique-heading {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

/* Table Styling */
#unique-fellowship-programs-section .unique-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(176, 137, 137, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#unique-fellowship-programs-section .unique-table th,
#unique-fellowship-programs-section .unique-table td {
  padding: 15px;
  text-align: left;
  color: #fff;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#unique-fellowship-programs-section .unique-table th {
  background: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1rem;
}

#unique-fellowship-programs-section .unique-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.1);
}

#unique-fellowship-programs-section .unique-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease-in-out;
}

/* List Styling */
#unique-fellowship-programs-section .unique-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
}

#unique-fellowship-programs-section .unique-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  animation: fadeInUp 0.6s ease-in-out;
}

#unique-fellowship-programs-section .unique-list li:before {
  content: '★';
  position: absolute;
  left: 0;
  color: #638F32;
  font-size: 1.5rem;
}

/* Nested List Styling */
#unique-fellowship-programs-section .unique-list ul {
  margin-top: 10px;
  padding-left: 30px;
  list-style-type: none;
}

#unique-fellowship-programs-section .unique-list ul li:before {
  content: '⬤';
  color: #638F32;
  font-size: 1rem;
}

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

/* Hover Effects for Links */
#unique-fellowship-programs-section a {
  color: #ffea00;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

#unique-fellowship-programs-section a:hover {
  color: #fff;
  text-decoration: underline;
}




.fellowship-programs-section {
  background: linear-gradient(135deg, #6a6dcb, #a7e2b6);
  padding: 60px 30px;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1.5s ease-out;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 20px;
}

.fellowship-programs-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}

thead th {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 15px;
  text-align: left;
}

tbody td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}























/* 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(3px);
}