/* =====================================================
   Base
===================================================== */
body {
    overflow-x: hidden;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f2f7f5;
    color: #333;
}

h2, h3, h4 {
    color: #333;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    position: relative;
}

/* =====================================================
   Buttons
===================================================== */

button {
    background: #4CAF50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

button:hover {
    background: #45a049;
}

.toggle-btn:active {
    transform: scale(0.98);
}

/* =====================================================
   Layout Containers
===================================================== */

.content {
    max-width: 1100px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    line-height: 1.4;
}

#certificate {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#certificate.is-open {
    max-height: 60vh;      /* limits height to 60% of screen */
    overflow-y: auto;      /* enables vertical scrolling */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iPhone */
}

/* =====================================================
   Hero
===================================================== */

.hero {
    position: relative;
    width: 100%;
}

.hero img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.hero .overlay-text {
    position: absolute;
    bottom: 20px;
    right: 30px;
    color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 15px 20px;
    border-radius: 8px;
    text-align: right;
}

.hero .overlay-text h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 1px;
}

.hero .overlay-text p {
    margin: 5px 0 0;
}

/* =====================================================
   Lists / Info
===================================================== */

ul.service-list {
    line-height: 1.5;
    font-size: 15px;
    margin-top: 10px;
}

.hover-item {
    position: relative;
    padding: 10px;
    cursor: pointer;
}

.info-text {
    display: none;
    position: absolute;
    z-index: 10;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.walk-with-me-description {
    display: block;
    padding-left: 22px;
    border-radius: 5px;
    font-size: 14px;
    font-style: italic;
}

/* =====================================================
   About Image
===================================================== */

.about-image {
    float: right;
    width: 120px;
    margin: -10px 0 15px 20px;
    border-radius: 8px;
}

/* =====================================================
   CTA Buttons
===================================================== */

.cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}

.cta-wrap a,
.cta-button {
    background: seagreen;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
}

.cta-button {
    padding: 12px 20px;
    border-radius: 6px;
    margin: 5px 10px 0 0;
}

/* =====================================================
   Toggle Sections
===================================================== */

.toggle-section {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.3s ease;
}

.toggle-section.is-open {
    opacity: 1;
    max-height: 10000px;
}

.toggle-section > * {
    padding-bottom: 1rem;
}

.toggle-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.toggle-btn {
    width: 100%;
    font-size: 14px;
    white-space: normal;
    text-align: center;
    padding: 12px 14px;
}

/* =====================================================
   Footer
===================================================== */

footer {
    background: #333;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    margin-top: 40px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

/* =====================================================
   Responsive
===================================================== */

@media (max-width: 600px) {

    .content {
        margin: 20px;
        padding: 20px;
    }

    header img {
        max-height: 200px;
    }

    .hover-item {
        font-size: 18px;
        padding: 15px;
    }

    .toggle-btn {
        font-size: 14px;
        line-height: 1.4;
        padding: 16px 18px;
        border-radius: 10px;
        background: #4CAF50;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    }

    .toggle-buttons {
        gap: 2px;
    }

    .toggle-btn:not(:last-child) {
        margin-bottom: 6px;
    }
}

@media (min-width: 768px) {

    .cta-wrap {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
}

@media (min-width: 900px) {

    .toggle-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
    }

    .toggle-btn {
        width: auto;
        max-width: 220px;
        font-size: 13.5px;
        line-height: 1.2;
        padding: 10px 12px;
    }
}
img {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}

@media (max-width:600px) {
    .about-image {
        float: none;
        display: block;
        margin: 10px auto;
    }
}
section h3 {
    margin-bottom: 5px;
}

section p {
    margin: 0px 0;
}

