*{
    margin: 0;
    padding:0;
}
h1{
  font-family: "Source Serif 4", serif;
  font-size: 5rem;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: italic;
  margin: 0;
}

h2{
  font-family: "Source Serif 4", serif;
  font-size: 4rem;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: italic;
  margin: 0;
}

h3{
    margin:0;  
    font-family: "Poppins", sans-serif;
      font-size: 1.75rem;
      font-weight: 500;
      font-style: normal;
}

ul{
    padding: 0.5rem 0 0 1rem;
    margin: 0;
}

li{
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    padding-bottom: 0.2rem;
    color:#404040;
}




a{
    text-decoration: none;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    font-style: normal;
    padding: 0;
    height: auto;

        background-color: #ffffff10;
    padding: 0.25rem 1rem;
    border-radius: 10rem;
    position: relative;
    display: inline-block;
    outline: 1px solid #ffffff10;
    display: inline-flex;
  align-items: center; /* Vertically centers the icon and text */
  gap: 8px;
    transition: background-color 0.5s ease, outline 0.5s ease;
}
.navbar{
    display: flex;
    justify-content: center;
}
.nav-container{
    background-color: #240f57;
    display: flex;
    flex-direction: row;
    margin-top:1rem;
    position: fixed;
    z-index: 1;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    gap: 1rem;
    border-radius: 10rem;
    align-items: center;
}


.navbar img{
    height: 3rem;
    display: block;
}

.navbar-links{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-left: auto;
}


a span {
  display: inline-flex;
}

a:hover{
    background-color: #ffffff20;
    outline: 1px solid #ffffff50;
}

a::before {
  content: "";
  position: absolute;
  inset: -0.5rem;
  cursor: pointer;
}

.navbar-links .material-symbols-outlined {
    color: #FFEA00; /* Replace with your desired color (e.g., vibrant orange) */
}

.hero-container{
    background-color:#240f57;
    color: #ffffff;
    text-align: center;
}

.hero-container img{
    height:15rem;
}

.hero-container p{
    margin-top:1rem;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
}

.cloud-row-top,
.cloud-row-bottom {
    position: relative;
    width: 100%;
    height: 15rem;
    overflow: hidden; /* Prevents horizontal scrollbars */
}

.cloud {
    position: absolute;
    animation: driftRight 30s linear infinite;
}

.cloud-one {
    left: 0;
    animation-delay: -25s;
}

.cloud-two {
    left: 0;
    animation-delay: -70s; /* Exactly half of the 25s duration */
}

@keyframes driftRight {
    0% {
        transform: translateX(-1000px); /* Fully hidden off-screen left */
    }
    100% {
        transform: translateX(100vw); /* Fully hidden off-screen right */
    }
}

.service-section{
    background-color: #f5f5f7;
    display: flex;
    flex-direction:column;
    align-items:center;
}

.service-container{
    display: flex;
    flex-direction: column;
    padding: 4rem 5rem;
    gap: 2em;
    align-items:center;

}
.services-card-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}
.service-card{
    background-color: #ffffff;
    padding-left: 2.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.15);
    border-radius: 2rem;
    overflow: hidden;
}

.service-details{
    width: 55%;
}
.service-card img{
    width: 45%;
    height: auto;
    object-fit: cover;
}

.social-container{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    background-color: #240f57;
    justify-content: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.social-container a{
    background-color: #ffffff10;
    padding: 0.25rem 1rem;
    border-radius: 10rem;
    position: relative;
}

.social-container a:hover{
    background-color: #ffffff20;
    outline: 1px solid #ffffff50;
}

@media screen and (max-width: 1200px){

    h3{
        font-size: 1.25rem;
    }

    ul{
        padding-top:0.375rem;
    }
    .service-container{
        padding: 1rem;
    }
        .services-card-grid{
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .service-card{
        padding-left: 1.75rem;}

}

@media (max-width: 768px) {
    h1{
        font-size: 2.25rem;
    }

    h2{
        font-size: 2.25rem;
    }
    
    h3{
        font-size: 1.5rem;
    }
    a{
        font-size: 1rem;
    }

    li{
        font-size: 1rem;
    }

    .navbar img{
    height: 3rem;
    display: block;
}

.nav-container{
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    gap:0.5rem;
    width: 90%;
    border-radius: 1.5rem;
}

.navbar-links{
    gap:0.5rem;
    flex-direction: column;
}

.navbar-links a{
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
}

.hero-container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sky-top img{
    width: 100vw;
    height: auto;
}
.sky-bottom img{
    width: 100vw;
    height: auto;
}

        .services-card-grid{
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-container{
        padding: 4rem 1rem;
        gap: 2rem;
    }

    .service-card{
        flex-direction: row;
        border-radius: 1rem;
        align-items: stretch;
        padding: 0;
        
    }


.service-details{
    width: 90%;
    padding: 0 0 0 2rem;
    margin: 0 auto;
    align-self: center;
    justify-content: center;
}
.service-card img{
        align-self: flex-end;
    object-fit: cover;
}
}

@media (max-width: 500px) {
    h1{
        font-size: 2rem;
    }


h2{
    font-size: 1.5rem;
    }

    h3{
        font-size: 1rem;
                line-height: 120%;
    }

    
    .nav-container{
        flex-direction: row;
        border-radius: 1rem;
        margin-top: 0.5rem;
    }
    .navbar img{
    height: 2rem;
    display: block;}


    .navbar-links a{
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }
    .service-card{
          align-items: stretch;
          padding: 0;
    }
.service-card img{
    align-self: flex-end;
}
ul{
    padding-top: 0.5rem;
}
li{
    font-size: 0.875rem;
}

.service-container{
    padding: 1rem;
    gap: 1rem;
}
.services-card-grid{
    gap: 1rem;
}

.service-details{
    padding: 0 0 0 1rem;
}
}
