@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;500&family=Roboto:wght@100&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

@media (max-width: 600px) {
    :root {
        font-size: 12px;
    }

    .footer-description-section {
        min-width: 100%;
    }
    .footer-description {
        width: 70%;
    }
    .team-section {
        width: 50%;
    }
    .links-section {
        width: 50%S;
    }
    .newsletter-section {
        width: 100%;
    }
    .container {
        background-image: url(../images/home-mobile-bg1.jpg);
    }
    .newsletter-section form input[type="email"] {
        width: 100%;
    }
}

@media (min-width: 600px) {
    .container {
        background-image: url(../images/home-page-bg.jpg);
    }
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
/*front face starts*/

.container {
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.textbox {
    color: rgba(255, 0, 0, 1);
    margin: 8rem 0 0 3.125rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    width: fit-content;
}

@media (max-width: 600px) {
    .textbox {
        align-items: center;
        margin-left: 0;
    }
    .textbox > * {
        text-align: center;
    }
}

.textbox:after {
    content: "";
    clear: both;
}

.textbox p {
    font-size: 3.125rem;
    font-weight: 600;
    font-family: sans-serif;
}

.textbox h1 {
    font-family: sans-serif;
    font-size: 5rem;
    line-height: 70px;
    color: transparent;
    -webkit-text-stroke: 1px white;
    background: url(../images/back.png);
    background-clip: border-box;
    -webkit-background-clip: text;
    background-position: 0 0;
    animation: back 20s linear infinite;
}

@keyframes back {
    100% {
        background-position: 2000px 0;
    }
}

.textbox h3 {
    font-size: 2.5rem;
    font-weight: 400;
    font-family: "poppins", sans-serif;
}

.explorebutton .btn {
    width: 9.375rem;
    height: 4.688rem;
    background-color: red;
    border-radius: 50px;
    border-style: none;
    margin-top: 20px;
    display: block;
    cursor: pointer;
}

.explorebutton .btn:hover {
    background-color: rgb(213, 0, 0);
}

.explorebutton .btn a {
    color: white;
    text-decoration: none;
    font-size: 1.875rem;
    display: block;
    font-family: "poppins", sans-serif;
}

/* nav bar starts */

.nav_bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    clip-path: polygon(100% 0, 0 0, 0 0, 100% 0);
}

.nav_bar a {
    text-decoration: none;
    color: white;
    font-size: 1.25rem;
    font-family: "poppins", sans-serif;
}

.nav_bar a:hover {
    color: red;
}

.nav_bar button {
    width: 6.25rem;
    height: 3.125rem;
    background-color: rgba(255, 0, 0, 0.5);
    border-radius: 50px;
    border-style: none;
    cursor: pointer;
}

.nav_bar button p {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: bold;
    display: block;
    font-family: "poppins", sans-serif;
}

.nav_bar button:hover {
    background-color: rgba(255, 0, 0, 0.8);
}


.service-category-boxes {
    width: 100hw;
    height: 65vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    overflow-y: scroll;
    padding: 2rem;
    margin: 2rem 0;
    margin-top: 0;
    padding-top: 0rem;   
 
}

.individual-service-boxes {
    width: max(250px, 5vw);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    padding-top: 0rem;
    justify-content: space-evenly;
    background-color: rgb(236, 255, 240);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transition: width 0.2s, height 0.4s;
    overflow: hidden;
}

.individual-service-boxes:hover {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
}

.individual-service-boxes h1 {
    text-align: center;
    font-family: "poppins", sans-serif;
    font-size: 2.1875em;
    margin-top: 1.5vh;
}

.individual-service-boxes:nth-child(2) h1 {
    font-size: 2.1rem;
}

.explore-button {
    width: min(40%, 10rem);
    height: max-content;
    border-radius: 2rem;
    font-family: "roboto", sans-serif;
    font-size: 1.3rem;
    font-weight: bolder;
    border-style: none;
    background-color: black;
    cursor: pointer;
    opacity: 0.5;
    text-align: center;
    padding: 15px 0;
}
.explore-button a {
    color: rgb(249, 249, 249);
    text-decoration: none;
}

.explore-button:hover {
    opacity: 1;
}


.footer-box {
    width: 100%;
    height: max-content;
    overflow: hidden;
    background-color: black;
    color: white;
    border-top-left-radius: 100px;
    position: relative;
    bottom: 0;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid grey;
    direction: row;
    justify-content: space-evenly;
    gap: 2rem;
    padding: 2rem;
}

.flex-item {
    text-align: justify;
}

.footer-description-section {
    width: 50%; /* width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.footer-description-section img {
    width: 15rem;
}

.footer-description {
    text-align: justify;
    font-family: "roboto", sans-serif;
    font-weight: lighter;
    width: 100%;
}

.team-section {
    width: min-content;
    flex-grow: 1;
    flex-shrink: 0;
}

.team-section h2 {
    text-decoration: none;
    color: white;
}

.team-section h2 a {
    text-decoration: none;
    color: white;
}

.team-section ul {
    list-style-type: none;
    list-style-position: inside;
}

.team-section li {
    margin-top: 0.7rem;
}

.links-section {
    width: min-content;
    flex-grow: 1;
    flex-shrink: 0;
}

.links-section ul {
    list-style-type: none;
}

.links-section li {
    margin-top: 0.7rem;
}

.links-section li a {
    text-decoration: none;
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  
  .social-icons img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .social-icons img:hover {
    transform: scale(1.1);
  }
  

.footer-box .footer-note {
    text-align: center;
}

.footer-note p {
    font-family: "roboto", sans-serif;
    font-weight: lighter;
}

.team-member-name li {
    font-family: "roboto", sans-serif;
    font-weight: lighter;
}

.links-list li {
    font-family: "roboto", sans-serif;
    font-weight: lighter;
}

.flex-item h2 {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 2px;
}

