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

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* The header */

.header {
    background-color: #ffffff;
    padding: 20px 0;

    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: #1b6f8a;
}

/* Nav */

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;

    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
}

.nav-list a:hover {
    color: #1b6f8a;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 12px 24px;

    text-decoration: none;
    border-radius: 6px;

    font-size: 15px;
    font-weight: 600;
}

.btn-primary {
    background-color: #1b6f8a;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #15596f;
}

.menu-toggle {
    display: none;
}

/* Hero */

.hero {
    padding: 80px 0;
    background-color: #f5fbfd;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.hero-subtitle {
    color: #1b6f8a;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.15;
    color: #1f2933;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: #667085;
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-secondary {
    background-color: transparent;
    color: #1b6f8a;
    border: 1px solid #1b6f8a;
}

.btn-secondary:hover {
    background-color: #1b6f8a;
    color: #ffffff;
}

/* About */
.about {
    padding: 80px 0;
    background-color: #f5fbfd;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-image,
.about-content {
    flex: 1;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.about-content h2 {
    font-size: 38px;
    line-height: 1.2;
    color: #1f2933;
    margin-bottom: 20px;
}

.about-description {
    color: #667085;
    max-width: 600px;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 26px;
}

.about-features {
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.about-feature span {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background-color: #dff3f7;
    color: #1b6f8a;

    border-radius: 50%;
    font-weight: 700;
}

.about-feature p {
    color: #333333;
    font-weight: 500;
}

/* Services */
.services {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-subtitle {
    color: #1b6f8a;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 38px;
    line-height: 1.2;
    color: #1f2933;
    margin-bottom: 16px;
}

.section-description {
    font-size: 17px;
    line-height: 1.7;
    color: #667085;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 32px;
    background-color: #f8fbfc;

    border: 1px solid #e7eef1;
    border-radius: 14px;
}

.service-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    background-color: #dff3f7;
    color: #1b6f8a;

    border-radius: 10px;

    font-size: 18px;
    font-weight: 700;
}

.service-card h3 {
    font-size: 22px;
    color: #1f2933;
    margin-bottom: 14px;
}

.service-card p {
    color: #667085;
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-link {
    color: #1b6f8a;
    text-decoration: none;
    font-weight: 600;
}

.service-link:hover {
    text-decoration: underline;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

/* why-us */
.why-us {
    padding: 80px 0;
    background-color: #ffffff;
}

.why-us .section-header {
    margin-bottom: 30px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 20px 30px;
    text-align: center;
}

.why-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    background-color: #dff3f7;
    color: #1b6f8a;

    border-radius: 50%;

    font-size: 18px;
    font-weight: 700;
}

.why-card h3 {
    font-size: 21px;
    color: #1f2933;
    margin-bottom: 12px;
}

.why-card p {
    color: #667085;
    line-height: 1.7;
}

/* testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f5fbfd;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 30px;

    background-color: #ffffff;
    border: 1px solid #e7eef1;
    border-radius: 14px;
}

.testimonial-stars {
    color: #f5b301;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #667085;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background-color: #dff3f7;
    color: #1b6f8a;

    border-radius: 50%;

    font-weight: 700;
}

.testimonial-author h3 {
    font-size: 16px;
    color: #1f2933;
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 14px;
    color: #667085;
}

/* Appointment */
.appointment {
    padding: 80px 0;
    background-color: #15596f;
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.appointment-content .section-subtitle {
    color: #bdebf3;
}

.appointment-content h2 {
    font-size: 40px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
}

.appointment-description {
    color: #dbecef;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.appointment-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.appointment-benefit span {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background-color: #ffffff;
    color: #1b6f8a;

    border-radius: 50%;
    font-weight: 700;
}

.appointment-benefit p {
    color: #ffffff;
}

/* Appointment form */
.appointment-form {
    padding: 36px;

    background-color: #ffffff;
    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group label {
    color: #1f2933;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;

    border: 1px solid #d7e0e5;
    border-radius: 7px;

    font-family: inherit;
    font-size: 15px;

    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1b6f8a;
    box-shadow: 0 0 0 3px rgba(27, 111, 138, 0.1);
}

.appointment-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.form-status {
    margin-top: 16px;
    color: #1b6f8a;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #102f3a;
    color: #ffffff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 50px;

    padding-top: 60px;
    padding-bottom: 50px;
}

.footer-logo {
    display: inline-block;

    color: #ffffff;
    text-decoration: none;

    font-size: 28px;
    font-weight: 700;

    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 320px;

    color: #c8d5d9;
    line-height: 1.7;
}

.footer-column h3 {
    font-size: 17px;
    margin-bottom: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
    color: #c8d5d9;
    line-height: 1.6;
}

.footer-column a {
    color: #c8d5d9;
    text-decoration: none;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;

    text-align: center;
}

.footer-bottom p {
    color: #aebfc4;
    font-size: 14px;
}

@media (max-width: 768px) {
    /* Hero */
    .hero {
        padding: 60px 0;
    }

    .hero-container {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        width: 100%;
    }

    /* Nav */

    .header-container {
        flex-wrap: wrap;
    }

    .nav {
        display: none;

        position: static;
        width: 100%;

        padding-top: 16px;

        background-color: white;

        order: 3;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        border-top: 1px solid #eeeeee;
        padding-top: 10px;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .header .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #1f2933;
    }

    /* Services */
    .services {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .about {
        padding: 60px 0;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image,
    .about-content {
        width: 100%;
    }

    .about-content h2 {
        font-size: 32px;
    }

    /* why-us */
    .why-us {
        padding: 60px 0;
    }

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

    .why-card {
        max-width: 500px;
        margin: 0 auto;
        padding: 15px 20px;
    }

    /* testimonials */
    .testimonials {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Appointment */
    .appointment {
        padding: 60px 0;
    }

    .appointment-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .appointment-content h2 {
        font-size: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

}

@media (max-width: 480px) {
    /* Hero */
    .hero {
        padding: 45px 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .services {
        padding: 45px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .service-card {
        padding: 24px;
    }

    .about {
        padding: 45px 0;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .why-us {
        padding: 45px 0;
    }

    .why-card {
        padding: 10px 0;
    }

    .testimonials {
        padding: 45px 0;
    }

    .testimonial-card {
        padding: 24px;
    }

    .appointment {
        padding: 45px 0;
    }

    .appointment-content h2 {
        font-size: 28px;
    }

    .appointment-form {
        padding: 24px;
    }


    .footer-container {
        grid-template-columns: 1fr;

        padding-top: 45px;
        padding-bottom: 35px;
    }

    .footer-bottom {
        text-align: left;
    }
}