:root {
  /* Brand Colors */
  --c-violet: #7b2cbf;
  --c-violet-light: #9d4edd;
  --c-black: #0a0a0a;
  --c-black-rgb: 10, 10, 10;
  --c-white: #fdfdfd;
  --c-white-rgb: 253, 253, 253;
  --c-light: #f3f4f6;
  --c-gray: #6b7280;

  /* Fonts */
  --f-main: 'Outfit', sans-serif;

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--f-main);
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--c-black);
  background-color: var(--c-white);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--t-fast);
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.bg-light {
  background-color: var(--c-light);
}

.position-relative {
  position: relative;
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.highlight {
  color: var(--c-violet);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--c-violet);
  color: var(--c-white);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--t-smooth);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--c-violet);
  color: var(--c-violet);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(123, 44, 191, 0.2);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.125rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--t-smooth);
  padding: 1.5rem 0;
}

.navbar.scrolled {
  background: rgba(var(--c-white-rgb), 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* On dark backgrounds (like hero), text should be white initially */
.navbar:not(.scrolled) .nav-links a:not(.btn-primary):not(.social-icon) {
  color: var(--c-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar:not(.scrolled) .logo {
  filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.8));
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  transition: filter var(--t-smooth);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn-primary):not(.social-icon) {
  font-weight: 600;
  position: relative;
}

.nav-links a:not(.btn-primary):not(.social-icon)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--c-violet);
  transition: width var(--t-smooth);
}

.nav-links a:not(.btn-primary):not(.social-icon):hover::after {
  width: 100%;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-violet);
  color: var(--c-white) !important;
  transition: all var(--t-fast);
}

.social-icon:hover {
  background: var(--c-violet-light);
  transform: translateY(-2px);
}

.navbar:not(.scrolled) .social-icon {
  background: rgba(255, 255, 255, 0.2);
}

.navbar:not(.scrolled) .social-icon:hover {
  background: var(--c-violet);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 2px;
  background-color: var(--c-black);
  transition: var(--t-fast);
}

.navbar:not(.scrolled) .mobile-menu-toggle span {
  background-color: var(--c-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mobile Nav */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(var(--c-white-rgb), 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    transition: right var(--t-smooth);
  }

  .nav-links.active {
    right: 0;
  }

  .navbar:not(.scrolled) .nav-links a:not(.btn-primary):not(.social-icon) {
    color: var(--c-black);
    text-shadow: none;
  }

  .nav-links a:not(.social-icon) {
    font-size: 1.5rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--c-black);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--c-black);
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Layout */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr;
  }
}

.about-text p {
  font-size: 1.125rem;
  color: var(--c-gray);
  margin-bottom: 1.5rem;
}

.img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}

.img-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-violet);
  mix-blend-mode: multiply;
  opacity: 0.2;
  transition: opacity var(--t-smooth);
  z-index: 2;
}

.img-wrapper:hover::before {
  opacity: 0;
}

.img-fluid {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  transition: transform var(--t-smooth);
}

.img-wrapper:hover .img-fluid {
  transform: scale(1.02);
}

.shadow {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services / Camps */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--c-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--t-smooth), box-shadow var(--t-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(123, 44, 191, 0.15);
}

.card-img-wrapper {
  height: 250px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-smooth);
}

.service-card:hover .card-img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--c-gray);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Sponsors */
.sponsors-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
}

.sponsors-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-top: 3rem;
}

.sponsor-logo {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--t-smooth);
}

.sponsor-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Footer / Contact */
.footer {
  position: relative;
  color: var(--c-white);
  padding: 6rem 0 2rem;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-logo {
  height: 80px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.brand-col p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--c-violet);
}

.contact-list li {
  margin-bottom: 0.8rem;
}

.contact-list a {
  color: rgba(255, 255, 255, 0.7);
}

.contact-list a:hover {
  color: var(--c-violet-light);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  transition: all var(--t-fast);
}

.social-links a:hover {
  background: var(--c-violet);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Scroll Animations */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.start-delay-1 {
  transition-delay: 0.2s;
}

.start-delay-2 {
  transition-delay: 0.4s;
}