* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arimo", sans-serif;
}

body {
    background: #d1e8d0;
    color: #1a1a1a;
    line-height: 1.6;
}

/* HERO SECTION */
.hero {
     display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 60px 8%;
    background: #c5e2c0;
}

.hero-text h1 {
    font-size: 70px;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-text h2 {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 40px;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    text-decoration: none;
    padding: 12px 25px;
    background: black;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.8;
}

.btn.secondary {
    background: black;
    color: white;
    border: 2px solid black;
}

.hero-img img {
    width: 100%;
    max-width: 400px; /* keeps it from getting too big on large screens */
    height: auto;      /* maintains aspect ratio */
    object-fit: cover;
    border-radius: 10px;
}

/* ABOUT SECTION */

.about {
    padding: 120px 10%;
    background: #8fbfa7;
    
}

.about h2 {
    font-size: 63px;
    margin-bottom: 20px;
    
}

.about p {
    margin-bottom: 40px;
    font-size: 20px;
}

/* SPECIALIZE SECTION */
.specialize {
    padding: 80px 10%;
    background: #6e969a;
    color: #ffffff;
}

.specialize h2 {
    font-size: 63px;
    margin-bottom: 40px;
}

.spec-cards {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.spec-card {
    text-align: center;
    width: 260px;
}

.spec-img img {
    width: 200px;
    height: 200px;
    background: #ddd;
    border-radius: 50%;
    object-fit: cover;
}

.spec-text {
    
    margin-top: 40px;
    
    text-align: justify;
    font-size: 25px;
}

/* CONTACT */
.contact {
    padding:  10%;
    background: #3b5d5f;
    color: white;
    text-align: left;
}


.contact h2 {
    font-size: 40px;
}

.contact h3 {
    margin: 15px 0;
    font-size: 30px;
}

.contact p {
    margin-bottom: 10px;
    font-size: 20px;
}
.contactne {
    all: unset;
    text-decoration: underline;
}
#specialty {
    background-color: black;
}

.about, .contact {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.aboutimg, .contactimg {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
}

.about-text, .contact-text {
    flex: 1;
}

@media (max-width: 768px) {
    body {
        line-height: 1.3; /* reduces spacing between lines on phones */
    }

    /* Optional: reduce spacing in headings too */
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.2;
    }

    /* Reduce paragraph margins for more compact text */
    p {
        margin-bottom: 15px; 
    }
}