/* Global Styles */
:root {
    --font-body: 'Manrope', sans-serif;
    --font-display: 'Playfair Display', serif;
    --text-primary: #243746;
    --text-secondary: #34495e;
    --reading-measure: 68ch;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0.01em;
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    letter-spacing: 0.015em;
    line-height: 1.2;
}

p,
li,
label,
input,
textarea,
button,
a {
    font-family: var(--font-body);
}

p {
    max-width: var(--reading-measure);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
    text-wrap: pretty;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #4C7766 0%, #3a5a4a 100%);
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.logo img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    letter-spacing: 0.08em;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: #EBE6E0;
    border-bottom: 2px solid #EBE6E0;
}

.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-weight: 700;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    letter-spacing: 0.04em;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Home section */
.home-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
}

#home {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about,
#services,
#gallery,
#contact {
    scroll-margin-top: 104px;
    content-visibility: auto;
    contain-intrinsic-size: 1px 850px;
}

.home-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.home-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) contrast(1.06) saturate(1.08);
}

.home-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: #EBE6E0;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-title h1 {
    font-size: clamp(1.3rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 18px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4C7766 0%, #3a5a4a 100%);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 6px 18px rgba(76, 119, 102, 0.25);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 119, 102, 0.35);
    background: linear-gradient(135deg, #5ea585 0%, #4a6d57 100%);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(76, 119, 102, 0.3);
}

/* Trust Strip */
#trust-strip {
    background: linear-gradient(135deg, #3a5a4a 0%, #2e4a3c 100%);
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    border-top: 2px solid rgba(255,255,255,0.08);
    border-bottom: 2px solid rgba(0,0,0,0.12);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e8f0eb;
    font-size: clamp(0.78rem, 1.4vw, 0.92rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 8px 22px;
    white-space: nowrap;
    text-transform: uppercase;
}

.trust-item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    stroke: #7fc4a0;
}

.trust-divider {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .trust-divider {
        display: none;
    }

    #trust-strip {
        gap: 0;
        padding: 12px 16px;
    }

    .trust-item {
        width: 50%;
        justify-content: flex-start;
        padding: 6px 12px;
        font-size: 0.72rem;
    }
}

/* ABOUT section */
#about {
    background: linear-gradient(135deg, #E8E3D8 0%, #D4C5B9 100%);
    padding: 60px 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

#about h1 {
    color: #4C7766;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 20px;
}

#about p {
    width: min(92%, 72ch);
    max-width: none;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    line-height: 1.85;
    color: var(--text-secondary);
    text-align: left;
    margin-bottom: 1.15rem;
}


/* Services */
#services {
    padding: 60px 20px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

#services h1 {
    color: #4C7766;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 20px;
}

#services p {
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 66ch;
    margin-bottom: 40px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: min(100%, 940px);
}

@media (max-width: 1080px) {
    .services-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 760px);
    }
}

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: auto;
    text-align: left;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card img {
    width: 100%;
    height: 188px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
    filter: brightness(0.97) contrast(1.06) saturate(1.1);
    transition: filter 0.3s;
}

.service-card:hover img {
    filter: brightness(1.02) contrast(1.06) saturate(1.15);
}

.service-card video {
    width: 92%;
    height: 150px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background: linear-gradient(135deg, #202a2d 0%, #36444a 100%);
    padding: 4px;
}

.service-card h3 {
    color: #4C7766;
    font-size: clamp(0.95rem, 2.1vw, 1.2rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: clamp(0.82rem, 1.3vw, 0.95rem);
    text-align: left;
    margin-bottom: 14px;
}


/* Gallery */
#gallery {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #e9ecef 100%);
    text-align: center;
}

#gallery h1 {
    color: #4C7766;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 40px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: min(100%, 1160px);
    margin: 0 auto;
}

.gallery-card {
    width: auto;
    background: rgba(255, 255, 255, 0.84);
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(76, 119, 102, 0.14);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.gallery-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    touch-action: pan-y;
    border-radius: 12px;
    overflow: hidden;
    background: #dfe7e2;
}

.gallery-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.gallery-carousel::after {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.25s ease;
    text-align: center;
    width: calc(100% - 24px);
}

.gallery-carousel:hover::before {
    opacity: 0;
}

.gallery-carousel:hover::after {
    opacity: 0;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    touch-action: pan-y;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    cursor: pointer;
    filter: brightness(0.97) contrast(1.06) saturate(1.1);
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 4;
    transition: background 0.25s, transform 0.25s;
}

@media (max-width: 1100px) {
    .gallery-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 820px);
    }
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.05);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.78);
    transform: translateY(-50%) scale(1.05);
}

#caption {
    display: none;
    max-width: min(90vw, 900px);
    color: #ffffff;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.4;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.close:hover {
    background: rgba(0, 0, 0, 0.8);
}


/* FOOTER */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #4C7766 0%, #3a5a4a 100%);
    color: white;
    width: 100%;
    margin: 0;
    margin-top: auto;
    font-weight: 600;
}

/* Contact Section */
#contact {
    padding: 40px 0;
    background: linear-gradient(135deg, #E8E3D8 0%, #D4C5B9 100%);
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 980px;
    gap: 24px;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .contact-body {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
    }
}

#contact h1 {
    color: #4C7766;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 700;
}

#contact p {
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-header h1,
.contact-header p {
    margin: 0;
}

.contact-header p {
    max-width: 56ch;
}


.contact-form {
    flex: 1;
    min-width: 0;
    width: 100%;
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    transition: box-shadow 0.3s;
}

.contact-form:hover {
    box-shadow: 0 12px 40px rgba(76, 119, 102, 0.15);
}

.contact-form-inner {
    width: 100%;
    padding: clamp(18px, 4vw, 30px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    background: transparent;
    border-radius: 16px;
}

.contact-form-inner button {
    justify-self: center;
}

.form-status {
    margin: 0;
    text-align: center;
    font-size: clamp(0.82rem, 1.5vw, 0.95rem);
    min-height: 1.4em;
}

.form-status.success {
    color: #1f7a4c;
}

.form-status.error {
    color: #b42318;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #4C7766;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.required-marker {
    color: #d93025;
    margin-left: 4px;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f9f9f9;
}

.form-group textarea {
    min-height: 120px;
    max-height: 220px;
    overflow-y: auto;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4C7766;
    box-shadow: 0 0 8px rgba(76, 119, 102, 0.3);
}

.form-group select {
    cursor: pointer;
}

.contact-form-inner button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #4C7766 0%, #3a5a4a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-form-inner button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 119, 102, 0.4);
}

.contact-info {
    flex: 1;
    min-width: 0;
    width: 100%;
    margin-top: 0;
    text-align: left;
    background: white;
    padding: clamp(18px, 4vw, 30px);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    transition: box-shadow 0.3s;
}

.contact-info:hover {
    box-shadow: 0 12px 40px rgba(76, 119, 102, 0.15);
}

.contact-info-title {
    color: #4C7766;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 8px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -2px;
}

.contact-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #1ea654 100%);
}

.sms-btn {
    background: linear-gradient(135deg, #4C7766 0%, #3a5a4a 100%);
}

.contact-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    opacity: 0.95;
}

.section-quick-action {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: clamp(10px, 2vw, 14px) clamp(12px, 3vw, 18px);
    background: #f6fbf9;
    border-radius: 10px;
    border-left: 4px solid #4C7766;
}

.contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: #4C7766;
    border: 2px solid #3a5a4a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(76, 119, 102, 0.28);
    margin-top: 2px;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke: #ffffff;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #4C7766;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-value {
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    color: #2c3e50;
    font-weight: 600;
    word-break: break-word;
    display: block;
}
a.contact-value {
    color: #4C7766;
    text-decoration: none;
}
a.contact-value:hover {
    text-decoration: underline;
}

.contact-summary {
    margin-top: auto;
    background: linear-gradient(135deg, #f0f7f3 0%, #e6f0ea 100%);
    border: 1px solid rgba(76, 119, 102, 0.25);
    border-radius: 12px;
    padding: 14px;
}

.contact-summary h4 {
    margin: 0 0 6px 0;
    color: #335646;
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.contact-summary p {
    margin: 0 0 10px 0;
    font-size: clamp(0.78rem, 1.6vw, 0.88rem);
    color: #4a5f56;
    max-width: none;
}

.contact-summary ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.contact-summary li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    font-size: clamp(0.78rem, 1.5vw, 0.9rem);
    color: #2b3f36;
}

.contact-summary li strong {
    color: #2f4e40;
    font-weight: 800;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 36px;
    height: 36px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        padding: 12px 20px;
        gap: 0;
        border-radius: 0;
    }

    .logo img {
        width: 54px;
        height: 54px;
    }

    .hamburger {
        display: flex;
    }

    #main-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    #main-nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        margin: 0;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        font-size: 1rem;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    #home,
    #about,
    #services,
    #gallery,
    #contact {
        scroll-margin-top: 44px;
    }

    #home {
        height: 60vh;
    }

    #services {
        padding-top: 46px;
        padding-bottom: 26px;
    }

    #gallery {
        padding-top: 30px;
        padding-bottom: 46px;
    }

    #gallery h1 {
        margin-bottom: 26px;
    }

    .services-container {
        grid-template-columns: 1fr;
        width: 100%;
        justify-items: center;
    }

    .service-card {
        width: min(92%, 360px);
    }

    .gallery-container {
        grid-template-columns: 1fr;
        width: 100%;
        justify-items: center;
    }

    .gallery-card {
        width: min(94vw, 390px);
        max-width: 390px;
        padding: 8px;
    }

    .gallery-carousel {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
        background: rgba(0, 0, 0, 0.58);
    }

    .lightbox-nav {
        display: none;
    }

    #contact {
        gap: 20px;
        padding: 32px 0;
    }

    .contact-row {
        gap: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-form-inner {
        grid-template-columns: 1fr;
        padding: 20px;
    }

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

    .contact-info {
        padding: 20px;
    }

    #about p {
        width: 92%;
        text-align: left;
    }
}

/* Service Learn More button */
.svc-learn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 9px 22px;
    background: transparent;
    border: 2px solid #4C7766;
    color: #4C7766;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    align-self: flex-start;
}

.svc-learn-btn:hover {
    background: #4C7766;
    color: white;
    transform: translateY(-1px);
}

/* Service Detail Modal */
.svc-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.svc-modal.open {
    display: flex;
}

.svc-modal-box {
    background: #fff;
    border-radius: 18px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: svcModalIn 0.22s ease;
}

@keyframes svcModalIn {
    from { transform: scale(0.94) translateY(18px); opacity: 0; }
    to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

.svc-modal-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    filter: brightness(0.97) contrast(1.06) saturate(1.1);
    display: block;
}

.svc-modal-body {
    padding: 28px;
}

.svc-modal-title {
    color: #4C7766;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    margin: 0 0 12px 0;
}

.svc-modal-desc {
    color: #34495e;
    font-size: clamp(0.88rem, 1.6vw, 1rem);
    line-height: 1.75;
    margin-bottom: 18px;
    max-width: none;
}

.svc-modal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.svc-modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: clamp(0.82rem, 1.4vw, 0.93rem);
    color: #243746;
    line-height: 1.5;
}

.svc-modal-list li::before {
    content: '✓';
    color: #4C7766;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.svc-modal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    background: linear-gradient(135deg, #4C7766 0%, #3a5a4a 100%);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-size: clamp(0.88rem, 1.8vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(76, 119, 102, 0.25);
}

.svc-modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 119, 102, 0.35);
}

.svc-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
    line-height: 1;
}

.svc-modal-close:hover {
    background: rgba(0, 0, 0, 0.72);
}

@media (max-width: 768px) {
    .svc-modal-list {
        grid-template-columns: 1fr;
    }

    .svc-modal-img {
        height: 180px;
    }

    .svc-modal-body {
        padding: 20px;
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1200;
    background: linear-gradient(135deg, #4C7766 0%, #3a5a4a 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(76, 119, 102, 0.3);
}

#back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(76, 119, 102, 0.4);
}
