/* ================================
   GLOBAL STYLES (Mobile-first)
================================== */

:root {
  --theme-color: #010050;
  --theme-color-dark: #091E3E;
  --theme-color-hover: #171686;
  --accent-color: #ff4d4d;
  --text-light: #f8f9fa;
  --primary: #06A3DA;
  --secondary: #f0cad6;
  --light: #EEF9FF;
  --default-font-color: #666666;
  --section-bar: #ff4d4d;
}

.bg-light {
  background-color: var(--light) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--default-font-color) !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
  font-display: swap;
}

.list-group-item .p {
  color: var(--default-font-color) !important;
}

h2, h4, h5 {
  font-family: 'Rubik', sans-serif;
  font-display: swap;
  font-weight: 700;
  color: var(--theme-color) !important;
}

h1 {
  font-family: 'Rubik', sans-serif;
  font-display: swap;
  font-weight: 700;
  font-size: 40px;
  color:#7952b3;
}

h2 {
  font-size: 30px;
}

h3 {
  font-family: 'Rubik', sans-serif;
  font-display: swap;
  font-weight: 700;
  font-size: 30px;
  color:#7952b3;
  text-transform: uppercase;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 12px;
}

a {
  text-decoration: none;
}

p {
  line-height: 1.8; /* Adjusts the space between lines */
}

main {
  padding-top: 20vh;
}

footer {
  margin-top: auto;
  background-color: var(--theme-color) !important;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}
footer a{
	color: #ffffff;
	margin:0 5px;
}

section {
  margin-bottom: 15vh;
}

.container {
  margin-top:30px;
}

.hindi {
  font-family: 'Noto Sans Devanagari', 'Nunito', sans-serif;
	font-size: 18px;
  line-height: 1.8;
}

.hindi p {
  margin-bottom: 15px; 
}
.hindi i {
  display: block;
  margin: 25px 0;
  font-style: italic;
  font-size: 18px;
  color: #555;
  background-color: #f9f9f9;
  border-left: 4px solid #ff9800;
  padding: 10px 15px;
  border-radius: 5px;
}
.hindi h2 {
  font-size: 20px;
  margin-top: 25px;
}
.hindi ol {
  margin-bottom: 5px;
}

a[aria-label^="Share"] i {
  transition: transform 0.2s ease, color 0.2s ease;
}
a[aria-label^="Share"]:hover i {
  transform: scale(1.2);
  color: #000 !important;
}

.bithdayImg {
  width: auto;
  height: 250px;
  max-height: 250px;
}

.birthday {
  animation: pulse 2s infinite;
}

.birthdayUserName {
  position: absolute;
  width: 95.6%;
  bottom: 21px;
  font-size: 12px;
  font-weight: bold;
  left: 5px;
  z-index: 2;
  padding: 10px 20px;
  background-color: rgba(255, 0, 0, 0.5);
  color: white;
  text-align: center;
  border-radius: 0px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.form-floating input {
  border-radius: 0 !important;
}

.navbar {
  background-color: var(--theme-color) !important;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-link {
  color: #b9baba;
  transition: color 0.3s ease-in-out;
}

.nav-link:hover,
.nav-link:active {
  color: #ffffff;
}

/*** Button ***/
.btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  transition: 0.5s;
  border-radius: 0;
}

.btn-info {
  color: #FFFFFF;
  box-shadow: inset 0 0 0 50px transparent;
}

.btn-info:hover {
  box-shadow: inset 0 0 0 0 var(--primary);
}
.text-shadow {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
/* Dropdown menu */
.dropdown-menu {
  background-color: #f8f9fa;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 200px;
}

.dropdown-item {
  padding: 10px 15px;
  font-weight: 500;
  color: #212529;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--theme-color) !important;
  color: #fff;
  border-radius: 0;
}

.dropdown-divider {
  border-top: 1px solid #dee2e6;
  margin: 0.5rem 0;
}

/* Customer toggler (mobile nav) */
.customer-toggler {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1050;
  margin-right: 10px;
  transition: transform 0.4s ease-in-out;
}

.line {
  height: 4px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.top {
  width: 100%;
}

.middle {
  width: 70%;
}

.bottom {
  width: 100%;
}

.customer-toggler.active .top {
  width: 70%;
}

.customer-toggler.active .middle {
  width: 100%;
}

.customer-toggler.active .bottom {
  width: 70%;
}

/*** BLOG ***/

.blog-item .blog-img img  {
    transition: .5s;
}

.blog-item:hover .blog-img img {
    transform: scale(1.15);
}
.scale-effect {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scale-effect:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-item:active {
  color: white;
  background-color: #0dcaf0;
}

/*** Section Title ***/
.section-title-1::before,
.section-title-2::before {
  position: absolute;
  content: "";
  width: 150px;
  height: 5px;
  left: 0;
  bottom: 0;
  background: var(--section-bar);
  border-radius: 2px;
}

.section-title-2::before {
  height: 1px;
}

.section-title-1.text-center::before,
.section-title-2.text-center::before {
  left: 50%;
  margin-left: -75px;
}

.section-title-1.section-title-sm::before,
.section-title-2.section-title-sm::before {
  width: 90px;
  height: 3px;
}

.section-title-2.section-title-sm::before {
  height: 1px;
}

.section-title-1::after,
.section-title-2::after {
  position: absolute;
  content: "";
  width: 6px;
  height: 5px;
  bottom: 0px;
  background: #FFFFFF;
  -webkit-animation: section-title-run 5s infinite linear;
  animation: section-title-run 5s infinite linear;
}

.section-title-2::after {
  bottom: -2px;
  background: var(--section-bar);
}

.section-title-1.section-title-sm::after,
.section-title-2.section-title-sm::after {
  width: 4px;
  height: 3px;
}

.section-title-2.section-title-sm::after {
  bottom: -1px;
}

.section-title-1.text-center::after,
.section-title-2.text-center::after {
  -webkit-animation: section-title-run-center 5s infinite linear;
  animation: section-title-run-center 5s infinite linear;
}

.section-title-1.section-title-sm::after,
.section-title-2.section-title-sm::after {
  -webkit-animation: section-title-run-sm 5s infinite linear;
  animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
  0% {
    left: 0;
  }

  50% {
    left: 145px;
  }

  100% {
    left: 0;
  }
}

@-webkit-keyframes section-title-run-center {
  0% {
    left: 50%;
    margin-left: -75px;
  }

  50% {
    left: 50%;
    margin-left: 70px;
  }

  100% {
    left: 50%;
    margin-left: -75px;
  }
}

@-webkit-keyframes section-title-run-sm {
  0% {
    left: 0;
  }

  50% {
    left: 85px;
  }

  100% {
    left: 0;
  }
}

/*** Card ***/
.scrolling-card {
  max-height: 300px; /* Adjust height as needed */
  overflow-y: auto;
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: #aaa;
  border-radius: 2px;
  transition: 0.5s;
  border: 0;
}

.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: var(--primary, #007bff);
}

.testimonial-carousel .owl-dot:hover {
  background: #aaa; /* Darker gray on hover */
}

.testimonial-carousel .owl-item.center {
  position: relative;
  z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: #FFFFFF !important;
  box-shadow: 0 0 30px #DDDDDD;
}

/* COUNTER CSS */
.counter-box {
  text-align: center;
  font-size: 2em;
  margin: 20px;
}

/* LOGIN CSS */
#togglePassword, #togglePassword2 {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #0dcaf0;
	cursor: pointer;
	transition: color 0.5s ease-in-out;
}

#togglePassword:hover, #togglePassword2:hover {
	color: #010050;
}


/* ================================
   RESPONSIVE STYLES BY SCREEN SIZE
================================== */

/* SM: ≥576px */
@media (min-width: 576px) {
  /* Add styles for small devices here if needed */
}

/* MD: ≥768px */
@media (min-width: 768px) {
  /* Add tablet-specific styles here */
}

/* LG: ≥992px */
@media (min-width: 992px) {
  .dropdown-menu {
    background-color: #f8f9fa;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    min-width: 200px;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block; /* Keep it block for Bootstrap, we will control visibility via class */
    visibility: hidden;
    pointer-events: none;
  }

  /* When dropdown is shown */
  .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .customer-toggler {
    display: none !important;
  }
}

/* LG and below: <992px */
@media (max-width: 991.98px) {
  .customer-toggler {
    display: flex;
    border: none;
    background: transparent;
    padding: 0;
  }

  .mobile-nav-scroll {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 5px;
  }

  .mobile-nav-scroll::-webkit-scrollbar {
    width: 6px;
  }

  .mobile-nav-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
  }
}

/* XL: ≥1200px */
@media (min-width: 1200px) {
  /* Add styles for large desktops here */
}

/* XXL: ≥1400px */
@media (min-width: 1400px) {
  /* Add styles for very large screens here */
}
