
/* event section */
.goals-inner {
  max-width: 1200px;
  margin: 0 auto;       
  display: flex;
  flex-direction: column;
  align-items: center;  
  text-align: center;   
}

.goals-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center; 
}

.goal-card {
  width: 300px;          
  perspective: 1000px;   
  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;  
}

.flip-card-back {
  transform: rotateY(180deg);
  background: #67bed9; 
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.events-section {
    width: 100%;              
    padding: 60px 0;          
    background: #eef5f7;      
    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;
    padding-bottom: 10px;      
}

.events-slider .nav {
    display: none;
}

.events-track {
    display: flex;
    gap: 25px;       
    margin: 0 50px;  
    padding: 0;      
}

.event-card {
  min-width: 340px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 25px; 
  box-shadow: none;    
  display: flex;
  flex-direction: column;
  gap: 15px;          
}

.event-card p {
  font-size: 15px;
  font-family: "Khula", sans-serif;
  color: black;
}

.event-card img {
  width: 100%;
  height: 180px;       
  object-fit: cover;  
  border-radius: 14px;
}
.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.event-card-header h3 {
  font-size: 15px;
  margin: 0;           
  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; 
}

.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;               
    background: transparent;    
}

.events-slider::-webkit-scrollbar-thumb {
    background-color: #689fb0;  
    border-radius: 8px;         
}

.events-slider::-webkit-scrollbar-track {
    background: transparent;    
}

.events-slider.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
.event-card {
    box-shadow: none !important; 
}

/* EVENT CARD ANIMATION */
.event-card {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    animation: floatCard 5s ease-in-out infinite;
}

/* soft glowing gradient border */
.event-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(59,130,246,0.18),
        rgba(96,165,250,0.08),
        transparent,
        rgba(59,130,246,0.12)
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* shimmer sweep */
.event-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    transform: skewX(-20deg);
}

/* hover effects */
.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59,130,200,0.12);
}

.event-card:hover::before {
    opacity: 1;
}

.event-card:hover::after {
    animation: shimmer 1.2s ease;
}

/* floating idle motion */
@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* shimmer animation */
@keyframes shimmer {
    100% {
        left: 140%;
    }
}

/* stagger each card slightly */
.event-card:nth-child(2) {
    animation-delay: 0.4s;
}

.event-card:nth-child(3) {
    animation-delay: 0.8s;
}

.event-card:nth-child(4) {
    animation-delay: 1.2s;
}

.event-card:nth-child(5) {
    animation-delay: 1.6s;
}

.event-card:nth-child(6) {
    animation-delay: 2s;
}

/* NAVBAR BASE */
header.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background-color: #c8e0e8;
  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: #e6f9ff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  padding: 25px 0;
}

/* NAV INNER CONTAINER */
.nav-container {
  max-width: 1600px;
  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; 
}
.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;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(96,165,250,0.14), transparent 30%),
        linear-gradient(to bottom right, #ffffff, #f7fbff);
}


.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; 
}
.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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 30px;
    border-radius: 999px;

    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 10px 30px rgba(59,130,246,0.25);

    transition: all 0.35s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 40px rgba(59,130,246,0.35);
}

.large-centered-row .hero-subtitle {
  display: flex;
  justify-content: center;   
}

.features .section-title {
  margin-top: -10px;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 600;
    font-size: 37px;
    text-align: center;
    margin-bottom: -20px; 
}

.features .features-grid p {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 400;
    font-size: 35px;
    line-height: 1.8; 
    text-align: center;
    padding: 0 2rem; 
    margin-top: 0; 
    margin-right: 50px;
    margin-left: 50px;
}

.resources-box {
  background-color: #FFFFFF; 
  border-radius: 16px 16px 0 0; 
  padding: 20px; 
  width: 100%; 
  box-sizing: border-box;
}

.resource-section {
  max-width: 1400px;
  margin: 50px auto;
  padding: 60px 20px;
  text-align: center;
}

.resource-section h2 {
  font-size: 35px;
  margin-bottom: 10px;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 600;
  margin-bottom: 0;
}

.resource-section .subtitle {
  font-size: 23px; 
  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;    
  height: 500px;   
  margin: 0 auto;
  perspective: 1000px;
  overflow: visible; 
}

.carousel-arrow {
    line-height: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    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;   
}

.carousel-arrow.next {
  right: -500px;  
}

@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; 
  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;
  object-fit: cover;
  border-radius: 16px;
}

.card h3 {
  margin-top: 20px; 
  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;
}

.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; 
      background-color: transparent !important; 

}

.hero .animated-banner {
    background-color: transparent !important; 
}

.hero-content {
  position: relative;
  z-index: 1; 
}


/* HERO BUTTON */
.hero .btn-primary {
    background-color: #5bb5cf !important; 
    color: #333 !important;               
    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;  
  align-items: stretch;     
  gap: 30px;
  flex-wrap: wrap;
}

/* Flip Card Container */
.goal-card {
  background: transparent;
  width: 320px;             
  height: 420px;            
  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; 
  font-family: "Khula", sans-serif;
}


.features .hero-subtitle {
    display: flex;
    justify-content: center; 
    margin-top: 0;           
}

.btn-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;          
    border: 3px solid #67bed9;    
    background-color: transparent; 
    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; 
    color: white;              
}


.text-xl, 
.text-xl2 {
    text-align: center;
    display: block; 
    width: 100%;
}

.text-xl .letter, 
.text-xl2 .letter,
.text-xl,
.text-xl2 {
    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;
    
    display: inline-block; 
    background-size: cover;
}

.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;
}

.hero-content .text-xl, .hero-content .text-xl2 {
    color: transparent;
}

@media (max-width: 768px) {

    /* HERO */
    .hero-content {
        padding: 0 20px;
        text-align: center;
    }

    .text-xl {
        font-size: 2.7rem !important;
        line-height: 1.1;
    }

    .text-xl2 {
        font-size: 1.2rem !important;
        margin-top: 10px;
    }

    .hero-subtitle .btn {
        width: 100%;
        max-width: 250px;
    }

    /* WHO WE ARE */
    .features p {
        font-size: 1.1rem !important;
        padding: 1rem !important;
        text-align: center;
    }

    /* GOALS SECTION */
    .goals {
        padding: 60px 20px;
    }

    .goals h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .goals-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .goal-card {
        width: 100%;
        min-height: 280px;
    }

    .flip-card-inner {
        width: 100%;
        height: 100%;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 20px;
    }

    .goal-logo {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

    .flip-card-front h3 {
        font-size: 1.5rem;
        margin-top: 12px;
    }

    .flip-card-back p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Disable hover flip on phones */
    .goal-card:hover .flip-card-inner {
        transform: none;
    }

    /* RESOURCE SECTION */
    .resource-section {
        padding: 40px 15px;
    }

    .resource-section h2 {
        font-size: 2rem;
    }

    .resource-section .subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* TABS */
    .filters {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .filters::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    /* CAROUSEL */
    .carousel {
        min-height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel .left,
    .carousel .right {
        display: none !important;
    }

    .carousel .card.center {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        transform: none !important;
    }

    .carousel .card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 16px;
    }

    .carousel .card h3 {
        font-size: 1.1rem;
    }

    .carousel .card p {
        font-size: 0.95rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* EVENTS */
    .events-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .events-header h2 {
        font-size: 2rem;
    }

    .events-track {
        gap: 15px;
    }

    .event-card {
        min-width: 280px;
    }

    /* TESTIMONIALS */
    .testimonial-card {
        width: 280px;
        margin: 0 10px;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }

    /* FAQ */
    .faq-section {
        padding: 50px 15px;
    }

    .faq-section h2 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }

    /* GENERAL */
    .section-title {
        font-size: 2rem !important;
        text-align: center;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

.goal-card {
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

@media (min-width: 769px) {
    .goal-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

.goal-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

@media (max-width: 768px) {

    .goals {
        padding: 60px 20px;
    }

    .goals-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 420px;
        margin: 0 auto;
    }

    .goal-card {
        width: 100%;
        min-height: 300px;
    }

    .goal-logo {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 20px;
    }

    .flip-card-front h3 {
        font-size: 1.5rem;
    }

    .flip-card-back p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}
