/* Reset & Variables */
:root {
    --color-bg-body: #FFFAEB;
    /* Very light cream */
    --color-bg-section: #FFF4C9;
    /* Cream yellow accent */
    --color-primary: #FFD54F;
    /* Yuzu-ish yellow (but not fruit) - warm yellow */
    --color-text-main: #5D4037;
    /* Warm brown */
    --color-text-light: #8D6E63;
    /* Lighter brown */
    --color-white: #FFFFFF;

    --font-main: 'M PLUS Rounded 1c', sans-serif;

    /* Increased spacing */
    --spacing-sm: 1.2rem;
    --spacing-md: 2.2rem;
    --spacing-lg: 4.5rem;

    --border-radius-card: 16px;
    --border-radius-btn: 50px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.7;
    /* Increased line-height */
    font-size: 18px;
    /* Base font size increase */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(93, 64, 55, 0.05);
    backdrop-filter: blur(5px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--color-text-main);
    font-weight: 700;
}

.nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav a {
    color: var(--color-text-main);
    font-weight: 500;
}

.btn-primary {
    background-color: var(--color-primary);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-btn);
    color: var(--color-text-main) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Hero */
.hero {
    padding: var(--spacing-lg) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background-color: var(--color-bg-section);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    /* Increased size */
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.hero-text {
    font-size: 1.25rem;
    /* Increased size */
    color: var(--color-text-light);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat-wrapper {
    text-align: center;
}

.cat-mascot {
    width: 420px;
    /* Increased size */
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

.cat-caption {
    margin-top: 1rem;
    display: block;
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 1.1rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-text-main);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Services */
.services {
    background-color: var(--color-white);
    border-radius: 50px 50px 0 0;
}

.services-grid {
    display: grid;
    /* Force 2 columns on desktop by setting minmax large enough roughly 45% */
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    /* Increased gap */
}

.service-card {
    background-color: var(--color-bg-body);
    padding: 2rem;
    border-radius: var(--border-radius-card);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background-color: #FFFDE7;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* About */
.about {
    background-color: var(--color-bg-section);
}

.about-card {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius-card);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(93, 64, 55, 0.05);
}

.about-list {
    display: grid;
    gap: 1.5rem;
}

.about-item {
    display: flex;
    border-bottom: 1px solid #FFE082;
    padding-bottom: 1rem;
}

.about-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-item dt {
    width: 30%;
    font-weight: 700;
    color: var(--color-text-light);
}

.about-item dd {
    width: 70%;
}

.ruby {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-left: 0.5rem;
}

/* Contact */
.contact-desc {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius-card);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.label-required {
    background-color: #FF8A65;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.label-any {
    background-color: #BCAAA4;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #FFF59D;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #FFFDE7;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.btn-submit {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    border: none;
    padding: 1rem 4rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-mascot {
    position: absolute;
    bottom: -10px;
    right: -100px;
    width: 150px;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--color-text-main);
    color: var(--color-white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        /* Image on top mobile or bottom? Let's leave content top usually. Actually column-reverse puts image on top if we want, but let's keep content top usually. */
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .cat-mascot {
        width: 250px;
    }

    .contact-mascot {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    .cat-mini {
        display: inline-block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    /* Revert to single column for mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services {
        border-radius: 30px 30px 0 0;
    }
}