  :root {
  --primary-foreground: #ffffff;
  --muted: #f6f6f8;
  --muted-foreground: #717182;
  --accent-color: #4F46E5;
  --radius: 10px;
  --white: #fff;
  --black: #000;
  --title: #555;
}
    
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: Inter, sans-serif;
        background: var(--muted);
        line-height: 1.6;
    }

    html {
        scroll-behavior: smooth;
    }

    body.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

    a {
        text-decoration: none;
        color: inherit;
    }

    img {
        max-width: 100%;
        display: block;
    }

    .hollow {
        color: transparent;
        -webkit-text-stroke: 1px var(--black);
         transition: all 0.2s ease-in-out;
    }

  .navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .logo {
      padding: 20px;
    }

     .navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 2px 2px 4px var(--muted-foreground);
  }

  .navbar-title {
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 1px;
    position: absolute;
    top: 20px;
    left: 80px;
    color: var(--black)
  }

   li {
      list-style-type: none;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      position: absolute;
      top: 0;
      right: 0;
      padding: 20px;
    }

      .nav-links li a.active-tab{
      color: var(--accent-color);
    }

    li>a:hover {
     background: linear-gradient(to right, blue, purple);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      transition: all 0.3s ease; 
    }

 .navbar-plan-btn {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    margin-left: 12px;
    margin-top: -5px;
  }

  .navbar-plan-btn:hover {
    background: linear-gradient(to right, var(--accent-color), purple);
    scale: 1.02;
  }

  /* Hamburger button hidden on desktop */
  .navbar-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }

  /* Turn into an X */
  .navbar-toggle.active {
    transform: rotate(90deg);
  }
    .welcome-section {
        position: relative;
        height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.5);
    }

    .welcome {
        text-align: center;
    }

    .welcome h1 {
        font-size: clamp(32px, 8vw, 80px);
        color: var(--white);
        font-weight: 600;
        margin: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .welcome h1:hover {
        -webkit-text-stroke: 2px var(--white);
        color: transparent;
        transition: 0.5s ease-in-out;
    }

    .welcome-section.shift-down .welcome {
        transform: translateY(20px);
        opacity: 0.9;
    }

    .welcome p {
        color: var(--white);
        font-size: clamp(16px, 3vw, 20px);
        max-width: 600px;
        margin: 20px auto 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .welcome-section.shift-down .welcome p {
        transform: translateY(10px);
        opacity: 0.9;
    }

    .welcome a {
        text-decoration: none;
        display: inline-block;
        color: var(--white);
        font-size: clamp(16px, 2.5vw, 24px);
        border: 2px solid var(--white);
        padding: clamp(8px, 1.5vw, 14px) clamp(30px, 5vw, 70px);
        border-radius: 50px;
        margin-top: 20px;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .welcome a:hover {
        opacity: 0.7;
        transform: translateY(-2px);
    }

    .welcome-section.shift-down a {
        transform: translateY(10px);
        opacity: 0.9;
    }

    .back-video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        object-fit: cover;
        z-index: -1;
        opacity: 0.5;
    }

    /* mission-vision-beliefs section */
    .about-us-section {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 20px; 
        padding: 40px 20px;
        max-width: 1200px;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .about-card {
        flex: 1 1 20%;
        background: var(--white);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .about-card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    }

    .about-card i {
        font-size: 2rem;
        background: var(--muted);
        border-radius: 50%;
        padding: 15px;
        margin-bottom: 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .about-card:hover i {
        color: var(--accent-color);
        background: var(--muted);
        transform: rotate(10deg);
    }

    .about-card h2 {
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    .about-card p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--muted-foreground);
    }

    .our-story-section {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 40px;
        padding: 60px 20px;
        background-color: var(--muted);
        width: 100%;
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    .our-story-content,
    .our-story-image {
        flex: 1 1 400px;
        max-width: 600px;
    }

    .our-story-content h2 {
        font-size: clamp(24px, 4vw, 36px);
        margin-bottom: 20px;
        color: var(--title);
    }

    .our-story-content p {
        font-size: clamp(16px, 2vw, 10px);
        line-height: 1.8;
        color: var(--muted-foreground);
        text-align: justify;
    }

    .our-story-image img {
        width: 80%;
        height: auto;
        border-radius: 12px;
        margin: 20px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    }

    .story-button {
        display: inline-block;
        padding: 5px 15px;
        border-radius: 25px;
        background-color: var(--black);
        color: var(--white);
        font-weight: bold;
        cursor: default;
        margin-bottom: 15px;
        font-size: 0.6rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Leadership Section */
    .leadership-section {
        margin-top: -60px;
        padding: 40px 5px;
        text-align: center;
    }

    .leadership-section h1 {
        font-size: clamp(28px, 4vw, 36px);
        margin-bottom: 10px;
        color: var(--title);
    }

    .leadership-section p {
        font-size: clamp(16px, 2vw, 18px);
        margin-bottom: 40px;
        color: var(--muted-foreground);
    }

    .leadership-cards-container {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 20px;
        flex-wrap: wrap;
    }

    .leadership-card {
        flex: 1 1 300px;
        max-width: 350px;
        background: var(--white);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .leadership-card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .leadership-card img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
        display: block;
        margin: 0 auto 15px auto;
    }

    .leadership-card h5 {
        margin-bottom: 15px;
        font-size: 1.0rem;
        color: var(--title);
    }

    .leadership-card p {
        font-size: 0.85rem;
        line-height: 1.6;
        color: var(--muted-foreground);
    }

    /* executive committee section */
    .polaroid-container {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        align-items: stretch;
    }
    
    div.polaroid {
        background-color: var(--white);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
        border-radius: 20px;
        overflow: hidden;
        flex: 1 1 250px;
        max-width: 250px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    div.polaroid:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    div.polaroid img {
        width: 270px;
        height: 200px;
        object-fit: cover;
        display: block;
        margin: 0 auto 15px auto;
    }

    div.polaroid-text {
        text-align: center;
        margin-top: -7px;
        font-size: 0.95rem;
    }

    div.polaroid-text span {
        color: var(--muted-foreground);
        font-weight: bold;
    }

    /* footer */
    footer {
        margin-top: 80px;
        background-color: var(--white);
        padding: 40px 20px 20px 20px;
        color: var(--title);
        font-family: Inter, sans-serif;
    }

    .footer-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-column h4 {
        margin-bottom: 15px;
        font-size: 1.2rem;
        color: var(--black);
    }

    .footer-column p,
    .footer-column a {
        margin-bottom: 8px;
        display: block;
        font-size: 0.9rem;
        color: var(--title);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-column a:hover {
        color: var(--accent-color);
    }

    .social-icons {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

    .social-icon {
        font-size: 24px;
        transition: transform 0.3s ease;
    }

    .social-icon:hover {
        transform: scale(1.2);
    }

    .footer-bottom {
        text-align: center;
        margin-top: 20px;
        font-size: 0.85rem;
        color: var(--title);
    }

    /* media queries */
    /* for the back video to maintain aspect ratio  */
    @media (min-aspect-ratio: 16/9) {
        .back-video {
            width: 100%;
            height: auto;
        }
    }

    @media (max-width: 700px) {
        .navbar {
            flex-direction: column;
            height: auto;
            padding: 16px;
        }

        .navbar-left,
        .navbar-right {
            margin-bottom: 8px;
        }
    }

    /* Stack buttons vertically on small screens */
    @media (max-width: 600px) {
        .welcome a {
            display: block;
            width: 70%;
            margin: 10px auto;
            padding: 10px 0;
            font-size: 18px;
        }

        .footer-container {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .social-icons {
            justify-content: center;
        }
    }

    @media (max-width: 400px) {
        .welcome .button-group {
            flex-direction: column;
            gap: 10px;
        }

        .welcome .button-group a {
            width: 80%;
            margin: 0 auto;
        }
    }


    /* Small screens */
    @media (max-width: 900px) {
        .navbar {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      height: 70px;
      padding: 0 16px;
      background-color: var(--black);
    }

    .navbar-logo {
      position: absolute;
      top: 15px;
      left: 15px;
    }

    .navbar-title {
      color: var(--white);
      position: absolute;
      top: 20px;
      left: 60px;
    }

    .navbar-toggle {
      display: block;
      font-size: 28px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .navbar-toggle.open i {
      transform: rotate(90deg);
    }

    .navbar-center {
      display: flex;
      flex-direction: column;
      background-color: var(--black);
      position: absolute;
      top: 70px;
      width: 100%;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.4s ease, opacity 0.4s ease;
    }

    .navbar-center.active {
      max-height: 500px;
      opacity: 1;
    }

    .nav-links {
      position: static;
      flex-direction: column;
    }

    .nav-links li a {
      color: var(--white);
      padding: 12px 20px;
      display: block;
    }

    .nav-links li a:hover {
      color: transparent;
    }

    .fas,
    .far {
      color: var(--white);
    }

    .navbar-plan-btn {
      margin: 15px auto;
      width: 80%;
      background-color: var(--white);
      color: var(--black);
    }

    .navbar-center .nav-links li {
      opacity: 0;
      transform: translateY(-10px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .navbar-center.active .nav-links li {
      opacity: 1;
      transform: translateY(0);
    }

    .navbar-center.active .nav-links li:nth-child(1) {
      transition-delay: 0.05s;
    }

    .navbar-center.active .nav-links li:nth-child(2) {
      transition-delay: 0.1s;
    }

    .navbar-center.active .nav-links li:nth-child(3) {
      transition-delay: 0.15s;
    }

    .navbar-center.active .nav-links li:nth-child(4) {
      transition-delay: 0.2s;
    }

    .navbar-center.active .nav-links li:nth-child(5) {
      transition-delay: 0.25s;
    }

    .navbar-center.active .nav-links li:nth-child(6) {
      transition-delay: 0.30s;
    }

        /* Push welcome-section down when menu is open */
        .welcome-section.shift-down {
            margin-top: 500px;
            transition: margin-top 0.4s ease;
        }

        .welcome-section {
            transition: margin-top 0.4s ease;
        }

        .about-us-section {
            flex-direction: column;
            gap: 20px;
        }

        .about-card {
            flex: 1 1 100%;
        }

        .our-story-section {
            flex-direction: column;
            padding: 40px 20px;
        }

        .our-story-content,
        .our-story-image {
            flex: 1 1 100%;
            max-width: 100%;
        }

        .our-story-content p {
            text-align: left;
        }

        .leadership-cards-container {
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

        .polaroid-container {
            flex-direction: column;
            align-items: center;
        }

        .footer-container {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
    }

     @media (max-width: 950px){
     .navbar {
      flex-direction: row;
      justify-content: space-between;
      height: 70px;
      font-size: 13px;
    }

    .navbar-logo {
      position: absolute;
      top: 15px;
      left: 10px;
    }

    .navbar-title {
      position: absolute;
      top: 20px;
      left: 60px;
    }

    .navbar-plan-btn{
      padding: 8px;
      font-size: 13px;
    }
  }

  @media (max-width: 1100px){
     .navbar {
      flex-direction: row;
      justify-content: space-between;
      height: 70px;
      padding: 0 10px;
      font-size: 13px;
    }

    .navbar-logo {
      position: absolute;
      top: 15px;
      left: 10px;
    }

    .navbar-title {
      position: absolute;
      top: 20px;
      left: 60px;
    }

    .navbar-plan-btn{
      padding: 8px;
      font-size: 14px;
    }
  }
