html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --text-color: #252222;
    --background-color: #ffffff;
    --accent-bg: #f8f8f8;
    --brand-color: #2E5C5A;
    /* Forest Green */
    --font-serif: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
    --font-sans: "Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;
    --easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    font-weight: 500;
    /* Increased from 400 */
    font-size: 1.05rem;
    /* Slightly larger */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 500;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--text-color);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    /* Optimal size for header */
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        height: 32px;
        /* Smaller for mobile */
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn-contact {
    background-color: var(--brand-color) !important;
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}


.nav-btn-contact:hover {
    background-color: #1e3d3b;
    /* Darker shade */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 92, 90, 0.3);
}

.nav-btn-contact::after {
    display: none;
}



/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    animation: zoom 7s linear forwards;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.85);
    padding: 3rem 1.5rem;
    letter-spacing: 0.3em;
    line-height: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-left: 2.5rem;
    line-height: 1.5;
}

.hero-subtitle {
    font-size: 1rem;
    margin-left: 1rem;
}

/* Sections Base */
section {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--accent-bg);
}

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

.about-text p {
    margin-bottom: 2rem;
    text-align: justify;
}

/* Appeal Points */
.appeal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.appeal-item {
    padding: 0;
    /* Remove padding to let image fill top */
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border-top: 3px solid var(--brand-color);
    overflow: hidden;
    /* For image border radius if needed */
}

.appeal-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.appeal-content {
    padding: 30px;
}

.appeal-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    color: var(--brand-color);
    font-weight: 700;
}

.number-highlight {
    font-weight: 700;
    color: var(--brand-color);
    margin: 0 2px;
}

.marker-highlight {
    background: linear-gradient(transparent 60%, #a8d5ba 60%);
    /* Light green marker */
    padding-bottom: 2px;
}

/* Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.work-item {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.work-img-container {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 1rem;
}

.work-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--easing);
}

.work-item:hover .work-img-container img {
    transform: scale(1.05);
}

.work-info {
    padding: 0 0.5rem;
}

.work-title-new {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    color: #444;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.work-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

/* Services */
.service-list {
    display: grid;
    gap: 20px;
}

.service-card {
    background: white;
    padding: 30px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: center;
    border: 1px solid #eee;
}

.service-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-extra-cta {
    margin-top: 40px;
    text-align: center;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.service-extra-cta p {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-cta-link {
    display: inline-block;
    background-color: var(--brand-color);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(46, 92, 90, 0.3);
    transition: all 0.3s ease;
}

.service-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 92, 90, 0.4);
    background-color: #1e3d3b;
    opacity: 1;
}

/* Pricing Table */
.price-table-wrapper {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-feature-settings: "tnum";
}


.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.price-table th {
    font-family: var(--font-serif);
    font-weight: 500;
    background-color: #fafafa;
    min-width: 200px;
}

.price-section-header {
    background-color: var(--brand-color) !important;
    color: white;
    text-align: center !important;
    font-size: 1.1rem;
}

/* Price Reasons */
.price-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.reason-card {
    text-align: center;
    background: #fff;
    padding-bottom: 20px;
}

.reason-header {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.reason-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.reason-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: var(--brand-color);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    font-family: var(--font-serif);
    white-space: nowrap;
}

.reason-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #cc3333;
    /* Red emphasis */
    margin-bottom: 10px;
    font-family: var(--font-sans);
}

.reason-title .text-normal {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
}

.reason-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 15px;
    text-align: left;
}

/* Price CTA */
.price-cta {
    text-align: center;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--brand-color);
    margin-bottom: 2rem;
}

.price-cta-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.6;
}


/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    text-align: left;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.review-stars {
    color: #f39c12;
    /* Golden orange */
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.review-rating {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-left: 10px;
    color: #333;
}

.review-category {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-top: 0;
}

/* Company Info */
.company-info-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    margin-bottom: 3rem;
}


.company-info-table th,
.company-info-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-info-table th {
    width: 30%;
    font-weight: normal;
    color: #666;
}

/* Contact Form */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Form New Layout */
.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 4px;
    /* Flatter design */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    align-items: flex-start;
}

.form-row:first-child {
    border-top: 1px solid #eee;
}

.form-label {
    width: 250px;
    padding-right: 20px;
    padding-top: 10px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-input {
    flex: 1;
    min-width: 300px;
}

.badge-required {
    color: #e74c3c;
    background: none;
    font-size: 0.8rem;
    padding: 0;
    vertical-align: baseline;
    font-weight: normal;
}

/* Override input styles */
.form-input input[type="text"],
.form-input input[type="email"],
.form-input input[type="tel"],
.form-input textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fdfdfd;
}

.phone-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    font-size: 0.95rem;
    cursor: pointer;
}

.form-actions {
    margin-top: 40px;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.btn-accent {
    background-color: var(--brand-color);
    color: white;
    box-shadow: 0 4px #1e3d3b;
}

.btn-accent:hover {
    background-color: #264d4b;
    transform: translateY(2px);
    box-shadow: 0 2px #1e3d3b;
    color: white;
}

.btn-xl {
    padding: 1.2rem 4rem;
    font-size: 1.2rem;
    width: 100%;
    border-radius: 8px;
    max-width: 400px;
    /* Limit width */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-label {
        width: 100%;
        margin-bottom: 10px;
        justify-content: flex-start;
        gap: 10px;
    }

    .contact-form {
        padding: 20px;
    }
}

.btn-meetsmore {
    background-color: #3FA535;
    /* MeetsMore Green */
    color: white;
    box-shadow: 0 4px #2c7a25;
}

.btn-meetsmore:hover {
    background-color: #358f2c;
    transform: translateY(2px);
    box-shadow: 0 2px #2c7a25;
}

.error-message {
    color: #e74c3c;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

/* Footer */

.footer {
    background-color: #222;
    color: white;
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-contact {
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
    opacity: 0.5;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

/* Responsive & Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--brand-color);
    transition: all 0.3s ease;
}

/* Hamburger to Close Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
    .header {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        gap: 2rem;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--text-color);
        font-weight: 500;
    }

    .hero-title {
        writing-mode: horizontal-tb;
        font-size: 1.8rem;
    }

    .hero-content {
        writing-mode: horizontal-tb;
        text-align: center;
        width: 90%;
        padding: 2rem;
    }

    .about-grid,
    .service-card {
        grid-template-columns: 1fr;
    }

    .service-img {
        height: 200px;
    }
}

#about,
#works,
#price,
#company {
    padding-top: 100px;
}