/* FILE: style.css */

/*
Theme Name: IBZ Custom Theme
Author: Your Name
Version: 1.0
Description: A custom one-page WordPress theme for IBZ
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: var(--fs);
    font-family: var(--font-base);
    color: var(--text-color);
}


:root {



  /* Misc */--transition-speed: 500ms;--easing: ease-in-out;--carousel-spacer-width: 18vw;

  /* Colors */--brand-yellow: #f9c74f;--brand-blue: #b9d0e31f;--brand-green: #43aa8b;--brand-orange: #f9844a;--background-color:white;--nav-back-color: #fc0000;--hover-color: rgba(211, 211, 211, 0.495);--background-light:white;--background-blog: #f5fdff;--background-Light-blue: #afd5e6;--text-color: #000000;--author-color: #8e8e8d;--heading-color: #2E2E2E;--footer-bg: #f4f4f4;--link-color: #0066cc;--link-hover-color: #003366;--border-color: rgba(211, 211, 211, 0.495);--shadow-color: hsla(0, 0%, 0%, 0.4);
  

    /* Typography */--font-base: 'Crimson Pro', sans-serif;--fs: clamp(1.15rem, 1.5vw, 1.20rem);--font-size-heading: clamp(1.5rem, 2vw, 1.6rem);--font-size-author: clamp(1.15rem, 2vw, 1.4rem);--para-spacing: 1.1;--font-xs: 0.8rem;--font-sm: 0.95rem;--font-md: 1.1rem;--font-lg: 1.3rem;--font-xl: 1.6rem;

  /* Padding */--padding-small: 0.5rem;--padding-medium: 1rem;--padding-large: 2rem;--transition-duration: 0.6s;}

h1 {
 
    font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: bold;
  color: var(--heading-color);
    font-weight: bold;

    line-height: 1.3;
    text-align: center;
}

.section-wrapper h1 {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}


@media (max-width: 768px) {
  /* Target all h1 elements */
  h1 {
    text-align: left;
    margin-left: 0.5rem;

    margin-bottom: 0.2rem;
  }
}


.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  background: #afd5e6;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);

}

.top-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
    max-height: 100px;
    
}



.logo {
  position: relative;
  z-index: 11;
}





.subscribe-button {
  background: white;
  border: 2px solid #000;
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  box-shadow: 4px 4px #f4d35e, 8px 8px #ee964b, 12px 12px #00b4d8;
  transition: all 0.4s ease;
}



.subscribe-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px #ee964b, 10px 10px #00b4d8, 14px 14px #f72585;
}


.menu {
  all: unset;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
}

.menu span {
  display: block;
  height: 3px;
  background: black;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.menu.active{
  color: var(--background-color);
  opacity: 0;
}




.join-us {
  width: 140px;
  position: relative;
text-align: center;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 50px;
background: linear-gradient(135deg, #00b2c0, #e95e0f, #96ba3a);  overflow: hidden;
  z-index: 1;
transition: opacity 0.3s ease;
}



.see-more-btn {
  background: #f8f7ee;
  border: 2px solid #000;
  font-weight: 600;
  padding: 0.5rem 0.3rem;
  box-shadow: 4px 4px #f4d35e, 8px 8px #ee964b, 12px 12px #00b4d8;
  transition: all 0.4s ease;
   font-size: var(--font-sm);

}
.see-more-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px #ee964b, 10px 10px #00b4d8, 14px 14px #f72585;
}



/* Overlay gradient */



.join-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #771400, #e94f2e); /* overlay: Join us */
  opacity: 0;
  transition: opacity 2s ease;
  z-index: -1;
}

.join-us.join-style::before {
  opacity: 1;
}


.burger span {
  display: block;

  height: 3px;
  background: black;
  border-radius: 2px;
      transition: transform var(--transition-speed) var(--easing);

}

/* Desktop nav bar */

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;

  padding: 1rem;
  background-color: var(--background-Light-blue);
  position: sticky;
  z-index: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}



.desktop-nav ul, li {
  list-style-type: none;
}

body.mobile-menu-open .desktop-nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
      max-height: 0px;
}







@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    justify-content: center;
    background-color: #fae4ac;
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05); 
    position: relative;
    z-index: 9;
  }

  .desktop-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .desktop-nav a {
    font-size: 1rem;
    color: var(--heading-color);
    text-decoration: none;
      padding: 0.5rem 1rem;

    font-weight: 500;
      border-radius: 50px;
  transition: background-color 0.3s ease, color 0.3s ease;

    transition: color 0.3s ease;
  }

  .desktop-nav a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
  }
  
}
@media (max-width: 930px) {
  .desktop-nav {
    display: none;
  }
}


/* === Mobile Menu === */
.mobile-nav {
  position: fixed;
    height: 100vh;
  top: 0;
  left: 0;

  transform: translateX(-100%);
  width: 360px;
  
  background: #ffffffe0;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  padding: 110px 40px 0px 0px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  
  transition: transform var(--transition-speed) var(--easing);
  z-index: 0;
  overflow-y: auto;

}


.mobile-nav.active {
  transform: translateX(0);

}

/* === Close Button === */
.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  position: absolute;
  top: 1rem;
  left: 1rem;
  cursor: pointer;
}

/* === Nav Items === */
.mobile-nav a {
  display: block;
  width: 100%;
  max-width: 70%;       /* ← controls total width */
  margin: 0 auto 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;

}







.fade-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

@media (min-width: 768px) {
  .fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(253, 253, 253, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 7;
  }

  .fade-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .subscribe-button-wrapper {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-nav {
    width: 100vw;
    height: 100vh;
  }
}
.nav-orange:hover {
  background-color: rgba(233, 94, 15, 0.15);
  color: #e95e0f;
  
}

.nav-darkgreen:hover {
  background-color: rgba(0, 135, 103, 0.15);
  color: #008767;
}

.nav-lightgreen:hover {
  background-color: rgba(150, 186, 58, 0.15);
  color: #96ba3a;
}

.nav-lightblue:hover {
  background-color: rgba(175, 213, 230, 0.3);
  color: #003e86;
}

.nav-mediumblue:hover {
  background-color: rgba(0, 178, 192, 0.15);
  color: #00b2c0;
}

.nav-red:hover {
  background-color: rgba(215, 0, 28, 0.15);
  color: #d7001c;
}

.nav-yellow:hover {
  background-color: rgba(254, 208, 96, 0.25);
  color: #7a5e00;
}

.nav-darkblue:hover {
  background-color: rgba(0, 62, 134, 0.2);
  color: #003e86;
}



    header {

    position: sticky;
    top: 0;
    z-index: 10;

    }


  
  
  .header_nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: var(--padding-small);
    background-color: var(--background-light);
    box-shadow: 2px 4px 4px 0 var(--shadow-color);
    
  
  }
  
  


.header_ul {
   display: flex;
   gap: 1rem;
   justify-content: space-evenly;
    padding: 6px 14px;
    border-radius: 20%;
    text-decoration: none;
    color: #ffffff;
    list-style-type: none;
    transition: background-color var(--transition-duration) ease;
}


a {
  text-decoration: none;
}






 html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
      overflow-y: scroll;
  display: flex;
  min-height: 100vh;
      scroll-behavior: smooth;

}


.page-content {
flex: 1;
 padding-top: 60px;
  width: 100%;
 box-sizing: border-box;
}


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

h2 {
    font-weight: normal;
    font-size: var(--font-size-heading);
    color: var(--heading-color);
}

p {

    font-size: var(--fs);
    line-height: var(--para-spacing);
    
}




.section-wrapper {
    max-width: 1100px;
       border-bottom: none;
       border-top: none;
       position: relative;

  padding-inline: 1rem;
  padding: var(--padding-medium);
  margin: 0 auto;
}





.author {
    color: var(--author-color);
    padding-bottom: var(--padding-small);
    font-size: var(--font-size-author);
    
    
}


.large-article img {
  
  max-width: 700px; /* Limit the size of the images */
  object-fit: cover; /* Ensure images cover the allocated area */
  width: 100%;
  margin-top: 1rem;
  


}

.article .description {
    display: -webkit-box;
    -webkit-line-clamp: 16; /* Limit to x lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .article.large-article .description {
    -webkit-line-clamp: 5; /* Limit to x lines for large articles */
  }



nav > a:hover, a:focus, a:active {
    background-color:   var(--hover-color);
    color: var(--link-hover-color);
    
}

a {
  text-decoration: none;
}




.articles-container {
    display: flex;
    flex-wrap: wrap;

   
  }
  



  .article {
    flex: 1 25%; /* Allow the articles to grow/shrink but take up at least 25% of the row */
    box-sizing: border-box;
    padding: 1rem;  
    border-bottom: none;

  }



  .large-article {
    flex-basis: 50%;


  }
  



/* Newsletter container */
.newsletter-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: end;
  gap: 2rem;
  background-color: var(--background-Light-blue);
  padding: var(--padding-medium);
  max-width: none;
  width: 100vw;
}

.newsletter-left,
.newsletter-right {
  flex: 1 1 300px; /* grow, shrink, min width */
  display: flex;
  flex-direction: column;

    align-items: center;
    text-align: center;
  }


.newsletter-left img {
  max-width: 500px;

  
}

.newsletter-right h2 {
font-size: var(--font-size-heading);
;
  }




.newsletter-right {
  align-items: flex-start;
  align-items:start;
  text-align:start;

}


.newsletter-right p {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  max-width: 500px;

}


  .home-section-break {
    margin: 0; /* Adds vertical spacing */
}

.newsletter-svg {
  max-width: 300px;
  height: auto;
   display: flex;
  
  
  
  overflow: visible;
  margin: 0 auto;
}

.custom-hr {
    border: 0px;
    width: 100%; 


}

:root {
  --carousel-spacer-width: 18vw;
}

/* Fake Spacer (start only) */
.fake-end-space {
  flex: 0 0 var(--carousel-spacer-width);
  pointer-events: none;
  scroll-snap-align: none;
}

/* Injected Blur Overlay */
.carousel-blur {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--carousel-spacer-width);
  height: 100%;
  background: rgba(229, 240, 245, 0.2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: all;
  z-index: 4;
}
@media (max-width: 768px) {
  .carousel-blur {
    display: none;
  }
}



.carousel-controls {
  position: absolute;
  top: 50%;
    right: auto; 

  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
@media (max-width: 768px) {
  .carousel-controls {
    display: none;
  }
}

/* Carousel Buttons */
.carousel-button {
  background: white;
  border: none;
  border-radius: 30%;
  width: 60px !important;
  height: 60px !important;
  font-size: 28px !important;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.carousel-button:hover:not(.disabled) {
  background-color: #052d73d7;
  color: white;
}

.carousel-button.disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}

.carousel-button.prev {
  transform: translateX(-30%);
}

.carousel-button.next {
  transform: translateX(-30%);
}

/* Outer full-width container */
.carousel-container {
  width: 100vw;
  margin-inline: auto;
  padding-inline: 1rem;
  margin-left: calc(-50vw + 50%);
  background-color: var(--background-blog);
  position: relative;
  overflow: visible;
  padding-block: 2rem;
  padding-left: 0.6rem;

}

.carousel > * {
  scroll-snap-align: start;
}


.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline-end: 30vw;
    scroll-snap-type: x mandatory;
  gap: 2rem;
    width: auto;
  margin-left: 0;
  padding-inline-end: 0;
    padding-top: 0.3rem;

}

.past-events-carousel {

  background-color: var(--brand-blue);
}

@media (min-width: 1280px) {
  .carousel {
    padding-inline-start: 18.66vw;
    
  }
}

.carousel::-webkit-scrollbar {
  display: none;
}



.fake-end-space {
  flex: 0 0 var(--carousel-spacer-width, 18vw);
  pointer-events: none;
  scroll-snap-align: none;
}

@media (max-width: 768px) {
  .fake-end-space {
    display: none;
  }
}


.prev,
.next {
  position: absolute;
  top: 85%;
  background: transparent;
  border: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  width: 30px;
  height: 30px;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.prev {
  right: 50px;
  transform: translateX(-50%);
}

.next {
  right: 50px;
  transform: translateX(50%);
}

.prev:hover,
.next:hover {
  background-color: #052d73d7;
}

  

/* Disabled (at rest) state */
.prev:disabled,
.next:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}



.carousel .fake-end-space {
  flex: 0 0 30vw;
  pointer-events: none;
  scroll-snap-align: none;
}





.carousel-scrollbar {
  position: relative; /* make it the parent for ::before */
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    #FFF430 0%,
    #FFFFFF 33%,
    #9C59D1 66%,
    #000000 100%
  );
      margin-left: 0.5rem;

  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  transition: width 0.2s ease, opacity 0.3s ease;
  opacity: 0.9;
  overflow: hidden; /* ensures ::before doesn't overflow */
min-width: 5%; /* a cue for the user that a scrollbar exists */

}


/* =========================
   Responsive Media Queries (Adjusted)
========================= */





@media (max-width: 800px) {
  .article {
    flex: 1 1 48%;
  }
}



@media (max-width: 800px){
  
  .footer {
    padding: 1rem;
  }
}

@media (max-width: 610px) {
  .article {
    flex: 1 1 100%;
  }
}






  .home-section-break {
    margin: 0; /* Adds vertical spacing */
}

.
.custom-hr {
    border: 0px;
    width: 100%; 


}
  /* Logo in welcoem screen */

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-logo {
  display: block;
  height: auto;
  width: auto;
}

/* Animate only the key parts, leave the rest still */
.center-logo svg path {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translateX(-80px);
  animation: magnetPull 1.1s ease-out forwards;
}

@keyframes magnetPull {
  0%   { opacity: 0; transform: translateX(-80px); clip-path: inset(100% 0 0 0); }
  100% { opacity: 1; transform: translateX(0); clip-path: inset(0% 0 0 0); }
}

/* Target animated parts only */
#part1 { animation-delay: 0.15s; }
#part2 { animation-delay: 0.3s; }
#part3 { animation-delay: 0.45s; }
#part4 { animation-delay: 0.6s; }
#part5 { animation-delay: 0.75s; }
#part6 { animation-delay: 0.9s; }
#part7 { animation-delay: 1.05s; }
#part8 { animation-delay: 1.2s; }
#part9 { animation-delay: 1.35s; }

@media (prefers-reduced-motion: reduce) {
  svg path {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}



#loader svg {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* General Footer Styling */
.footer {
  background-color: #f9c74f;
  color: #ffffff;
  padding: 40px 20px;
}

.footer-column h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  font-size: 1.1rem;

}

.footer-column a:hover {
  opacity: 1;
}

/* ✳️ Modern browsers only: fade effect on siblings when hovering a link */
.footer-column ul:has(a:hover) a:not(:hover) {
  opacity: 0.4;
}

/* ✳️ Fallback for older browsers (basic fade on whole column hover) */
.footer-column ul:hover a {
  opacity: 0.4;
}

.footer-column ul:hover a:hover {
  opacity: 1;
}

hr {
  border: none;
  border-top: 1px solid #3a4a5f;
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.footer-links a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.scroll-up {
  background: none;
  border: 2px solid white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.2em;
  color: white;
  margin: 2rem;
  cursor: pointer;
  transition: background 0.3s;
}

.footer-up .scroll-up:hover {
  background-color: #1a3350;
}

footer-right-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-right-controls a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer-right-controls a:hover {
  text-decoration: underline;
}

.footer-logo-icon img,
.footer-logo-icon svg {
  width: 100px;
  height: auto;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1rem;
}

.footer-column h3 {
  margin-bottom: 0.75rem;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 0.75rem;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-column.follow {
    order: -1;
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-column.follow ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .footer-column.follow a {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    gap: 0.3rem;
  }

  .footer-column.follow svg.social-icon {
    width: 3.2rem;
    height: 3.2rem;
    display: block;
    margin-inline: auto;
  }
}

@media (max-width: 400px) {
  .footer-column.follow a {
    font-size: 0.75rem;
  }
}

@media (max-width: 375px) {
  .footer-column.follow a {
    font-size: 0.72rem;
    gap: 0.25rem;
  }

  .footer-column.follow svg.social-icon {
    width: 2.8rem;
    height: 2.8rem;
  }
}



.donation-icon {
 display: flex;
  justify-content: center;
  overflow: visible;
}





.donation-svg {
 display: flex;
  
  
  
  overflow: visible;
  margin: 0 auto;
    max-width: 300px;
  height: auto;
  
}  


newsletter-svg {
   display: flex;
  max-width: 300px;
  height: auto;
}




/* ============================================
   Elementor Widget Defaults — Brand Styling Lock
=============================================== */

/* 🔹 Headings */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
  font-family: var(--font-base) !important;
  color: var(--heading-color) !important;
  font-weight: normal;
}

/* 🔹 Text editor */
.elementor-widget-text-editor {
  font-size: var(--fs);
  color: var(--text-color);
  line-height: var(--para-spacing);
}

/* 🔹 Buttons (match subscribe button) */
.elementor-button {
  background-color: #002b45 !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  font-size: var(--font-base) !important;
  border-radius: 50px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  border: none !important;
  text-align: center;
}
.elementor-button:hover {
  background-color: #001a2e !important;
}

/* 🔹 Lists */
.elementor-icon-list-items {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
  list-style-type: disc;
}
.elementor-icon-list-item {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

/* 🔹 Images */
.elementor-widget-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* 🔹 Column spacing */
.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: var(--padding-medium);
}

/* 🔹 Section background and spacing */
.elementor-section {
  padding-top: var(--padding-large);
  padding-bottom: var(--padding-large);
  background-color: var(--background-light);
}

/* 🔹 Form elements (optional) */
input[type="text"],
input[type="email"],
textarea {
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: 4px;
  font-family: var(--font-base);
}

/* 🔹 Global widget box sizing */
.elementor-widget {
  box-sizing: border-box;
}
.events-grid {
  display: grid;
  max-width: 1140px;
  margin: 0 auto;
  padding-inline: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
    max-width: 320px;
      margin-left: 0.2rem;

}





.event-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.event-poster img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.event-details {
  padding: 1rem 0.2rem 0.2rem 0.2rem ;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
}

.event-details h2 {
  font-size: var(--font-md);
  font-weight: 600;

}

.event-details p {
  font-size: var(--font-sm);
  color: var(--text-color);
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.event-flair {
    position: absolute;
  top: 1rem;
  left: 0.2rem;
  background-color: #333;
  color: white;
  font-size: var(--font-md);
  font-weight: bold;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  z-index: 1;
}



@media (max-width: 375px) {

  .event-card {

    max-width: 270px;


}
  .event-flair {
    font-size: var(--font-sm); /* Or a specific size like 0.875rem */
  }
}



.event-flair.nav-yellow {
  background-color: #fed060;
  color: #7a5e00;
}

.event-flair.nav-orange {
  background-color: #e95e0f;
  color: white;
}

.event-flair.nav-darkgreen {
  background-color: #008767;
  color: white;
}

.event-flair.nav-lightgreen {
  background-color: #96ba3a;
  color: white;
}

.event-flair.nav-lightblue {
  background-color: #afd5e6;
  color: #003e86;
}

.event-flair.nav-red {
  background-color: #d7001c;
  color: white;
}


.single-event-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.single-event-header {
  position: relative;
  text-align: left;
}

.single-event-header img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

.single-event-flair {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: #333; /* gets overridden by department */
  color: white;
  font-size: var(--font-xs);
  font-weight: bold;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  z-index: 1;
}

.single-event-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: var(--font-sm);
  color: var(--text-color);
}

.single-event-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.single-event-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.event-section {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.event-section h3 {
  font-size: var(--font-md);
  margin-bottom: 0.6rem;
  color: var(--heading-color);
}

.event-section p {
  font-size: var(--fs);
  line-height: 1.6;
  color: var(--text-color);
}

.event-register {
  padding: 1.5rem;
  background-color: var(--background-Light-blue);
  border-radius: 8px;
  text-align: center;
}

.event-register h4 {
  font-size: var(--font-md);
  margin-bottom: 1rem;
  color: var(--heading-color);
}


.single-event-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
max-width: 1600px;
  margin: 0 auto;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: var(--font-sm);
  color: var(--text-color);
}

.event-meta p {
  margin: 0;
}

.event-tab-layout {
  display: flex;
  gap: 2rem;
}

.event-tab-list {
      flex-wrap: wrap;
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.event-tab-layout .sidebar-column.right
 {

  flex: 0 0 270px;

  
  }



/* newsletter in the courses section is bigger and stay on more mobile devices than in the department template */
@media (max-width: 600px) {

 .event-tab-layout .sidebar-column.right {
    display: none;
  }

  .sidebar-layout {
    flex-direction: column;
    padding: 2rem;
  }

}

.event-tab-btn {
  cursor: pointer;
  user-select: none;
  display: inline-flex;      /* use inline-flex to shrink-wrap content */
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-weight: 500;
  font-size: var(--font-md);
  color: var(--heading-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  justify-content: flex-start;
  min-width: 0;              /* allow shrinking */
  flex: 0 1 auto;            /* grow and shrink based on content */
  text-align: left;
  white-space: normal;       /* allow multi-line wrapping */
  max-width: 100%;           /* prevent overflow */
}

.event-tab-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.8;
}

.event-tab-btn:hover {
  background-color: var(--background-Light-blue);
  color: var(--link-hover-color);
}

.event-tab-btn.active {
  background-color: var(--background-Light-blue);
  color: var(--link-hover-color);
  box-shadow: inset 3px 0 0 var(--link-hover-color);
}

.event-tab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tab-panel {
  display: none;
  background-color: #fdfdfd;
  padding-top: 0.2rem;
  padding-bottom: 1rem;
  padding-right: 1rem;
  padding-left: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(8px);
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-panel h2 {
  font-size: var(--font-md);
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.tab-panel p,
.tab-panel div {
  font-size: var(--fs);
  line-height: 1.6;
  color: var(--text-color);
}



@media (max-width: 768px) {
  .event-tab-layout {
display: grid;
  gap: 1rem;
  }

  .event-tab-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
    gap: 0.5rem;
  }

  .event-tab-btn {
    flex: 1 1 auto;
    border-radius: 12px;
    justify-content: center;
    text-align: center;
  }
}
.event-card-date-time {
  display: flex;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading-color);
}

.date-block, .time-block {
  display: flex;
  justify-content: center;
  align-items: center; /* Newly added: center content horizontally */
  padding: 0.75rem 1rem;
  min-width: 70px;
  text-align: center;
}

.date-block {
  border-right: 1px solid var(--border-color);
}

.date-block .day {
  font-size: 2.8rem;
  line-height: 1;
}

.date-block .month {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.time-block .time {
  font-size: 1rem;
  line-height: 1.2;
}

.time-block .timezone {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 0.2rem;
}



.event-details {
  overflow: visible !important; /* prevent clipping */
  
}
.event-card-date-time {
  display: flex;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading-color);
  gap: 2rem; /* add gap between date and time blocks */
}

.date-block {
  border-right: 1px solid var(--border-color);
  padding-right: 2rem; /* add padding so border doesn't touch text */
}

.time-block {
  padding-left: 1rem; /* padding to separate from border */
}





/* Base Calendar Wrapper */

#calendar {
  max-width: 1220px;
  margin: 3rem auto;
  padding: 1rem;
  border-radius: 1rem;
  backdrop-filter: blur(6px);
  background: linear-gradient(to bottom, #fefefe, #f4f4f4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
	padding-top: 0rem;
    margin-top: 0rem;
    margin-bottom: 1rem;
}

/* Toolbar Styling */
.fc .fc-toolbar {
  background: radial-gradient(circle at center, #afd5e6 0%, #577590 100%);

  color: white;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;

}

.fc .fc-toolbar-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}


.fc .fc-button {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 0.8rem;
  padding: 0.4em 0.8em;
  border-radius: 6px;
  transition: background 0.2s ease;
  box-shadow: none !important;
  outline: none !important; 

}

.fc .fc-button:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Day Headers */
.fc .fc-col-header-cell {
    color: var(--brand-blue) !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.5rem 0;

}

/* Day Grid */
.fc .fc-daygrid-day-frame {
  max-height: 80px;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;

}

.fc .fc-daygrid-day:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* Event dots (minimalist iOS-style) */
.fc .fc-event {
  background: none !important;
  color: var(--brand-blue) !important;
  font-size: 0.75rem;
  position: relative;
  padding-left: 1rem;
}

.fc .fc-event::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-blue));
  border-radius: 100%;
}

/* Responsive tweaks */
@media (max-width: 650px) {
  #calendar {
    max-width: 100%;
    margin: 1.5rem auto;
    margin-top: 0rem;
    padding: 0.5rem;
    border-radius: 0.75rem;
  }

  .fc .fc-toolbar-title {
    font-size: 1rem;
  }

  .fc .fc-button {
    font-size: 1rem;
    padding: 0.2em 0.6em;
  }

  .fc .fc-event-title {
    display:block;
  }
}

.fc .fc-daygrid-event {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  font-family: var(--font-base);
  font-size: var(--font-sm);
  line-height: var(--para-spacing);
  color: #111;
  padding: 1rem;
}

.fc-event {
  background: var(--brand-yellow, #f9c74f) !important;
  border: none !important;
  color: #000;
      font-size: var(--font-md);
    padding: var(--padding-medium);
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1.3;
  max-width: 90%;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Position event labels clearly */
.fc-daygrid-event-dot {
  display: none !important; /* Remove unnecessary bullet */
}

.fc-event:hover {
  background: linear-gradient(90deg, #f9c74f, #f9844a);
  color: #111;
}

/* Improve calendar title display on mobile */
@media (max-width: 600px) {
  .fc-event {
    font-size: 0.75rem;
    padding: 2px 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
}

.fc-daygrid-day {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: transparent;
}

.fc-daygrid-day::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
background: radial-gradient(circle, var(--glow-color) 10%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease-in-out;
}

.fc-daygrid-day:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.8;
}

.fc-floating-tooltip {
  position: absolute;
  max-width: 260px;
  background: linear-gradient(135deg, #fce8d5, #fed060);
;
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  animation: fadeInTooltip 0.3s ease-out forwards;
  pointer-events: none;
  z-index: 9999;
  text-align: left;
}

.fc-floating-tooltip .meta-item {
  margin: 4px 0;
}

.fc-floating-tooltip .tooltip-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #1a1a1a;
  transform: rotate(45deg);
  z-index: -1;
}

.fc-floating-tooltip.above .tooltip-arrow {
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.fc-floating-tooltip.below .tooltip-arrow {
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

@keyframes fadeInTooltip {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile fix for dot visibility */
@media (max-width: 650px) {
  .fc .fc-event {
    background: none !important;
    font-size: 0 !important;
    padding: 0 !important;
    position: relative;
  }

  .fc .fc-event::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-blue));
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
}

.fc .fc-daygrid-event .fc-event-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}




.fc .fc-daygrid-event {
  max-height: 1.6em; /* adjust as needed */
  overflow: hidden;
}

.fc .fc-daygrid-event .fc-event-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.4;
  max-height: 1.6em;
}


/* Team card */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}




.team-card {
  background: #fff;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: start;
  min-height: 350px; /* adjust if needed */
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-card.nav-red img        { border-color: #d7001c; }
.team-card.nav-darkgreen img { border-color: #008767; }
.team-card.nav-lightgreen img{ border-color: #96ba3a; }
.team-card.nav-lightblue img { border-color: #afd5e6; }
.team-card.nav-mediumblue img{ border-color: #00b2c0; }
.team-card.nav-darkblue img  { border-color: #003e86; }
.team-card.nav-yellow img    { border-color: #fed060; }


.team-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 4px solid #f9c74f;
	
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.team-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.team-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.3rem;
  color: var(--text-color);
}

.team-card p strong {
  display: block;
  font-weight: bold;
  margin-top: 0.5rem;
}


.department-meta {
  margin-top: 3rem;
}
.team-card a[href^="mailto:"] {
  font-size: 0.95em;
}

.department-meta h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.department-meta img {
  max-width: 240px;
  height: auto;
  display: block;
  margin-top: 1rem;
}

.courses-events-flex {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.course-column,
.event-column {
  flex: 1 1 50%;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.column {
  flex: 1 1 45%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;

}





/* 🧱 Flex Columns */
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.column {
  flex: 1 1 48%;
  min-width: 300px;
}

/* 🃏 Modern Card Style */
.content-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* 🏷️ Headings */
.content-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #222;
}

/* 📄 Paragraphs */
.content-card p {
  margin: 0.25rem 0;
  color: #333;
  font-size: var(--font-md);
  line-height: 1.4;
}

/* 🔗 CTA Link */
.content-card .join-us,
.content-card .team-grid {
  display: inline-block;
  margin-top: 0.75rem;
  background-color: #c7352b;
  color: #fff;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}





@media (max-width: 768px) {
  .flex-wrap {
    flex-direction: column;
  }

  .column {
    width: 100%;
  }
}

/* 🎯 Layout Row */
.info-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.03);
}

/* 🧾 Card Style */
.info-card {
  background-color: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  flex: 1 1 240px;
  max-width: 280px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
}

/* 🧑‍🎓 Profile Image */
.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 4px solid #f9c74f;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* 🖼️ Certification and Other Images */
.info-card img:not(.profile-img) {
  width: 100%;
  height: auto;
  border-radius: 0;
  margin-top: 1rem;
}

/* 🏷️ Headings & Text */
.info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color, #222);
  margin-bottom: 0.4rem;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-color, #333);
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

.info-card p strong {
  display: block;
  font-weight: bold;
  margin-top: 0.5rem;
}

/* 🎨 Department border classes for profile */
.info-card.nav-red .profile-img        { border-color: #d7001c; }
.info-card.nav-darkgreen .profile-img  { border-color: #008767; }
.info-card.nav-lightgreen .profile-img { border-color: #96ba3a; }
.info-card.nav-lightblue .profile-img  { border-color: #afd5e6; }
.info-card.nav-mediumblue .profile-img { border-color: #00b2c0; }
.info-card.nav-darkblue .profile-img   { border-color: #003e86; }
.info-card.nav-yellow .profile-img     { border-color: #fed060; }

/* 📱 Mobile */
@media (max-width: 768px) {
  .info-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.section-wrapper {
  padding: 2rem 1rem;
  padding-top: 0rem;
  padding-bottom: 0rem;
  
}


.see-more-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px #ee964b, 10px 10px #00b4d8, 14px 14px #f72585;
}



/* Hero section */

.hero-section {
  background: #fff;
  padding: 4rem 1rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #000000;
  color: var(--hero-text-color, #222);
}

.hero-section[class*="nav-"]:hover {
  background-color: #fff !important;
}

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

.hero-header {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin: 0;
  color: var(--hero-title-color, #222);
  position: relative;
}

.hero-title::before {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  background-color: var(--hero-icon-color);
  margin: 0 auto 1rem;
  border-radius: 999px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.hero-text,
.hero-checklist {
  background-color: #f9f9f9;
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-text {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-checklist {
  background-color: #fefefe;
}

.checklist-heading {
  margin-bottom: 1rem;
  color: var(--hero-title-color, #222);
  font-size: var(--font-xl);
  font-weight: 600;
}

.hero-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-checklist li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  color: #444;
}

.hero-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--hero-icon-color, #66a728);
  font-weight: bold;
}

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

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-text,
  .hero-checklist {
    max-width: 90%;
    margin: 0 auto;
  }
}
.nav-red {
  --hero-icon-color: #e8433f;
}

.nav-darkblue {
  --hero-icon-color: #1a2a40;
}

.nav-mediumblue {
  --hero-icon-color: #00b2c0;
}

.nav-lightblue {
  --hero-icon-color: #84c5f4;
}

.nav-darkgreen {
  --hero-icon-color: #2d6b4d;
}

.nav-lightgreen {
  --hero-icon-color: #b4dc70;
}
@media (max-width: 768px) {
  .hero-text {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-checklist {
    max-width: 100%;
    margin: 0 auto;
    
  }

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

  .hero-checklist ul {
    padding-left: 0;
    text-align: left;
  }
}




.flex-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  align-items: flex-start;
}

/* 📚 Make courses dominant */
.column-courses {
  flex: 1 1 70%;
  min-width: 350px;
  
}

/* 🗓️ Events take up less space */
.column-events {
  flex: 0 0 20%;
  max-width: 350px;
  
}


/* === Asides' layout === */
.sidebar-layout {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  
}

/* 🧧 Left sidebar (Donation) */
.sidebar-column.left {
  flex: 0 0 200px;
  order: 0;
  margin-right: 3rem;
    margin-left: 1.5rem;

}

/* 📬 Right sidebar (Newsletter) */
.sidebar-column.right {
  flex: 0 0 200px;
  order: 2;
  margin-left: 3rem;
  margin-right: 0.2rem;
  
  
}



/* 🧱 Courses vs Events inner split */
.flex-wrap {
  display: flex;
  flex-wrap: nowrap;
}

.column-courses {
  flex: 1 1 60%;
  min-width: 300px;
}

.column-events {
  flex: 0 0 20%;
  max-width: 300px;
}



/* === MOBILE/LAPTOP RESPONSIVE BREAKPOINT === */
@media (max-width: 1280px) {
  .sidebar-column.left,
  .sidebar-column.right {
    display: none;
  }

  .sidebar-layout {
    flex-direction: column;
    padding: 2rem;
  }

}

.donation-sidebar .see-more-btn,
.newsletter-sidebar .see-more-btn {
  display: block;
   font-size: var(--font-sm);
  margin: 0 auto;
  
  
  margin-top: 0.5rem;
min-width: 120px;
}


