:root {
  --primary-pink: #e91e63;
  --primary-dark: #000000;
  --accent-gold: #f1b017;
  --text-dark: #222222;
  --text-muted: #555555;
  --bg-light: #f8fafc;
  --border-light: #e2e8f0;
  --font-main: "Open Sans", Arial, sans-serif;
  --font-heading: "Oswald", sans-serif;
  --header-height: 125px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.scrollToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background-color: var(--primary-pink);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}
.scrollToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scrollToTop:hover {
  background-color: #c2185b;
  color: #ffffff;
  transform: translateY(-3px);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
#headerdiv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  max-width: 1320px;
  margin: 0 auto;
}
#left {
  display: flex;
  align-items: center;
}
#headerlogo {
  height: 65px;
  width: auto;
  object-fit: contain;
}
#right {
  display: flex;
  align-items: center;
  gap: 25px;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-info i {
  color: var(--primary-pink);
  font-size: 15px;
}
.contact-info a:hover {
  color: var(--primary-pink);
}
.header-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-pill {
  border-radius: 20px;
  cursor: pointer;
  border: 2px solid #000000;
  background-color: #ffffff;
  color: #000000;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.btn-pill:hover {
  border-color: var(--primary-pink);
  color: var(--primary-pink);
  background-color: #fff0f5;
}
.btn-highlight {
  border-color: var(--primary-pink);
  color: var(--primary-pink);
}
.btn-highlight:hover {
  background-color: var(--primary-pink);
  color: #ffffff;
}
#nav {
  background-color: var(--primary-dark);
  width: 100%;
}
.mobile-toggle {
  display: none;
}
#navul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}
.navitem {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.nav-arrow {
  font-size: 11px;
  transition: transform 0.2s ease;
}
.navitem:hover > .nav-link {
  background-color: var(--primary-pink);
  color: #ffffff;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--primary-pink);
  z-index: 1100;
  animation: dropdownFade 0.25s ease-in-out;
}
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navitem:hover .dropdown {
  display: block;
}

.dropdown li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  color: #333333;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.dropdown li a:hover {
  background-color: var(--primary-pink);
  color: #ffffff;
  padding-left: 24px;
}

main {
  width: 100%;
}

#slidercontanier {
  width: 100%;
  margin-top: 115px; /* Offset for fixed header */
  background-color: #000;
  overflow: hidden;
}

#slider {
  position: relative;
  width: 100%;
}

#slider img {
  width: 100%;
  height: 70vh;
  min-height: 350px;
  max-height: 600px;
  object-fit: cover;
}

.slider-overlay {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 100%;
  padding: 0 10%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.slider-content {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 18px 30px;
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.slider-content p {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #e2e8f0;
}

#middlecontant {
  padding: 45px 20px;
  background-color: #ffffff;
}

#middlepd {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

#middlepd p {
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 8px;
  font-weight: 500;
}

#middlepd p:last-child {
  margin-bottom: 0;
}

#bottomcontant {
  width: 100%;
  background-color: var(--primary-pink);
  padding: 60px 20px;
}

#bottomdivbox {
  max-width: 1300px;
  margin: 0 auto;
}

.education-title {
  text-align: center;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 45px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.education-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.edu-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.edu-card h2 {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 19px;
  font-weight: 700;
  text-transform: capitalize;
  border-bottom: 3px solid var(--accent-gold);
  border-right: 3px solid var(--accent-gold);
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0 100%);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.edu-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.edu-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #ffffff;
  font-size: 14.5px;
  line-height: 1.6;
}

.edu-card li i {
  color: #ffffff;
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

.edu-image-container {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#imggif {
  width: 100%;
  max-width: 280px;
  text-align: center;
}

#imggif img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.4);
}

#fone {
  background-color: #ffffff;
  padding: 60px 20px;
  border-bottom: 1px solid var(--border-light);
}

.events-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.events-main-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.events-main-title span {
  color: var(--primary-pink);
  font-size: 34px;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.event-card {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.event-card-header {
  background-color: var(--bg-light);
  border-bottom: 2px solid var(--primary-pink);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-icon {
  color: var(--primary-pink);
  font-size: 18px;
}

.event-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.update-tag {
  margin-left: auto;
  font-size: 12px;
  background-color: var(--primary-pink);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.event-card-content {
  padding: 30px 20px;
  min-height: 110px;
  display: flex;
  align-items: center;
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
}

.event-card-content p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-card-content i {
  color: #94a3b8;
  font-size: 16px;
}

footer {
  width: 100%;
  background-color: #fafafa;
}

#ftwo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

#imgcontainer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#imgcontainer img {
  max-width: 280px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: 0.5px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background-color: var(--primary-pink);
}

#fooderul li {
  margin-bottom: 12px;
}

#fooderul a {
  color: #444444;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed #dcdcdc;
  padding-bottom: 8px;
}

.link-bullet {
  color: var(--primary-pink);
  font-size: 12px;
  transition: transform 0.2s ease;
}

#fooderul a:hover {
  color: var(--primary-pink);
  padding-left: 6px;
}

#fooderul a:hover .link-bullet {
  transform: translateX(3px);
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #444444;
  border-bottom: 1px dashed #dcdcdc;
  padding-bottom: 10px;
}

.contact-line:last-child {
  border-bottom: none;
}

.contact-icon {
  color: var(--primary-pink);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-line a:hover {
  color: var(--primary-pink);
}

#fthree {
  background-color: var(--primary-pink);
  color: #ffffff;
  text-align: center;
  padding: 18px 20px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
  #headerdiv {
    padding: 8px 15px;
  }

  .nav-link {
    padding: 12px 10px;
    font-size: 12px;
  }

  .education-container {
    gap: 20px;
  }

  .edu-image-container {
    flex: 0 0 240px;
  }

  #imggif img {
    max-width: 220px;
  }

  #ftwo {
    gap: 25px;
  }
}

@media (max-width: 992px) {
  /* Header adjustments */
  header {
    position: relative; /* Normal flow in mobile */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  #slidercontanier {
    margin-top: 0; /* No offset needed when header is in natural flow */
  }

  #headerdiv {
    flex-direction: column;
    padding: 12px 15px;
    gap: 12px;
    text-align: center;
  }

  #headerlogo {
    height: 55px;
  }

  #right {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .contact-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
  }

  .header-btns {
    justify-content: center;
    width: 100%;
  }

  .btn-pill {
    padding: 4px 14px;
    font-size: 12px;
  }

  /* Responsive Navigation Menu */
  .mobile-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--primary-dark);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .mobile-toggle i {
    font-size: 18px;
    color: var(--accent-gold);
  }

  #navul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #111111;
    padding: 0;
    margin: 0;
  }

  #navul.active {
    display: flex;
  }

  .navitem {
    width: 100%;
    border-bottom: 1px solid #222222;
  }

  .nav-link {
    padding: 14px 20px;
    font-size: 13.5px;
    justify-content: space-between;
    width: 100%;
  }

  .navitem:hover > .nav-link {
    background-color: #222222;
    color: #ffffff;
  }

  /* Mobile Dropdown Accordion */
  .dropdown {
    position: static;
    display: none;
    width: 100%;
    background-color: #1a1a1a;
    box-shadow: none;
    border-top: none;
    border-left: 4px solid var(--primary-pink);
    animation: none;
  }

  .navitem.open .dropdown {
    display: block;
  }

  .navitem.open .nav-arrow {
    transform: rotate(180deg);
  }

  .dropdown li a {
    color: #cccccc;
    padding: 12px 25px;
    font-size: 13px;
    border-bottom: 1px solid #282828;
  }

  .dropdown li a:hover {
    background-color: var(--primary-pink);
    color: #ffffff;
    padding-left: 28px;
  }

  /* Hero Slider in Mobile */
  #slider img {
    height: 35vh;
    min-height: 220px;
  }

  .slider-overlay {
    bottom: 4%;
    padding: 0 10px;
  }

  .slider-content {
    padding: 8px 12px;
  }

  .slider-content h2 {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .slider-content p {
    font-size: 10.5px;
    line-height: 1.3;
  }

  /* Middle Content in Mobile */
  #middlecontant {
    padding: 30px 15px;
  }

  #middlepd p {
    font-size: 14.5px;
    line-height: 1.7;
  }

  /* Education Process Section (Stacked 1-Column) */
  #bottomcontant {
    padding: 45px 15px;
  }

  .education-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .education-container {
    flex-direction: column;
    gap: 30px;
  }

  .edu-column {
    width: 100%;
  }

  .edu-image-container {
    order: 2; /* Position Swamiji GIF between or inside flow cleanly */
    flex: none;
    width: 100%;
    margin: 10px 0;
  }

  #one {
    order: 1;
  }

  #two {
    order: 3;
  }

  .edu-card h2 {
    clip-path: none;
    border-radius: 4px;
    font-size: 17px;
    padding: 10px 15px;
  }

  .edu-card li {
    font-size: 14px;
  }

  #imggif img {
    max-width: 240px;
    margin: 0 auto;
  }

  /* Events & Announcements Section */
  #fone {
    padding: 40px 15px;
  }

  .events-main-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .events-main-title span {
    font-size: 26px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-card-header h3 {
    font-size: 16px;
  }

  .event-card-content {
    padding: 20px 15px;
    min-height: 80px;
    font-size: 14px;
  }

  /* Footer Section in Mobile */
  #ftwo {
    flex-direction: column;
    padding: 40px 15px 30px;
    gap: 30px;
  }

  #imgcontainer {
    justify-content: center;
  }

  #imgcontainer img {
    max-width: 220px;
    margin: 0 auto;
  }

  .footer-col h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .contact-line {
    font-size: 13.5px;
  }

  #fthree {
    padding: 15px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #headerlogo {
    height: 48px;
  }

  .contact-info {
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
  }

  .header-btns {
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-pill {
    padding: 4px 10px;
    font-size: 11.5px;
  }

  #slider img {
    height: 28vh;
    min-height: 190px;
  }

  .slider-overlay {
    display: none;
  }

  .education-title {
    font-size: 22px;
  }

  .edu-card h2 {
    font-size: 15px;
  }

  .edu-card li {
    font-size: 13px;
  }

  .events-main-title {
    font-size: 19px;
  }

  .events-main-title span {
    font-size: 22px;
  }

  .scrollToTop {
    bottom: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}
