body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #f5f3f4;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 50px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
}

.logo span {
    font-weight: normal;
    font-size: 16px;
    display: block;
    margin-top: -5px;
    letter-spacing: 1px;
}

.navbar a {
    margin-left: 30px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-text {
    max-width: 500px;
    color: #a97d5a;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 16px;
}

.social-sidebar {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.connect-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #a97d5a;
    white-space: nowrap;
}

.line {
    width: 1px;
    height: 40px;
    background-color: #a97d5a;
    margin-bottom: 10px;
    color: #a97d5a;
}

.site-footer > *:first-child {
    margin-top: 0;
}

.line-container {
    position: relative;
    width: 100%;             /* makes the line full width */
    max-width: 100vw;
}

.deco_element {
    position: absolute;
    right: 0.5vw;
    top: 100%;
    width: 150px;
    background: none;
}

.deco_element img {
    display: block;
    width: 100%;
    height: 100%;
}


.footer_deco_element {
    position: absolute;
    left: 0.5vw;
    top: 0;
    width: 150px;
    background: none;
    transform: translateY(-100%);
    z-index: 10;
}

.footer_deco_element img {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(180deg);
}


.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-icons img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    filter: invert(20%) sepia(54%) saturate(508%) hue-rotate(284deg) brightness(90%) contrast(85%);
}


.logo img {
    height: 100px; /* adjust to your needs */
    width: auto;
}

.site-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 20px 50px;
    background-color: #f5f3f4;
    border-bottom: 3px solid #a97d5a;
    gap: 40px;
}


.tagline {
    white-space: normal;
    font-size: 24px;
    color: #652f52;
    text-align: right;
    font-family: 'Lato', serif;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
}

.intro {
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 1.5em;
    max-width: 700px;
    color: #652f52;
}

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 50px;
    flex-wrap: wrap; /* ✅ Helps on smaller viewports */
    max-width: 1200px;
    margin: 0 auto;
}

.service-list {
    flex: 1 1 300px;
    max-width: 450px;
    font-family: 'Lato', sans-serif;
    color: #652f52;
}

.service-title {
    text-align: center;
    color: #a97c50;
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-group {
    margin-bottom: 25px;
}

.service-group h3 {
    font-weight: bold;
    font-size: 22px;
    text-align: center;
    color: #582a4f;
    margin-bottom: 8px;
}

.service-group p {
    text-align: center;
    color: #a97d5a;
    font-size: 18px;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
        padding: 30px 20px;
    }

    .hero-text,
    .service-list {
        max-width: 100%;
    }
}

/*@media (max-width: 768px) {*/
/*    .hero-image {*/
/*        justify-content: center;*/
/*        margin-left: 0;*/
/*    }*/
/*}*/

.hero-image img {
   width: 100%;
   height: auto;
   border-radius: 12px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-image {
    flex: 1 1 300px;
    max-width: 450px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 20px;
}

.services-section {
    display: flex;
    justify-content: center;
    padding: 40px 50px 60px;
    background-color: #f5f3f4;
    width: 100%;
}

.site-footer {
    border-top: 3px solid #a97d5a;
    background-color: #f5f3f4;
    color: #582a4f;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}

.site-footer a {
    color: #582a4f;
    text-decoration: underline;
}

.center-section {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.services-section,
.contact-section {
    width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

/* Add this media query at the end of your CSS */
@media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 20px 10px;
        text-align: center;
    }
    .tagline {
        margin-left: 0;
        text-align: center;
        max-width: 95vw;
        font-size: 18px;
    }
    .logo img {
        height: 70px; /* Optional: slightly smaller logo on mobile for balance */
    }
}