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

:root {
    --primary: #e8a87c;
    --secondary: #257780;
    --dark: #2d3436;
    --light: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #e8a87c 0%, #41b3a3 100%);
    --success: #27ae60;
    --error: #e74c3c;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--dark);
    line-height: 1.6;
    padding-top: 70px;
    font-size: 0.98rem;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 480px) {
    .logo {
        font-size: 0.7rem;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    margin-right: -10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content h2 span {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 30px;
}

.post-content .btn,
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232, 168, 124, 0.4);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.hero-image::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: 20px;
    z-index: -1;
}

.section {
    padding: 90px 0;
}

.post-page {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1rem;
}

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-content h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 15px;
}

.stat-number {
    font-size: 2.1rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.clickable-card {
    text-decoration: none;
    color: inherit;
}

.service-card-link {
    color: inherit;
    text-decoration: none;
}

.service-card-link:hover {
    color: var(--secondary);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonials styling (visual language aligned with service cards) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.testimonial-card {
    background: var(--white);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    display: flex;
    gap: 18px;
    align-items: stretch; /* ensure body fills the card height so we can push meta to bottom */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 8px 24px rgba(45, 52, 54, 0.06);
}

.testimonial-card:hover {
    /* keep appearance identical to non-hover state (no rise, no stronger shadow, no border color change) */
    transform: none;
    box-shadow: 0 8px 24px rgba(45, 52, 54, 0.06);
    border-color: #e9ecef;
}

.testimonial-image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #f6f8fa;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 3px solid rgba(65, 179, 163, 0.06);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* push name + stars to the bottom */
    min-width: 0; /* allow text to truncate properly inside flex */
}

.testimonial-comment {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    flex: 1 1 auto; /* allow the comment to take available space */
    min-height: 0;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark);
}

/* Add a long hyphen (em dash) before the testimonial author name */
.testimonial-name::before {
    content: "\2014"; /* em dash */
    display: inline-block;
    margin-right: 8px;
    color: #777; /* subtle color so dash doesn't compete with name */
    font-weight: 400;
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 2px;
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 18px;
        gap: 12px;
    }

    .testimonial-image {
        width: 56px;
        height: 56px;
        flex: 0 0 56px;
    }

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

.contact {
    background: var(--white);
}

.homepage-post {
    background: var(--light);
}

.homepage-post .container {
    max-width: 1040px;
}

.homepage-post .section-title h2 {
    font-size: 2rem;
}

.post-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
    background: var(--white);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 16px 40px rgba(45, 52, 54, 0.08);
    overflow-x: auto;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--dark);
}

.post-content h1 {
    font-size: 2rem;
}

.post-content h2 {
    font-size: 1.6rem;
}

.post-content h3 {
    font-size: 1.3rem;
}

.post-content hr {
    height: 0px;
    border: none;
    border-top: 1px gray dotted;
    width: 100%;
    margin: 2rem auto;
}

@media (max-width: 480px) {
    .post-content h1 {
        margin-top: 0;
        font-size: 1.6rem;
    }

    .post-content h2 {
        font-size: 1.3rem;
    }

    .post-content h3 {
        font-size: 1rem;
    }
}

.post-content p {
    margin-bottom: 1em;
    color: #555;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
    color: #555;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content a {
    color: var(--secondary);
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1em;
    margin: 1em 0;
    font-style: italic;
    color: #666;
    background: #fafafa;
    border-radius: 12px;
    padding: 16px 20px;
}

.post-content code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

.post-content pre {
    background: rgba(0, 0, 0, 0.05);
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1em 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    display: block;
    max-width: 100%;
}

.post-content thead {
    background: var(--gradient);
    display: table;
    width: 100%;
    table-layout: fixed;
}

.post-content thead th {
    color: var(--white);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    letter-spacing: 0.03em;
}

.post-content tbody tr {
    border-bottom: 1px solid #e9ecef;
    display: table;
    width: 100%;
    table-layout: fixed;
}

.post-content tbody tr:last-child {
    border-bottom: none;
}

.post-content tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.post-content tbody tr:hover {
    background: rgba(65, 179, 163, 0.07);
}

.post-content td {
    padding: 10px 16px;
    color: #555;
    vertical-align: top;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-item-text h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.contact-item-text p {
    color: #666;
    font-size: 0.95rem;
}

.contact-item-text a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.contact-item-text a:hover {
    text-decoration-thickness: 2px;
}

.contact-form {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.2em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group .error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 5px;
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: var(--secondary);
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

@media (max-width: 968px) {
    .service-card {
        padding: 30px 20px;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    nav {
        padding: 12px 0;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition:
            max-height 0.3s ease,
            padding 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        max-height: 280px;
        padding: 20px 0;
    }

    nav ul li {
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .hero .container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image {
        order: -1;
        margin-top: 20px;
    }

    .hero-image img {
        max-height: 400px;
        object-fit: cover;
    }

    .hero-image::before {
        display: none;
    }

    .section {
        padding: 55px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

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

.service-card {
    border: 1px solid #e0e0e0; /* Lighter border */
        padding: 30px 20px;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .contact-form {
        padding: 25px;
    }

    .post-content {
        padding: 26px 24px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.95rem;
    }

    .section {
        padding: 45px 0;
    }

    .post-page {
        padding: 35px 0;
    }
    .hero-content h2 {
        font-size: 1.9rem;
    }

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

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .post-content {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .post-content table {
        font-size: 0.9rem;
    }
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

@media (max-width: 968px) {
    .map-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 280px;
    }
}
