@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap');

@font-face {
    font-family: 'YourCustomFont';
    src: url('fonts/YourCustomFont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body {
  background-color: #f7f9fc;
  overflow-x: hidden;
}

/* divider code here  */
.parent, .parent-2, .parent-3, .parent-4 {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    height: 1vh; /* Adjust height to make it visible */
}

.divider, .divider-2, .divider-3, .divider-4 {
    position: absolute;
    top: 50%;
    width: 0;
    height: 5px;
    background-color: #374b98;
    transition: width 0.5s ease;
    transform: translateY(-50%);
}

/* Base styles for desktop/laptop */
.hero-section {
    height: 100vh;
    width: 100%;
    color: black;
    background-size: cover;
  }
  
  .headline {
    width: 100%;
    height: 60%;
    padding-top: 220px;
    justify-content: center;
    align-items: center;
  }
  
  .headline h1 {
    font-size: 5.7em;
    text-align: center;
    font-family: "Afacad Flux", sans-serif;
    color: black;
  }
  
  .headline p {
    color: #dcb366;
    text-align: center;
    font-size: 2rem;
    margin-top: 30px;
    font-family: "Afacad Flux", sans-serif;
  }
  
  .images {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
  
  .images .image {
    background: #3b4449;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
  }
  
  .divider-hero {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-right: 40px;
  }
  
  /* Responsive Styles */

  @media (max-width: 1800px){
    .hero-section{
        height: auto;
    }
    .tile{
        height: auto;
      }
  }
  

  @media (max-width: 1200px) {
    .headline h1 {
      font-size: 4.5em;
    }
  
    .images .image {
      width: 80px;
      height: 80px;
    }
  
    .divider-hero {
      margin-right: 30px;
    }
  }
  
  @media (max-width: 1024px) {
    .headline h1 {
      font-size: 3.8em;
    }
  
    .images .image {
      width: 70px;
      height: 70px;
    }
  
    .divider-hero {
      margin-right: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .headline h1 {
      font-size: 2.8em;
    }
    .hero-section{
        height: auto;
    }
  
    .headline {
      padding-top: 100px;
    }
    .images .image {
        margin: 10px;
      }
    
    
    .divider-hero {
      margin-bottom: 20px;
      margin-right: 0;
    }
  }
  
  @media (max-width: 480px) {
    .headline h1 {
      font-size: 2em;
    }
  
    .headline p {
      font-size: 1.2em;
    }
  
    .images .image {
      width: 60px;
      height: 60px;
    }
  
    .images {
      margin-top: 20px;
    }
  
    .divider-hero {
      margin-bottom: 15px;
    }
  }
  
/* Base styles for larger screens */
.section-container {
    display: flex;
    border-radius: 10px;
    max-width: 100%;
    justify-content: center;
    align-items: center;
}

.section-container .text-div {
    text-align: center;
}

.section-container .text-div p {
    font-size: 3.5em;
    font-weight: 400;
    font-family: "Afacad Flux", sans-serif;
}

/* Responsive styles for smaller devices */
@media (max-width: 1200px) {
    .section-container .text-div p {
        font-size: 3em;
    }
}

@media (max-width: 1024px) {
    .section-container .text-div p {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 20px;
    }

    .section-container .text-div p {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .section-container .text-div p {
        font-size: 1.5em;
    }
}
/* Base styles for larger screens */
.custom-section {
    display: flex;
    padding: 0;
    background-color: #f7f9fc;
    align-items: center;
    margin-top: 15px;
    justify-content: center;
}

.tile {
    width: 85%;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
    padding-bottom: 30px;
    background: linear-gradient(to right, white 67%, #f6f8fc 33%);
    border-radius: 10px;
    height: 85vh;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.custom-section .content-wrapper {
    display: flex;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-left: 100px;
}

.custom-section .text-content {
    max-width: 40%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-section .text-content h1 {
    font-size: 5rem;
    text-align: center;
    font-family: "Afacad Flux", sans-serif;
    font-weight: 600;
    color: #1d1d1d;
    margin-bottom: 20px;
}

.custom-section .text-content p {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.custom-section .know-more {
    padding: 10px 20px;
    background-color: #374b98;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    max-width: 200px;
    margin-top: 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.custom-section .know-more:hover {
    background-color: #005f99;
    transform: scale(1.05);
}

.custom-section .image-content {
    flex-basis: 70%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.custom-section .image-wrapper {
    position: relative;
    overflow: hidden;
}

.custom-section .image-wrapper img {
    max-width: 800px;
    height: auto;
    transition: transform 0.3s ease;
}

.custom-section .image-wrapper:hover img {
    transform: scale(1.1);
}

/* Responsive Styles */

/* Medium screens (laptops and tablets) */
@media (max-width: 1200px) {
    .custom-section .text-content h1 {
        font-size: 4rem;
    }

    .custom-section .text-content p {
        font-size: 1.4rem;
    }

    .custom-section .image-wrapper img {
        max-width: 600px;
    }

    .custom-section .content-wrapper {
        margin-left: 50px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .custom-section {
        flex-direction: column;
        padding: 20px;
    }

    .custom-section .content-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 0;
    }

    .custom-section .text-content {
        max-width: 80%;
    }

    .custom-section .image-wrapper img {
        max-width: 500px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .custom-section .text-content h1 {
        font-size: 3rem;
    }

    .custom-section .text-content p {
        font-size: 1.2rem;
        text-align: center;
    }

    .custom-section .image-wrapper img {
        max-width: 350px;
    }

    .tile {
        width: 95%;
        height: auto;
    }

    .custom-section .content-wrapper {
        margin-left: 0;
        flex-direction: column;
    }
    .tile p{
        text-align: center;
        margin-left: 5px;
        margin-right: 5px;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .custom-section .text-content h1 {
        font-size: 2.5rem;
    }

    .custom-section .text-content p {
        font-size: 1rem;
    }

    .custom-section .know-more {
        font-size: 0.9rem;
    }

    .custom-section .image-wrapper img {
        max-width: 250px;
    }
}

/* View PDF link */
.view-pdf {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: none;
}

.image-wrapper:hover .view-pdf {
    display: block; /* Show View PDF link on hover */
}

/* PDF Modal Overlay */
#pdf-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#pdf-content {
    position: relative;
    width: 80%;
    height: 80%;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: red;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.back-image{
    position: absolute;
    max-height: 500px;
    z-index: 1;
    right: 200px;
    opacity: 0.09;
}

.highlight-name{
    color: #b94133;
    margin: 0 0 20px 0;
    font-weight: 600;
    line-height: 0.7em;
    text-align: center;
    font-family: "Afacad Flux", sans-serif;
    margin-bottom: 40px;
}

/* Reverse section custom styles */
#rev-section .content-wrapper {
    display: flex;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-left: 100px;
    flex-direction: row-reverse; /* Reverse flex direction */
}

#rev-section .text-content {
    max-width: 60%;
    z-index: 3;
    align-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#rev-section .text-content h1 {
    font-size: 5.0rem;
    text-align: center;
    font-family: "Afacad Flux", sans-serif;
    font-weight: 600;
    color: #1d1d1d;
    margin-bottom: 20px;
}

#rev-section .text-content p {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

#rev-section .know-more {
    padding: 10px 20px;
    background-color: #374b98;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    max-width: 200px;
    margin-top: 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#rev-section .know-more:hover {
    background-color: #005f99;
    transform: scale(1.05);
}

#rev-section .image-content {
    flex-basis: 70%;
    display: flex;
    justify-content: flex-start; /* Push image towards the left */
    align-items: center;
}

#rev-section .image-wrapper {
    position: relative;
    overflow: hidden;
}

#rev-section .image-wrapper img {
    max-width: 800px;
    height: auto;
    transition: transform 0.3s ease;
}

#rev-section .image-wrapper:hover img {
    transform: scale(1.1);
}

/* For the background image in the section */
#rev-section .back-image {
    position: absolute;
    left: 8%;
    opacity: 0.1;
    z-index: 1;
}

/* Responsive styles for reverse section */
@media (max-width: 1200px) {
    #rev-section .text-content h1 {
        font-size: 4rem;
    }

    #rev-section .text-content p {
        font-size: 1.4rem;
    }

    #rev-section .image-wrapper img {
        max-width: 600px;
    }

    #rev-section .content-wrapper {
        margin-left: 50px;
    }
}

@media (max-width: 1024px) {
    #rev-section {
        flex-direction: column;
        padding: 20px;
    }

    #rev-section .content-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 0;
    }

    #rev-section .text-content {
        max-width: 80%;
    }

    #rev-section .image-wrapper img {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    #rev-section .text-content h1 {
        font-size: 3rem;
        text-align: center;
    }

    #rev-section .text-content p {
        font-size: 1.2rem;
        text-align: center;
    }

    #rev-section .image-wrapper img {
        max-width: 350px;
    }

    .tile {
        width: 95%;
        height: auto;
    }

    #rev-section .content-wrapper {
        margin-left: 0;
        flex-direction: column;
    }
    #rev-section .back-image {
        position: absolute;
        /* left: 8%; */
        opacity: 0.1;
        right: 0%;
        z-index: 1;
    }
}

@media (max-width: 480px) {
    #rev-section .text-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    #rev-section .text-content p {
        font-size: 1rem;
        text-align: center;
    }

    #rev-section .know-more {
        font-size: 0.9rem;
    }

    #rev-section .image-wrapper img {
        max-width: 250px;
    }
    #rev-section .back-image {
        position: absolute;
        /* left: 8%; */
        width: 340px;
        opacity: 0.1;
        /* right: 0%; */
        z-index: 1;
    }
    #progress{
        display: none;
    }
}


@media (max-width: 1800px){
    .hero-section{
        height: auto;
    }
    .tile{
        height: auto;
      }
  }