* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

body {
  /*margin: 40px 40px 40px 40px;*/
  /*height:800vh; /* affects page size and display of sticky nav bar. May need to expand. */
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(120deg, #02aaf8, #f5f5f8);
  overflow-x: hidden; /* added for zoom effect */
}

html {
  scroll-behavior: smooth;
}

/* Zoom out effect on page load ----------------------------------*/
/* Page animation */
.page {
  animation: zoomOut 3s ease forwards;
  transform-origin: center center;
}

/* Keyframes */
@keyframes zoomOut {
  from {
    transform: scale(.01);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* End of Zoom out effect on page load */


.hero-button {
  display: block;
  width:min(100%, 1200px);
  margin:40px auto;
  
  background-color: #1e66ff; /* blue background */
  color: #ffffff;           /* white text */
  font-weight: 700;         /* bold text */
  text-align: center;

  padding: 16px 20px;

  border: 3px solid red;    /* red outline */
  border-radius: 12px;      /* rounded corners */

  cursor: pointer;
  box-sizing: border-box;

  text-transform: uppercase;
  letter-spacing: 1px;

  text-shadow: 1px 1px 2px black,
               3px 3px 6px rgba(0,0,0,0.3);
}


/* NavBar Styles ------------------------------------------------ */
.navbar {
  position:sticky;
  z-index: 1000;
  top:0;
  margin: 0 auto; /* centers the whole navbar */
  width: min(90%, 1200px); /* limits the width and centers it */
  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;

  /* Glassmorphism */
  background: rgba(249, 247, 247, 0.881);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius:14px;
  border:3px solid red;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  color: rgb(0, 0, 255);
  font-weight: bold;
  font-size: 20px;
  text-shadow: black 1px 0 1px;
}

.logo img {
  width: 50px;        /* adjust size */
  height: 50px;
  object-fit: contain;
  border-radius: 50%; /* optional */
}

/* NAV LINKS */
.nav-links {
  display:flex;
  gap:30px;
}

.nav-links a {
  position:relative;
  color:rgb(0, 0, 255);
  text-decoration:none;
  font-size:18px;
  padding:5px 0;
}

/* Hover underline animation */
.nav-links a::after {
  content:'';
  position:absolute;
  left:0;
  bottom:0px;
  width:0%;
  height:3px;
  background:red;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width:100%;
}

/* CTA BUTTON */
.cta {
  flex-shrink: 0;
  padding:8px 18px;
  border-radius:8px;
  border-color: blue;
  background: rgb(0, 0, 255);
  color:rgb(249, 249, 251);
  text-decoration:none;
  transition:0.3s;
}

.cta:hover {
  background: red;
}

/* MOBILE */
.menu-toggle {
  display:none;
  font-size:22px;
  color:red;
  cursor:pointer;
}

@media (max-width:768px) {
   .navbar {
    padding: 12px 16px;
    align-items: flex-start;
  }

  .logo {
    font-size: 16px;
  }
  
  .nav-links {
    position:absolute;
    top:20px;
    left:0;
    width:100%;
    flex-direction:column;
    align-items:center;
    background: white;
    backdrop-filter: blur(10px);
    display:none;
    padding:20px 0;
    margin-top:15px;
  }

  .nav-links.active {
    display:flex;
    color:red;
    font-weight:bold;

  }
  
  .menu-toggle {
    display:block;
    align-self:flex-end;

  }
}

  .nav-contact {
      text-align: center;
      font-size: 14px;
      color:rgb(0, 0, 255);
      border-top: 1px solid rgba(255,255,255,0.2);
      padding-top: 8px;
    }

/* CAROUSEL STYLES --------------------------------------------- */

    .carousel-container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      overflow: hidden;
      position: relative;
      background: #111;
    }

    .carousel-track {
      display: flex;
      width: 100%;
      transition: transform 0.8s ease-in-out;
      will-change: transform;
    }

    .carousel-slide {
      flex: 0 0 100%;
      min-width: 100%;
      position: relative;
      height: clamp(250px, 60vh, 700px);           /* Adjust height as needed */
    }


    .carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;      /* or contain — your choice */
      object-position: center;
      display: block;
    }

    /* Optional overlay text / caption */
    .caption {
      position: absolute;
      bottom: 15%;
      left: 5%;
      color: white;
      background: rgba(0,0,0,0.5);
      padding: 10px 18px;
      border-radius: 6px;
      font-family: system-ui, sans-serif;
      font-size: 1.3rem;
      max-width: 80%;
      pointer-events: none;
    }

    /* Navigation dots */
    .carousel-dots {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 12px;
      z-index: 10;
    }

    .dot {
      width: 12px;
      height: 12px;
      background: rgba(255,255,255,0.4);
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s;
    }

    .dot.active {
      background: white;
      transform: scale(1.3);
    }

    /* Make it responsive */
    @media (max-width: 768px) {
      .carousel-slide {
        height: 260px;
      }
      .caption {
        font-size: 1.1rem;
        bottom: 10%;
      }
      .nav-links {
        top: calc(100% + 10px);
        border-radius: 12px;
      }
      .logo {
        font-size: 16px;
        gap: 8px;
      }

      .logo img {
        width: 38px;
        height: 38px;
      }

    }

    @media (max-width: 480px) {
      .carousel-slide {
        height: 260px;
      }
      .caption {
        font-size: 0.95rem;
        padding: 8px 14px;
      }
    }

    .section {
      padding-top: 50px;
      margin-bottom: 50px;
      scroll-margin-top: 50px;
    }

    /* About Us --------------------------------------------- */

   .about-us {
    max-width: 950px;
    margin: 60px auto;
    padding: 50px;
    background: linear-gradient(145deg, #0d47a1, #1565c0);
    color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.9;
    }

    .about-us h2 {
        font-size: 3rem;
        font-weight: 800;
        text-align: center;
        margin-bottom: 30px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #ffffff;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.35);
        border-bottom: 4px solid #e53935;
        display: inline-block;
        padding-bottom: 10px;
    }

    .about-us p {
        font-size: 1.15rem;
        margin-bottom: 24px;
    }

    .about-us strong {
        color: #ffd54f;
        font-weight: 700;
    }

    .about-us ul {
        margin-top: 20px;
        padding-left: 25px;
    }

    .about-us li {
        margin-bottom: 12px;
        font-size: 1.05rem;
    }

    .about-us .highlight {
        background: rgba(255,255,255,0.12);
        padding: 18px 24px;
        border-left: 5px solid #ffd54f;
        border-radius: 12px;
        margin: 30px 0;
        font-size: 1.1rem;
        font-weight: 600;
    }

    @media (max-width: 768px) {

        .about-us {
            padding: 30px 22px;
            margin: 30px 15px;
        }

        .about-us h2 {
            font-size: 2rem;
        }

        .about-us p,
        .about-us li,
        .about-us .highlight {
            font-size: 1rem;
        }
    }
  

    /* SignUp ----------------------------------------------------------------- */
    .SignUp-grid{
      max-width:1400px;
      gap: 50px;
      margin:auto;
    }

    /* CARD */
    .SignUp-card{
      height: 100%;
      position:relative;
      overflow:hidden;
      border:none;
      border-radius:24px;
      background:#13233a;
      color:white;
      transition:all .4s ease;
      cursor:pointer;
      box-shadow:0 10px 30px rgba(0,0,0,.35);
    }

    .SignUp-card:hover{
      transform:translateY(-10px) scale(1.02);
      box-shadow:0 20px 40px rgba(0,0,0,.45);
    }

    /* IMAGE */
    .SignUp-image-wrapper{
      overflow:hidden;
      position:relative;
    }

    .SignUp-image{
      width:100%;
      height:auto;
      object-fit:cover;
      transition:transform .7s ease;
    }

    .SignUp-card:hover .SignUp-image{
      transform:scale(1.08);
    }

    /* TEAM COLOR ACCENT */
    .card-accent{
      position:absolute;
      top:0;
      left:0;
      width:100%;
      height:6px;
      background:linear-gradient(90deg,#00c6ff,#0072ff);
      z-index:5;
    }

    /* OVERLAY */
    

    /* NAME + TITLE */
    .SignUp-info{
      position:absolute;
      bottom:20px;
      left:20px;
      z-index:10;
    }

    .SignUp-info h3{
      margin:0;
      font-size:1.6rem;
      font-weight:700;
    }

    .SignUp-info p{
      margin:4px 0 0;
      color:#9fd4ff;
      font-size:1rem;
    }

    /* HOVER BIO */
    .SignUp-bio{
      position:absolute;
      inset:0;
      background:rgba(8,16,28,.96);
      display:flex;
      align-items:center;
      justify-content:center;
      padding:30px;
      opacity:0;
      transition:opacity .4s ease;
      text-align:center;
      font-size:1rem;
      line-height:1.7;
    }

    .SignUp-card:hover .SignUp-bio{
      opacity:1;
    }

    /* MOBILE TAP EXPANSION */
    .SignUp-card.active .SignUp-bio{
      opacity:1;
    }

    @media(max-width:768px){

      .SignUp-image{
        height:340px;
      }

      .SignUp-card:hover{
        transform:none;
      }

    }
