/* ===== Global Variables ===== */
:root {
  --rose: #F43F5E;
  --coral: #FB923C;
  --bg-light: #FFF1F2;
  --text-dark: #1F2937;
  --text-gray: #4B5563;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ===== Custom Cursor ===== */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--rose);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease, width 0.3s, height 0.3s;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

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

/* ===== Header & Nav ===== */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  text-align: center;
  padding: 20px 0 10px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--rose);
  text-decoration: none;
}

.logo span {
  color: var(--coral);
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 15px 0;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* ===== Hero Slider ===== */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.slider{
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.slides{
  position: relative;
  width: 100%;
  height: 300px;
}
.chikwawa-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  z-index: 1;
}

.chikwawa-slide.active {
  opacity: 1;
  z-index: 2;
}
.slider-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 2;
}
.slider-btn:hover{
  background: rgba(0,0,0,0.7);
}
.slider-btn.prev{ left: 10px; }
.slider-btn.next{ right: 10px; }
.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
  .dot{
   width: 8px;
   height: 8px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.5);
   cursor: pointer;
  }
  .dot.active{
    background: white;
  }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.slide-content h1 {
  margin-bottom: 20px;
  animation: fadeUp 1s 0.3s both;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeUp 1s 0.5s both;
}

/* Center logo slide */
.logo-slide {
  background: #066913; /* or your brand color. White makes logo pop */
}

.logo-slide .slide-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 40px;
}

.logo-slide img {
  max-width: 500px;  /* control size */
  width: 90%;        /* responsive */
  height: auto;      /* keep aspect ratio */
  object-fit: cover; /* don't crop or stretch */
  display: block;
}

/* Make sure other slides still work */
.slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--rose);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--rose);
}

/* ===== Sections ===== */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  color: var(--rose);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Card Grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.card video{
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #000;
  display: block;
  border-radius: var(--radius);
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card i {
  font-size: 2.5rem;
  color: var(--rose);
  margin-bottom: 15px;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 15px;
}

/* ===== Stats Counter ===== */
.stats {
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: var(--white);
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

/* ===== Forms ===== */
form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

input, textarea, select {
  width: 100%;
  padding: 14px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--rose);
}

.error {
  color: var(--rose);
  font-size: 0.875rem;
  margin-top: 5px;
  display: none;
}

input.invalid, textarea.invalid {
  border-color: var(--rose);
}

/* ===== Footer ===== */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h3 {
  color: var(--coral);
  margin-bottom: 20px;
}

.footer-grid a {
  color: #D1D5DB;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-grid a:hover {
  color: var(--rose);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
}
.social-icons img{
  border-radius: 50px 50px 50px 50px;
  width: 50px;
  height: auto;
  cursor: pointer;
}

.newsletter input {
  background: #374151;
  border: none;
  color: var(--white);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #374151;
  color: #9CA3AF;
}

/* ===== Back to Top ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--rose);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: var(--transition);
}

#backToTop.show {
  display: flex;
}

#backToTop:hover {
  background: var(--coral);
  transform: translateY(-5px);
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  nav ul.active {
    display: flex;
  }

 .hamburger {
    display: flex;
  }

 .hero {
    height: 60vh;
  }

  section {
    padding: 50px 0;
  }

 .cursor,.cursor-follower {
    display: none;
  }
}

