@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://fonts.cdnfonts.com/css/poppins');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

* {
    padding: 0;
    margin: 0;
}

.nowrap {
    white-space: nowrap;
}

:root {
    --primary-color: black;
    --secondary-color: white;
}

/* || HEADER */

body {
    background-color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

.header {
    height: 100vh;
    width: 100%;
    background-color: var(--secondary-color);
    position: relative;
}

.header nav {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0 2rem;
}

.header .menu {
    font-size: 25px;
    display: none;
}

.header nav img {
    width: 150px;
}

.header nav ul {
    display: flex;
}

.header nav li {
    list-style: none;
    margin: 0 5px;
}

.header nav li a {
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.2rem 1rem;
    font-size: 15px;
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.header nav li a::before {
    content: "";
    width: 0%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    transition: -.3s linear;
}

.header nav li a:hover::before {
    width: 100%;
}

.header nav li a:hover {
    color: white;
}

.header .main {
    text-align: center;   
}

.header .main h1 {
    font-size: 2.5rem;
    font-family: 'Lobster', sans-serif;
    margin-bottom: 1.2rem;
}

.header .main a {
    text-decoration: none;
    width: 350px;
    font-size: 15px;
    font-weight: bold;
    color: white;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: 0.5s;
}

.header .main a:hover {
    background: transparent;
    color: black;
}

svg {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 3;
}

.header .left-box {
    position: absolute;
    left: 0;
    bottom: 30px;
}

.header .left-box img {
    width: 60%; 
}

/* || END HEADER */

/* || SERVICE */
 
.service {
    padding-top: 1rem;
    width: 80%;
    margin: auto;
    text-align: center;
}

/* h2, p and row are identical in service and package sections */

h2 {
    font-size: 2.5rem;
    color: white;
    font-family: 'Lobster', sans-serif;
}

p {
    color: white;
}

.service img {
    width: 33%;
    height: auto;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-around;
}

.service .service-col {
    flex-basis: 30%;
    border: 1px solid var(--secondary-color);
    color: white;
    margin: 5% 0;
    padding: 1rem 0.5rem;
    position: relative;
} 

.service .service-offer {
    display: block;
    width: 60px;
    height: 60px;
    border: 3px solid var(--secondary-color);
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 10%;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.service .service-offer img {
    width: 60px;

}

.service h4 {
    font-size: 1.3rem;
    margin-top: 25%;
}

/* || END SERVICE */

/* || PACKAGES */

.package {
    padding-top: 5%;
    width: 80%;
    margin: auto;
    text-align: center;
}

.package .package-col {
    flex-basis: 25%;
    background: white;
    border-radius: 10px;
    margin-bottom: 5%;
    box-shadow: -2px 5px 5px grey;
}
.package .package-col .heading {
    border-radius: 10px;
    padding: 1.5rem 0;
    background-color: var(--secondary-color);
    font-size: 25px;
    font-weight: 900;
}

.package .package-col .list {
    margin-top: 10px;
    padding: 1rem 2.2rem;
}

.package-col li {
    list-style: none;
    text-align: left;
    font-weight: bold;
    margin-top: 5px;
    position: relative;
    font-size: 1rem;
    padding-left: 5px;
}

.package-col li::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    transform: rotate(45deg);
    position: absolute;
    top: 25%;
    left: -25px;
}

.package-col hr {
    height: 2px;
    background-color: var(--primary-color);
}

.package-col p {
    margin-top: 5%;
    color: black;
    font-size: 20px;
    font-weight: 900;
}

/* || END PACKAGES */

/* || HOW */

.how {
    padding-top: 5px;
    width: 80%;
    margin: auto;
    text-align: center;
}

.how-col {
    flex-basis: 23%;
    margin-bottom: 5%;
    border-radius: 1rem;
    box-shadow: -3px 5px 5px black;
    position: relative;
}

.how-col img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.how .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    border-radius: 1rem;
    background: linear-gradient(rgb(187, 186, 186, 0.7), var(--secondary-color));
    transition: 0.5s;
}

.how-col:hover .overlay {
    height: 100%;
}

.overlay h3 {
    font-size: 2rem;
    font-family: 'Lobster', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.overlay:hover h3 {
    opacity: 1;
}

/* || END HOW */

/* || CUSTOMER */

.customer-say {
    padding-top: 5%;
    width: 80%;
    margin: auto;
    text-align: center;
}

.customer-say .customer-say-col {
    flex-basis: 25%;
    background-color: var(--secondary-color);
    border-radius: 1rem;
    padding: 0.8rem;
    margin-bottom: 5%;
    display: flex;
    box-shadow: 0px 5px 3px rgba(61, 61, 61, 0.4);
    transition: 0.1s ease;
}

.customer-say .customer-say-col:hover {
    transform: scale(1.1);
}

.customer-say .customer-say-col p {
    color: black;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: bold;
}

.customer-say .customer-say-col img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin: 0 20px 0 10px;
}

.customer-say .customer-say-col span {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}

/* END CUSTOMER */

/* || FOOTER */
.footer {
    margin-top: 10%;
    width: 100%;
    text-align: center;
    background-color: var(--secondary-color);
}

.footer img {
    padding: 0.8rem 0;
    width: 15%;
    height: auto;
}

.footer p {
    color: black;
    font-size: 15px;
    font-weight: bold;
}

.social-link {
    width: 10%;
    margin: auto;
    padding: 1% 0 2%;
    font-size: 1.3rem;
    display: flex;
    justify-content: space-between;
}

.social-link i {
    color: black;
}

/* END FOOTER */

/* || RESPONSIVENESS */

@media (max-width:800px) {
    .header nav {
        padding: 5rem;
    }

    .row {
        flex-direction: column;
    }

    .service .row {
        gap: 1.5rem;
    }

    .header nav ul {
        flex-direction: column;
        width: 35%;
        height: 100vh;
        position: absolute;
        top: 0;
        right: -350px;
        padding-top: 25%;
        background: black;
        z-index: 1;
        transition: 1s ease;
    }

    .header nav ul li a {
        color: white;
        font-size: 1rem;
    }

    .header nav ul li {
        padding-bottom: 1.5rem;
        margin-top: 10%;   
    }

    .header .menu {
        font-size: 2rem;
        display: block;
        color: black;
        position: absolute;
        top: 50px;
        right: 50px;
        z-index: 3;
    }
}
