:root {
    --font-main: 'Zen Maru Gothic', sans-serif;
    /* Switched to rounded font for main text */
    --font-accent: 'Zen Maru Gothic', sans-serif;

    --color-text: #5A4D4D;
    /* Warm brown-grey */
    --color-text-light: #8C7B7B;
    --color-bg: #FFFEF5;
    /* Cream/Paper color */
    --color-bg-alt: #FFF0F5;
    /* Very light pink for alt sections */

    /* Pastel Palette */
    --color-primary: #9FD5B4;
    /* Pastel Green */
    --color-primary-dark: #8AC1A1;
    --color-accent: #FFB7B2;
    /* Pastel Pink */
    --color-accent-hover: #FFA09A;

    --color-white: #ffffff;
    --color-border: #E8E0D5;

    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    --container-width: 1100px;
    /* Slightly narrower for cozy feel */
    --header-height: 80px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --box-shadow: 0 8px 24px rgba(149, 157, 165, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    /* Looser leading for storybook feel */
    -webkit-font-smoothing: antialiased;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23afa090' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn.primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid transparent;
}

.btn.primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(159, 213, 180, 0.4);
}

/* Header */
.site-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--color-bg-alt);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: width 0.3s;
}

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

/* Special Nav Item (Kanmoku's Room) */
.nav-links .nav-special {
    background-color: #FFB7B2;
    /* Pastel Pink */
    color: white !important;
    padding: 8px 18px;
    border-radius: 20px;
    transition: transform 0.2s;
}

.nav-links .nav-special::after {
    display: none;
    /* No underline */
}

.nav-links .nav-special:hover {
    background-color: #FF9AA2;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFDF7 0%, #E8F9F1 100%);
    /* Soft Cream to Mint */
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    flex: 1;
    padding-right: var(--spacing-xl);
    z-index: 1;
}

.hero h2 {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-shadow: 2px 2px 0px #fff;
}

.hero p {
    font-size: 1.4rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.character-img {
    max-width: 450px;
    border-radius: 50%;
    border: 8px solid var(--color-white);
    box-shadow: var(--box-shadow);
    animation: float 6s ease-in-out infinite;
    background-color: #fff;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Common Section */
.section {
    padding: 100px 0;
}

.section.alt-bg {
    background-color: var(--color-bg-alt);
    position: relative;
}

.section.alt-bg::before,
.section.alt-bg::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background-size: 40px 40px;
    background-repeat: repeat-x;
}

/* Wave Decoration (CSS based) */
.section.alt-bg::before {
    top: -20px;
    background-image: radial-gradient(circle at 20px 20px, transparent 20px, var(--color-bg-alt) 21px);
}

.section.alt-bg::after {
    bottom: -20px;
    background-image: radial-gradient(circle at 20px 0, transparent 20px, var(--color-bg-alt) 21px);
    transform: rotate(180deg);
}


.section-title {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: var(--color-text);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title span {
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 15px;
    background-color: var(--color-primary);
    opacity: 0.3;
    border-radius: 10px;
    z-index: 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.gallery-item {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 4px solid var(--color-white);
}

.gallery-item:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.aspect-ratio-box {
    background-color: #F8F8F8;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.gallery-item p {
    padding: var(--spacing-md);
    text-align: center;
    font-weight: 700;
    color: var(--color-text);
    font-size: 1.1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-xl);
    align-items: center;
    background-color: var(--color-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.text-col h3 {
    font-family: var(--font-accent);
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.placeholder-rect {
    background-color: #E6F7EF;
    height: 300px;
    border-radius: var(--border-radius-md);
    border: 4px dashed var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 700;
}

/* Contact Form */
.contact-wrapper {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--color-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    border-top: 5px solid var(--color-accent);
}

.contact-wrapper>p {
    margin-bottom: var(--spacing-lg);
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(255, 183, 178, 0.2);
}

/* Footer */
footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 40px 0;
    text-align: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--color-primary);
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.about-menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 80px;
    /* Added extra bottom spacing */
    counter-reset: menu-counter;
}

.about-menu-item {
    background: white;
    padding: 24px 32px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    border: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-menu-item::before {
    counter-increment: menu-counter;
    content: "0" counter(menu-counter);
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-bg-alt);
    margin-right: 24px;
    line-height: 1;
    /* Optional: make it look like a watermark */
    opacity: 0.5;
    transition: color 0.3s;
}

.about-menu-item:hover {
    border-color: var(--color-primary);
    transform: translateX(5px);
    /* Move slightly right instead of up for vertical list */
}

.about-menu-item:hover::before {
    color: var(--color-primary);
    opacity: 1;
}

.about-menu-item div {
    flex: 1;
}

.about-menu-item h4 {
    color: var(--color-text);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.about-menu-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header .container {
        padding: 0 20px;
    }

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

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
        padding: 100px 40px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }



    /* We toggle the 'active' class on the ul or nav wrapper usually. 
       Let's adjust: .main-nav is the wrapper. 
       Wait, in JS I targeted .nav-links. Let's fix Styles to match JS or vice versa.
       Actually, standard pattern: 
    */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 999;
        display: flex;
        /* Override the default flex but keep it flex */
    }

    .nav-links.active {
        right: 0;
    }



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

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

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

    /* Hero Fixes */
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-top: var(--spacing-lg);
    }

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

    .character-img {
        max-width: 280px;
    }

    .about-content {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

/* News List Styles */
.news-item {
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0;
    display: flex;
    align-items: baseline;
    gap: 32px;
    transition: background-color 0.3s;
}

.news-item:hover {
    background-color: rgba(255, 255, 255, 0.5);
    padding-left: 10px;
    /* Subtle hover effect */
}

.news-item time {
    font-family: var(--font-accent);
    color: var(--color-text-light);
    font-weight: 700;
    min-width: 100px;
}

.news-content-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #eee;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.news-tag.new {
    background-color: var(--color-accent);
    color: white;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .news-content-wrapper {
        width: 100%;
    }
}

/* Blog Grid Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--color-border);
}

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

.blog-thumbnail {
    height: 200px;
    background-color: #eee;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.blog-content {
    padding: 24px;
}

.blog-content time {
    display: block;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-family: var(--font-accent);
}

.blog-content h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--color-text);
}

.blog-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.read-more:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* =========================================
   Kanmoku Theme (Pastel Picture Book Style)
   ========================================= */

.theme-kanmoku {
    --color-bg: #F9FFF9;
    /* Pale Mint/Cream */
    --color-bg-alt: #FFF0F5;
    /* Pale Pink for sections */
    --color-primary: #88D8B0;
    /* Pastel Green */
    --color-primary-dark: #6FCF97;
    --color-accent: #FFB7B2;
    /* Pastel Pink */
    --color-text: #5A4D4D;
    /* Warm Gray */
    --color-border: #FFDAC1;
    /* Peach border */

    font-family: 'Zen Maru Gothic', sans-serif;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236FCF97' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Rounded and Cozy Buttons for Kanmoku */
.theme-kanmoku .btn {
    border-radius: 25px;
    font-family: 'Zen Maru Gothic', sans-serif;
    border: 3px solid #fff;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    /* 3D effect */
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy */
}

.theme-kanmoku .btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

.theme-kanmoku .btn.primary {
    background-color: #FF9AA2;
    /* Salmon Pink */
    color: white;
}

.theme-kanmoku .btn.primary:hover {
    background-color: #FFB7B2;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
}

.theme-kanmoku .secondary-btn {
    background-color: #B5EAD7;
    /* Mint Green */
    color: #555;
}

/* Hero Modifications */
.theme-kanmoku .hero {
    background: linear-gradient(180deg, #FFFFFF 0%, #E2F0CB 100%);
    position: relative;
    overflow: hidden;
}

.theme-kanmoku .hero::after {
    /* Cloud shape bottom divider */
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #F9FFF9;
    /* Matches body bg */
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
}

.theme-kanmoku .section-title {
    color: #FF9AA2;
    text-shadow: 2px 2px 0 #fff;
}

.theme-kanmoku .section-title::after {
    background-color: #C7CEEA;
    /* Pastel Purple underline */
    height: 20px;
    bottom: 0;
    opacity: 0.4;
    transform: translateX(-50%) rotate(-2deg);
    /* Playful tilt */
}

/* Card Styles for Kanmoku */
.kanmoku-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 4px solid #E2F0CB;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.05);
    /* Hard shadow for sticker effect */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    height: 100%;
    text-align: center;
}

.kanmoku-card:hover {
    transform: scale(1.05) rotate(1deg);
    border-color: #FF9AA2;
}

.kanmoku-card i,
.kanmoku-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
}

.kanmoku-card h3 {
    color: #6FCF97;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.kanmoku-card p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.5;
}

/* Specific Animations */
@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animate-bounce {
    animation: bounce-slow 3s infinite ease-in-out;
}

/* Kanmoku Navigation specific override for visibility */
.theme-kanmoku .nav-links a {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Ribbon/Sticker decorations */
.decoration-ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #FF9AA2;
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(15deg);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* For Kids/Parents/Teachers Section */
.target-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.target-badge {
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
    border: 3px solid #C7CEEA;
    color: #777;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}



/* =========================================
   Portfolio Theme (Mature Pastel Style)
   ========================================= */

.theme-portfolio {
    /* Unify font with Character page but keep it clean */
    --font-heading: 'Zen Maru Gothic', sans-serif;
    --font-body: 'Zen Maru Gothic', sans-serif;

    /* Mature Green & Pink Palette */
    --color-bg: #FCFDFC;
    /* Very subtle off-white/green tint */
    --color-bg-alt: #F2F7F4;
    /* Light Sage background */

    --color-text: #4A4A4A;
    /* Soft Black */
    --color-text-light: #707070;

    --color-primary: #6A8D73;
    /* Sage Green (Mature) */
    --color-primary-dark: #55725C;

    --color-accent: #C27E86;
    /* Dusty Pink / Old Rose (Mature) */
    --color-border: #DDE6E0;

    font-family: var(--font-body);
}

.theme-portfolio h1,
.theme-portfolio h2,
.theme-portfolio h3 {
    font-family: var(--font-heading);
    color: var(--color-text);
}

.theme-portfolio .section-title {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 60px;
}

/* Softer underline */
.theme-portfolio .section-title::after {
    background-color: var(--color-accent);
    opacity: 0.6;
    height: 4px;
    bottom: -10px;
    border-radius: 2px;
}

.theme-portfolio .section-title span {
    border-bottom: none;
    padding-bottom: 0;
}

/* Buttons: Pill shape but clean */
.theme-portfolio .btn {
    border-radius: 50px;
    font-weight: 500;
    padding: 12px 35px;
    box-shadow: 0 4px 10px rgba(106, 141, 115, 0.2);
    border: none;
    background-color: var(--color-primary);
    color: white;
}

.theme-portfolio .btn.primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(106, 141, 115, 0.3);
    color: white;
}

/* Form Styles: Soft and Friendly */
.theme-portfolio .form-group input,
.theme-portfolio .form-group textarea {
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 15px;
    background: white;
}

.theme-portfolio .form-group input:focus,
.theme-portfolio .form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(106, 141, 115, 0.1);
}

.theme-portfolio .form-group label {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 0.95rem;
    letter-spacing: normal;
}

/* Service Cards (Soft) */
.service-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.service-item h4 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-left: none;
    padding-left: 0;
    display: flex;
    align-items: center;
}

.service-item h4::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin-right: 10px;
}

.portfolio-profile {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

@media (max-width: 768px) {
    .portfolio-profile {
        flex-direction: column;
        gap: 30px;
    }
}

.portfolio-profile img {
    width: 250px;
    height: 300px;
    object-fit: cover;
    filter: grayscale(20%);
    /* Artistic feel */
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.service-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.8;
}