/* =========================================================
   Global Reset & Base Styles
   ========================================================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    
  }
  
  body {
    font-family: lexend deca, regular;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
    
  }
  
  /* =========================================================
     Typography & Utilities
     ========================================================= */
  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }
  
  img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .secondary-button {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 1rem;
  }
  
  /* =========================================================
     Header
     ========================================================= */

  
  .logo {
    cursor: pointer;
    
  }
  .logo a {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  .logo a:hover {
    transform: scale(1.05);
  }
  .logo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
  }

  header {
    font-family: lexend deca;
    font-weight: regular;
    display: flex; 
    justify-content: space-evenly; 
    align-items: center; 
    padding: 1rem 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    gap: 0rem;
    top: 0;
    
    
  }
  
  /* Navigation */
  header ul {
    list-style: none;
    display: flex;
    /* gap between header */
    gap: 0px;
    /* margin-right: 95px; */
  }

  header ul li{
    margin-top: 5px;
    margin-right: 200px;
  }
/*   
  header a{
    gap: 686px;
  } */

  header ul li a {
    font-size: 19px;
    gap: 100px;
   
  }
  header ul li a:hover {
    color: #36c3ff;
  }
  
  /* CTA Buttons in Header */
  header .wwu-button {     
    font-weight: bold;
    padding: 0.5rem 1rem;
    background-color: #000;     
    color: #fff;     
    border: 3px solid #fff;     
    border-radius: 30px;     
    font-size: 19px;
    cursor: pointer;     
    transition: all 0.3s ease;
    margin-right: 100px;
}  
  header .wwu-button:hover {     
    background-color: #fff;     
    color: #000;
  }
  
  header .apply-button {
    font-weight: bold;
    padding: 0.5rem 1rem;
    background-color: #fff;
    color: #000;
    border: 3px solid #fff;
    border-radius: 30px;
    font-size: 19px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 2rem;
  }
  header .apply-button:hover {
    background-color: #36c3ff;
  }
  
  /* =========================================================
     Hero Section
     ========================================================= */
  .hero {
    text-align: center;
    padding: 3rem 1rem; /* Reduce padding for smaller screens */
    margin: 0 auto; /* Ensure centering */
    width: 100%; /* Ensure it spans the full width */
    max-width: none; /* Limit maximum width */
    box-sizing: border-box; /* Include padding in width calculation */
    background-color: transparent; /* Optional: Adjust for debugging */
  }
  
  .hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
  }
  .hero h1 span {
    color: #36c3ff;
    font-size: 10rem;
    line-height: 5rem;
  }
  .hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
  .hero .images {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  .hero .images img {
    width: 40%;
    margin: 0 1rem;
    border-radius: 10px;
  }
  
  /* =========================================================
     Skills, Projects, Join, Contact Sections
     ========================================================= */
  .skills, .projects, .join, .contact {
    text-align: center;
    padding: 3rem 2rem;
  }

  .projects {
    margin-bottom: 3rem;
  }
  
  /* Skills */
  .skills {
    display: flex; 
    flex-direction: column;
    align-items: center; 
  }
  .skills .stats {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  .skills .stats div {
    margin: 0 1.5rem;
  }
  
  /* Projects */
  .projects h2 {
    font-size: 4rem;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 2rem;
    color: #fff;
  }
  .project-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1%;
  }
  
  /* Project Cards */
  .project-card {
    text-decoration: none;
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 500 / 325;
    border-radius: min(50px, 100%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 3px solid #fff;
    transition: background-color 0.3s ease;
  }
  .project-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  .project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
  }
  .project-card:hover::after {
    opacity: 0.2;
  }
  .project-card img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    object-fit: cover;
  }
  .project-card .text-content {
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center;
  }
  .project-card .text-content h3,
  .project-card .text-content p {
    margin: 0;
    padding: clamp(0.25rem, 2%, 0.5rem);
    width: 90%;
  }
  .project-card .text-content h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  .project-card .text-content p {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
  }
  
  /* Join (apply) section */
  .join-us-section {
    padding: 40px 20px;
  }
  .text-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 30rem;
  }
  .text-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .text-content p {
    font-size: 18px;
    margin-bottom: 20px;
    /* padding: 0 4rem; */
  }
  .apply-btn {
    font-family: lexend deca;
    background-color: #00bfff;
    color: #000;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 20px;
    width: 30%;
  }
  .apply-btn:hover {
    background-color: #4793c5;
  }
  
  /* Images layout */
  .bottom-row, .top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .bottom-row {
    gap: 3rem;
  }
  .top-row {
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .bottom-row img {
    width: 30rem;
    border-radius: 15px;
  }
  .top-row img {
    width: 20rem;
    border-radius: 10px;
  }
  
  /* =========================================================
     Carousel
     ========================================================= */
     
  .carousel {
    position: relative;
    width: 80%; 
    height: 700px; 
    margin: 0 auto; 
    overflow: visible;
    margin: 0 auto;
    padding-top: 50%;

  }
  .carousel img {
    position: absolute;
    border-radius: 40px;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
    display: block; /* Ensure it's a block-level element */
    margin: 0 auto; /* Center images horizontally */
  }
  .carousel img.active {
    opacity: 1;
    z-index: 1;
  }
  
  /* =========================================================
     About Us Section
     ========================================================= */
  .aboutus-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
  }
  .aboutus-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
    letter-spacing: 0.04em;
  }
  .aboutus-paragraph {
    max-width: 93%; 
    margin: 0 auto 30px auto; 
    line-height: 1.6;
    font-size: 1.5rem;
    text-align: left;
    text-justify: auto;
    /* text-align: justify;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; */
  }
  .aboutus-button {
    padding: 15px 50px;
    font-size: 2rem;
    border: none;
    background-color: #fff;
    color: #000;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
  }
  .aboutus-button:hover {
    background-color: lightgray;
  }
  
  /* Stats */
  .stats {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20rem;
  }
  .stats div {
    text-align: center;
    color: #fff;
  }
  .stats h3 {
    font-size: 4rem;
    font-weight: bold;
    color: #36c3ff;
    margin: 0;
  }
  .stats p {
    font-size: 2.5rem;
    margin: 5px 0 0;
  }
  
  /* =========================================================
     Questions / Collaborate Sections
     ========================================================= */
  .questions-card, .collaborate-section {
    padding: 20px;
    border-radius: 12px;
    width: 70%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .questions-card {
    background: linear-gradient(to bottom, #101010, #2d2d2d);
    margin-bottom: 5%;
  }
  .questions-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
  }
  .questions-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #36C3FF;
    font-weight: bold;
  }
  .contact-button {
    padding: 10px 20px;
    font-size: 1.25rem;
    border: none;
    background-color: #fff;
    color: #000;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
  }
  .contact-button:hover {
    background-color: #ddd;
  }
  
  .collaborate-section {
    margin-bottom: 4%;
  }
  .collaborate-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
  }
  .collaborate-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #36C3FF;
  }
  .collaborate-button {
    padding: 10px 20px;
    font-size: 1.25rem;
    border: 2px solid #fff;
    background-color: #000;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
  }
  .collaborate-button:hover {
    background-color: rgb(45, 45, 45);
  }
  
  /* =========================================================
     Footer
     ========================================================= */
  footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 3%;
    background-color: #000;
  }
  
  .footer-top-divider {
    border-top: 1px solid #333;
    margin-bottom: 40px;
  }
  
  .footer-info {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 5%;
  }
  
  .footer-nav-menu {
    display: flex;
    justify-content: center;
  }
  .footer-nav-menu ul {
    list-style: none;
    display: flex;
    gap: 8rem;
    margin: 0;
    font-size: 19px;
  }
  .footer-nav-menu ul li a:hover {
    color: #36c3ff;
  }

  .footer-middle-content{
    margin-top: -40px;
   
  }

  .footer-address{
    font-size: 19px;
    margin-top: 40px;
  }
  
  /* Social Icons (Footer and elsewhere) */
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    
  }
  .social-icons a {
    width: 50px;
    height: 50px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    transition: background-color 0.3s;
    text-decoration: none;
  }
  .social-icons a:hover {
    background-color: #555;
  }
  .icon img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
  }
  .icon img:hover {
    transform: scale(1.1);
  }
  
  
  
/* hides hambuger and x icon*/
  header .fa-solid{
    display: none;
}
  
  /* =========================================================
     Responsive Adjustments
     ========================================================= */
     
/*
code for hamburger
*/

  @media only screen and (max-width: 1472px) {

    header{
      justify-content: space-evenly;
      align-items: center;
      gap: 70%;
    }

    .logo img {
      width: 150px;
      height: 150px;
      object-fit: cover;
    }
  
    header ul li a {
        font-size: 40px;
        margin-left: 35px;
        
    }
    header .fa-solid{
      
      display: block;
      font-size: 35px;
      
    }

    header .wwu-button {     
        
      font-size: 35px;
      margin-left: 55px;
      margin-top: 25px;
    
    }  

    header .apply-button{

      font-size: 35px;
      margin-left: 55px;
      margin-top: 55px;

    }

    header ul{
    
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      background: #000;
      position: fixed;
      color: #ffffff;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      padding-top: 140px;
      gap: 0px;
      font-size: 20px;
      z-index: 2;
      transition: right 0.5s;

    }

    header ul li{
      display: block;
      margin: 25px;
      margin-top: 60px;
      margin: 10px 0;
      margin-left: 25px;
    }

    header ul li a{
      font-size: 50px;
     }

     header .wwu-button{
      font-size: 45px;
      border-radius: 40px;
     }

     header .apply-button{
      font-size: 45px;
      border-radius: 40px;
      width: fit-content;
     }

    header ul .fa-solid{
    
      position: absolute;
      top: 80px;
      right: 70px;  
      cursor: pointer;
     
    }

    .footer-middle-content{
      margin-top: -1%;
     
    }

    #sidemenu {
      position: fixed;
      right: -120%;
      top: 0;
      width: 100%;
      height: 100%;
      background: #000;
      transition: right 0.5s ease-in-out;
  }

}
    
  
  @media screen and (max-width: 1010px) {

    .logo img {
      width: 100px;
      height: 100px;
      object-fit: cover;
    }

    header ul .fa-solid{
    
      position: absolute;
      top: 50px;
      right: 9%;  
      cursor: pointer;
     
    }

    /*
    Project card font sizes
    */
    .project-card .text-content h3 {
      font-size: 20px;
    }
    .project-card .text-content p {
      font-size: clamp(0.875rem, 2.5vw, 1rem);
    }

    .carousel {
      width: 100%;
      padding-top: 80%;
      height: 360px;
      
    }

  }

  @media only screen and (max-width: 900px){
    .project-card {
      border-radius: min(50px, 100%);
    }
    .project-card .text-content h3 {
      font-size: 15px;
    }
    .project-card .text-content p {
      font-size: clamp(0.875rem, 2.5vw, 1rem);

    }

    .carousel {
      width: 100%;
      padding-top: 80%;
      height: 360px;
      
    }
  

  }
  
  @media screen and (max-width: 800px) {
    .bottom-row, .top-row {
      flex-direction: column;
    }
    .hideImgWhenSmall {
      display: none;
    }
    .hero h1 {
      font-size: 3rem;
    }
    .hero p {
      font-size: 1.5rem;
    }
    .hero .images img {
      width: 80%;
    }
    .hero h1 span {
      color: #36c3ff;
      font-size: 5rem;
      line-height: 5rem;
    }
    .collaborate-section {
      text-align: center;
      margin: 0 auto;
      width: 100%;
      padding: 0; 
      padding-bottom: 15%;
    }
    .collaborate-section h2{
      font-size: 220%;
      text-align: center;
      padding: 2%;
    }
    .collaborate-section p {
      font-size: 120%;
    }
    .skills h2{
      font-size: 250%;
    }
    .skills p{
      font-size: 110%;
      text-align: center;
    }
    .skills .aboutus-button{
      font-size: 150%;
    }
    .join-us-section p{
      padding: 0 4rem;
    }
    .projects h2 {
      font-size: 290%;
    }

    .project-grid {
    flex-direction: column;
    align-items: center;
    }
    .project-card {
      margin-bottom: 2rem;

      border-radius: min(50px, 100%);
    }
    .questions-card h2{
      font-size: 240%;
    }
    .questions-card p{
      font-size: 140%;
    }
    .questions-card, .collaborate-section {
      width: 90%;
    }

    .project-card .text-content h3 {
      font-size: 35px;
    }
    .project-card .text-content p {
      font-size: 18px
    }

    .carousel {
      width: 100%;
      padding-top: 80%;
      height: 360px;
      
    }
    
  }
  @media (max-width: 768px) {
  .carousel {
    width: 100%;
    padding-top: 60%;
    height: 360px;
  }

  .carousel img {
      max-width: 100%;
      height: auto;
  }
}

  
  @media (max-width: 600px) {

    .carousel {
      width: 100%;
      padding-top: 80%;
      height: 360px;
      
    }

    .social-icons a {
      width: 40px;
      height: 40px;
      font-size: 20px;
      padding: 0; 
    }
    .footer-nav-menu ul {
      gap: 1.3rem;
      font-size: 0.9rem;
    }
  }

  @media (max-width: 480px) {
    .hero h1 span {
      color: #36c3ff;
      font-size: 4rem;
      line-height: 5rem;
    }
    .hero h1 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .carousel {
      padding: 0; /* Remove padding on very small screens */
      height: 300px;
    }
  
    .carousel img {
      border-radius: 35px; /* Further reduce the radius for very small screens */
    }

    .footer-address{
      font-size: 15px;
      margin-top: -1%;
    }


    header ul li a{
      font-size: 25px;
      
    }

    header .wwu-button{
      font-size: 25px;
      /* border-radius: 40px; */
      width: fit-content;
      /* width: 45%; */
      margin-top: 2.5%;

     }

     header .apply-button{
      font-size: 25px;
      border-radius: 40px;
      width: fit-content;
      margin-top: 8%;
     }

     footer .footer-nav-menu ul{
      gap: 5.3rem;
     }

  }

  @media (max-width: 400px) {
    .project-card {
      border-radius: min(50px, 100%);
    }
    .project-card .text-content {
      padding-left: 20px;
    }

   header ul .fa-solid{
    
      position: absolute;
      top: 40px;
     
      right: 9.5%;
      cursor: pointer;
     
}

    .logo img {
      width: 70px;
      height: 70px;
      object-fit: cover;
    }

    .project-card .text-content h3 {
      font-size: 30px;
    }
    .project-card .text-content p {
      font-size: 15px
    }

  }