*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
    --gap: 2.5rem;
  }
:root {
  --space-sm: 4em;
  --stack-cards-gap: 4em;
}
  
html, body {
    height: 100%;
    margin: 0;
    font-family: "Phudu", sans-serif;
    font-weight: 200;
    background-color: rgb(245, 245, 245);
  }

.navbar {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1100px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 60px;
    padding: 10px 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease-in-out;   /* keep your hide/reveal anim */
  }
/* Logo */
.logo {
  height: 20px;
  transition: transform 0.3s ease-in-out;
  /* background-color: #000; */
  margin-top: 8%;



}

.logo:hover {
  transform: scale(1.05); /* or use rotate(360deg), translateX, etc. */
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
          /* clips anything that tries to spill */
  box-sizing: border-box;
}

/*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*/

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Ensure it's above other nav elements */
    margin-left: auto; /* Push to the right */
}

.hamburger-bar {
    width: 2rem;
    height: 0.25rem;
    background-color: #333;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger animation to 'X' */
.hamburger--active .hamburger-bar:nth-child(1) {
    transform: translateY(0.75rem) rotate(45deg);
}
.hamburger--active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.hamburger--active .hamburger-bar:nth-child(3) {
    transform: translateY(-0.75rem) rotate(-45deg);
}

@media (max-width: 1000px) {
    /* Adjust logo font size on mobile */
    .logo-text {
        font-size: 18px !important;
        margin-left: 20px !important;
    }

    /* Hide the desktop nav links and CTA button */
    .nav-menu {
        display: none; /* Hide by default on mobile */
        position: absolute;
        top: 100%;
        right: 0; /* Changed from left: 0 to right: 0 */
        width: 250px; /* Changed from 100% to fixed width */
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-radius: 20px 20px 20px 20px;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        gap: 0;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    /* Show the mobile menu when active - IMPORTANT: This must have higher specificity */
    .nav-menu--active {
        display: flex !important; /* Added !important to override the display: none above */
        opacity: 1;
        transform: translateY(0);
    }

    /* Style list items for vertical layout */
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        font-size: 18px;
    }
    
    .nav-menu li a:hover::after {
        width: 0;
    }

    /* Show the hamburger icon */
    .hamburger {
        display: flex;
    }

    /* Handle the navbar-right group on mobile */
    .navbar-right {
        order: 1;
        margin-left: auto;
        margin-right: 15px;
        gap: 15px; /* Keep some gap between language dropdown and hamburger */
    }

    /* Hide CTA button on mobile */
    .nav-cta-button {
        display: none;
    }

    /* Adjust language dropdown for mobile */
    .language-dropdown {
        order: 1;
    }

    .hamburger {
        order: 2;
        margin-left: 0;
    }
}

/*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*/


.nav-menu {
  display: flex;
  justify-content: center;
  gap: 40px;
  /* background-color: #000; */
  list-style: none;
  margin: 0;
  padding: 5px;
  
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
}

/* Nav links */
.nav-menu li a {
  position: relative;
  text-decoration: none;

  font-size: 16px;
  /* margin: 2rem; */
  font-weight: 400;
  color: #000;
  transition: transform 0.3s ease;

}

.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: black;
  transition: width 0.3s ease;
}

.nav-menu li a:hover {
  transform: scale(1.05);
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* Add this new class for hiding the navbar */
.navbar--hidden {
  transform: translateY(-150%);
  transition: transform 0.4s ease-in-out;
}

/* Add transition to the default state */
.navbar {
  transition: transform 0.4s ease-in-out;
}

.nav-cta-button {
  margin-left: auto;                /* pushes it hard right */
  background: #fff;
  border: none;
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 4px 5px rgb(206, 236, 254);
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-cta-button:hover {
  background: #f0f0f0;
  transform: scale(1.03);
}

@keyframes slideUp {
    0%   { transform: translateY(0); }
    33%  { transform: translateY(-100%); }
    66%  { transform: translateY(-200%); }
    100% { transform: translateY(0); }
}

/* Generic Button Style 2 */
.button2 {
    background: #0d1c4d;
    border-radius: 5%; /* Was 12px */
    font-weight: bold;
    font-size: 150%; /* Was 1.5rem */
    margin-top: 2%; /* Was 1rem */
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 1.5% 2.5%; /* Was 10px 16px */
}

.button2:hover {
    transform: scale(1.05);
}
  
  
@keyframes slideUpCards {
    0%   { transform: translateY(0); }
    33%  { transform: translateY(-100%); }
    66%  { transform: translateY(-200%); }
    100% { transform: translateY(0); }
}

/* === Language Dropdown Styles === */

/* Main container for positioning */
.language-dropdown {
  position: relative;
  margin-left: auto; /* Pushes it next to the nav menu */
}

/* The button that shows the selected flag and opens the menu */
.language-dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 5px;
  gap: 8px;
}

.flag-icon {
  width: 24px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Simple CSS triangle for the dropdown arrow */
.arrow-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  transition: transform 0.3s ease;
}

/* Rotate arrow when menu is active */
.language-dropdown-menu.active + .language-dropdown-toggle .arrow-down {
    transform: rotate(180deg);
}


/* The dropdown menu itself (hidden by default) */
.language-dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 120%; /* Position below the toggle button */
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden; /* Ensures child elements conform to border-radius */
  min-width: 150px;
}

/* The class that JavaScript toggles to show the menu */
.language-dropdown-menu.active {
  display: block;
}

/* Styling for each link within the dropdown */
.language-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  font-family: 'Phudu', sans-serif;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.language-dropdown-menu a:hover {
  background-color: #f5f5f5;
}

/* === CORRECTED LAYOUT STYLES === */

/* NEW: Wrapper for right-aligned items */
.navbar-right {
  margin-left: auto; /* THIS is what pushes the group to the right */
  display: flex;
  align-items: center;
  gap: 25px; /* Adjust the space between the dropdown and the button */
}

/* REMOVE margin-left: auto from the dropdown */
.language-dropdown {
  position: relative;
  /* margin-left: auto; */ /* <<< REMOVE THIS LINE */
}

/* REMOVE margin-left: auto from the CTA button */
.nav-cta-button {
  /* margin-left: auto; */ /* <<< REMOVE THIS LINE */
  /* ... keep other button styles */
}


/* === RESPONSIVE CORRECTIONS === */
@media (max-width: 1000px) {
  .navbar-right {
      order: 1; /* Places the group before the hamburger */
      margin-left: auto;
      margin-right: 15px;
      gap: 0; /* Remove gap on mobile */
  }

  /* We hide the button on mobile, so the group only contains the dropdown */
  .nav-cta-button {
      display: none;
  }
}
  
  
@keyframes slideUpCards {
    0%   { transform: translateY(0); }
    33%  { transform: translateY(-100%); }
    66%  { transform: translateY(-200%); }
    100% { transform: translateY(0); }
}

  .carousell-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 10px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) translateZ(20px) scale(1.03);
  }
  
  .carousell-card-img {
    width: 100%;
    height: 180px;
    border-radius: 25px;
    object-fit: cover;
  }
  
  .carousell-card-body {
    padding: 16px;
  }
  
  .carousell-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .carousell-card-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
  }
  
  .carousell-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .carousell-card-btn {
    background: black;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
  }
  
  .carousell-card-rating {
    font-size: 0.85rem;
    color: #f5a623;
  }

  ul {
    list-style: none;
    flex-shrink: 0;
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);
    /* No animation here */
  }

    @-webkit-keyframes hue-rotate {
      from {
        -webkit-filter: hue-rotate(0);
        filter: hue-rotate(0);
      }
      to {
        -webkit-filter: hue-rotate(360deg);
        filter: hue-rotate(360deg);
      }
    }
    
    @keyframes hue-rotate {
      from {
        -webkit-filter: hue-rotate(0);
        filter: hue-rotate(0);
      }
      to {
        -webkit-filter: hue-rotate(360deg);
        filter: hue-rotate(360deg);
      }
    }
    
    @keyframes gradientShift {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }


/*HEADER*/

.header-wrapper {
    font-family: "Phudu", sans-serif;
    padding: 2.5%;
}

.header-section {
    background-color:#C1E2FF;
    border-radius: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 4%;
    gap: 4%;
    flex-wrap: wrap;
}

.header-left-text {
    flex: 1 1 40%;
    min-width: 300px;
}

.header-title {
    font-size: clamp(2.5rem, 7.5vw, 5.5rem);
    margin: 0 0 1%;
    font-weight: bold;
}

.header-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin: 0 0 20px;
    color: #333;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
}

.header-button {
  background: #fff;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  margin-top: 2%;
  border-radius: 1.5rem; 
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 1.5% 3%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: transform 0.2s ease;
}

.header-button:hover {
  transform: scale(1.05);
}

.header-icon {
  background-color: #e6defb;
  border: 1px solid #e6defb;
  border-color: #000;

  padding: 0.2em;
  border-radius: 50%;
  line-height: 0.9;
  font-size: 2em;

  display: flex;
  align-items: center;
  justify-content: center;
}

.header-arrow{
  font-weight: bold;
  position: relative;
  top: -3.5px;
  left: 0; 
}

/* iFrame Container */
.header-iframe-container {
    flex: 1 1 50%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    height: auto;
    width: 100%;
    border:transparent;

/*FallBack image incase iframe link die*/
    background-image: url('');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-iframe-container iframe {
    width: 200%;
    height: 200%;
    border: none;
}

@media (max-width: 1200px) {
    .header-section .header-iframe-container {
        display: none;
    }
    .header-section {
        justify-content: center; /* Center the flex item */
        text-align: center; /* Center the text within the flex item */
    }
    .header-left-text {
        flex: 1 1 100%; /* Allow the text container to take full width */
    }
    .header-button {
        margin-left: auto; /* Auto margins for horizontal centering of the button */
        margin-right: auto;
    }
}



/*BANNER*/

.full-banner-wrapper {
    font-family: "Phudu", sans-serif;
    padding: 2.5%;
}

.full-banner-section{
    /* background-color: black; */
    background-image: url('../Images/LONG BANNER SAESONAL VNQUANTUM.png');
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    justify-content: center;
    align-items: center;
    padding: 10%;
    gap: 4%;
    flex-wrap: wrap;
    border-radius: 25px;
}

.full-banner-text {
color: white;
font-size: clamp(2em, 5vw, 4em);
font-weight: bold;
text-align: center;
white-space: nowrap;
}





/*WHO ARE WE*/



.header-who-wrapper {
    font-family: "Phudu", sans-serif;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 16px;
    margin: 2.5%;
    padding: 4%;
}

.header-who-upper {
    text-align: center;
    margin-bottom: 40px;
}

.header-who-title {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 15px 0;
}

.header-who-description {
    font-size: clamp(0.5rem, 2vw, 1rem);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    padding: 0 1.5rem; 
}

.header-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
}

.header-who-card {
    display: flex;
    align-items: center;
    gap: 25px;
    border: 2px solid #f6b6b6;
    border-radius: 24px;
    background-color: #f4f1f1;
    padding: 30px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-who-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(246, 182, 182, 0.4);
}

.header-who-card-img {
    width: 256px;
    height: 256px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-who-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-who-card-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    margin: 0;
}

.header-who-card-description {
    font-size: clamp(0.5rem, 2.5vw, 1rem);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    margin: 10px 0 20px 0; 
}

.header-who-card-button {
  background: #fff;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  border-radius: 99rem; 
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1rem);
  text-transform: uppercase;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #c7c4e0;
  transition: all 0.2s ease;
}

.header-who-card-button:hover {
  background: #f2f1ff;
  transform: scale(1.05);
}

.header-who-card-icon {
  background-color: #e6defb;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-weight: bold;
  font-size: 1.5rem;
}
.header-who-card-arrow{
  font-weight: bold;
  position: relative;
  top: -3px;
  left: 0; 
}


/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .header-who-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .header-who-card {
        flex-direction: column;
        text-align: center;
    }
    
    .header-who-card-content {
        align-items: center; 
    }

    .header-who-card-description {
    font-size: 0.5rem;
    line-height: 1.5;
}
}




/*COMMUNITY*/


.community-wrapper {
  background: linear-gradient(0deg, #9dbbdb, #f5f5f5);
  padding: 4rem 2rem; /* Add padding for spacing */
  font-family: 'Phudu', sans-serif;
  position: relative;
  overflow: hidden;
}

.community-upper {
    text-align: center;
    margin-bottom: 40px;
}

.community-title {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 15px 0;
}

.community-descriptions {
    font-size: clamp(0.5rem, 2vw, 1rem);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    padding: 0 1.5rem; 
}

.community-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.community-container-row1{
    display: flex;
    flex-direction: row;
    gap: 8px;
}
.community-container-row2 {
    display: flex;
    flex-direction: row;
    gap: 8px; /* Gap between cards in the same column */
}

/* --- Common Card Styles (Refactored) --- */
.community-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.knowledge-icon, .computing-icon, .science-icon, .art-icon {
    width: 128px;
    height: 128px;
    object-fit: contain;
    flex-shrink: 0;
}

.card-text {
  flex-grow: 1;
}

.community-card-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    margin: 0 0 8px 0;
    letter-spacing: 0.05em;
    color: #000000;
}

.community-card-descriptions {
    font-size: clamp(0.5rem, 2.5vw, 1rem);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    margin: 0; /* Removed margin to align with title */
}


/* --- Media Query for Responsiveness --- */
@media (max-width: 768px) {
    .community-wrapper {
        padding: 3rem 1rem; /* Reduce padding on smaller screens */
    }

    .community-container {
        grid-template-columns: 1fr; /* Stack the columns into a single column */
        gap: 8px;
    }
}



/*INFO CARDS (EXPERT)*/


.cards-container-sec {
  background: linear-gradient(180deg, #f5f5f5, #448cd9, #f5f5f5);
  padding: 4rem 1rem; /* Add padding for spacing */
  font-family: 'Phudu', sans-serif;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.15rem;
}

.cards-container-sec::before,
.cards-container-sec::after {
  position: absolute;
  color: white;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.cards-container-sec::before {
  content: '✦';
  font-size: 80px;
  top: 12%; 
  left: 8%;
  text-shadow:
  -3vw 6vh 0 white,
  85vw 90vh 0 white;
}

.cards-container-sec::after {
  content: '•';
  font-size: 80px;
  top: 10%;
  left: 7%;
  text-shadow:
  2.5vw 12vh 0 white,
  89vw 88vh 0 white;
}


  .card-upper {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .header-card-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    margin: 0;

    text-shadow: 
      -1px -1px 0 #000,  
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
  }

  .header-card-description {
    font-size: clamp(0.5rem, 2vw, 1rem);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    margin: 10px 0 20px 0;
    text-align: center;
  }

  .cards-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: none; 
    padding: 0;
  }
  
  .info-card {
    background:linear-gradient(135deg, #ffffff, #f9f9ff);
    border-radius: 20px;
    padding: 1.5rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }
  
  .card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .card-header img.icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
  }
  
  .card-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
  }
  
  .card-list-community {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .card-list-community li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.6;
    color: #000000;
    font-size: clamp(0.5rem, 2vw, 0.7rem);
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    position: static;
    padding-left: 0; 
  }
  
  .card-list-community li::before {
    content: '✦';
    color: #333;
    font-size: 1.2rem;
    /* Remove old positioning */
    position: static; 
  }

  .card-list-community li strong {
    font-weight: 700;
    color: #000;
  }

  .info-card .cta-button {
    background-color: #e0e5f5;
    border: 1px solid #c8d0e7;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto;
  }
  
  .info-card .cta-button:hover {
    background-color: #d1d8ee;
    transform: scale(1.05);
  }

  .cta-button span {
    content: '↗';
    background-color: transparent;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    padding: 0;
    transition: transform 0.3s ease;
  }
  
  .info-card .cta-button:hover span {
    transform: rotate(-45deg);
  }



/*STACKED-CARD (BLOGS)*/

 .stack-card-title-wrapper {
   font-family: 'Phudu', sans-serif;
   background-color: #9dbbdb;
 }

 .stack-card-title {
   text-align: center;
   max-width: 900px;
   margin-left: auto;
   margin-right: auto;
 }

 .stack-card-title-text {
   font-size: clamp(1.5rem, 4vw, 3.25rem);
   font-weight: 500;
   margin: 0;
   text-shadow:
     -1px -1px 0 #000,
     1px -1px 0 #000,
     -1px 1px 0 #000,
     1px 1px 0 #000;
 }

 .new-section {
   background: linear-gradient(180deg, #9dbbdb, #f5f5f5);
   font-family: 'Phudu', sans-serif;
   display: flex;
   width: 100%;
   justify-content: center;
   align-items: center;
   padding: 2em 1.5rem;
 }

 @media (max-width: 600px) {
   .new-section {
     padding: 1em 1rem;
   }
 }

 /* --- MODIFIED: Card container is now centered with a max-width --- */
 .stack-cards {
   list-style: none;
   width: 100%;
   margin: 0 0 200px 0; /* Removed centering and max-width */
   padding: 0;
   display: block;
 }

 .stack-cards__item {
   position: sticky;
   top: var(--space-sm);
   transform-origin: center top;
   
   /* Sizing and centering applied here */
   width: 100%;
   max-width: 768px;
   margin: 0 auto 2em auto; /* Top, LR-auto, Bottom */
   
   height: auto;
   min-height: 400px;
   border-radius: 1.5rem;
   padding: 0; 
   will-change: transform;
   transition: transform 0.15s ease-out;
 }
 /* --- MODIFIED: Card width is now 100% of its parent --- */
 .card {
   position: sticky;
   top: 0;
   background: #f5f1e6;
   border-radius: 30px;
   padding: 30px;
   color: white;
   width: 100%; /* Card takes full width of its container */
   margin: auto;
   box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
   overflow: hidden;
   scroll-snap-align: start;
   transition: transform 0.3s ease;
   min-height: 400px;
   overflow-y: auto;
 }

 @media (min-width: 1200px) {
   .card {
     height: auto; /* Adjusted for better flexibility */
   }
 }

 .card:hover {
   transform: scale(1.01);
 }

 .card:first-child {
   margin-top: 0;
 }

 .card::before {
   content: "";
   position: absolute;
   inset: 0;
   background: inherit;
   opacity: 0.6;
   z-index: -1;
 }

 .card__inner {
   will-change: transform;
   background: white;
   border-radius: 14px;
   display: flex;
   overflow: hidden;
   box-shadow: 0 25px 50px -12px hsla(265.3, 20%, 10%, 0.35);
   transform-origin: center top;
 }

 .card__header {
   margin-bottom: 20px;
 }

 .card-title-part {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 40px;
   width: 100%;
   flex-wrap: wrap;
 }

 .card__title-row {
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   flex-wrap: nowrap;
 }

 .card__tags {
   overflow: hidden;
   text-overflow: ellipsis;
   padding: 1rem;
 }

 .card__title {
   font-size: 1.8rem;
   font-weight: 600;
   padding: 0;
   margin: 0;
   color: black;
   white-space: nowrap;
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   transition: transform 0.3s ease;
   cursor: pointer;
 }

 .card__title:hover {
   text-decoration: none;
   color: #353535;
   transform: scale(1.02);
 }

 .card__chevron {
   display: inline-block;
   transition: transform 0.3s ease, opacity 0.3s ease;
   opacity: 0;
   transform: translateX(-10px);
 }

 .card__title:hover .card__chevron {
   opacity: 1;
   transform: translateX(0);
 }

 .card__tags {
   display: flex;
   gap: 10px;
   font-weight: 600;
   flex-shrink: 1;
   flex-wrap: wrap;
   color: black;
   font-size: 15px;
 }

 .card__tags span {
   white-space: nowrap;
   background-color: rgba(255, 255, 255, 0.25);
   border-radius: 50px;
   padding: 3px 5px 3px 10px;
   transition: all 0.3s ease;
   transform: scale(1);
 }

 .card__tags span:hover {
   background-color: rgba(255, 255, 255, 0.35);
   transform: scale(1.1);
   box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
 }

 .card__description {
   font-size: 14px;
   line-height: 1.4;
   color: black;
   margin: 0;
   max-width: 100%; /* Changed from 90% */
   font-family: "Montserrat", sans-serif;
   font-weight: 300;
 }

 .card__content {
   padding: 40px 30px;
   display: flex;
   flex-direction: column;
 }

 /* --- MODIFIED: Image container has no background --- */
 .card__image-container {
   margin-top: 20px;
   /* background: #000000; */ /* Removed black background */
   border-radius: 20px;
   overflow: hidden;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
   max-height: 25rem;
   flex-shrink: 0;
 }

 /* --- MODIFIED: Image now covers the container --- */
 .card__image {
   width: 100%;
   height: 100%;
   object-fit: cover; /* Changed from 'contain' to 'cover' */
   display: block;
   transition: transform 3s ease;
 }

 .card__image:hover {
   transform: scale(1.12);
 }

 /* Responsive Adjustments */
 @media (max-width: 1024px) {
   .card {
     /* max-width removed to inherit from .stack-cards */
     padding: 25px;
   }

   .card__title {
     font-size: 1.5rem;
   }
 }

 @media (max-width: 768px) {
   .card {
     /* max-width removed */
     padding: 20px;
     margin-top: 3rem;
   }

   .card__title {
     font-size: 1.2rem; /* Adjusted for better fit */
   }
 }

 @media (max-width: 480px) {
   .card {
     /* max-width removed */
     border-radius: 20px;
     padding: 15px;
   }

   .card__title {
     font-size: 1rem; /* Adjusted for better fit */
     white-space: normal;
   }

   .card__description {
      -webkit-line-clamp: 4; /* Allow more lines on mobile */
   }

   .card__image-container {
     max-height: 18rem;
   }
 }

/* ======================================= */
/* ======   All Events Styles  ====== */
/* ======================================= */



.event-background{
    background: linear-gradient(180deg, #f5f5f5, #b0d1ff);
    padding: 4rem 2rem; /* Add padding for spacing */
}

.event-wrapper {
    font-family: "Phudu", sans-serif;
    background-color: #f5f1e6;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 32px;
    margin: 2rem 1rem;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 2rem;
    padding-top: 1.5rem;
    margin-top: 7rem;
}

.event-upper {
    text-align: center;
    margin-bottom: 20px;
}

.event-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #000;
}

.event-grid {
    display: grid;
    gap: 30px;
}

.event-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #efeeea;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    gap: 0px;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.card-content {
    display: flex;
    flex-direction: column;
    padding: 3%;
    max-width: 100%; /* Prevents the container from expanding beyond its grid column */
    overflow: hidden; /* Ensures nothing spills out */
}

.event-card-title {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 0px 0;
    color: #333;
}

.event-location, .event-time {
    font-size: 1rem;
    font-weight: 700;
    color: black;
    margin: 0 0 0px 0;
}

.event-description {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    margin: 10px 0 20px 0;
    overflow-wrap: break-word; /* Allows long words or strings to break and wrap */
    word-wrap: break-word;     /* Legacy fallback for older browsers */
}


.signup-button {
    background-color: #c2deff !important;
    color: #000000 !important;
    border: none;
    border-radius: 20px;
    padding: 10px 40px;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-start;
    font-weight: bold;
    font-family: "Phudu", sans-serif;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.signup-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.signup-button:hover::before {
    width: 200px;
    height: 200px;
}

.signup-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.signup-button:active {
    transform: scale(0.98);
}

.image-placeholder {
    background-color: #afd0ff; /* Light blue background */
    border-radius: 40px 40px 40px 10px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 1rem;
    background-clip: padding-box;
    border: 1rem solid #afd0ff; 
}


.more-events-container {
    text-align: center;
    margin-top: 40px;
}

.more-events-button {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 35px;
    padding: 10px 20px 10px 60px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: "Phudu", sans-serif;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.more-events-button:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}


.more-events-icon {
  background-color: #e6defb;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  font-weight: bold;
  font-size: 1.5rem;
}

.less-events-container {
    text-align: center;
    margin-top: 40px;
}

.less-events-button {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 35px;
    padding: 10px 20px 10px 60px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: "Phudu", sans-serif;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.less-events-button:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Styling for the main countdown container */
.event-countdown {
    display: flex;
    justify-content: flex-start; /* Aligns timer to the left on desktop */
    gap: 15px; /* Space between segments */
    margin: 10px 0; /* Space above and below the timer */
    font-family: "Phudu", sans-serif;
}

/* Styling for each segment (e.g., the "Days" block) */
.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
    /* Add a minimum width to prevent segments from becoming too narrow */
    min-width: 50px;
}

/* Styling for the large numbers (00) */
.countdown-number {
    /* This clamp() function is already making the font size responsive! */
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #333;
}

/* Styling for the small labels (Days, Hours, etc.) */
.countdown-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #666;
}

/* Styling for the message when an event has started */
.event-ended {
    font-weight: bold;
    color: #c44d56; /* A reddish color */
    background-color: #fdd;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

/* ## Sign-up Form Styling ## */

/* This will be the container for our new form */
.signup-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds space between the form fields */
    padding: 10px 0; /* Some vertical spacing */
}

.signup-form-wrapper, .event-details {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.event-details.hidden {
    display: none !important;
    opacity: 0;
    transform: scaleY(0.8);
}

.event-details:not(.hidden) {
    opacity: 1;
    transform: scaleY(1);
    animation: slideInDetails 0.3s ease-out;
}

.signup-form-wrapper.hidden {
    display: none !important;
    opacity: 0;
    transform: scaleY(0.8);
}

.signup-form-wrapper:not(.hidden) {
    opacity: 1;
    transform: scaleY(1);
    animation: slideInForm 0.3s ease-out;
}

@keyframes slideInForm {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

@keyframes slideInDetails {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* Styling for the input fields to match the 'after' image */
.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: #f0f0f0;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #000000 !important; /* Explicitly set text color to black */
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: #c2deff;
    background-color: #fff;
    transform: scale(1.01);
    box-shadow: 0 2px 10px rgba(194, 222, 255, 0.3);
}

.form-input::placeholder {
    color: #999;
    transition: color 0.2s ease-in-out;
}

.form-input:focus::placeholder {
    color: #ccc;
}


/* Styling for the new black submit button */
.form-submit-button {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none;
    font-size: clamp(1.25rem, 0.5vw, 4.5rem) !important;
    border-radius: 20px;
    padding: 15px 40px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start;
    font-family: "Phudu", sans-serif;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.form-submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
}

.form-submit-button:hover::before {
    width: 120px;
    height: 120px;
}

.form-submit-button:hover {
    background-color: #7d7db8 !important;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.form-submit-button.loading {
    background-color: #666;
    cursor: not-allowed;
    position: relative;
}

.form-submit-button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Success message styling */
.success-message {
    background: linear-gradient(135deg, #afd0ff, #afd0ff);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    animation: successSlide 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0);
}

@keyframes successSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* A simple utility class to hide elements */
.hidden {
    display: none !important;
}

/* Container to hold both form buttons */
.form-button-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between the two buttons */
}

/* Styling for the new close button */
.form-close-button {
    background-color: none;
    color: #000000;
    font-size: clamp(1.25rem, 0.5vw, 4.5rem);
    border: none;
    border-radius: 20px;
    padding: 15px 30px;
    font-weight: bold;
    cursor: pointer;
    font-family: "Phudu", sans-serif;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.form-close-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.form-close-button:hover::before {
    width: 100px;
    height: 100px;
}

.form-close-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.form-close-button:active {
    transform: scale(0.98);
}




/* On mobile, make buttons stack vertically for better usability */
@media (max-width: 800px) {
    .form-button-container {
       flex-direction: column;
       align-items: center; /* Center the stacked buttons */
       width: 100%;
    }

    .form-submit-button, .form-close-button {
        width: 80%; /* Make buttons take up more width */
        text-align: center;
    }
}

/* Minor adjustment for responsiveness */
@media (max-width: 800px) {
    .form-submit-button {
        /* Center the button on mobile, like the original button */
        align-self: center;
    }
}

/* ---------------------------------- */
/* ## Responsive Adjustments ## */
/* ---------------------------------- */
/* For screens smaller than 800px */
@media (max-width: 800px) {
    .event-card {
        /* Switch to a single-column layout */
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        /* Hide the image completely */
        display: none;
    }

    .card-content {
        /* Center all content horizontally */
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        padding: 3%;
        
        max-width: 100%; /* Prevents the container from expanding beyond its grid column */
        overflow: hidden; /* Ensures nothing spills out */
    }

    .event-description{
      max-width: 95%;
        word-break: break-word; /* Add this */
        hyphens: auto; /* Add this for better hyphenation */
    }
    .event-countdown {
        /* Ensure the countdown segments are centered */
        justify-content: center;
    }

    .signup-button {
        /* Override the default left-alignment to center the button */
        align-self: center;
    }
}

/* For screens smaller than 576px (tablets and mobile phones) */
@media (max-width: 576px) {
    .event-countdown {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .event-description {
        font-size: 0.8rem;
        line-height: 1.5;
        max-width: 95%;
    }
}

/* For screens smaller than 420px (very narrow mobile phones) */
@media (max-width: 420px) {
    .event-countdown {
        gap: 8px;
    }

    .countdown-segment {
        padding: 4px 8px;
        min-width: 45px;
    }

    .countdown-label {
        font-size: 0.65rem;
    }
}

/* Mobile responsive enhancements */
@media (max-width: 800px) {
    .signup-button, .form-submit-button {
        align-self: center;
        width: auto;
        min-width: 60%;
        text-align: center;
    }
    
    .form-button-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .form-submit-button, .form-close-button {
        width: 80%;
        text-align: center;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .signup-form-wrapper, .event-details, 
    .signup-button, .form-submit-button, 
    .form-close-button, .event-card {
        transition: none;
        animation: none;
    }
}

/* Focus indicators for accessibility */
.signup-button:focus, 
.form-submit-button:focus, 
.form-close-button:focus {
    outline: 3px solid #c2deff;
    outline-offset: 2px;
}

.form-close-button:focus {
    outline: 3px solid #a8c8ff;  /* Slightly darker outline since button is same color */
    outline-offset: 2px;
}

.form-input:focus {
    outline: 3px solid #c2deff;
    outline-offset: 2px;
}



/*PARTNERS*/



.partner-wrapper {
    background: linear-gradient(0deg, #f5f5f5, #b0d1ff);
    font-family: "Phudu", sans-serif;
    padding: 50px;
}

/* Container for the description and title */
.partner-upper {
    margin-bottom: 40px;
}

/* "Strong community needs strong partners" text */
.partner-descriptions {
    color: black;
    font-size: clamp(0.5rem, 2.5vw, 1.15rem);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    margin-bottom: 0px; 
}

/* "OUR PARTNERS" title */
.partner-title {
    color: #1a1a1a;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 600;
}

.partner-logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
    padding: 20px 15px;
}

.partner-logo {
    display: inline-flex;
    border-radius: 35px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
    display: block;
}

@media (max-width: 768px) {
    .partner-logo-container {
        gap: 30px;
        padding: 20px;
    }

    .partner-logo {
        width: 140px;
        height: 140px;
        border-radius: 30px;
    }
}


@media (max-width: 1024px) {
    .partner-logo-container {
        gap: 40px;
    }

    .partner-logo {
        width: 160px;
        height: 160px;
        border-radius: 35px;
    }
}

.logo-placeholder {
    background-color: #f7d147;
    font-weight: 900;
}

.placeholder-text-main {
    font-size: 2rem;
    color: #1a1a1a;
    line-height: 1.1;
}

.placeholder-text-sub {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
}



/*MARQUEE*/


.container {
    width: 100%;
    overflow: hidden;
  }
  
  .marquee {
    background-color: #9195d0;
    overflow: hidden;
    user-select: none;
    display: flex;
    transform: rotate(0deg);
    margin-bottom: 40px;
  }
  
  .marquee-content {
    background-color: #9195d0;
    list-style: none;
    flex-shrink: 0;
    display: flex;
    min-width: 100%;
    align-items: center;
    gap: var(--gap);
    animation: marquee 36s linear infinite;
  }

  .text {
    background:white;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    font-size: 50px;
    white-space: nowrap;
    font-family: 'Phudu', sans-serif;
  }

    @media (max-width: 480px) {
    .text {
      font-size: 25x;
    }
  }
  
  /* 🛠 KEYFRAMES MUST BE OUTSIDE media query */
  @keyframes marquee {
    to {
      transform: translateX(-100%);
    }
  }




  /*OTHER-CHANNELS*/


  
.follow-section {
    font-family: "Phudu", sans-serif;
    text-align: center;
}

.follow-upper{
    margin-bottom: 40px;
    /*background-color: #dad3cb;*/
}

/* Styling for the title */
.follow-title {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: bold;
    color: #000000;
    margin-bottom: 2rem;
    padding: 10px;
}

.follow-title .title-blue {
    color: #6a6cff; /* A blue color similar to the image */
}

/* Container for the buttons */
.follow-buttons-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 30px;
}

/* Styling for each button */
.follow-button {
    background-color: #f8f8f8;
    border: 1px solid #f8f8f8;
    border-radius: 12px;
    padding: 1.5rem 3rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
}

.follow-button:hover {
    background-color: #e9e9e9;
    transform: translateY(-2px);
}

/* Icon styling */
.follow-button .icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    filter: grayscale(100%);
    opacity: 0.7;
}



/*FOOTER*/




.site-footer {
    background-color: #9394d3;
    color: #ffffff;
    padding: 70px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.newsletter-text {
    margin: 0 0 25px 0;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 1.5px;
}

/* Button styles (No changes here) */
.footer-cta-button {
    background-color: #ffffff;
    color: #000000;
    border-radius: 50px;
    padding: 12px 15px 12px 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.footer-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.arrow-icon-wrapper {
    background-color: #7d7db8;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NEW: Styles for the navigation wrapper */
.footer-nav-wrapper {
    display: flex; /* Lays out the two nav lists side-by-side */
    gap: 60px;     /* Adjusts the space between the two lists */
    padding-top: 10px; /* Aligns the lists with the main title */
}

/* Navigation link sections (No changes here) */
.footer-nav ul {
    font-family: 'Montserrat', sans-serif;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.footer-nav li {
    margin-bottom: 5px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for tablets and mobile devices */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }
    
    .footer-nav-wrapper {
        justify-content: center; /* Center the nav lists on mobile */
    }
}




/*HERO-CAROUSEL*/


.header-hero-wrapper {
    padding: 2.5%;
}

.header-hero-container {
    border-radius: 3%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4%; /* Was 40px */
    align-items: center;
    padding: 5%;
    background-color: rgb(253, 253, 253);
}

.header-hero-text {
    flex: 1 1 40%;
    max-width: 50%;
}

.header-hero-title {
    font-size: 250%;
    font-weight: 800;
    color: #001F54;
    border-radius: 3%;
    margin-bottom: 2%;
}

.header-hero-description {
    font-size: 100%;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2.5%;
}

.header-hero-button {
    background-color: #0047FF;
    padding: 2% 4%;
    border: none;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.header-hero-button:hover {
    background-color: #0033cc;
}

/* Carousel Styles */
.header-carousel-outer {
    height: 40%;
    overflow: hidden;
    border-radius: 2%;
    position: relative;
    min-width: 50%;
}

.header-carousel-outer::before,
.header-carousel-outer::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 15%;
    z-index: 2;
    pointer-events: none;
}

.header-carousel-outer::before {
    top: 0;
    background: linear-gradient(to bottom, #fff, transparent);
}

.header-carousel-outer::after {
    bottom: 0;
    background: linear-gradient(to top, #fff, transparent);
}

.header-carousel-inner {
    display: flex;
    flex-direction: column;
    animation: slideUp 20s infinite;
    position: relative;
    z-index: 1;
}

.header-carousel-img {
    width: 100%;
    height: 95%;
    object-fit: cover;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  min-width: 30%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
   color: black;
}

.logo {
  font-weight: bold;
  font-size: 1.2em;
}

.countdown-card{
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  min-width: 30%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  color: black;
  position: sticky;
  top: 0;
  background-size: 100% 100%;
  background-position: 0% 50%;
  background-blend-mode: hard-light;
  border-radius: 30px;
  padding: 30px;
  max-width: 50%;
  margin: auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  scroll-snap-align: start;
  margin-top: 5rem;
  transition: transform 0.3s ease;
  min-height: 400px; /* Optional: ensures a decent minimum size on mobile */
  overflow-y: auto;
}

.countdown {
  display: flex;
  justify-content: space-between;
  background: #111;
  color: white;
  border-radius: 15px;
  padding: 15px 10px;
  margin: 20px 0;
}

.countdown div {
  flex: 1;
}

.countdown span {
  display: block;
  font-size: 1.4em;
  font-weight: bold;
}

.countdown small {
  font-size: 0.7em;
  opacity: 0.7;
}

.title {
  font-weight: 900;
  letter-spacing: 1px;
  margin: 10px 0 5px;
  font-size: 30px;
 
}

.subtitle {
  font-weight: 700;
  margin: 0 0 20px;
    font-size: 30px;
}

.info {
 
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
  font-weight: 500;
}

.notion-link {
  display: inline-flex;
  align-items: center;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 18px;
  background:rgb(37, 139, 255);
  text-decoration: none;
  font-weight: bold;
  color: white;
  transition: background 0.2s ease;
}

.notion-link:hover {
  background: rgb(141, 194, 255);
}

.notion-link img {
  height: 18px;
  margin-right: 8px;
}
.navbar {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1100px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 60px;
    padding: 10px 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease-in-out;   /* keep your hide/reveal anim */
  }
/* Logo */
.logo {
  height: 20px;
  transition: transform 0.3s ease-in-out;
  /* background-color: #000; */
  margin-top: 8%;



}

.logo:hover {
  transform: scale(1.05); /* or use rotate(360deg), translateX, etc. */
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
          /* clips anything that tries to spill */
  box-sizing: border-box;
}

/*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*/

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Ensure it's above other nav elements */
    margin-left: auto; /* Push to the right */
}

.hamburger-bar {
    width: 2rem;
    height: 0.25rem;
    background-color: #333;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger animation to 'X' */
.hamburger--active .hamburger-bar:nth-child(1) {
    transform: translateY(0.75rem) rotate(45deg);
}
.hamburger--active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.hamburger--active .hamburger-bar:nth-child(3) {
    transform: translateY(-0.75rem) rotate(-45deg);
}

@media (max-width: 768px) {
    /* Adjust logo font size on mobile */
    .logo-text {
        font-size: 18px !important; /* !important is needed to override inline style */
        margin-left: 20px !important;
    }

    /* Hide the desktop nav links and CTA button */
    .nav-menu {
        display: none; /* Hide by default on mobile */
        position: absolute;
        top: 100%; /* Position it right below the navbar */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-radius: 20px 20px 20px 20px;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        gap: 0;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    .cta-button {
        display: none; /* Hide CTA button to save space */
    }

    /* Show the mobile menu when active */
    .nav-menu--active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    /* Style list items for vertical layout */
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    .nav-menu li a {
        font-size: 18px; /* Make tap targets larger */
    }
    .nav-menu li a:hover::after {
        width: 0; /* Optional: disable underline hover on mobile */
    }

    /* Show the hamburger icon */
    .hamburger {
        display: flex;
    }
}

/*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*//*=====RESPONSIVE======*/


.nav-menu {
  display: flex;
  justify-content: center;
  gap: 40px;
  /* background-color: #000; */
  list-style: none;
  margin: 0;
  padding: 5px;
  
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
}

/* Nav links */
.nav-menu li a {
  position: relative;
  text-decoration: none;

  font-size: 16px;
  /* margin: 2rem; */
  font-weight: 400;
  color: #000;
  transition: transform 0.3s ease;

}

.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: black;
  transition: width 0.3s ease;
}

.nav-menu li a:hover {
  transform: scale(1.05);
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* Add this new class for hiding the navbar */
.navbar--hidden {
  transform: translateY(-150%);
  transition: transform 0.4s ease-in-out;
}

/* Add transition to the default state */
.navbar {
  transition: transform 0.4s ease-in-out;
}

.nav-cta-button {
  margin-left: auto;                /* pushes it hard right */
  background: #fff;
  border: none;
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 4px 5px rgb(206, 236, 254);
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-cta-button:hover {
  background: #f0f0f0;
  transform: scale(1.03);
}

@keyframes slideUp {
    0%   { transform: translateY(0); }
    33%  { transform: translateY(-100%); }
    66%  { transform: translateY(-200%); }
    100% { transform: translateY(0); }
}

/* Generic Button Style 2 */
.button2 {
    background: #0d1c4d;
    border-radius: 5%; /* Was 12px */
    font-weight: bold;
    font-size: 150%; /* Was 1.5rem */
    margin-top: 2%; /* Was 1rem */
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 1.5% 2.5%; /* Was 10px 16px */
}

.button2:hover {
    transform: scale(1.05);
}
  
  
@keyframes slideUpCards {
    0%   { transform: translateY(0); }
    33%  { transform: translateY(-100%); }
    66%  { transform: translateY(-200%); }
    100% { transform: translateY(0); }
}

/* === Language Dropdown Styles === */

/* Main container for positioning */
.language-dropdown {
  position: relative;
  margin-left: auto; /* Pushes it next to the nav menu */
}

/* The button that shows the selected flag and opens the menu */
.language-dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 5px;
  gap: 8px;
}

.flag-icon {
  width: 24px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Simple CSS triangle for the dropdown arrow */
.arrow-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  transition: transform 0.3s ease;
}

/* Rotate arrow when menu is active */
.language-dropdown-menu.active + .language-dropdown-toggle .arrow-down {
    transform: rotate(180deg);
}


/* The dropdown menu itself (hidden by default) */
.language-dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 120%; /* Position below the toggle button */
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden; /* Ensures child elements conform to border-radius */
  min-width: 150px;
}

/* The class that JavaScript toggles to show the menu */
.language-dropdown-menu.active {
  display: block;
}

/* Styling for each link within the dropdown */
.language-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  font-family: 'Phudu', sans-serif;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.language-dropdown-menu a:hover {
  background-color: #f5f5f5;
}

/* === CORRECTED LAYOUT STYLES === */

/* NEW: Wrapper for right-aligned items */
.navbar-right {
  margin-left: auto; /* THIS is what pushes the group to the right */
  display: flex;
  align-items: center;
  gap: 25px; /* Adjust the space between the dropdown and the button */
}

/* REMOVE margin-left: auto from the dropdown */
.language-dropdown {
  position: relative;
  /* margin-left: auto; */ /* <<< REMOVE THIS LINE */
}

/* REMOVE margin-left: auto from the CTA button */
.nav-cta-button {
  /* margin-left: auto; */ /* <<< REMOVE THIS LINE */
  /* ... keep other button styles */
}


/* === RESPONSIVE CORRECTIONS === */
@media (max-width: 768px) {
  .navbar-right {
      order: 1; /* Places the group before the hamburger */
      margin-left: auto;
      margin-right: 15px;
      gap: 0; /* Remove gap on mobile */
  }

  /* We hide the button on mobile, so the group only contains the dropdown */
  .nav-cta-button {
      display: none;
  }
}

/* === Responsive Adjustments === */

@media (max-width: 768px) {
    .language-dropdown {
        /* Move dropdown before the hamburger menu */
        order: 1;
        margin-left: auto;
        margin-right: 15px;
    }

    .hamburger {
        order: 2; /* Ensure hamburger is last */
        margin-left: 0;
    }

    /* Hide text links and CTA on mobile */
    .nav-menu, .nav-cta-button {
        display: none;
    }
}