html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 56px; /* navbar height ke equal */
}
@media (max-width: 768px) {
  body{
    background-attachment: scroll;
  }
}

main {
  flex: 1; /* pushes footer down */
}
footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 10px;
  /*font-size: 10px;*/
}

@media (max-width: 768px) {
  footer {
  text-align: center;
}
}
.hero-card img {
  max-width: 100%;
  height: auto;
}


/* Transparent + blur background for card */
.glass-card {
  background: rgba(255, 255, 255, 0.3); /* semi-transparent white */
  backdrop-filter: blur(10px);          /* blur effect */
  -webkit-backdrop-filter: blur(10px);  /* Safari support */
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}



/* hero */
.hero {
  background: url('cover_page_laptop.png') no-repeat center center/cover;
}
@media (max-width: 768px) {
  .hero {
    background: url('cover_page_phone.png') no-repeat top center / cover;
    min-height: auto; /* puri screen */
  }
}

/* .hero {
  background: linear-gradient(135deg, #97c6f5a7, #e9f3ff); /* Gradient only for hero 
} */

.support-text {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  font-weight: bold;
  color: green; 
}

.registration-text {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 0.9rem;
  color: black;
  text-align: right;
  font-weight: 600;
  padding-top: 15px;
  padding-right: 10px;
}
.custom-gold {
  color: #CA3519;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); /* readability improve karega */
}
.light-purple {
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); /* readability improve karega */
}
.hero-card {
  background: #fff; /* Solid white only behind image */
  max-width: 200px;
  margin: auto;
   overflow: hidden;   /* Extra space remove */
}
.hero-card img {
  max-width: 100%;
  height: auto;
  display: block;     /* Inline image ka extra gap hata dega */
}

.hero .row {
  margin-right: 0;
  margin-left: 0;     /* row ka side padding reset */
}
.move-up {
  margin-top: -30px; /* jitna upar le jana ho utna adjust karein */
}
@media (max-width: 768px) {
  .hero .container{
    padding-top: 90px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero p {
    font-size: 1.rem;
  }
  .hero-card {
  background: #fff; /* Solid white only behind image */
  max-width: 300px;
  margin: auto;
   overflow: hidden;   /* Extra space remove */
}
}

/* Navbar link style */
.navbar-nav .nav-link {
    color: #ffffff;               /* Text color */
    padding: 10px 20px;           /* Height aur width badhane ke liye */
    border-radius: 8px;           /* Thoda rounded corners */
    transition: all 0.3s ease;    /* Smooth hover effect */
    font-weight: 500;             /* Thoda bold text */
}

/* Hover effect */
.navbar-nav .nav-link:hover {
    background-color: #ffffff;    /* Background color change */
    color: #0d6efd;               /* Text color change */
    transform: translateY(-2px);  /* Thoda raise effect */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Soft shadow */
}

.card.light-blue {
  background-color: #237bfe85; /* soft light blue */

}

.about-ul-padding{
  padding-bottom: 100px;
}


/* aim */
:root {
  --bg: #f6f8fb;
  --card: #fff;
  --accent: #2b6ef6;
}

/* Grid wrapper */
.grid {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;              /* centers the whole grid */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  justify-content: center;     /* centers items in row */
}

/* Card / Box */
.aim .box {
  background: var(--card);
  padding: 24px 22px;
  border-radius: 16px;
  border: 1px solid rgba(43, 110, 246, 0.08);
  box-shadow: 0 6px 18px rgba(20, 24, 40, 0.06);
  text-align: center;          /* center text */
  transition: transform .28s ease, box-shadow .28s ease;
  max-width: 320px;            /* keeps cards compact */
  margin: 0 auto;              /* ensures center alignment */
}

.aim .box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(43, 111, 246, 0.449);
}

/* Number badge */
.aim .num {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #6fb1ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 14px;
  box-shadow: 0 4px 10px rgba(43, 110, 246, 0.25);
}

/* Headings + text */
.aim h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}

.aim p {
  margin: 0;
  color: #445;
  line-height: 1.55;
  font-size: .95rem;
}




.text-center.mb-4 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000000;
  /* text-transform: uppercase; */
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-align: center;        /* ensure it stays centered */
  position: relative;        /* for pseudo-elements */
  display: block;            /* fix centering issue */
}

.text-center.mb-4::after {
  content: "";
  display: block;
  width: 250px;
  height: 4px;
  background-color: #000000;
  margin: 8px auto 0;       /* centered underline */
  border-radius: 2px;
  transition: width 0.3s ease;
}

.text-center.mb-4:hover::after {
  width: 400px;
}

.text-center.mb-4::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 3px;
}

.text-center.mb-4:hover::before {
  width: 120%;
}



/* feature */
.animated-border {
  position: relative;
  padding: 3px; /* border ki thickness */
  border-radius: 16px;
  overflow: hidden;
  height: 100%; /* equal height for all boxes */
}

.animated-border::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    #2196f3,
    #e91e63,
    #ffeb3b,
    #4caf50,
    #2196f3
  );
  animation: rotate 4s linear infinite;
}

.content-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  z-index: 1;
  height: 100%; /* fill parent height */
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}




/* slok */
.slok {
  background: linear-gradient(135deg, white, white);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.slok-wrapper {
  position: relative;
  padding: 5px; /* space for border effect */
  border-radius: 1.2rem;
  overflow: hidden;
}

.slok-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg,
    #ffd700,
    #ffae00,
    #ffd700,
    #fff3b0,
    #ffd700
  );
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
}

.slok-box {
  position: relative;
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  z-index: 1;
}

.slok p {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 1.5rem;
  color: #b8860b;
  margin: 0.5rem 0;
  font-weight: 600;
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .slok p {
    font-size: 1.2rem;
  }
}


/* Desktop: give proper spacing between links */
.footer-links {
  gap: 1.5rem; /* nice even spacing between links */
}
.footer-container > div {
    margin-bottom: 8px;
}
/* Mobile view: smaller text + inline links with | separator */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: row !important;
    justify-content: center;
    gap:0;
    font-size: 0.85rem;
  }
  .footer-links div {
    display: inline;
  }
  .footer-links div:not(:last-child)::after {
    content: " | ";
    color: white;
    margin: 0 4px;
  }
}

