.hero-text {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    position: relative;
    color: white;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.hero-text .btn {
    background: #00aced;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    transition: background 0.3s;
}

.hero-text .btn:hover {
    background: #0084b4;
}

.hero-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #f8f9fa 100%);
    pointer-events: none;
}

.services {
    background: url('../images/background.avif') center top / 100% no-repeat;
    text-align: center;
    padding: 60px 20px;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #ffffff;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: #f1f1f1;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card h3 {
    margin-bottom: 15px;
    color: #00aced;
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

.cta {
    text-align: center;
    padding: 60px 20px;
    background-color: #00aced;
    color: white;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.cta .btn {
    background: white;
    color: #00aced;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    transition: background 0.3s;
}

.cta .btn:hover {
    background: #f1f1f1;
}

.testimonials {
    text-align: center;
    padding: 10px 20px 90px 20px;
    background-color: #fff;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 20px auto;
    height: 100px;
}

.testimonial-cards .card {
    background: #f1f1f1;
    padding: 25px;
    border-radius: 10px;
    width: 300px;
    font-style: italic;
    color: #555;
}

.why-choose {
    position: relative;
    text-align: center;
    padding: 60px 20px;
}

.why-choose::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(248,249,250,0) 0%, #f8f9fa 100%);
    pointer-events: none;
}

.why-choose h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #000000ad;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.why-card {
    background-color: #359f8e6f;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(26, 146, 124, 0.15);
}

.icon-box {
    width: 300px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.icon-box img {
    width: 90%;
    height: 90%;
}

.icon-box:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.why-card p {
    font-size: 1.1rem;
    color: #000000ad;
}

main {
    position: relative;
    z-index: 0;
}

main::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(248,249,250,0) 0%, #f8f9fa 100%);
    pointer-events: none;
    z-index: 2;
}

main section {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
}

.intro-owner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1500px;
    margin: 60px 20px;
    height: auto;
    background-color: #359f8e85;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08); 
}

.intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 200px;
    align-items: flex-start;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 400px;
}

.intro-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgb(255, 255, 255);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

@media (max-width: 1024px) {
    .hero-text {
        height: auto;
        padding: 60px 20px 40px 20px;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-text .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services h2 {
        font-size: 1.7rem;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .intro-owner {
        flex-direction: column;
        padding: 40px 20px;
        max-width: 90%;
        margin-left: 50px;
    }

    .intro-text {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .intro-text h2 {
        font-size: 1.8rem;
    }

    .intro-text p {
        max-width: 90%;
    }

    .intro-image {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-text {
        padding: 40px 15px 30px 15px;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-text .btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .intro-owner {
        flex-direction: column; 
        align-items: center;
        text-align: center;
        margin-left: 50px;
    }

    .intro-owner .intro-text {
        padding-left: 0;
        align-items: center;      
        width: 100%;             
        margin-bottom: 20px;     
    }

    .intro-owner .intro-image {
        margin-top: 0;
    }

    .intro-text h2 {
        font-size: 1.5rem;
    }

    .intro-text p {
        font-size: 1rem;
        max-width: 90%;
    }

    .intro-image {
        margin-top: 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services h2,
    .cta h2,
    .why-choose h2,
    .testimonials h2 {
        font-size: 1.5rem;
    }

    header nav a {
        font-size: 1.1rem;
        padding: 10px 12px;
    }
}
