* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
p {
    margin: 5px 0;
    padding: 2px;
  }
.wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 3;
    perspective: 10px;
}

.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    padding: 0 2%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 1.25rem 5%;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .name{
    width: 4rem;
    z-index: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    opacity: 1; 
    z-index: 1;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 250;
    border-radius: 0.75rem;
    margin-top: 10%;
    padding: 0.31rem 0.44rem;
    transition: 0.2s;
}
.nav-links li a:hover {
    background-color: #ffffff;
    color: rgb(36, 36, 36);
    font-weight: 450;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 1.56rem;
    height: 0.188rem;
    background-color: #fff;
    margin: 0.31rem 0;
    transition: all 0.3s ease;
}

.Home-about {
    text-align: center;
  }
  
  .image-table {
    display: table;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
  }
  
  .image-row {
    display: table-row;
  }
  
  .image-cell {
    display: table-cell;
    width: 25%;
    padding: 10px;
    vertical-align: middle;
  }
  
  .image-cell img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  .icon-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  
  .icon-cell {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }
  
  .icon-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .icon-cell a {
    display: block; 
    color: inherit;
    text-decoration: none; 
}
.icon-cell:hover{
    transform: scale(1.05);
    color: rgb(36, 36, 36);
    transition: 0.2s;
}

  .second-row {
    text-align: center;
  }
  
  .second-row .image-cell {
    width: 33.33%;
  }
  
  .second-row::before,
  .second-row::after {
    content: "";
    display: table-cell;
    width: 16.665%;
  }

.Home-about h3 {
    text-align: center;
    position: relative;
}
.email-link {
    text-align: center;
    position: relative;
    margin-top: 20px;
    font-size: 1.2rem;
  }
  
  .email-link a {
    text-decoration: none;
    color: inherit;
  }
  
  .email-link a:hover {
    text-decoration: none;
  }
.content {
    text-align: center;
    z-index: -1;
}

.content h1 {
    font-size: 5.6rem;
    color: #fff;
    font-weight: 600;
}

.content h2 {
    font-size: 1.75rem;
    color: #fff;
    font-weight: 450;
    padding-bottom: 0.62rem;
}

.content a {
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 1.87rem;
    border: 0.125rem solid #fff;
    padding: 0.625rem 3.75rem;
    border-radius: 3.125rem;
    margin-top: 1.25rem;
    transition: 0.2s;
}

.content a:hover {
    background-color: #ffffff;
    color: rgb(36, 36, 36);
}

.home-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(-25px); 
}

.home-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section {
    color: #4f4f4f;  
    padding: 2rem;
    line-height: 150%;
    background-color: rgb(253, 247, 233);
    z-index: 2;
}
  
.cards-section {
    background-color: #ffffff; /* Change this to your desired color */
    padding: 0.1rem 1rem; /* Reduce top and bottom padding */
    z-index: 2;
}
.cards_container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.3rem; 

    }
    
    .card{
        width: 325px;
        background-color: #fafafa;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0px 2px 5px; 
        margin: 20px;
        justify-content: center;
    }
    .card img{
        width: 100%;
        height: auto;
    }
    .card-content {
        padding: 6px;
    }
    
    .card-content h3{
        font-size: 1.3rem;
    }
    .card a {
        display: block; 
        color: inherit;
        text-decoration: none; 
    }
    .card:hover{
        transform: scale(1.02);
        color: rgb(36, 36, 36);
        transition: 0.2s;
    }
    .Cards-btn {
    text-align: center;
    margin-top: 0.8rem; /* Reduce top margin */
    margin-bottom: 0.1rem; /* Add bottom margin for balance */
}
    .Cards-btn a {
        text-decoration: none;
        display: inline-block;
        color: #494949;
        font-size: 1.87rem;
        border: 0.125rem solid #ffffff;
        padding: 0.625rem 3.75rem;
        border-radius: 3.125rem;
        margin-top: 0.1rem;
        transition: 0.2s;
        line-height: normal;
    }
    
    .Cards-btn a:hover {
        background-color: #323232;
        border: 0.125rem solid #777777;
        color: rgb(255, 255, 255);
    }
    .fixed-height-section {
        height: 50vh;
        overflow: hidden;
        position: relative;
        width: 100%;
        padding: 0;
        margin: 0;
      }
      
      .video-container-promo {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0;
        overflow: hidden;
      }
      .video-container-promo video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
      }
      .promo-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        text-align: center;
    }
    
      .promo-content a {
        text-decoration: none;
        display: inline-block;
        color: #fff;
        font-size: 1.6rem;
        border: 0.125rem solid #fff;
        padding: 0.625rem 3.75rem;
        border-radius: 3.125rem;
        margin-top: 1.25rem;
        transition: 0.2s;
    }
    
    .promo-content a:hover {
        background-color: #ffffff;
        color: rgb(36, 36, 36);
    }
.quote {
    padding: 0;
    transform-style: preserve-3d;
    z-index: -1;
    position: relative;
}
.quote-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 80vh;
    height: auto;
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: -1;

}
.quotebackground {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -2;

}

.quote h1, .quote h2 {
    color: #fff;
    margin: 0;
    position: absolute;
    left: 50%;
    width: 90%;
    text-align: center;
  }
  .quote h1 {
    position: absolute;
    top: 30%;
    left: 5%;
    transform: translate(-0%, -50%);
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 600;
    line-height: 1.2;
  }
  .quote h2 {
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 600;
    color: #fff;
  }
 .footer{
    padding: 1%;
    color: #4f4f4f;
    opacity: 80%;
 }

    @media (max-aspect-ratio: 16/9){
    .home-video{
        width: auto;
        height: 100%;
        transform: translateZ(-10px) scale(2); 
}
    }

    @media screen and (max-width: 800px) {
       
        .quote h1 {
          font-size: 2.8rem;
        }
      
        .quote h2 {
          font-size: clamp(0.9rem, 3.5vw, 1.3rem);
        }
      }

@media screen and (max-width: 768px) {
.image-table {
        max-width: 100%;
      }

.icon-grid {
  scale: 80%;
  margin-top: 10px;
}

.card-content h3{
  font-size: 1rem;
  font-weight: 600;
}
.p-h3 {
  font-size: 0.9rem;
  margin-top: 0px;
  margin-bottom: 0px;
}

.Cards-btn a {
  font-size: 1.5rem;
  padding: 0rem 0rem;
  border-radius: 3.125rem;
}
.Cards-btn a:hover {
  background-color: #fafafa;
  border:#fafafa;
  color: rgb(249, 249, 249);
  color: #494949;
  padding: 0.1rem;
}

.promo-content a {
    font-size: 1rem;
    padding: 0.5rem 2rem;
}
    .home-video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%) scale(1); 
        transform-origin: center; /
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        opacity: 1; 
        background-color: rgb(255, 255, 255);
        flex-direction: column;
        align-items: center;
        justify-content:flex-start;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0.625rem 0;
        padding-top: 1.875rem;
    }

    .nav-links li a {
        text-decoration: none;
        color: #4f4f4f;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .hamburger {
        display: block;
        z-index: 2;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(0.313rem, 0.313rem);
        background-color: #000000;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(0.438rem, -0.375rem);
        background-color: #000000;
    }

    .content h1 {
        font-size: 3.125rem;
        padding: 0.625rem;
    }

    .content h2 {
        font-size: 1.25rem;
        font-weight: 600;
        padding-top: 0.625rem;
        margin-left: 5%;
        margin-right: 5%;
    }

    .content a {
        font-size: 1.375rem;
        padding: 0.5rem 2.5rem;
    }

    .content h1, .content h2, .content a {
        transition: opacity 0.3s ease;
    }

    section h3{
        font-weight: 400;

    .home-video {
        width: auto;
        transition: opacity 0.3s ease;
    }
    
    .home-video.dimmed {
        opacity: 0.6;
    }
    .full-width-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .quote-content {
        height: auto;
        min-height: 50vh;
        width: auto;
      }
    
      .quote h1 {
        font-size: clamp(1.4rem, 4vw, 2.7rem);
      }
    
      .quote h2 {
        font-size: clamp(1rem, 4vw, 1.5rem);
        top: 36%;
      }
}
@media screen and (max-width: 480px) {  
    .quote h1 {
      font-size: clamp(1.2rem, 7vw, 1.3rem);
      top: 35%;
    }
  
    .quote h2 {
      font-size: clamp(0.9rem, 3.5vw, 1.3rem);
      top: 38%;

    }
  }