@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
    font-family: 'Roboto', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(90deg, #6dc7ed 10%, #195aa7 90%);
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, span {
    color: white;
    text-align: center;
    line-height: 1.25;
}

h1 {
    font-size: 36px;
}

p {
    color: white;
    line-height: 1.5;
    font-size: 16px;
}

a {
    text-decoration: none;
    position: relative;
    transition: 300ms ease;
}

.link__hover-effect:after {
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    bottom: -3px;
    right: 0;
    transition: all 300ms ease;
}

.link__hover-effect--black:after {
    background-color: #0395da;
}

.link__hover-effect--blue:after {
    background-color: #0395da;
}

.link__hover-effect:hover:after {
    width: 100%;
    left: 0;
}

li {
    list-style-type: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 12px;
}

/* HEADER */

nav {
    background-image: linear-gradient(90deg, #6dc7ed 10%, #195aa7 90%);
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0 20px;
}

.nav__link--list {
    display: flex;
}

.nav__link--anchor {
    margin: 0 12px; 
    color: #ffffff;
    font-weight: 700;
}

.nav__link--anchor-primary {
    background-color: #0395da;
    padding: 8px 20px;
    border-radius: 50px;
    color: white;
    transition: all 300ms ease;
}

.nav__link--anchor-primary:hover {
    background-color: #0ba0e6;
}

.logo {
    width: 100px;
    transition: transform 0.3s ease;
    height: auto;
}

.logo:hover {
    transform: scale(1.05);
}

/* INTRO */

#intro {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.intro__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.intro__content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.intro__title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin: 0;
    text-align: left;
}

.intro__description {
    font-size: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin: 0;
    text-align: left;
    opacity: 0.9;
}

.intro__button {
    background-color: #0395da;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.intro__button:hover {
    background-color: #0ba0e6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* SHAPE DIVIDER */

.custom-shape-divider-bottom-1742236165 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1742236165 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom-1742236165 .shape-fill {
    fill: #ffffff;
}

/* Section Title Styles */
.section__title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
}

#services .section__title {
    color: #242424;
}

#reviews .section__title,
#about .section__title {
    color: #ffffff;
}

/* SERVICES */

#services {
    background-color: #ffffff;
    padding: 100px 0;
}

.services__container {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.service__container {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service__container:hover {
    transform: translateY(-5px);
}

.service__container--reverse {
    flex-direction: row-reverse;
}

.service__image--wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.service__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.service__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 32, 46, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service__overlay i {
    font-size: 48px;
    color: #ffffff;
}

.service__image--wrapper:hover .service__overlay {
    opacity: 1;
}

.service__image--wrapper:hover .service__image {
    transform: scale(1.05);
}

.service__content {
    flex: 1;
    padding: 20px;
}

.service__title {
    color: #242424;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}

.service__text {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
}

.service__features {
    list-style: none;
    padding: 0;
}

.service__features li {
    color: #242424;
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service__features i {
    color: #0395da;
    font-size: 18px;
}

/* REVIEWS */

#reviews {
    background-color: #242424;
    padding: 50px 0;
}

.reviews__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.review__container {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.review__container:hover {
    transform: translateY(-5px);
}

.review__icon {
    color: #0395da;
    font-size: 32px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.review__text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: left;
}

.review__author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0395da;
    font-size: 16px;
    font-weight: 500;
}

.review__author i {
    font-size: 24px;
}

/* ABOUT */

#about {
    background-color: #242424;
    padding-bottom: 50px;
}

.about__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about__content {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about__content:hover {
    transform: translateY(-5px);
}

.about__icon {
    color: #0395da;
    font-size: 48px;
    opacity: 0.8;
    flex-shrink: 0;
}

.about__text-container {
    flex: 1;
}

.about__text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.about__text:last-child {
    margin-bottom: 0;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 16px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.about__feature:hover {
    transform: translateY(-5px);
}

.about__feature i {
    color: #0395da;
    font-size: 20px;
}

/* FOOTER */

footer {
    padding: 80px 0 20px;
    color: #ffffff;
    position: relative;
    margin-top: -1px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
}

.footer__logo-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer__logo:hover {
    transform: scale(1.05);
}

.footer__description {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    max-width: 250px;
}

.footer__links {
    display: flex;
    gap: 40px;
}

.footer__link {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: 300ms ease;
    font-size: 16px;
    font-weight: 500;
}

.footer__link:after {
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    bottom: -3px;
    right: 0;
    transition: all 300ms ease;
    background-color: #ffffff;
}

.footer__link:hover:after {
    width: 100%;
    left: 0;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__contact-link {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: 300ms ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__contact-link i {
    font-size: 16px;
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__copyright {
    color: #ffffff;
    font-size: 14px;
}

/* MODAL */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal__content {
    background: linear-gradient(90deg, #6dc7ed 10%, #195aa7 90%);
    margin: 15% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal__close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal__close:hover {
    transform: rotate(90deg);
}

.modal__title {
    color: white;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.modal__body {
    color: white;
}

.modal__contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal__contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.modal__contact-item i {
    font-size: 24px;
    color: #0395da;
}

.modal__contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal__contact-item a:hover {
    color: #0395da;
}

.modal__contact-item span {
    color: white;
}

/* RESPONSIVE DESIGN */

/* Small phones, tablets, large smartphones */
@media (max-width: 768px) {
    nav {
        height: 68px;
        padding: 0 8%;
    }

    .nav__link--anchor {
        font-size: smaller;
    }

    #intro {
        min-height: auto;
        padding: 60px 0;
    }

    .intro__container {
        padding: 0 20px;
    }

    .intro__content {
        align-items: center;
        text-align: center;
    }

    .intro__title {
        font-size: 42px;
        text-align: center;
    }

    .intro__description {
        font-size: 18px;
        text-align: center;
    }

    .intro__button {
        font-size: 16px;
        padding: 12px 30px;
    }

    .reviews__container {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .review__container {
        padding: 30px;
    }

    .review__text {
        font-size: 16px;
    }

    .review__author {
        font-size: 14px;
    }

    .section__title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .service__container {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    .service__container--reverse {
        flex-direction: column;
    }

    .service__image {
        height: 300px;
    }

    .service__title {
        font-size: 28px;
    }

    .service__text {
        font-size: 14px;
    }

    .about__content {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }

    .about__icon {
        font-size: 36px;
        text-align: center;
    }

    .about__text {
        font-size: 14px;
    }

    .about__feature {
        font-size: 14px;
        padding: 12px;
    }

    footer {
        padding: 60px 0 20px;
    }

    .footer__content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer__logo-section {
        align-items: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .footer__contact {
        align-items: center;
    }
}

/* SMALL PHONES */
@media (max-width: 480px) {
    nav {
        height: 60px;
        padding: 0 15px;
        justify-content: center;
    }

    .logo {
        width: 80px;
        margin-right: auto;
        margin-top: 10px;
    }

    .nav__link {
        display: none;
    }


    #intro {
        padding: 40px 0;
    }

    .intro__title {
        font-size: 36px;
    }

    .intro__description {
        font-size: 16px;
    }

    .intro__button {
        font-size: 14px;
        padding: 10px 25px;
    }

    .reviews__container {
        position: relative;
        padding-left: 50px;
        right: 5%;
    }

    .review__container {
        padding: 20px;
    }

    .review__text {
        font-size: 14px;
    }

    .section__title {
        font-size: 28px;
    }

    .service__image {
        height: 250px;
    }

    .service__title {
        font-size: 24px;
    }

    .service__text {
        font-size: 14px;
    }

    .service__features li {
        font-size: 14px;
    }

    .review__author {
        font-size: 12px;
    }

    .about__content {
        padding: 20px;
    }

    .about__text {
        font-size: 14px;
    }

    .about__feature {
        font-size: 12px;
        padding: 10px;
    }

    footer {
        padding: 40px 0 20px;
    }

    .footer__logo {
        width: 100px;
    }

    .footer__contact-link {
        font-size: 14px;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__description,
    .footer__title {
        text-align: center;
    }

    .footer__contact li {
        justify-content: center;
    }
}