@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary: #0b2d79;
  --secondary: #6d2bdd;
  --white: #ffffff;
  --dark: #1e293b;
  --header-height: 80px;
  --light-bg: #f8fafc;
  --card-bg: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --light: #ffffff;
  --gradient: linear-gradient(135deg, #0b2d79, #6d2bdd);
  --gradient-reverse: linear-gradient(135deg, #6d2bdd, #0b2d79);
}
a {
  text-decoration: none;
}

body {
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  min-height: 100vh;
}

/* Move to Top Button */
.move-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.85);
  backdrop-filter: blur(10px);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  z-index: 999;
}

.move-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.move-to-top:hover {
  background: rgba(37, 99, 235, 0.95);
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(124, 58, 237, 0.5),
    0 0 15px rgba(124, 58, 237, 0.4);
}

.move-to-top:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.5), 0 6px 25px rgba(0, 0, 0, 0.3);
}

.move-to-top i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.move-to-top:hover i {
  transform: translateY(-2px);
}

/* Progress ring (optional) */
.progress-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  border-radius: 50%;
  background: conic-gradient(
    var(--secondary) var(--progress, 0%),
    transparent 0
  );
  -webkit-mask: radial-gradient(transparent 65%, black 66%);
  mask: radial-gradient(transparent 65%, black 66%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.move-to-top:hover .progress-ring {
  opacity: 1;
}

/* Tooltip */
.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  backdrop-filter: blur(10px);
}

.tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.9) transparent transparent transparent;
}

.move-to-top:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .move-to-top {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }

  .move-to-top i {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .move-to-top {
    transition: none;
  }

  .move-to-top i {
    transition: none;
  }

  .tooltip {
    transition: none;
  }
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: linear-gradient(135deg, #0b2d79 0%, #6d2bdd 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-icon {
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 55px;
  position: relative;
  top: 5px;
  margin-right: 10px;
}

.logo-text {
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin-left: auto;
}

.nav-menu li {
  margin-left: 30px;
  position: relative;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-menu a:hover {
  color: rgba(202, 202, 202, 0.9);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-toggle i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style-type: none;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.dropdown-menu a {
  color: var(--dark);
  padding: 12px 20px;
  display: block;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--secondary);
  transform: translateX(5px);
}

.dropdown-menu a:hover:after {
  width: 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--white);
  margin: 2px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100vh;
  background: linear-gradient(135deg, #0b2d79 0%, #6d2bdd 100%);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  padding: 30px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.5s ease;
  overflow-y: auto;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
}

.sidebar-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  width: 55px;
  position: relative;
  top: 5px;
  margin-right: 10px;
}

.sidebar-logo-text {
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--white);
}

.close-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
}

.sidebar-nav {
  list-style: none;
  margin-bottom: auto;
}

.sidebar-nav li {
  margin-bottom: 15px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: var(--white);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1.1rem;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.sidebar-nav i {
  margin-right: 15px;
  font-size: 20px;
  width: 24px;
  text-align: center;
}

/* Sidebar Dropdown Styles */
.sidebar-dropdown {
  position: relative;
}

.sidebar-dropdown-toggle {
  cursor: pointer;
  justify-content: space-between;
}

.sidebar-dropdown-toggle i:last-child {
  transition: transform 0.3s ease;
}

.sidebar-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 20px;
}

.sidebar-dropdown-menu li {
  margin-bottom: 10px;
  list-style-type: none;
}

.sidebar-dropdown-menu a {
  font-size: 1rem;
  padding: 12px 20px;
}

.sidebar-dropdown.active .sidebar-dropdown-menu {
  max-height: 500px;
  list-style-type: none;
}

.sidebar-dropdown.active .sidebar-dropdown-toggle i:last-child {
  transform: rotate(180deg);
}

.social-links {
  display: flex;
  justify-content: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin: 0 8px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #d4af37;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Programs Hero Section */
.programs-hero {
  padding: 160px 5% 80px;
  text-align: center;
  background: linear-gradient(
      135deg,
      rgba(11, 45, 121, 0.9) 0%,
      rgba(109, 43, 221, 0.85) 100%
    ),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1771&q=80")
      no-repeat center center/cover;
  color: var(--white);
  position: relative;
}

.programs-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.programs-hero h1 {
  font-size: 3.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.programs-hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .programs-hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .programs-hero {
    padding: 140px 5% 60px;
  }

  .programs-hero h1 {
    font-size: 2.3rem;
  }

  .programs-hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .programs-hero h1 {
    font-size: 2rem;
  }
  .program-content {
    padding: 20px;
  }
}



        
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Story Section */
.story {
  padding: 100px 0;
  background: var(--light);
}

.story-container {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 50px;
  border: 1px solid #dddd;
  padding: 1.8rem;
  border-radius: 20px;
}

.story-container:nth-child(even) {
  flex-direction: row-reverse;
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--primary);
}

.story-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.story-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.visual-container {
  width: 100%;
  max-width: 500px;
  height: 400px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 45, 121, 0.2);
}

.visual-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Why Community Matters */
.community-matters {
  padding: 100px 0;
  background: var(--gradient);
  color: var(--light);
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.slide-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  
}

.slide-content:hover {
  background: rgba(255, 255, 255, 0.2);

}

.slide-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.slide-text {
  font-size: 1.2rem;
  line-height: 1.6;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 15px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--light);
  transform: scale(1.3);
}

/* Core Beliefs */
.core-beliefs {
  padding: 100px 0;
  background: var(--light);
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.belief-card {
  background: var(--light);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(11, 45, 121, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.belief-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient);
  transition: height 0.5s ease;
  z-index: -1;
}

.belief-card:hover::before {
  height: 100%;
}

.belief-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  color: var(--light);
}

.belief-card:hover h3 {
  color: var(--light);
}

.belief-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 20px 0;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--gradient);
  color: var(--light);
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.qualities-list {
  text-align: left;
  max-width: 500px;
  margin: 0 auto 40px;
}

.qualities-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.qualities-list li i {
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-button {
  display: inline-block;
  background: var(--light);
  color: var(--primary);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background: var(--gradient-reverse);
  color: var(--light);
}

/* Floating UI Elements */
.floating-element {
  position: absolute;
  z-index: 0;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient);
}

.square {
  width: 80px;
  height: 80px;
  background: var(--gradient);
}

.triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 87px solid var(--primary);
}

@keyframes float {
  0% {
      transform: translateY(0) rotate(0deg);
  }
  50% {
      transform: translateY(-20px) rotate(10deg);
  }
  100% {
      transform: translateY(0) rotate(0deg);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .story-container, .story-container:nth-child(even) {
      flex-direction: column;
  }
  
  .beliefs-grid {
      grid-template-columns: 1fr;
      max-width: 500px;
      margin: 50px auto 0;
  }
}

@media (max-width: 768px) {
  
  .section-title {
      font-size: 2rem;
  }
  
  .story-text h2 {
      font-size: 2rem;
  }
  
  .visual-container {
      height: 300px;
  }
}