


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  transition: .4s;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 34px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #28a745;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}


/* हेडर स्टाइल */
header {
    position: fixed;
    top: 0;
    z-index: 1000;
}

/* लोगो स्टाइल */
header h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #ffffff;
}

/* टॉगलर बटन स्टाइल */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
}

.navbar-close-icon {
    color: white;
    font-size: 1.5rem;
}

/* मोबाइल मेन्यू स्टाइल */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #FFFFFF;
        padding: 1rem;
    }
    .navbar-nav {
        text-align: center;
    }
    .nav-link {
        padding: 0.75rem 0 !important;
        font-size: 1.1rem;
    }
    .sub-item {
        font-size: 0.95rem;
        color: #adb5bd !important;
    }
}

/* डेस्कटॉप मेन्यू स्टाइल */
@media (min-width: 992px) {
    .nav-link {
        padding: 0.5rem 1rem !important;
    }
    .sub-item {
        font-size: 0.9rem;
    }
}
/* फुटर की डिफॉल्ट स्टाइल */
.footer {
    background-color: #212529;
    color: white;
    padding: 1rem 0;
    width: 100%;
}

/* डेस्कटॉप व्यू (992px और ऊपर): फिक्स्ड फुटर */
@media (min-width: 992px) {
    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 1000;
    }
    /* फिक्स्ड फुटर के लिए बॉडी में पैडिंग जोड़ें ताकि कंटेंट ओवरलैप न हो */
    body {
        padding-bottom: 60px; /* फुटर की हाइट के बराबर */
    }
}

/* मोबाइल व्यू (991px और नीचे): फुटर बॉटम में */
@media (max-width: 991px) {
    .footer {
        position: static; /* फिक्स्ड हटाया */
        margin-top: auto; /* पेज के बॉटम में ले जाने के लिए */
    }
    /* बॉडी से पैडिंग हटाएँ */
    body {
        padding-bottom: 0;
        min-height: 100vh; /* सुनिश्चित करें कि पेज की हाइट पूरी स्क्रीन ���ो */
        display: flex;
        flex-direction: column;
    }
    /* कंटेंट को फ्लेक्स में बड़ा करें ताकि फुटर नीचे जाए */
    .container {
        flex: 1 0 auto;
    }
}
