
/* event section */
.goals-inner {
  max-width: 1200px;
  margin: 0 auto;       /* centers container horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;  /* centers child items */
  text-align: center;   /* ensures text is centered */
}

.goals-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center; /* centers cards in row */
}

.goal-card {
  width: 300px;          /* fixed width */
  perspective: 1000px;   /* required for flip */
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.goal-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
  background: #d9e8ee;  /* front color */
}

.flip-card-back {
  transform: rotateY(180deg);
  background: #67bed9; /* back color */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.events-section {
    width: 100%;              
    padding: 60px 0;          /* top & bottom padding */
    background: #eef5f7;      /* full-width light blue background */
    box-sizing: border-box;
}

.events-section h2{
  font-family: 'Lexend Deca', sans-serif;
  font-size: 30px;
  font-weight: 400;
  padding-top: 0px;
  margin-bottom: 0px;
}

.events-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 25px; 
  margin-right: 50px;
  margin-left: 50px;
}

.events-header .see-all {
    background-color: #67bed9;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.events-slider {
    overflow-x: auto;          
    overflow-y: hidden;        
    scrollbar-width: thin;     
    scrollbar-color: #689fb0 transparent; /* Firefox */
    padding-bottom: 10px;      /* move scrollbar lower */
}

.events-slider .nav {
    display: none;
}

.events-track {
    display: flex;
    gap: 25px;       /* spacing between cards */
    margin: 0 50px;  /* 50px margin on left and right */
    padding: 0;      /* remove any internal padding */
}

.event-card {
  min-width: 340px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 25px; /* inner padding */
  box-shadow: none;    /* shadows removed as before */
  display: flex;
  flex-direction: column;
  gap: 15px;           /* space between image and text */
}

.event-card p {
  font-size: 15px;
  font-family: "Khula", sans-serif;
  color: black;
}

.event-card img {
  width: 100%;
  height: 180px;       /* fixed height for all images */
  object-fit: cover;   /* ensures no stretching */
  border-radius: 14px;
}
.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.event-card-header h3 {
  font-size: 15px;
  margin: 0;           /* remove default margin */
  font-weight: 600;
  line-height: 1.2;
  color: #5aa0b8;
  font-family: "Khula", sans-serif;
}
.event-card-header span {
  font-size: 13px;
  color: #666;
}

.events-section .event-card,
.events-section .see-all {
    text-decoration: none;
    color: inherit; /* optional: keeps text color consistent */
}

.plus-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
}

.plus-circle {
  width: 120px;
  height: 120px;
  background-color: #67bed9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  font-weight: 400;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.plus-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.events-slider::-webkit-scrollbar {
    height: 16px;               /* thicker scrollbar */
    background: transparent;    /* track invisible until scroll */
}

.events-slider::-webkit-scrollbar-thumb {
    background-color: #689fb0;  /* scrollbar thumb color */
    border-radius: 8px;         /* rounded edges */
}

.events-slider::-webkit-scrollbar-track {
    background: transparent;    /* invisible track */
}

.events-slider.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
.event-card {
    box-shadow: none !important; /* remove shadows from event cards only */
}

/* NAVBAR BASE */
header.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background-color: #E8F6FA;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 50px 0;
}

/* SCROLLED STATE */
header.navbar.scrolled {
  background-color: #f0f0f0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  padding: 25px 0;
}

/* NAV INNER CONTAINER */
.nav-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}

/* LOGO LEFT */
.navbar .logo {
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 55px;
}

/* LINKS RIGHT */
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  align-items: center;
}

.nav-links .nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding-bottom: 6px;
  position: relative;
  transition: color 0.2s ease;
  background: none !important; /* REMOVE BLUE BOX */
}
.nav-links .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #5a9fb7;
  transition: width 0.25s ease;
}

.nav-links .nav-link:hover::after {
  width: 100%;
}
.nav-links .nav-link.active {
  color: #5a9fb7;
}
.nav-links .nav-link.active::after {
  width: 100%;
}
.nav-links .nav-btn {
  background-color: #5a9fb7 !important;
  color: white !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.nav-links .nav-btn::after {
  display: none !important;
}
/* LINK STYLE */
.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #5a9fb7;
}

/* BUTTON STYLE */
.nav-btn {
  padding: 10px 18px;
  border-radius: 12px;
  color: white !important;
  font-weight: 600;
  text-decoration: none;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 30px;
    background: #E6E3E3;
    flex-direction: column;
    padding: 20px;
    border-radius: 14px;
    width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  .nav-links.active {
    display: flex;
  }
}

/* Testimonials Styling */
.testimonials-section {
    padding: 40px 0; 
    background-color: #ffffff;
    overflow: hidden;
    font-family: 'Khula', sans-serif;
    text-align: center;
}

.testimonials-section .section-title {
    margin-bottom: 5px; 
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 400;
}

.testimonial-catchphrase {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px; 
    font-weight: 400;
}

.testimonial-container {
    width: 100%;
    display: flex;
    padding: 10px 0;
}

.testimonial-track {
    display: flex;
    width: calc(420px * 8); 
    animation: scroll 35s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 380px; 
    margin: 0 20px;
    background: #eef6fc; 
    padding: 25px; 
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 80px;
}

/* Header with Profile Pic */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.profile-pic {
    width: 50px;
    height: 50px;
    background: #d1e3f0; 
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-card .author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.2;
}

.testimonial-card .author-info small {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.testimonial-card .stars {
    color: #f1c40f;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.testimonial-card p {
    color: #444;
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
}

/* The Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-420px * 4)); }
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .testimonial-card {
        width: 280px;
    }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-320px * 4)); }
    }
}

/* faq section  */
.faq-section {
  max-width: 800px;
  margin: 50px auto;
  font-family: 'Khula', Arial, sans-serif;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 35px;
  font-family: "Lexend Deca", sans-serif;
  font-weight: 400;
}

.faq {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  padding: 15px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 20px;
}

.faq.active .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease;
  color: #555;
}

.faq.active .faq-answer {
  max-height: 200px;
  padding-bottom: 15px;
}

/* HERO TEXT WRAPPER */
.large-centered-row {
  text-align: center;
}

/* MAIN TITLE — RESOURCELY */

.hero {
    background-color: #ffffff !important; /* full white background */
    position: relative;                  /* keep positioning for particles */
    overflow: hidden;                     /* clip particles if needed */
}

.text-xl {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 160px;
  font-weight: 400;
  text-align: center;
  margin: 20px 0;
  line-height: 1.05;
}

.text-xl .letter {
  color: #E8F6FA !important;
  display: inline-block; /* needed for transform to work on each letter */
}
/* SUBTITLE — TAGLINE */
.text-xl2 {
  font-family: 'Lexend Deca', sans-serif;
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  padding-top: 0px;
  margin-bottom: 25px;
  color: #E8F6FA !important;
}

.hero .btn-primary {
  font-size: 16px;
  padding: 16px 42px;
  font-weight: 600;

  display: flex;              /* enable centering */
  align-items: center;        /* vertical center */
  justify-content: center;    /* horizontal center */

  line-height: 1;             /* fix bottom-drift issue */
  text-align: center;
  white-space: nowrap;

  transition: all 0.2s ease;
      background-color: #E8F6FA !important; /* light blue box */
color: white;
    border: none;

}
.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.large-centered-row .hero-subtitle {
  display: flex;
  justify-content: center;   /* centers button horizontally */
}

.features .section-title {
  margin-top: -10px;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 600;
    font-size: 37px;
    text-align: center;
    margin-bottom: -20px; /* reduce space below the title */
}

.features .features-grid p {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 400;
    font-size: 35px;
    line-height: 1.8; /* approx 25px height if 35px font */
    text-align: center;
    padding: 0 2rem; /* keep horizontal padding */
    margin-top: 0; /* remove extra top margin */
    margin-right: 50px;
    margin-left: 50px;
}

.resources-box {
  background-color: #FFFFFF; /* white background */
  border-radius: 16px 16px 0 0; /* optional: just top corners rounded */
  padding: 20px; /* padding inside the box */
  width: 100%; /* full width */
  box-sizing: border-box; /* include padding in width */
}

.resource-section {
  max-width: 1400px;
  margin: 50px auto;
  padding: 60px 20px;
  text-align: center;
}

.resource-section h2 {
  font-size: 35px; /* bigger title */
  margin-bottom: 10px;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 600;
  margin-bottom: 0;
}

.resource-section .subtitle {
  font-size: 23px; /* bigger subtitle */
  margin-bottom: 40px;
  font-family: 'Khula', sans-serif;
  font-weight: 400;
  margin-top: 0;
}

/* Carousel container & tabs */
.carousel-tabs {
  position: relative;
}

.carousel-tab {
  display: none;
}

.carousel-tab.active {
  display: block;
}



/* Carousel wrapper */
.carousel {
  position: relative;
  width: 400px;    /* bigger center card */
  height: 500px;   /* taller card */
  margin: 0 auto;
  perspective: 1000px;
  overflow: visible; /* allow arrows to show */
}

/* Carousel arrows positioned next to left/right cards */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px; /* bigger arrows */
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(0,0,0,0.6);
}

.carousel-arrow.prev {
  left: -500px;   /* stick to the left edge */
}

.carousel-arrow.next {
  right: -500px;  /* stick to the right edge */
}

@media (max-width: 768px) {
  .carousel-tab .carousel-arrow.prev {
    left: -10px;
  }
  .carousel-tab .carousel-arrow.next {
    right: -10px;
  }
}

/* Cards */
.card {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px; /* slightly bigger radius */
  padding: 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: transform 0.6s ease, opacity 0.6s ease, z-index 0s linear 0.6s;
}

/* Center card */
.card.center {
  transform: scale(1) translateX(0);
  opacity: 1;
  z-index: 10;
  display: block;
}

/* Left card */
.card.left {
  transform: scale(0.85) translateX(-120%);
  opacity: 0.7;
  z-index: 5;
  display: block;
}

/* Right card */
.card.right {
  transform: scale(0.85) translateX(120%);
  opacity: 0.7;
  z-index: 5;
  display: block;
}

/* Hidden cards */
.card:not(.center):not(.left):not(.right) {
  display: none;
}

/* Card images */
.card img {
  width: 100%;
  height: 250px; /* bigger image */
  object-fit: cover;
  border-radius: 16px;
}

.card h3 {
  margin-top: 20px; /* extra spacing above title */
  font-size: 25px;
  font-family: "Khula", sans-serif;
}

/* Tabs / Filters */
.filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.filters .tab-btn {
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  background: #eee;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px; /* bigger tab text */
}

.filters .tab-btn.active {
  background: #5a9fb7;
  color: #fff;
}
/* HERO SECTION */

.hero .particles-js-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0; /* behind your text/buttons */
      background-color: transparent !important; /* no dark overlay */

}

.hero .animated-banner {
    background-color: transparent !important; /* remove any dark background */
}

.hero-content {
  position: relative;
  z-index: 1; /* above particles */
}

/* HERO MAIN TITLE — EACH LETTER */


/* HERO BUTTON */
.hero .btn-primary {
    background-color: #B8DEF5 !important; /* light blue background */
    color: #333 !important;               /* dark text for readability */
    border: none !important;
    font-size: 16px;
    padding: 16px 42px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}


/* GOALS GRID */
.goals-inner {
  max-width: 1200px;
  margin: 50px auto;
  text-align: center;
}

.goals-inner h2 {
  font-family: 'Lexend Deca', sans-serif;
  font-size: 40px;
  margin-bottom: 50px;
  color: #333;
}

/* Flex Grid */
.goals-grid {
  display: flex;
  justify-content: center;  /* center all cards */
  align-items: stretch;     /* equal height */
  gap: 30px;
  flex-wrap: wrap;
}

/* Flip Card Container */
.goal-card {
  background: transparent;
  width: 320px;             /* consistent card width */
  height: 420px;            /* consistent card height */
  perspective: 1000px;
  flex-shrink: 0;
}

/* Inner Flip Container */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Flip on hover */
.goal-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Front */
.flip-card-front {
  background: #d9e8ee;
  color: #333;
}

/* Back */
.flip-card-back {
  background: #5a9fb7;
  color: #fff;
  transform: rotateY(180deg);
  font-size: 15px;
  line-height: 1.5;
}

/* Logo/Image */
.goal-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Card title */
.flip-card-front h3 {
  font-size: 22px;
  margin: 0;
}

.carousel .card h3 {
  font-family: "Khula", sans-serif;

.carousel .card p {
  font-size: 8px;
  line-height: 1.4; /* optional: keeps it readable at small size */
  font-family: "Khula", sans-serif;
}


.features .hero-subtitle {
    display: flex;
    justify-content: center; /* centers button */
    margin-top: 0;           /* spacing between text & button */
}

.btn-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;          /* fully rounded */
    border: 3px solid #67bed9;    /* border color */
    background-color: transparent; /* transparent inside */
    color: #67bed9;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-round:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    background-color: #67bed9; /* fill on hover */
    color: white;               /* text turns white on hover */
}


/* --- GRADIENT TEXT UPDATE --- */

/* --- FIXED GRADIENT TEXT --- */

.text-xl, 
.text-xl2 {
    text-align: center;
    /* This ensures the gradient container doesn't collapse */
    display: block; 
    width: 100%;
}

.text-xl .letter, 
.text-xl2 .letter,
.text-xl,
.text-xl2 {
    /* The core gradient logic */
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(2, 48, 86, 1) 12%, rgba(1, 103, 142, 1) 25%, rgba(0, 212, 255, 1) 52%, rgba(9, 9, 121, 1) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    
    /* FIX: Force individual letters to behave so they show the gradient */
    display: inline-block; 
    background-size: cover;
}

/* Maintain font-size and styling */
.text-xl {
    font-family: 'Lexend Exa', sans-serif;
    font-size: 160px;
    font-weight: 400;
    margin: 20px 0;
    line-height: 1.05;
}

.text-xl2 {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 25px;
}

/* CLEANUP: Remove old color calls that might cause flickering */
.hero-content .text-xl, .hero-content .text-xl2 {
    color: transparent;
}

