/* CSS */
/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Top Navbar */
.top-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    color: black;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    font-size: 14px;
    animation: slideTop 1s infinite alternate;
}
@keyframes slideTop {
    0% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}


.contact-info span {
    margin-right: 15px;
    animation: move-horizontal 5s linear infinite;
}

.social-icons a {
    margin-left: 10px;
    color: black;
}

@keyframes move-horizontal {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(0);
    }
}

/* Main Navigation Bar */
.main-navbar {
    position: fixed !important;
    top: 40px !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #007bff !important;
    z-index: 9999 !important;
    transition: none !important;
    will-change: position !important;
}
.nav-link.active {
  color: #fff !important;
  font-weight: bold;
  background-color: #0056b3 !important;
  border-radius: 5px;
  padding: 8px 12px;
}


/* Ensure navbar stays fixed during scroll */
body {
    padding-top: 90px;
}

/* Prevent any scrolling interference */
html, body {
    overflow-x: hidden;
    scroll-behavior: auto;
}
.main-navbar .navbar-brand img {
    height: 50px;
}

.main-navbar .nav-link {
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

.main-navbar .nav-link:hover {
    color: yellow;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: yellow;
    transition: width 0.3s ease;
}

.main-navbar .nav-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-navbar {
        font-size: 12px;
        padding: 8px 15px;
    }

    .main-navbar .navbar-brand img {
        height: 40px;
    }

    .main-navbar .nav-link {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* Style the logo to be circular */
.logo img {
    width: 50px; /* Adjust size as needed */
    height: 150px; /* Ensure the height matches the width */
    border-radius: 40%; /* This makes the image circular */
    object-fit: cover; /* Ensures the image maintains its aspect ratio and fills the circle */
    transition: transform 0.3s ease-in-out; /* Optional smooth transition */
}

/* Optional: Add a hover effect */
.logo img:hover {
    transform: scale(1.1); /* Slightly scale the image on hover */
}


/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
  }
  
 /* Slider Container */
.custom-slider {
    width: 100%;
    height: 100vh; /* Full height of the viewport */
    overflow: hidden;
    position: relative;
  }
  
  /* Individual Slide */
  .custom-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
  }
  
  /* Active Slide */
  .custom-slide.active {
    opacity: 1;
    z-index: 1;
  }
  
  /* Image Styling */
  .custom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without distortion */
    position: absolute;
    top: 0;
    left: 0;
  }
  
  /* Text Content */
  .custom-slide .custom-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  }
  
  .custom-slide h2 {
    font-size: 48px;
    margin: 0 0 10px;
  }
  
  .custom-slide p {
    font-size: 20px;
    margin: 10px 0 20px;
  }
  
  .custom-slide .custom-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid green;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .custom-slide .custom-btn:hover {
    background-color: green;
    border-color: green;
  }
  
  /* Adjust height for slider with navbar */
  .custom-slider {
    width: 100%;
    height: calc(100vh - 60px); /* Adjust height to account for navbar height */
    overflow: hidden;
    position: relative;
    margin-top: 65px; /* Push the slider down by the navbar's height */
  }
  
  
/* About Us Section */
.about-us {
    padding: 60px 20px;
    background-color: #f9f9f9; /* Light gray background */
    text-align: center;
  }
  
  .about-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-us h2 {
    font-size: 40px; /* Increased size for the heading */
    margin-bottom: 20px;
    color: #333; /* Darker text for headings */
    font-family: "Times New Roman", Times, serif; /* New Roman font */
  }
  
  .about-us p {
    font-size: 20px; /* Larger text for better readability */
    line-height: 1.8;
    color: #555; /* Subtle color for paragraph text */
    margin-bottom: 20px;
    font-family: "Times New Roman", Times, serif; /* New Roman font for paragraphs */
    display: block; /* Block display for proper spacing */
  }
  
  .about-us .highlight {
    color: blue; /* Blue color for the highlighted text */
    font-size: 22px; /* Slightly larger for emphasis */
    margin-bottom: 10px; /* Smaller space below it */
    font-family: "Times New Roman", Times, serif; /* New Roman font */
  }
  
  .about-us .btn {
    display: inline-block;
    padding: 12px 24px; /* Increased padding for a larger button */
    border: 2px solid green;
    background-color: rgba(0, 0, 0, 0.1);
    color: green;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-family: "Times New Roman", Times, serif; /* New Roman font for button */
    font-size: 18px; /* Increased font size for the button */
    transition: all 0.3s ease;
  }
  
  .about-us .btn:hover {
    background-color: green;
    color: white;
  }


  
  /* Departments Services Section */
.departments-services-section {
    padding: 40px 20px;
    background-color: #fff; /* Light background for the services section */
    text-align: center;
  }
  
  .departments-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }
  
  .department {
    width: 22%;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: background-color 0.3s ease;
    cursor: pointer;
  }
  
  .department .icon {
    font-size: 40px;
  }
  
  .department h3 {
    font-size: 22px;
    margin-top: 10px;
  }
  
  .department p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
  }
  
  /* Hover effect on departments */
  .department:hover {
    background-color: #007bff; /* Blue background on hover */
    color: white;
  }
  
  .department:hover h3,
  .department:hover p {
    color: white;
  }
  
  /* New "View All Services" Button */
  .view-all-btn {
    margin-top: 40px;
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid green;
    border: 2px solid green;
    background-color: transparent;
    color: green;
    font-weight: bold;
    border-radius: 5px;
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .view-all-btn:hover {
    background-color: green;
    color: white;
  }
  
  /* Active Department Background */
  .department.active {
    background-color: #0056b3; /* Dark blue color when clicked */
    color: white;
  }
  
  .department.active h3,
  .department.active p {
    color: white;
  }
  
/* New "View All Services" Button */
.view-all-btn {
    margin-top: 40px;
    display: inline-block;
    padding: 14px 30px;
    border: 3px solid green; /* Clear green border */
    background-color: transparent;
    color: green;
    font-weight: bold;
    border-radius: 50px;
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 rgba(0, 255, 0, 0); /* Remove the glow in the default state */
  }
  
  .view-all-btn:hover {
    background-color: green;
    color: white;
    border: 3px solid #006400; /* Darker green border on hover */
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6); /* Glowing green effect on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
    text-decoration: none;
  }
  
  .view-all-btn:active {
    background-color: darkgreen; /* Darker green when clicked */
    border: 3px solid #004d00; /* Even darker green border when active */
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8); /* Stronger glowing effect when active */
    transform: scale(1); /* Reset size when clicked */
  }
  

  /* Responsive Design */

/* For Small Screens (Mobile Phones) */
@media (max-width: 600px) {
    .departments-container {
      display: block;
      padding: 20px;
    }
  
    .department {
      margin-bottom: 20px;
      text-align: center;
    }
  
    .department .icon {
      font-size: 40px;
    }
  
    .department h3 {
      font-size: 22px;
    }
  
    .department p {
      font-size: 14px;
    }
  
    .view-all-btn {
      width: 100%;
      padding: 16px 0;
      text-align: center;
      font-size: 16px;
    }
  }
  
  /* For Medium Screens (Tablets) */
  @media (max-width: 900px) {
    .departments-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
  
    .department {
      flex: 1 1 45%; /* Two columns */
      margin-bottom: 30px;
      text-align: center;
    }
  
    .department .icon {
      font-size: 50px;
    }
  
    .department h3 {
      font-size: 24px;
    }
  
    .department p {
      font-size: 16px;
    }
  
    .view-all-btn {
      width: auto;
      padding: 14px 30px;
      font-size: 18px;
    }
  }
  
  /* For Large Screens (Desktop) */
  @media (min-width: 901px) {
    .departments-container {
      display: flex;
      justify-content: space-around;
    }
  
    .department {
      width: 22%;
      text-align: center;
    }
  
    .department .icon {
      font-size: 60px;
    }
  
    .department h3 {
      font-size: 26px;
    }
  
    .department p {
      font-size: 18px;
    }
  
    .view-all-btn {
      width: auto;
      padding: 14px 30px;
      font-size: 18px;
    }
  }

  /* Image Gallery Section */
.image-gallery-section {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
  }
  
  .image-gallery-section h2 {
    font-family: "Times New Roman", Times, serif;
    font-size: 30px;
    color: #28a745; /* Green color */
    margin-bottom: 20px;
  }
  
  .image-gallery-section p {
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.5;
  }
  
  /* Image Rows */
  .image-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
  }
  
  .gallery-image {
    width: 16%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover; /* Ensures the image fits well */
    cursor: pointer;
    border: 2px solid #ddd; /* Adding border to images */
  }
  
  /* Hover Effect on Images */
  .gallery-image:hover {
    transform: scale(1.1); /* Slight zoom effect */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Soft shadow on hover */
  }
  
  /* Responsive Design */
  
  /* For Small Screens (Mobile Phones) */
  @media (max-width: 600px) {
    .image-gallery-section h2 {
      font-size: 24px;
    }
  
    .image-gallery-section p {
      font-size: 16px;
    }
  
    .image-row {
      flex-direction: column;
      align-items: center;
    }
  
    .gallery-image {
      width: 80%; /* Make images larger on smaller screens */
      margin-bottom: 20px;
    }
  }
  
  /* For Medium Screens (Tablets) */
  @media (max-width: 900px) {
    .image-gallery-section h2 {
      font-size: 26px;
    }
  
    .image-gallery-section p {
      font-size: 18px;
    }
  
    .image-row {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .gallery-image {
      width: 45%; /* Two images per row on medium screens */
      margin-bottom: 20px;
    }
  }
  
  /* For Large Screens (Desktops) */
  @media (min-width: 901px) {
    .gallery-image {
      width: 18%; /* Five images per row on large screens */
    }
  }
  
  




  /* General Styling for Section */
.find-specialist-section {
    padding: 60px 20px;
  }
  
  .specialist-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Right Side - Text and Button */
  .right-side {
    flex: 1;
    padding-right: 20px;
    text-align: left;
  }
  
  .right-side h2 {
    font-family: "Times New Roman", Times, serif;
    color: #28a745;
    font-size: 30px;
    margin-bottom: 20px;
  }
  
  .right-side p {
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .take-a-look-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
  }
  
  .take-a-look-btn:hover {
    background-color: #218838;
  }
  
  .take-a-look-btn span {
    margin-left: 10px;
    font-size: 20px;
  }
  
  /* Left Side - Image Slider */
  .left-side {
    flex: 1;
    padding-left: 20px;
    overflow: hidden;
  }
  
  .image-slider-container {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust height as needed */
    overflow: hidden;
  }
  
  .image-slider {
    display: flex;
    width: 400%; /* 4 images, each taking 100% width */
    animation: slide 16s infinite; /* Animation duration adjusted to match slide time */
  }
  
  .slider-image {
    width: 25%; /* Each image takes 25% of the container width */
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  /* Dots for Image Indicator */
  .dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
  
  .dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  
  .dot.active {
    background-color: #28a745;
  }
  
  /* Image Slide Animation */
  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-25%); /* Shift to show 2nd image */
    }
    50% {
      transform: translateX(-50%); /* Shift to show 3rd image */
    }
    75% {
      transform: translateX(-75%); /* Shift to show 4th image */
    }
    100% {
      transform: translateX(0); /* Reset to the first image */
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .specialist-content {
      flex-direction: column;
      text-align: center;
    }
  
    .left-side, .right-side {
      padding: 0;
    }
  
    .image-slider-container {
      height: 200px;
    }
  
    .take-a-look-btn {
      font-size: 16px;
      padding: 10px 20px;
    }
  }
  /* INFO & UPDATES Section Styling */
.info-updates-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
  }
  
  .info-updates-section h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
  }
  
  .info-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .info-block {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .info-block:hover {
    transform: translateY(-10px);
  }
  
  .info-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  .info-block h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .info-block p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
  }
  
  .read-more {
    font-size: 18px;
    color: #28a745;  /* Green color */
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
  }
  
  .read-more:hover {
    color: #218838;  /* Darker green when hovered */
  }
  
  .read-more span {
    margin-left: 8px;
    font-size: 22px;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .info-blocks {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .info-blocks {
      grid-template-columns: 1fr;
    }
  
    .info-block h3 {
      font-size: 20px;
    }
  
    .info-block p {
      font-size: 14px;
    }
  
    .read-more {
      font-size: 16px;
    }
  }
  

  /* Social Media Connect Banner */
.social-connect-banner {
    background-color: #007bff;  /* Blue background */
    padding: 40px 20px;
    text-align: center;
    color: white;
  }
  
  .social-connect-banner h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .social-icon {
    display: inline-block;
    font-size: 30px;
    color: white; /* Ensure icons are white by default */
    background-color: transparent;
    padding: 10px;
    border-radius: 50%;
    transition: color 0.3s ease, background-color 0.3s ease;
  }
  
  .social-icon:hover {
    color: #28a745;  /* Green hover effect */
    background-color: white;  /* Make the background white on hover */
  }
  
  .social-icon.facebook {
    color: #1877f2;  /* Facebook blue */
  }
  
  .social-icon.instagram {
    color: #e1306c;  /* Instagram pink */
  }
  
  .social-icon.twitter {
    color: #1da1f2;  /* Twitter blue */
  }
  
  .social-icon.linkedin {
    color: #0077b5;  /* LinkedIn blue */
  }
  
  .social-icon i {
    margin: 0;
    font-size: 24px;  /* Make the icons smaller */
  }
  

  /* Footer Styling */
.footer {
    background-color: #343a40; /* Dark background for footer */
    color: white;
    padding: 40px 20px;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    margin-bottom: 20px;
  }
  
  .footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
  }
  
  .footer-section p, .footer-section ul {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .footer-section ul {
    padding-left: 20px;
  }
  
  .footer-section ul li {
    margin-bottom: 10px;
  }
  
  .footer-section a {
    color: #28a745; /* Green links */
    text-decoration: none;
  }
  
  .footer-section a:hover {
    text-decoration: underline;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #23272b; /* Darker background for bottom section */
    color: #adb5bd;
    font-size: 14px;
  }
  
  /* Responsive design for small screens */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
    }
    
    .footer-section {
      text-align: center;
      margin-bottom: 20px;
    }
  }
  