/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style-position: inside;
}

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

/* Header Styles */
.header-strip {
  background-color: #ffffff;
  color: white;
  padding: 10px 20px;
  text-align: left;
}

.header-strip a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 20px;
}

.navbar{
  background-color: #006161;
  display: flex;
  justify-content: space-around;
  padding: 25px 25px;
}

.navbar a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  padding: 14px 20px;
  text-align: center;
  font-size: 18px;
}

.navbar a:hover {
  background-color: #007e7e;
  color: rgb(236, 236, 236);
}

.navbar nav{
  display: flex;
}
.navbar nav li{
  margin: 0px 15px;
  list-style: none;
}
.navbar nav li a{
  text-decoration: none;
  color: black;
}
.btnn{
  display: none;
}
button{
  cursor: pointer;
}
#sidebar{
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #006161;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation-duration: 0.5s;
}

#sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  height: 100%;
}

#sidebar nav li {
  list-style: none;
  padding: 25px 25px;
}

#sidebar nav a{
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

@keyframes slideIn {
  from {
      right: -100%;
  }
  to {
      right: 0;
  }
}

@keyframes slideOut {
  from {
      right: 0;
  }
  to {
      right: -100%;
  }
}

@media (max-width: 900px) {
  .navbar nav {
      display: none;
  }

  .btnn {
      display: block;
  }
}

.logo {
  text-align: left; 
  padding-left: 5px; 
}

.logo img {
  width: 300px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0; 
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #006161;
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-sidebar.active {
  right: 0;
}

.close-sidebar {
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.sidebar-links {
  list-style: none;
  padding: 60px 0 0;
}

.sidebar-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-links li a {
  display: block;
  color: white;
  padding: 20px;
  font-size: 18px;
}

/* About Hero Section */
.about-hero {
  padding: 60px 0;
  background-color: white;
}

.about-hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.about-text h2 {
  font-size: 24px;
  color: #00a0a0;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
}

.about-images {
  flex: 1;
  min-width: 300px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.image-item {
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-item:hover img {
  transform: scale(1.05);
}

/* Info Section with Sidebar */
.info-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.info-container {
  display: flex;
  gap: 30px;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
}

.sidebar-item {
  padding: 15px 20px;
  background-color: #f0f0f0;
  margin-bottom: 5px;
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.sidebar-item:hover {
  background-color: #e0e0e0;
  border-left-color: #00a0a0;
}

.sidebar-item.active {
  background-color: #006161;
  color: white;
  border-left-color: #00a0a0;
}

.content-area {
  flex: 1;
}

.content-section {
  display: none;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.content-section.active {
  display: block;
}

.content-section h2 {
  font-size: 24px;
  color: #006161;
  margin-bottom: 20px;
}

.content-flex {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.content-flex img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-text p {
  margin-bottom: 15px;
}

.content-details ul {
  list-style-type: disc;
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-details li {
  margin-bottom: 8px;
}

.highlight {
  font-weight: 600;
  color: #006161;
}

/* Gallery Section */
.gallery-section {
  padding: 60px 0;
  background-color: white;
  border-top: 1px solid #eaeaea;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay p {
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 18px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* NABH Accreditation Section */
.nabh-section {
  position: relative;
  padding: 20px 0;
  overflow: hidden;
  background-color: #2C704D;
}

.nabh-background {
  display: none; /* Remove the animated background */
}

.nabh-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.nabh-text {
  flex: 1;
  min-width: 300px;
  color: white;
}

.nabh-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.nabh-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nabh-button {
  display: inline-block;
  background-color: #018b18;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nabh-button:hover {
  background-color: white;
  color: #0088ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.nabh-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.nabh-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* NABH Details Page */
.nabh-details-section {
  padding: 60px 0;
  background-color: white;
}

.nabh-details-content {
  max-width: 900px;
  margin: 0 auto;
}

.nabh-details-content h1 {
  font-size: 36px;
  color: #006161;
  margin-bottom: 30px;
  text-align: center;
}

.nabh-details-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.nabh-details-text {
  flex: 2;
  min-width: 300px;
}

.nabh-details-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.nabh-details-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.nabh-details-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nabh-details-content h2 {
  font-size: 24px;
  color: #006161;
  margin: 30px 0 20px;
}

.nabh-benefits {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.nabh-benefits li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.back-button {
  display: inline-block;
  background-color: #006161;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  margin-top: 30px;
  transition: background-color 0.3s;
}

.back-button:hover {
  background-color: #007e7e;
}

/* Footer Styles */
footer {
  background-color: #006161;
  color: white;
  padding: 30px 20px;
  text-align: left;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-container a {
  color: white;
  text-decoration: none;
}

.footer-container a:hover {
  text-decoration: underline; 
}

.footer-left, .footer-links, .footer-right {
  flex: 1;
  margin: 10px;
}

.footer-logo {
  width: 300px;   
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: white;
  text-decoration: none;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-right iframe {
  width: 100%;
  height: 120px;
  border: none;
}

.footer-bottom {
  text-align: center;
  padding: 10px;
  background: #001a3a;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .info-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .sidebar-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
  }

  .content-flex {
    flex-direction: column;
  }

  .content-flex img {
    width: 100%;
    height: auto;
  }

  .nabh-content {
    flex-direction: column;
  }

  .nabh-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .about-hero-content {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-column {
    width: 100%;
  }

  .nabh-details-flex {
    flex-direction: column;
  }

  .nabh-details-image {
    order: -1;
  }
}

@media (max-width: 576px) {
  .about-text h1 {
    font-size: 28px;
  }

  .about-text h2 {
    font-size: 20px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-item {
    height: 200px;
  }

  .sidebar {
    flex-direction: column;
  }

  .sidebar-item {
    width: 100%;
  }

  .nabh-text h2 {
    font-size: 26px;
  }
}

/* Improved Responsive Styles */
@media (max-width: 992px) {
  .nabh-content {
    flex-direction: column;
    text-align: center;
  }

  .nabh-text h2 {
    font-size: 26px;
  }

  .nabh-image {
    order: -1;
    margin-bottom: 20px;
  }

  .nabh-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .nabh-section {
    padding: 40px 0;
  }

  .nabh-text h2 {
    font-size: 24px;
  }

  .nabh-text p {
    font-size: 15px;
  }

  .nabh-button {
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .nabh-section {
    padding: 30px 0;
  }

  .nabh-text h2 {
    font-size: 22px;
  }

  .nabh-text p {
    font-size: 14px;
    line-height: 1.6;
  }

  .nabh-button {
    width: 100%;
    text-align: center;
  }

  .nabh-image img {
    max-width: 100%;
  }
}