/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Header Styles */
header {
  background-color: #009688;
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 15px;
}

.logo h1 {
  font-size: 1.8rem;
}

/* Navigation Styles */
nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
#hero {
  background-image: url('images_landing/bg_img_modi.jpeg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
  z-index: 1;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.cta-buttons .cta {
  display: inline-block;
  padding: 10px 30px;
  background-color: #f3a42e;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 0 10px;
  transition: background-color 0.3s;
}

.cta-buttons .cta:hover {
  background-color: #e68900;
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
  /* Change background image for smaller screens */
  #hero {
    background-image: url('images_landing/bgmob.png'); /* Add a smaller image for mobile */
    height: 60vh; /* Reduce height */
  }

  /* Adjust font size and layout for smaller screens */
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  /* Adjust navigation for smaller screens */
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin-bottom: 10px;
  }

  /* Adjust contact section layout for mobile */
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  #contact-form {
    width: 100%;
    margin-bottom: 20px;
  }

  .map-container {
    width: 100%;
  }
}

/* Media Query for very small screens */
@media (max-width: 480px) {
  #hero {
    background-image: url('images_landing/bgmob.png'); /* Different image for extra small screens */
    height: 50vh;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}


.cta-buttons .cta {
  display: inline-block;
  padding: 10px 30px;
  background-color: #ff9800;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 0 10px;
  transition: background-color 0.3s;
}

.cta-buttons .cta:hover {
  background-color: #e68900;
}

/* About Us Section Styling */
.about-section {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.about-item {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
  text-align: left;
  color: #000000;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 1; /* Translucency effect */
}
/* Target paragraphs inside the element with class 'about-items' */
.about-items p {
  color: #000; /* Set the text color to black */
}


.red-bg {
  background-color: rgb(243, 136, 60); /* Red with translucency */
}

.white-bg {
  background-color: rgba(255, 255, 255, 1); /* White with translucency */
}

.about-item.white-bg {
  color: royalblue; /* Set the text color to royal blue */
}

.about-item.white-bg li {
  color: royalblue; /* Set headings, paragraphs, and list items to royal blue */
}


.green-bg {
  background-color: rgb(84, 233, 84); /* Green with translucency */
}

.about-item h3 {
  font-size: 1.5rem;
  margin-top: 10px;
}

.about-item ul {
  list-style: disc;
  margin: 10px 0;
  padding-left: 20px;
}

.about-cta {
  margin-top: 30px;
}

.about-cta a.cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.about-cta a.cta:hover {
  background-color: #0056b3;
}


/* Section Styles */
.section {
  padding: 50px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #009688;
}

.section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #000000;
}

/* Services Section */
.services-heading {
  text-align: center;
  font-size: 36px;
  margin: 50px 0;
  font-weight: bold;
  color: #333;
}

.services-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1E90FF;
  margin: 10px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 20px;
  margin-top: 20px;
}

.service-card {
  background-color: #e9ffde;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  max-width: 100%;
  border-radius: 10px;
}

.service-title {
  font-size: 24px;
  margin: 15px 0 10px;
}

.service-description {
  font-size: 16px;
  color: #555;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
/* Contact Section */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align map and form at the top */
  flex-wrap: wrap; /* Ensures proper layout on small screens */
}

#contact-form {
  width: 48%; /* Takes 48% of the width for the form */
  display: flex;
  flex-direction: column;
}

.map-container {
  width: 48%; /* Takes 48% of the width for the map */
}

#contact-form input[type="text"],
#contact-form input[type="email"] {
  width: 100%; /* Ensure full width for the inputs */
  padding: 12px; /* Same padding for equal height */
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

#contact-form textarea {
  width: 100%;
  height: 150px; /* Taller height for the message textarea */
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  resize: none; /* Prevents resizing */
}

/* Align the button */
.email-and-button {
  display: flex;
  justify-content: flex-start;
}

.email-and-button button {
  padding: 12px 20px;
  margin-top: 10px;
  background-color: #009688;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.email-and-button button:hover {
  background-color: #00796b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
  }

  .map-container {
      width: 100%;
  }

  #contact-form {
      width: 100%;
  }
}


.map-container {
  width: 100%; /* Make it take up full width */
  height: auto; /* Automatically adjust height based on width */
  max-width: 600px; /* Set maximum width for larger screens */
  margin: 0 auto; /* Center it horizontally */
}

.map-container iframe {
  width: 100%; /* Make the iframe responsive */
  height: 300px; /* Set a default height */
}

/* Adjust the map size on smaller devices */
@media (max-width: 768px) {
  .map-container iframe {
      height: 250px; /* Reduce height on tablets */
  }
}

@media (max-width: 480px) {
  .map-container iframe {
      height: 200px; /* Further reduce height on small mobile screens */
  }
}

/* disappear ministry of ayush */

@media (max-width: 600px) {
  .logo-heading {
      display: none;
  }
}



/* Services Section */
#services {
  background-color: #fff;
}

.services-heading {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1E90FF; /* Adjust the color as needed */
  margin: 10px auto;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 20px;
  margin-top: 20px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  max-width: 100%;
  border-radius: 10px;
}

.service-title {
  font-size: 24px;
  margin: 15px 0 10px;
}

.service-description {
  font-size: 16px;
  color: #555;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
/* Footer Styles */
.footer {
  background-color: #009688;
  color: white;
  padding: 40px 20px;
  font-family: 'Roboto', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left, .footer-right {
  flex: 1 1 300px;
  margin: 10px;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-right h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
  color: white;
}

.footer-right p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  margin-right: 15px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.footer-social img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
}

.footer-bottom p {
  font-size: 14px;
}
/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black background with opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 500px;
  border-radius: 8px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#loginForm {
  display: flex;
  flex-direction: column;
}

#loginForm input {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#loginForm button {
  padding: 10px;
  background-color: #009688;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#loginForm button:hover {
  background-color: #00796b;
}


/* loader */

.loader_bg{
  position: fixed;
  z-index: 999999;
  background: #ffffff;
  width: 100%;
  height: 100%;   
}

.loader{
  border: 0 solid transparent;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  position: absolute;
  top: calc(50vh - 75px);
  left: calc(50vw - 75px);
}

.loader:before, .loader:after{
  content: '';
  border: 1em solid #36e47e;
  border-radius: 50%;
  width: inherit;
  height: inherit;
  position: absolute;
  top: 0;
  left: 0;
  animation: loader 2s linear infinite;
  opacity: 0;
}

.loader:before{
  animation-delay: .5s;
}

@keyframes loader{
  0%{
      transform: scale(0);
      opacity: 0;
  }
  50%{
      opacity: 1;
  }
  100%{
      transform: scale(1);
      opacity: 0;
  }
}


/* smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Initial state of elements (before scrolling) */
.fade-in {
  opacity: 0;
  transform: translateY(20px); /* Move the element down slightly */
  transition: opacity 1.3s ease-out, transform 1.3s ease-out;
}

/* Class to add when element is in view */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0); /* Reset the position */
}


/* navbar */
/* Styles for the header and hamburger menu */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  /* background-color: #fff; */
  position: relative;
}

/* Hide the navigation links on mobile screens */
@media (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px; /* Adjust based on header height */
      right: 20px;
      background-color: #009688;
      width: 100%;
      max-width: 300px; /* Adjust as needed */
      border: 1px solid #ddd;
      z-index: 1000;
  }

  .nav-links.show {
      display: flex;
  }

  /* Styles for hamburger menu */
  /* Base Styles for Hamburger */
.hamburger {
  display: none; /* Hidden on larger screens */
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 4px;
  margin: 5px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* Animation for Open State */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Show Hamburger on Mobile Screens */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

}

/* Hide the hamburger menu on larger screens */
/* .hamburger {
  display: none;
} */


.logo-img {
  border-radius: 8px; /* Adjust this value for the desired curvature */
  border: 2px solid #009688; /* Optional border color */
}

/* Improved Font and Style for Tagline */
.tagline {
  font-family: 'Roboto', sans-serif; /* Ensure consistent font family */
  font-weight: 100; /* Bold font for emphasis */
  font-size: 25px; /* Larger font size for prominence */
  line-height: 1.2; /* Increase line height for readability */
  text-align: center; /* Center align the text */
  margin: 20px 0; /* Add margin for spacing */
  max-width: 80%; /* Limit width to maintain text layout */
  margin: 0 auto; /* Center the block element horizontally */
}

/* Responsive Styling */
@media (max-width: 768px) {
  .tagline {
    font-size: 1.5rem; /* Adjust font size for smaller screens */
    padding: 0 10px; /* Add padding for mobile devices */
  }
}

@media (max-width: 480px) {
  .tagline {
    font-size: 1.2rem; /* Further adjust font size for very small screens */
    padding: 0 5px; /* Adjust padding for smaller devices */
  }
}
