/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom right, #e3f2fd, #f3e5f5); /* Soft color gradient */
    line-height: 1.6;
    color: #333;
    min-height: 100vh; /* Ensures it covers the full height of the viewport */
    padding: 20px; /* Adds breathing space around the content */
}

/* Navbar Container */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white; /* Bold gradient */
  padding: 5px 10px; /* Reduced padding for a narrower appearance */
  height: 50px; /* Define a specific height */
  z-index: 9999;

  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease-in-out;
  transform: translateY(0);
}

/* Logo container */
.logo-container {
  flex: 1; /* Ensures the center logo gets space */
  display: flex;
  justify-content: center; /* Center the NCBN logo */

}

/* Center Logo (NCBN) */
.center-logo {
  max-height: 100px;
  width: auto;
}

/* Right Logo (MSME) */
.right-logo {
  display: flex;
  align-items: center;
}

.right-logo img {
  max-height: 50px;
  width: auto;
  margin-right: 10px; /* Adjust spacing from the right edge */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .navbar {
      width: 100%; /* Ensure it spans the full screen */
      padding: 2px 5px; /* Adjust padding for mobile */
  }

  

  .logo-container {
      flex: 1;
      display: flex;
      justify-content: center;
  }

  .center-logo {
      width: 110px; /* Slightly reduce size */
      height: 110px;
  }

  .right-logo img {
      width: 55px;
      height:55px;
      margin-right: 5px;
  }
}










/* Hamburger Icon */
.menu-icon {
  font-size: 40px;
  cursor: pointer;
  color: #333; /* Default color */
  background-color: transparent;
  padding: 10px;
  border-radius: 50%;
  transition: transform 0.4s ease-in-out, 
              color 0.4s ease-in-out, 
              background-color 0.4s ease-in-out, 
              box-shadow 0.4s ease-in-out;
}

/* Menu Icon Hover Effect */
.menu-icon:hover {
  transform: rotate(180deg) ;
  
}


/* Mobile Adjustments */
@media (max-width: 768px) {
  .menu-icon {
      font-size: 30px;
      padding: 8px;
  }

  .menu-icon:hover {
      transform: rotate(180deg) scale(1.1);
  }
}

  
  
  /* Menu Items (Initially Hidden) */
  .menu-items {
    position: fixed;
    top: 0;
    left: -300px; /* Initially hidden offscreen */
    width: 240px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0.9;
    box-shadow: 5px 0px 20px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    transition: left 0.5s ease, background-color 0.3s ease-in-out;
    z-index: 100;
  }
  
  .menu-items.open {
    left: 0; /* Slide in when the menu is open */
  }
  
  .menu-items a {
    color: #ffffff; /* Ensure bright white */
    font-size: 22px;
    font-weight: bold; /* Make the text bold */
    padding: 20px;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease, transform 0.3s ease, padding-left 0.3s ease;
  }
  
  
  /* Menu Item Hover Effects */
  .menu-items a:hover {
    background-color: rgba(243, 243, 243, 0.8);
    transform: translateX(15px);
    padding-left: 30px;
    color: black;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); /* Glowing effect */
    opacity: 1;
  }
  
  /* Menu Text Animation */
  .menu-items a::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: 0 0 20px rgba(0, 0, 0, 0.6);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
  }
  
  .menu-items a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
  }










  /* Banner Section */
.banner {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  animation: fadeIndown 1.5s ease-in-out forwards;
}

.slide {
  min-width: 100%;
  transition: opacity 1s ease-in-out;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;

}

.text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
}

/* Navigation Buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  transition: 0.3s;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}


/* Animation for sliding up from the bottom */
@keyframes slideUp {
    from {
        transform: translate(-50%, 50%); /* Start from bottom */
        opacity: 0; /* Start with opacity 0 */
    }
    to {
        transform: translate(-50%, 0); /* End at the center */
        opacity: 1; /* Fade in to full opacity */
    }
}

/* Animation for sliding down */
@keyframes fadeInDown {
    from {
        transform: translateY(-30px); /* Start slightly above */
        opacity: 0;
    }
    to {
        transform: translateY(0); /* End at the original position */
        opacity: 1; /* Fade in to full opacity */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner {
      height: 250px;
      margin-top: 0px; /* Same as navbar height */
  }

  .banner .text {
      bottom: 30px; /* Adjust text position */
  }

  .slide img{
    height : 250px;
  }
}

@media (max-width: 480px) {
  .banner {
      height: 250px;
      margin-top: 0px; /* Same as navbar height */
  }

  .banner .text {
      bottom: 40px; /* Further adjust text position */
  }

  .slide img{
    height : 250px;
  }
}



#adContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
  }
  
  #adContainer.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  .ad-content {
    background: #fff;
    color: #333;
    padding: 15px; /* Reduced padding */
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    width: 60%; /* Added width for smaller size */
    max-width: 300px; /* Set a maximum width for smaller screens */
  }
  
  .ad-content h2 {
    font-size: 1.8rem; /* Slightly smaller font */
    margin-bottom: 10px;
    color: #ff416c;
  }
  
  .ad-content p {
    font-size: 0.9rem; /* Reduced font size */
    margin-bottom: 10px;
  }
  
  #adContainer button {
    padding: 8px 16px; /* Reduced button size */
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  #adContainer button:hover {
    background: linear-gradient(135deg, #ff4b2b, #ff7e5f);
  }
  
  @media (max-width: 768px) {
    .ad-content {
        width: 90%; /* Adjusted for smaller screens */
        padding: 10px;
    }
  
    .ad-content h2 {
        font-size: 1.5rem; /* Reduced heading size */
    }
  
    .ad-content p {
        font-size: 0.8rem; /* Reduced paragraph size */
    }
  }
  
  
  /* Responsive Design */
  @media (max-width: 480px) {
      #chatbox {
          width: 90%;
          height: 420px;
      }
  
      .chatbox-header {
          font-size: 20px;
      }
  
      .chatbox-footer button {
          padding: 12px 22px;
          font-size: 14px;
      }
  
      .avatar {
          width: 40px;
          height: 40px;
      }
  
      textarea {
          width: 70%;
          font-size: 14px;
      }
  
      .message {
          max-width: 85%;
      }
  }
/* General Styles */
.content {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 40px; /* Add gap between sections */
}

.features {
    display: flex; /* Use flexbox for side-by-side alignment */
    justify-content: center; /* Center align the feature boxes */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Add spacing between feature boxes */
    width: 100%;
    margin-bottom: 40px; /* Add gap below the section */
}
.feature-box {
    background-color: #3498db;
    border-radius: 50%; /* Make it round */
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px; /* Space around each feature box */
}
.feature-box i.icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.feature-box h3 {
    font-size: 1.1em;
    font-weight: bold;
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.1);
    background-color: #2980b9;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-box-container {
      margin-top: 0px;
        display: flex;
        justify-content: center; /* Horizontally center the feature boxes */
        align-items: center; /* Vertically center the feature boxes */
        flex-wrap: wrap; /* Ensure the boxes wrap on smaller screens */
    }

    .feature-box {
        width: 120px;
        height: 120px;
        margin: 20px; /* Add spacing between the boxes */
    }

    .feature-box i.icon {
        font-size: 2em;
    }

    .feature-box h3 {
        font-size: 1em;
        text-align: center; /* Center the text inside the box */
    }
}

@media (max-width: 480px) {
    .feature-box-container {
      margin-top: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap; /* Wrap feature boxes for small screens */
    }

    .feature-box {
        width: 100px;
        height: 100px;
        margin: 20px; /* Maintain spacing */
    }

    .feature-box i.icon {
        font-size: 1.8em;
    }

    .feature-box h3 {
        font-size: 0.9em;
        text-align: center; /* Center the text inside the box */
    }
}
/* Doctor Section */
.doctors {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #e3f2fd, #f3e5f5); /* Soft gradient background */
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.doctors h2 {
    font-size: 2.5rem;
    color: #1abc9c; /* Teal color */
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-in-out;
}
/* Doctor Grid */
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}
/* Doctor Card */
.doctor-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.doctor-card:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, #e3f2fd, #f3e5f5); /* Adds gradient effect on hover */
}
.doctor-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.doctor-card p {
    font-size: 1rem;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.doctor-card:hover h3 {
    color: #1abc9c;
}

.doctor-card:hover p {
    color: #3498db;
}

/* View More Button */
.view-more-container {
    margin-top: 30px;
}

.view-more-btn {
    background: linear-gradient(to right, #3498db, #1abc9c);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.view-more-btn:hover {
    background: linear-gradient(to right, #1abc9c, #3498db);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .doctor-card img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .doctors h2 {
        font-size: 1.8rem;
    }

    .doctor-grid{
      margin-bottom: 50px;
    }

}

/* General Styles */
section {
  padding: 40px 20px;
  text-align: center;
  background-color:transparent; /* Light background */
  color: #333; /* Darker text */
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #444; /* Slightly darker for emphasis */
}

/* Partner Section */
.partners .partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding: 20px 0;
}

.partners .partner-card {
  width: 180px; /* Set a fixed width */
  height: 160px; /* Set a fixed height */
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.partners .partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.partners .partner-card img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.partners .partner-card p {
  font-size: 1rem;
  margin: 0;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .partners .partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }

  .partners .partner-card {
    width: 140px;
    height: 180px;
  }

  .partners .partner-card img {
    width: 80px;
  }

  section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .partners .partner-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    display: flex;
    margin-left: 0px;
  }

  .partners .partner-card {
    
    max-width: 60px;
    height: 50px;
  }

  .partners .partner-card img {
    width: 40px;
  }

  .partners h2{
    padding-bottom: 0px;
  }
  section h2 {
    font-size: 1.5rem;
  }
}

.container {
    font-family: Arial, sans-serif;
    background-color: #141414;
    color: #ffffff;
    margin: 0 auto; /* Center horizontally */
    margin-top: 20px; /* Adds space at the top */
    width: 100%;
    max-width: 1480px; /* Ensures it doesn’t exceed the screen width */
    padding: 20px;
}

  
  .bokachoda {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background-color: transparent;
    margin-top: -30px;
  }
  
  .bokachoda a {
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 0px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 360px;
    text-align: center;
    margin: 0px;
  }
  
  /* Social Media Buttons Styling */
  .bokachoda .facebook {
    background-color: #3b5998;
  }
  
  .bokachoda .linkedin {
    background-color: #00acee;
  }
  
  .bokachoda .instagram {
    background: #e3036b;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
  }
  
  .bokachoda .youtube {
    background-color: #bd081c;
  }
  
  .content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
  }
  
  .column {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
  }
  
  .column h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .column p, .column ul {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .column ul {
    list-style: none;
    padding: 0;
  }
  
  .column ul li {
    margin-bottom: 10px;
  }
  
  .column ul li a {
    color: #00bcd4;
    text-decoration: none;
  }
  
  .column ul li a:hover {
    text-decoration: underline;
  }
  
  /* Media Queries for Responsive Design */
  /* For tablet screens (768px and below) */
  @media (max-width: 768px) {
    .bokachoda a {
      color: #ffffff;
      font-size: 1.5rem;
      text-decoration: none;
      padding: 15px 30px;
      border-radius: 0px;
      font-weight: bold;
      display: inline-block;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      min-width: 35px;
      text-align: center;
      position: relative;
      right: 10px;
      margin: 0px;
    }
    .container {
        font-family: Arial, sans-serif;
        background-color: #141414;
        color: #ffffff;
        margin: 0 auto; /* Center horizontally */
        margin-top: 20px; /* Adds space at the top */
        width: 100%;
        max-width: 1480px; /* Ensures it doesn’t exceed the screen width */
        padding: 20px;
    }
     .content {
      flex-direction: column; /* Stack the columns vertically */
      padding: 10px; /* Reduced padding */
    }
  
    .column {
      min-width: 100%; /* Ensure columns take up full width */
    }
  
    .column h2 {
      font-size: 1.25rem;
    }
  
    .column p, .column ul {
      font-size: 0.9rem;
    }
  } 
  /* For mobile screens (480px and below) */
  @media (max-width: 480px) {
    .bokachoda a {
      color: #ffffff;
      font-size: 1.5rem;
      text-decoration: none;
      padding: 15px 30px;
      border-radius: 0px;
      font-weight: bold;
      display: inline-block;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      min-width: 35px;
      text-align: center;
      position: relative;
      right: 10px;
      margin: 0px;
    }
    .container {
        font-family: Arial, sans-serif;
        background-color: #141414;
        color: #ffffff;
        margin: 0 auto; /* Center horizontally */
        margin-top: 20px; /* Adds space at the top */
        width: 100%;
        max-width: 1480px; /* Ensures it doesn’t exceed the screen width */
        padding: 20px;
    }
    .content {
      flex-direction: column;
      padding: 10px;
    }
  
    .column {
      min-width: 100%;
    }
  
    .column h2 {
      font-size: 1.1rem;
    }
  
    .column p, .column ul {
      font-size: 0.85rem;
    }
  }
/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 70px;
    right: 30px;
    background-color: transparent; /* Transparent background */
    padding: 18px;
    cursor: pointer;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.3s ease;
    z-index: 9999;
}

/* WhatsApp Icon Hover Effect */
.whatsapp-icon:hover {
    transform: scale(1.1) ;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.5); /* Stronger shadow */
    filter: brightness(1); /* Slightly brighten on hover */
}

/* WhatsApp Icon Image */
.whatsapp-icon img {
    width: 55px; /* Adjust size of the logo */
    height: 55px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover Effect for the Image */
.whatsapp-icon:hover img {
 /* 180-degree rotation on hover */
    filter: brightness(1.2); /* Make the image slightly brighter on hover */
}

/* Make it responsive */
@media (max-width: 768px) {
    .whatsapp-icon {
        bottom: 20px;
        right: 20px;
        padding: 15px;
    }
    .whatsapp-icon img {
        width: 45px;
        height: 45px;
    }
}


/* WhatsApp Chatbox Popup */
/* Chatbox Styles */
#chatbox {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    height: 480px;
    background: linear-gradient(135deg, #FF5733, #FF8D1A, #FFB400);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 9999;
    font-family: 'Roboto', sans-serif;
    transform: translateY(120%);
    animation: slideIn 0.7s cubic-bezier(0.52, 0.01, 0, 1.15) forwards;
    overflow: hidden;
}

/* Header Style */
.chatbox-header {
    background: linear-gradient(135deg, #FF5733, #FF8D1A);
    color: white;
    padding: 20px 25px;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    animation: headerFlyIn 0.8s ease-out;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Header Button */
.chatbox-header button {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.chatbox-header button:hover {
    transform: scale(1.2);
    color: #FFEB3B;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Body Styles */
.chatbox-body {
    flex-grow: 1;
    padding: 20px 25px;
    overflow-y: auto;
    background: #f9f9f9;
    border-radius: 20px;
    animation: bodyFadeIn 1s ease-in-out;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.chatbox-footer {
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    background: #FF5733;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    position: relative;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

/* Textarea Styles */
textarea {
    width: 72%;
    padding: 18px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 15px;
    resize: none;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    color: #555;
}

textarea:focus {
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.7);
    border-color: #FF5733;
    outline: none;
}

/* Send Button */
.chatbox-footer button {
    background-color: #FF5733;
    color: white;
    padding: 16px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
    text-transform: uppercase;
}

.chatbox-footer button:hover {
    background-color: #FF7851;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Chatbox Message Styles */
.message {
    max-width: 75%;
    padding: 18px 25px;
    margin: 12px 0;
    border-radius: 15px;
    font-size: 18px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    animation: messageSlideIn 0.5s ease-out;
}

/* User Message */
.user-message {
    background: #007BFF;
    color: white;
    align-self: flex-end;
    justify-content: flex-end;
    border-radius: 30px 30px 0 30px;
    transform-origin: bottom right;
    animation: userMessagePop 0.5s ease-in-out;
}

.user-message .message-content {
    flex-direction: row-reverse;
}

/* Bot Message */
.bot-message {
    background: #e0e0e0;
    color: #333;
    align-self: flex-start;
    justify-content: flex-start;
    border-radius: 30px 30px 30px 0;
    transform-origin: bottom left;
    animation: botMessagePop 0.5s ease-in-out;
}

.bot-message .message-content {
    flex-direction: row;
}

/* Avatar Style */
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    margin-left: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid white;
}

.avatar:hover {
    transform: scale(1.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Scrolling for chat messages */
#chatbox-body {
    padding-right: 15px;
    overflow-y: auto;
    height: 100%;
    animation: scrollAnimation 1s ease-in-out;
}

/* Chatbox Appear Animation */
@keyframes slideIn {
    from {
        transform: translateY(120%);
    }
    to {
        transform: translateY(0);
    }
}

/* Header Fly-in Animation */
@keyframes headerFlyIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Body Fade-in Animation */
@keyframes bodyFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Message Slide-in Animation */
@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* User Message Pop Animation */
@keyframes userMessagePop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bot Message Pop Animation */
@keyframes botMessagePop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation */
@keyframes scrollAnimation {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    #chatbox {
        width: 90%;
        height: 420px;
    }

    .chatbox-header {
        font-size: 20px;
    }

    .chatbox-footer button {
        padding: 12px 22px;
        font-size: 14px;
    }

    .avatar {
        width: 40px;
        height: 40px;
    }

    textarea {
        width: 70%;
        font-size: 14px;
    }

    .message {
        max-width: 85%;
    }
}



/* Footer Styling */
.footer {
    background: linear-gradient(90deg, #141E30, #243B55);
    color: white;
    text-align: center;
    padding: 5px 0; /* Reduced padding for a narrower height */
    position: fixed;
    bottom: 0;
  right: 5px;

    width: 120%;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }
  
  /* Scrolling Text Container */
  .scrolling-text-container {
    overflow: hidden;
    position: relative;
    height: 20px; /* Slim height for the container */
    display: flex;
    align-items: center;
  }
  
  /* Scrolling Text */
  .scrolling-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 10s linear infinite;
    font-size: 0.9rem; /* Slightly smaller text to fit */
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 20px; /* Matches the container height */
  }
  
  /* Animation for Scrolling */
  @keyframes scroll-left {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
#adContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

#adContainer.hidden {
  opacity: 0;
  visibility: hidden;
}

.ad-content {
  background: #fff;
  color: #333;
  padding: 15px; /* Reduced padding */
  text-align: center;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  width: 60%; /* Added width for smaller size */
  max-width: 300px; /* Set a maximum width for smaller screens */
}

.ad-content h2 {
  font-size: 1.8rem; /* Slightly smaller font */
  margin-bottom: 10px;
  color: #ff416c;
}

.ad-content p {
  font-size: 0.9rem; /* Reduced font size */
  margin-bottom: 10px;
}

#adContainer button {
  padding: 8px 16px; /* Reduced button size */
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#adContainer button:hover {
  background: linear-gradient(135deg, #ff4b2b, #ff7e5f);
}

@media (max-width: 768px) {
  .ad-content {
      width: 90%; /* Adjusted for smaller screens */
      padding: 10px;
  }

  .ad-content h2 {
      font-size: 1.5rem; /* Reduced heading size */
  }

  .ad-content p {
      font-size: 0.8rem; /* Reduced paragraph size */
  }
}


/* Responsive Design */
@media (max-width: 480px) {
    #chatbox {
        width: 90%;
        height: 420px;
    }

    .chatbox-header {
        font-size: 20px;
    }

    .chatbox-footer button {
        padding: 12px 22px;
        font-size: 14px;
    }

    .avatar {
        width: 40px;
        height: 40px;
    }

    textarea {
        width: 70%;
        font-size: 14px;
    }

    .message {
        max-width: 85%;
    }
}
/* Footer Styling */
.footer {
    background: linear-gradient(90deg, #141E30, #243B55);
    color: white;
    text-align: center;
    padding: 5px 0; /* Reduced padding for a narrower height */
    position: fixed;
    bottom: 0;
    right: 5px;
    width: 120%;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }
  
  /* Scrolling Text Container */
  .scrolling-text-container {
    overflow: hidden;
    position: relative;
    height: 20px; /* Slim height for the container */
    display: flex;
    align-items: center;
  }
  
  /* Scrolling Text */
  .scrolling-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 10s linear infinite;
    font-size: 0.9rem; /* Slightly smaller text to fit */
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 20px; /* Matches the container height */
  }
  
  /* Animation for Scrolling */
  @keyframes scroll-left {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  


  /* Section Title */
  .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  /* Dynamic Image Section */
  .dynamic-image-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
  }

  .image-container {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
  }

  .image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: #ff6f61;
  }

  .scrolling-images {
    display: flex;
    transition: transform 1s ease-in-out;
  }

  .scrolling-images img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    border-radius: 15px;
  }

  /* Animations */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


  @media (max-width: 768px) {
    .package {
      width: 90%;
    }
  }
