/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}
/*preloader codes*/
#preloader{
  background: white url(indexpics/Nimantran_preloader.gif) no-repeat center center;
  background-size: 30%;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #d53b96;
}

.menu {
  display: flex;
  align-items: center;
}

.menu a {
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
  color: #0056b3;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #d53b96;
}

.menu-icon {
  font-size: 24px;
  cursor: pointer;
  display: none;
}

/* Hero Section */
.hero {
  text-align: center;
  background: linear-gradient(to right, #57a1ff, #d53b96);
  color: white;
  padding: 50px 20px;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 20px;
  border-radius: 10px;
}

.services h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.service img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.service p {
  margin-top: 10px;
  font-size: 16px;
}

.show-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 16px;
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.show-more:hover {
  color: #d53b96;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

.footer h3 {
  font-size: 36px;
  margin-bottom: 5px;
  color: #d53b96;
}

.footer p {
  font-size: 16px;
  color: #555;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

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

.modal-content form {
  display: flex;
  flex-direction: column;
}

.modal-content label {
  text-align: left;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.modal-content input {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.modal-content button {
  padding: 10px;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.modal-content button:hover {
  background-color: #003d80;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 18px;
  cursor: pointer;
  color: #555;
}
/*loho animation css */
h1 span span {
      display: block;
      animation: animatewords 10s infinite ease;
    }
h1 span {
      position: relative;
      display: inline-block;
      color:#f043e4 ;
      height: 1.5em;
      vertical-align: bottom;
      overflow: hidden;
    }
       @keyframes animatewords {
      0% {
        transform: translateY(0%);
      }
      25% {
        transform: translateY(-100%);
      }
      50% {
        transform: translateY(-200%);
      }
      75% {
        transform: translateY(-300%);
      }
      100% {
        transform: translateY(-400%);
      }
    }
    
           .form-container {
            max-width: 500px;
            margin: auto;
        }
        .hidden {
            display: none;
        }
        .form-group {
            margin-bottom: 15px;
        }
        label {
            display: block;
            margin-bottom: 5px;
        }
        input[type="text"], input[type="email"], input[type="password"], input[type="date"], textarea {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        .form-footer {
            margin-top: 20px;
        }
        .toggle-link {
            color: blue;
            cursor: pointer;
            text-decoration: underline;
        }
        button {
            background-color: #28a745;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #218838;
        }
        /* count animation css*/
        .container {
  text-align: center;
  background: white;
  padding: 20px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
}
  .counter {
  font-size: 5rem;
  margin-top: 20px;
  font-weight: bold;
  color: #d53b96;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* menu container css */
    .menu-container {
      position: fixed;
      top: 0;
      right: 0px; /* Position the menu button on the right */
      z-index: 1000;
    }

    .menu-button {
      background-color: white;
      color: #f043e4;
      border: none;
      padding: 10px 10px;
      cursor: pointer;
      font-size: 25px;
    }

    .menu-button:hover {
      background-color: #555;
    }

    .menu-content {
      position: fixed;
      top: 0;
      right: -250px; /* Initially hidden */
      width: 200px;
      height: 100%;
      background-color: white;
      color: #f043e4;
      padding: 20px;
      box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
      transition: right 0.3s ease-in-out; /* Smooth slide */
    }

    .menu-content ul {
      list-style: none;
      padding: 0;
    }

    .menu-content ul li {
      margin: 10px 0;
    }

    .menu-content ul li a {
      color: #f043e4;
      text-decoration: none;
      font-size: 18px;
    }

    .menu-content ul li a:hover {
      text-decoration: underline;
    }

    .menu-content .close-button {
      background-color: white;
      color: #f44336;
      border: none;
      padding: 10px;
      font-size: 14px;
      cursor: pointer;
      margin-bottom: 20px;
    }

    .menu-content .close-button:hover {
      background-color: #d32f2f;
    }

    .content {
      margin-left: 20px;
      padding: 20px;
    }

    /* Open the menu by changing the right property */
    .menu-content.open {
      right: 0;
    }
    /* css for text writtn*/
    .texts {
      text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 20px;
  border-radius: 10px;
  background-image: linear-gradient(#86d9d6, #e9ebb7);
    }
/* General Animation Setup */
.animate-left,
.animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-right {
  transform: translateX(-50px);
}

/* Visible State */
.animate-visible {
  opacity: 1;
  transform: translateX(0);
}


.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: #040214;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff9800;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}

    /* Navbar user lohin signup Styling */

    /* Navbar Styling */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #fff;
      padding: 5px 15px;
      margin: 0px;
      color: #333;
    }

    /* User Icon and Dropdown */
    .user-menu {
      position: relative;
      color: white;
    }

    .user-icon {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      cursor: pointer;
    }

    .dropdown {
      display: none;
      position: absolute;
      top: 30px;
      right: 10;
      background-color: #444;
      list-style: none;
      padding: 10px 0;
      border-radius: 5px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .dropdown li {
      padding: 10px 20px;
    }

    .dropdown li a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
    }

    .dropdown li a:hover {
      color: #ff9800;
    }

    .user-menu:hover .dropdown {
      display: block;
    }

    /* Forms Styling */
    #forms {
      margin: 20px;
      padding: 20px;
    }

    .form {
      display: none;
      background: #f4f4f4;
      padding: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      max-width: 400px;
      margin: auto;
    }

    .form h2 {
      margin-bottom: 20px;
    }

    .form label {
      display: block;
      margin-top: 10px;
    }

    .form input, .form textarea, .form button {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 3px;
    }

    .form button:hover {
      background-color: #ff9800;
    }

    .hidden {
      display: none;
    }

    .active {
      display: block;
    }
        /* footer link css*/
.footer {
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
}

.footer h3 {
  margin-bottom: 10px;
}

.social-media-links a {
  color: #555;
  font-size: 20px;
  margin: 0 10px;
  text-decoration: none;
}

.social-media-links a:hover {
  color: #007bff;
}

.footer-links a {
  margin: 0 10px;
  color: #555;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
 /* add home screen button*/

    .home-screen {
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-screen img {
        width: 300px; /* Adjust the size of the icon */
        max-width:600px;
        height: auto;
        
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Hover effect */
    .home-screen:hover img {
        transform: scale(1.1);
        opacity: 0.9;
    }

    /* Active effect */
    .home-screen:active img {
        transform: scale(0.95);
        opacity: 0.8;
    }
  /* close button on login/signup*/
  .close-button {
      background-color: #f44336;
      color: white;
      border: none;
      padding: 5px 10px;
      font-size: 16px;
      cursor: pointer;
      float: right;
    }

    .close-button:hover {
      background-color: #d32f2f;
    }
    /* style for popup message in login*/
#popupModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    font-size: 18px;
}

#popupClose {
    font-size: 25px;
    color: red;
    position: absolute;
    top: 10px;
    right: 10px;
}
/* qr scanner css*/
/* Floating QR Button */
        .qr-icon {
            position: fixed;
            bottom: 20px; /* 20px from the bottom */
            right: 20px; /* 20px from the right */
            width: 60px;
            height: 60px;
            cursor: pointer;
            background: url('indexpics/scan-icon.jpg') no-repeat center center;
            background-size: cover;
            border-radius: 50%;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
            z-index: 1000;
        }

        /* Accessibility for Floating Icon */
        .qr-icon:focus {
            outline: none;
            box-shadow: 0 0 8px rgba(0, 123, 255, 0.75);
        }
        /* feedback section style */
.scroll-section {
            flex: 1;
            overflow-y: auto; /* Enable scrolling for this section */
            padding: 20px;
            background-color: #fff;
            height: 400px;
        }

        .scroll-section-content {
            height: auto; /* Content determines the height */
        }

        .scroll-section-content p {
            margin-bottom: 20px;
            line-height: 1.6;
        }
        /*video ad */
        /* General styles */
.responsive-videos {
  text-align: center;
  padding: 20px;
}

.responsive-videos h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.video-box {
  flex: 1 1 100%; /* Default to full width */
  max-width: 320px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9f9f9;
}

video {
  width: 100%;
  border-bottom: 2px solid #ddd;
}

.video-box p {
  padding: 10px;
  font-size: 1rem;
  color: #555;
}

/* Tablet view */
@media (min-width: 768px) {
  .video-box {
    flex: 1 1 calc(50% - 20px); /* Two videos side-by-side */
    max-width: calc(50% - 20px);
  }
}

/* Desktop view */
@media (min-width: 1200px) {
  .video-box {
    flex: 1 1 calc(33.33% - 20px); /* Three videos side-by-side */
    max-width: calc(33.33% - 20px);
  }
}
/* Business Partner Section Styling */
.business-partner {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.business-partner h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.business-partner p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.partner-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.partner-btn:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .business-partner {
        padding: 40px 15px;
    }
    
    .business-partner h2 {
        font-size: 24px;
    }

    .business-partner p {
        font-size: 16px;
    }

    .partner-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}