



/* 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: #7f9664;
    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; 
  }
  
  
  /* Carousel Styling for Smooth Transition */
  .carousel-item {
    opacity: 0; /* Start as invisible */
    transform: scale(0.95); /* Slightly scaled down */
    transition: transform 1.5s ease, opacity 1.5s ease; /* Smooth transition effect */
  }
  
  .carousel-item.active {
    opacity: 1; /* Fully visible when active */
    transform: scale(1); /* Normal scale when active */
  }
  
  /* Customize Control Buttons */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 50%; /* Round buttons */
    width: 40px;
    height: 40px;
  }
  
  /* Smooth Captions */
  .carousel-caption {
    animation: fadeIn 1s ease-in-out;
  }
  
  /* Keyframes for Additional Animation Effects */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  
  
  
  
  /* Green Ribbon - Updated Styling */
  .quick-links {
    background-color: #638F32 !important;
    padding: 1rem 0;
  }
  
  .quick-links a {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .quick-links a:hover {
    background-color: #4e7325; /* Slightly darker green */
  }
  
  .quick-links i {
    font-size: 1rem;
  }
  
  .quick-links span {
    font-size: 1.2rem;
    margin-left: 8px;
  }
  
  /* Align columns in one row */
  .quick-links .row {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-items: center;
  }
  
  .quick-links .container-fluid {
    padding: 0;
  }
  
  .quick-links .col-md-3 {
    flex: 1 1 0;
    max-width: 22%;
    text-align: center;
  }
  
  .quick-links .vertical-divider {
    width: 2px;
    height: 50px;
    background-color: white;
    margin: 0 auto;
  }
  
  /* Responsive Enhancements */
  
  /* Medium screens (Tablets) */
  @media (max-width: 768px) {
    .quick-links .row {
      flex-wrap: wrap; /* Allow wrapping */
      justify-content: space-between; /* Space items evenly */
    }
  
    .quick-links .col-md-3 {
      flex: 1 1 calc(50% - 1rem); /* Two columns per row */
      max-width: calc(50% - 1rem);
      margin-bottom: 1rem; /* Add spacing between rows */
    }
  
    .quick-links .vertical-divider {
      display: none; /* Hide dividers for better readability */
    }
  }
  
  /* Small screens (Phones) */
  @media (max-width: 576px) {
    .quick-links .row {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .quick-links a {
      font-size: 1rem; /* Adjust font size */
      padding: 0.7rem 1rem; /* Increase padding */
    }
  
    .quick-links i {
      font-size: 1.8rem; /* Scale down icon size */
    }
  
    .quick-links .col-md-3 {
      flex: 1 1 100%; /* Single column layout */
      max-width: 100%;
      margin-bottom: 1rem;
    }
  
    .quick-links .vertical-divider {
      display: none; /* Hide dividers */
    }
  }
  
  
  
  /* Welcome Section */
  .welcome-section {
    background: linear-gradient(to right, #65a4e3, #c1d7a7);
    color: #ffffff; /* White text for strong contrast */
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
  }
  
  /* Title and Subtitle */
  .welcome-section h6 {
    color: #003366; /* Softer teal */
    font-size: 1rem;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
  }
  
  .welcome-section h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
    opacity: 0;
    animation: slideInTop 2s ease-in-out forwards;
  }
  
  .welcome-section p {
    font-size: 1.2rem;
    color: #b2ebf2; 
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 2.5s ease-in-out forwards;
  }
  
  /* Button */
  .welcome-section a {
    font-size: 1.1rem;
    text-decoration: none;
    color: #003366; 
    background-color: #003366; 
    padding: 12px 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 3s ease-in-out forwards;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  
  .welcome-section a:hover {
    background-color: #ffffff; 
    color: #003366;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
  
  /* Image */
  .welcome-section img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(0.9); 
    opacity: 0;
    animation: zoomIn 3.5s ease-in-out forwards;
  }
  
  /* Animations */
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
  @keyframes slideInTop {
    0% {
      opacity: 0;
      transform: translateY(-30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes zoomIn {
    0% {
      opacity: 0;
      transform: scale(0.8);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .welcome-section h1 {
      font-size: 2.5rem;
    }
    
    .welcome-section p {
      font-size: 1rem;
    }
    
    .welcome-section img {
      max-height: 250px;
    }
  }
  
  @media (max-width: 768px) {
    .welcome-section {
      padding: 3rem 1rem;
    }
  
    .welcome-section h1 {
      font-size: 2rem;
    }
  
    .welcome-section p {
      font-size: 0.9rem;
    }
  
    .welcome-section img {
      max-height: 200px;
    }
  }
  
  
  
  /* Services Section */
  .our-services {
    background-color: #f8f9fa; 
  }
  
  .our-services h6 {
    font-size: 1rem;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .our-services h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
  }
  
  .service-sidebar {
    border: 1px solid #ddd;
  }
  
  .service-item {
    padding: 10px 15px;
    transition: background-color 0.3s ease;
  }
  
  .btn-primary {
    background-color: #003366 !important;
    border-color: #003366 !important;
    color: #fff !important;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .btn-primary:hover {
    background-color: #002a57 !important;
    border-color: #002a57 !important;
    color: #fff !important;
  }
  
  .service-item:hover {
    background-color: #e9ecef;
  }
  
  .service-item.bg-primary {
    background-color: #003366;
    color: #fff;
  }
  
  .service-item.bg-primary a {
    color: #fff;
  }
  
  .service-item a {
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
  }
  
  .service-item i {
    font-size: 1.5rem;
  }
  
  .our-services ul {
    padding-left: 0;
  }
  
  .our-services ul li {
    list-style: none;
    margin-bottom: 10px;
  }
  
  .our-services ul li i {
    color: #003366;
    margin-right: 5px;
  }
  
  .our-services p {
    font-size: 1rem;
    color: #6c757d;
  }
  
  /* Reduced Image Sizes */
  .our-services img.reduced-img {
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  
  
  /* Departments Section */
  .departments-section {
    background-color: #f8f9fa; 
    padding: 40px 20px; 
    text-align: center; 
  }
  
  .departments-section h6 {
    font-size: 1rem;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px; 
  }
  
  .departments-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 30px; 
  }
  
  /* Department Card */
  .departments-section .department-card {
    position: relative;
    height: 400px; 
    border-radius: 10px; 
    overflow: hidden;
    background-color: #ffffff; 
    border: 1px solid #e0e0e0; /
    transition: transform 0.3s ease-in-out; /* Smooth hover animation */
  }
  
  /* Remove hover effects */
  .departments-section .department-card:hover {
    transform: scale(1.05); /* Slight scale-up on hover */
  }
  
  /* Image Style */
  .departments-section .department-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px; /* Match card's rounded corners */
  }
  
  /* Overlay (Always Visible) */
  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: none; /* No background for overlay */
    color: #ffffff; /* White text for better visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Subtle shadow for better readability */
    padding: 20px; /* Add padding for spacing */
    z-index: 2; /* Ensure it is above the image */
  }
  
  .card-overlay h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .card-overlay p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  /* Button */
  .btn-circle {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #003366; /* Dark blue button */
    color: #ffffff; /* White text */
    font-size: 1.2rem;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    cursor: pointer;
    border: none; /* Flat button */
  }
  
  .btn-circle:hover {
    background-color: #0056b3; /* Lighter blue on hover */
    transform: scale(1.1); /* Slight scale-up on hover */
  }
  
  /* Responsive Adjustments */
  @media (max-width: 767.98px) {
    .departments-section .department-card {
      height: 300px; /* Reduce height for smaller devices */
    }
  
    .departments-section h1 {
      font-size: 2rem; /* Adjust heading size for smaller screens */
    }
  
    .card-overlay h4 {
      font-size: 1.2rem; /* Smaller font for titles */
    }
  
    .card-overlay p {
      font-size: 0.9rem; /* Adjust text size */
    }
  }
  
  
  
  /* Our Doctors Section */
  .our-doctors {
    background-color: #f8f9fa;
  }
  
  .our-doctors h6 {
    font-size: 1rem;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .our-doctors h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
  }
  
  /* Specialist Slider */
  .specialist-slider {
    display: flex;
    gap: 20px;
    overflow: hidden; /* Hide overflow for smooth animation */
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    position: relative;
  }
  
  .specialist-slider::before,
  .specialist-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10%; /* Visual fade effect */
    z-index: 1;
  }
  
  .specialist-slider::before {
    left: 0;
    
  }
  
  .specialist-slider::after {
    right: 0;
   
  }
  
  /* Slider Wrapper */
  .slider-wrapper {
    display: flex;
    gap: 20px;
    width: max-content; /* Ensures all slides fit in one row */
   
  }
  
  .card {
    border: 2px solid #003366;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    min-height: 300px;
    max-height: 300px;
    min-width: 320px;
    max-width: 320px;
    overflow: hidden;
    box-sizing: border-box;
  
    /* Add margin for spacing between cards */
    margin: 10px; /* Adjust this value as needed */
  }
  
  .card-top {
    background: linear-gradient(to right, #2e7ac7, #98b971); /* Gradient from dark blue to green */
    padding: 15px 10px;
    pointer-events: auto;
    
  }
  .overlapping-element {
    pointer-events: none; /* Makes it non-interactive */
  }
  
  
  
  .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: 18px;
    font-weight: bolder;
    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 */
    }
  }
  
  
  /* Animation */
  @keyframes scrollSlider {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5)); /* Adjust to card width and count */
    }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .doctor-card {
        width: 200px;
    }
    .profile-img img {
        width: 100px;
        height: 100px;
    }
    .doctor-card h5 {
        font-size: 1rem;
    }
    .doctor-card p {
        font-size: 0.85rem;
    }
    .btn-primary, .btn-success {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
  }
  
  
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .section-heading {
        font-size: 2rem;
    }
  
    .banner-section h1 {
        font-size: 2.5rem;
    }
  
    .banner-section p {
        font-size: 1.2rem;
    }
  
    .custom-list li {
        font-size: 1rem;
    }
    .mt-4 {
        margin-top: 1.5rem;
    }
    
  }
  
  
  /* See More Button */
  .btn-lg {
    padding: 10px 30px;
    font-size: 1rem;
    border-radius: 5px;
  }
  
  
  /* Appointment Section */
  .appointment-section {
    background-color: #f8f9fa; /* Light background */
  }
  
  .appointment-section h2 {
    font-size: 2rem;
    color: #003366;
  }
  
  .appointment-section p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
  }
  
  /* Left Content with Background Image */
  .content-with-bg {
    background-image: url('../assets/images/appointment-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    color: #ffffff; 
    border-radius: 8px;
    height: 430px; 
    display: flex; 
    flex-direction: column;
    justify-content: center;
  }
  
  
  /* Appointment Form */
  .appointment-form {
    background-color: #003366; /* Dark blue background */
    color: #fff;
    border-radius: 8px;
  }
  
  .appointment-form .form-control,
  .appointment-form .form-select {
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .appointment-form .form-control:focus,
  .appointment-form .form-select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(1, 69, 142, 0.8);
  }
  
  .appointment-form button {
    background-color: #003366; /* Light blue for the submit button */
    color: #fff;
    font-weight: bold;
    padding: 12px;
    border: lightslategray;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  
  .appointment-form button:hover {
    background-color: #2241a5; /* Darker blue on hover */
  }
  
  /* Responsive Design */
  @media (max-width: 767.98px) {
    .appointment-section .row {
        flex-direction: column;
    }
  
    .content-with-bg {
        margin-bottom: 20px;
    }
  }
  /* General Reset */
  .unique-news-slider * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  /* Slider Section Styling */
  .unique-news-slider {
    background: linear-gradient(to right, #f3f4f6, #e9eff1);
    padding: 50px 20px;
    text-align: center;
  }
  
  .unique-news-slider .slider-wrapper {
    position: relative;
    width: 90%;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: #fff;
  }
  
  .unique-news-slider .slider-container {
    display: flex;
    transition: transform 0.8s ease-in-out;
  }
  
  .unique-news-slider .news-card {
    min-width: 100%;
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s, box-shadow 0.4s;
    cursor: pointer;
  }
  
  .unique-news-slider .card-1 {
    background: linear-gradient(135deg, #2e7ac7, #98b971);
  }
  
  .unique-news-slider .card-2 {
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  }
  
  .unique-news-slider .card-3 {
    background: linear-gradient(135deg, #d0ed8e, #96e6a1);
  }
  
  .unique-news-slider .card-4 {
    background: linear-gradient(135deg, #9eb1c0, #849bdf);
  }
  
  .unique-news-slider .news-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
  
  .unique-news-slider .news-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  .unique-news-slider .news-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
  }
  
  /* Navigation Buttons */
  .unique-news-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    padding: 10px 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .unique-news-slider .slider-btn:hover {
    background: #ff5722;
    transform: scale(1.1);
  }
  
  .unique-news-slider .prev-btn {
    left: 10px;
  }
  
  .unique-news-slider .next-btn {
    right: 10px;
  }
  
  /* Keyframe Animations */
  @keyframes fadeInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeInDown {
    from {
      transform: translateY(-30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .unique-news-slider .news-card {
      padding: 40px 15px;
    }
  
    .unique-news-slider .news-card h3 {
      font-size: 1.6rem;
    }
  
    .unique-news-slider .news-card p {
      font-size: 1rem;
    }
  
    .unique-news-slider .slider-btn {
      font-size: 1.5rem;
      padding: 8px 12px;
    }
  }
  
  @media (max-width: 768px) {
    .unique-news-slider .slider-wrapper {
      width: 95%;
    }
  
    .unique-news-slider .news-card {
      padding: 30px 10px;
    }
  
    .unique-news-slider .news-card h3 {
      font-size: 1.4rem;
    }
  
    .unique-news-slider .news-card p {
      font-size: 0.9rem;
    }
  
    .unique-news-slider .slider-btn {
      font-size: 1.2rem;
      padding: 6px 10px;
    }
  }
  
  @media (max-width: 480px) {
    .unique-news-slider {
      padding: 30px 10px;
    }
  
    .unique-news-slider .news-card {
      padding: 20px 10px;
    }
  
    .unique-news-slider .news-card h3 {
      font-size: 1.2rem;
    }
  
    .unique-news-slider .news-card p {
      font-size: 0.8rem;
    }
  
    .unique-news-slider .slider-btn {
      font-size: 1rem;
      padding: 5px 8px;
    }
  }
  
  
  
  
  /* Contact Section */
  .contact-section {
      background-color: #f8f9fa; /* Light background */
  }
  
  .contact-section h6 {
      font-size: 1rem;
      color: #003366;
      text-transform: uppercase;
      letter-spacing: 1px;
  }
  
  .contact-section h1 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #333;
  }
  
  /* Contact Section */
  .contact-section {
    background-color: #f8f9fa; /* Light background */
  }
  
  .contact-section h6 {
    font-size: 1rem;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .contact-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
  }
  
  /* Contact Cards */
  .contact-card {
    height: 180px; /* Uniform height for all cards */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .contact-card.bg-light-blue {
    background-color: #e9f1ff; /* Light blue background */
    border: 1px solid #ddd;
  }
  
  .contact-card.bg-dark-blue {
    background-color: #003366; /* Dark blue background */
    color: #fff;
  }
  
  .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
  }
  
  .contact-card i {
    font-size: 2rem;
  }
  
  .contact-card h6 {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
  }
  
  .contact-card p {
    font-size: 0.9rem;
    color: inherit; /* Adapt to the card's theme (dark or light) */
    line-height: 1.5;
    margin: 0;
  }
  
  /* Responsive Design */
  @media (max-width: 767.98px) {
    .contact-card {
        height: auto; /* Allow flexibility on smaller screens */
        padding: 20px;
    }
  
    .contact-card i {
        font-size: 1.5rem;
    }
  
    .contact-card h6 {
        font-size: 0.95rem;
    }
  
    .contact-card p {
        font-size: 0.85rem;
    }
  }
  
  
  
  /* 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;
  }
  
  /* Google Map */
  .map-container iframe {
    border: none;
    height: 300px;
    width: 100%;
  }
  
  
  
  /*Commandant page*/
  
  .banner-section {
    position: relative;
    background-image: url('../assets/images/comm_banner-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: #002366; /* Dark blue text color */
  
    /* Add a subtle box shadow to the banner edges */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  
    
    background: linear-gradient(
        rgba(0, 0, 0, 0.1), 
        rgba(0, 0, 0, 0.1)
      ),
      url('../assets/images/comm_banner-bg.jpg');
    background-size: cover;
    background-position: center;
  }
  
  /* Add text-shadow for the banner text */
  .banner-section h1, 
  .banner-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  }
  
  .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White overlay with transparency */
  }
  .banner-content {
    position: relative;
    z-index: 1;
    text-align: left;
  }
  .banner-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
  }
  .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
  }
  .breadcrumb a {
    color: #002366;
    text-decoration: none;
  }
  .breadcrumb a:hover {
    text-decoration: underline;
  }
  
  
  
  
  /* view profile/*
  
  
  /* Banner */
  .banner1-section {
    position: relative;
    background-image: url('../assets/images/profile_banner-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: #002366; /* 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/profile_banner-bg.jpg');
    background-size: cover;
    background-position: center;
  }
  
  /* Add text-shadow for the banner text */
  .banner1-section h1, 
  .banner1-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  }
  
  .banner1-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White overlay with transparency */
  }
  .banner1-content {
    position: relative;
    z-index: 1;
    text-align: left;
  }
  .banner1-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
  }
  .breadcrumb1 {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
  }
  .breadcrumb1 a {
    color: #002366;
    text-decoration: none;
  }
  .breadcrumb1 a:hover {
    text-decoration: underline;
  }
  
  /* Profile Section */
  .profile-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  

  .doctor-img {
    width: 250px;         /* Set the width of the image */
    height: 250px;        /* Set the height of the image */
    object-fit: cover;    /* Ensures the image retains its aspect ratio and fills the circle */
    border: 3px solid #638F32; /* Optional: Adds a border around the image */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
    margin: 10px auto;    /* Centers the image in its container */
  }
  
  .doctor-name {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .doctor-speciality,
  .doctor-qualifications,
  .doctor-languages,
  .doctor-location,
  .doctor-phone {
    font-size: 1rem;
    margin: 5px 0;
  }
  
  .appointment-button {
    margin-top: 10px;
  }
  
  /* Clinical Hours */
  .clinical-hours {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .clinical-hours-table thead {
    background-color: #e3f2fd;
    font-weight: bold;
  }
  
  .clinical-hours-table td,
  .clinical-hours-table th {
    vertical-align: middle;
  }
  
  
  