/*
Theme Name: Iedereen Mooi
Author: Me
Version: 1.7 (Dark Navbar)
*/

:root {
    /* --- BRAND PALETTE --- */
    --brand-cream: #F4F1DE;
    --brand-brown: #4a3830;
    --brand-pink: #f79499;
    --brand-green: #7d958f;
    --brand-white: #FFFFFF;

    /* Semantic Mappings */
    --primary-color: var(--brand-pink);
    --secondary-color: var(--brand-green);
    --bg-color: var(--brand-cream);
    --text-color: var(--brand-brown);
    --white: var(--brand-white);

    /* Navbar Specifics */
    --nav-bg: var(--brand-brown);
    --nav-text: var(--brand-cream);

    /* Utils */
    --bg-alt: #fcfaf2;
    --text-light: #7a635a;

    /* Globals */
    --border-radius: 12px;
    --box-shadow: 0 4px 15px rgba(91, 70, 59, 0.08);
    --box-shadow-premium: 0 20px 40px rgba(91, 70, 59, 0.12);
    --transition: all 0.3s ease;
}

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    overflow-y: scroll;
    /* Force vertical scrollbar always */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    width: 100%;
    min-height: 100.1vh;
    /* Ensure page is always tall enough to allow scrolling */
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* --- NAVIGATION (Dark Warm Brown) --- */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--nav-bg);
    /* Dark Brown */
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

/* Logo Invert to White */
.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--nav-text);
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Force White Logo */

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--nav-text);
    opacity: 0.9;
}

.nav-links a:hover,
.nav-links li.active a {
    color: var(--primary-color);
    opacity: 1;
    font-weight: 600;
}

/* Mobile Menu Toggle (Hamburger) */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--nav-text);
    transition: all 0.3s ease;
}

/* --- COMPONENT: HERO COMPACT --- */
.hero-compact {
    background-color: var(--bg-alt);
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.hero-compact h1 {
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 0;
    color: var(--text-color);
}

/* --- LAYOUT & UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--text-color);
}

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

/* --- CONTENT CARDS --- */
.booking-card,
.sidebar-card,
.process-card,
.testimonial,
.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: none;
}

/* --- HERO SECTION --- */
.home-2-morph-style .hero {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    min-height: 90vh;
    align-items: center;
    background-color: var(--bg-color);
    position: relative;
    padding: 0;
    overflow: hidden;
}

.home-2-morph-style .hero-content {
    padding: 4rem 2rem 4rem 6%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight-text {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    width: 220px;
    white-space: nowrap;
    font-size: 0.9rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Hero Visuals */
.home-2-morph-style .hero-journey-center {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding: 2rem 0;
}

.home-2-morph-style .hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    overflow: visible;
}

.home-2-morph-style .blob-pink {
    width: 120%;
    height: 120%;
    background-color: var(--primary-color);
    top: -10%;
    left: -10%;
    opacity: 0.15;
    animation: morphHome2 10s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    position: absolute;
    filter: blur(60px);
    z-index: 0;
}

.home-2-morph-style .blob-green {
    width: 115%;
    height: 115%;
    background-color: var(--secondary-color);
    bottom: -5%;
    right: -5%;
    opacity: 0.15;
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    animation: morphHome2 15s ease-in-out infinite reverse;
    position: absolute;
    filter: blur(60px);
    z-index: 0;
}

@keyframes morphHome2 {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translate(20px, 30px) rotate(180deg);
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(360deg);
    }
}

.home-2-morph-style .hero-image-card {
    width: 80%;
    aspect-ratio: 4/5;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(91, 70, 59, 0.1);
    position: relative;
    overflow: hidden;
    background: #fff;
    margin-right: auto;
    margin-left: 5%;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.home-2-morph-style .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.6s ease;
}

.home-2-morph-style .hero-image.active {
    opacity: 1;
    z-index: 10;
}

.home-2-morph-style .hub-icon-wrapper {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.home-2-morph-style .hub-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(125, 149, 143, 0.2);
    border: 4px solid var(--white);

}

.home-2-morph-style .hub-icon-circle svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.home-2-morph-style .journey-icons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    align-items: center;
}

.home-2-morph-style .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 3px solid var(--white);
    transition: all 0.3s ease;
}

.home-2-morph-style .bg-pastel-1 {
    background-color: var(--primary-color);
    color: var(--white);
}

.home-2-morph-style .bg-pastel-2 {
    background-color: var(--secondary-color);
    color: var(--white);
}

.home-2-morph-style .bg-pastel-3 {
    background-color: var(--primary-color);
    color: var(--white);
}

.home-2-morph-style .bg-pastel-4 {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* --- COMPONENT: PROCESS SLIDER --- */
.process-section {
    background-color: var(--bg-cream);
    overflow: hidden;
    position: relative;
}

.process-slider {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    padding: 1rem 5% 4rem;
    scroll-snap-type: x mandatory;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.process-slider::-webkit-scrollbar {
    display: none;
}

.process-slider.is-dragging,
.testimonials-scroll-wrapper.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}

.slider-arrow {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    box-shadow: var(--box-shadow);
    color: var(--primary-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    outline: none;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.slider-arrow.prev {
    left: 5%;
}

.slider-arrow.next {
    right: 5%;
}

.process-card {
    min-width: 380px;
    max-width: 380px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.process-card-image {
    padding: 1.5rem 1.5rem 0;
}

.process-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    /* Prevents the image from intercepting drag events */
}

.process-card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.step-badge {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- COMPONENT: ABOUT & TESTIMONIALS --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-me-intro {
    grid-template-columns: 4fr 6fr;
    align-items: flex-start;
    gap: 4rem;
}

.about-text-new p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text-new .lead {
    font-size: 1.25rem;
    color: var(--brand-brown);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.mission-quote {
    padding: 2rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--primary-color);
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
}

.mission-quote p {
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 0;
    color: var(--text-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial {
    padding: 3rem;
    text-align: left;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.cite {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

/* --- COMPONENT: BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--white);
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- PAGE: AFSPRAAK --- */
.booking-title {
    color: var(--text-color);
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
}

.afspraak-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* 1. Dissolve the WP Container */
.booking-card {
    padding: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    display: flex;
    flex-direction: column;
}

.booking-card p {
    margin: 0 !important;
    padding: 0 !important;
}

.afspraak-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
    min-height: 560px;
}

.sidebar-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.usp-list,
.info-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.usp-list li,
.info-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--text-color);
    padding: 5rem 0 2rem;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-column p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 968px) {
    .afspraak-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 77px;
        flex-direction: column;
        background: var(--nav-bg);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        height: calc(100vh - 77px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transition: left 0.3s ease;
    }

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

    .hamburger {
        display: block;
    }

    .hero-hub-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding-bottom: 2rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .home-2-morph-style .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto 50vh;
    }

    .home-2-morph-style .hero-visual {
        order: 2;
        min-height: 400px;
    }

    .home-2-morph-style .hero-image-card {
        width: 90%;
        height: 85%;
        margin: 0 auto;
        transform: none;
    }

    .hero-journey-center {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 1.5rem;
        padding: 1rem;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        margin-top: 2rem;
    }

    .journey-icons-wrapper {
        display: contents;
    }

    .hub-icon-circle,
    .icon-circle {
        width: 60px !important;
        height: 60px !important;
        flex-shrink: 0;
        margin: 0;
    }

    .hub-icon-circle svg,
    .icon-circle svg {
        width: 28px !important;
        height: 28px !important;
    }

    .about-container,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .process-card {
        min-width: 85%;
        max-width: 85%;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }
}


/* --- PAGE: KLEURANALYSE --- */

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    /* More breathing room */
    border-radius: 16px;
    /* softer corners */
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle definition */
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(91, 70, 59, 0.12);
    /* deeper shadow */
}

/* Add a colorful accent line at the bottom */
.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
    /* Added for images */
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    display: block;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    /* Playful movement */
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    background-color: var(--white);
    /* Ensure background is white */
}

.service-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    /* Only top corners */
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-description {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.service-features li span {
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

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

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


/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* --- HERO TEXT TRANSITIONS & STABILITY --- */

/* 1. Prevent Jumping (Layout Stability) */
.hero-title {
    min-height: 7.7rem;
    /* Accommodates ~2 lines at 3.5rem line-height 1.1 */
    display: block;
    /* Changed from flex to block for proper text wrapping */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-subtitle {
    min-height: 6.5rem;
    /* Accommodates ~3 lines at 1.25rem line-height 1.6 */
    display: flex;
    align-items: flex-start;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 2. Text Animation States (Script.js hooks) */
.text-visible {
    opacity: 1;
    transform: translateY(0);
}

.text-exiting {
    opacity: 0;
    transform: translateY(-15px);
    /* Slide up when leaving */
}

.text-entering {
    opacity: 0;
    transform: translateY(15px);
    /* Start from slightly below */
}

/* Adjust for Mobile to prevent excessive whitespace if text wraps differently */
@media (max-width: 968px) {
    .hero-title {
        min-height: auto;
        min-height: 6rem;
        justify-content: center;
        /* Center align for mobile as per text-align: center */
    }

    .hero-subtitle {
        min-height: 8rem;
        /* Mobile text wraps more, so needs more height */
        justify-content: center;
    }
}

/* =========================================
   AMELIA BOOKING FIXES (VISUAL CARD WRAP)
   ========================================= */

/* 2. Style the Amelia Wrapper as the "Card" */
.am-fs__wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;

    /* Apply Card Styles Here */
    background-color: var(--white) !important;
    box-shadow: var(--box-shadow) !important;
    border-radius: var(--border-radius) !important;

    /* Ensure no margins on the wrapper itself */
    margin: 0 !important;
}

/* 3. Sidebar Styling & Corners */
.am-fs__sidebar {
    width: 260px !important;
    flex-shrink: 0 !important;
    background-color: rgba(125, 149, 143, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: auto !important;

    /* Rounded Corners: Left Side */
    border-top-left-radius: var(--border-radius) !important;
    border-bottom-left-radius: var(--border-radius) !important;
}

/* 4. Main Content Styling & Corners */
.am-fs__main {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    min-height: auto !important;

    /* Rounded Corners: Right Side */
    border-top-right-radius: var(--border-radius) !important;
    border-bottom-right-radius: var(--border-radius) !important;

    /* Ensure background is transparent so Wrapper White shows */
    background-color: transparent !important;
}

.am-fs__main-content {
    flex-grow: 1 !important;
    padding: 0 !important;
}

/* 5. Cleanups */
.am-fs {
    margin: 0 !important;
}

/* Service Icons Coloring */
.am-service:nth-of-type(1) .am-service-image,
.am-service:nth-of-type(1) .am-service-icon {
    background-color: var(--brand-pink) !important;
    color: var(--white) !important;
}

.am-service:nth-of-type(2) .am-service-image,
.am-service:nth-of-type(2) .am-service-icon {
    background-color: var(--brand-green) !important;
    color: var(--white) !important;
}

/* Buttons */
.am-continue-button,
.el-button--primary {
    background-color: var(--brand-pink) !important;
    border-color: var(--brand-pink) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}

.am-continue-button:hover,
.el-button--primary:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px);
}


/* 6. Mobile Responsiveness */
@media (max-width: 768px) {
    .am-fs__wrapper {
        flex-direction: column !important;
    }

    .am-fs__sidebar {
        width: 100% !important;
        min-height: auto !important;

        /* Mobile Corners: Top */
        border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    }

    .am-fs__main {
        width: 100% !important;
        min-height: auto !important;

        /* Mobile Corners: Bottom */
        border-radius: 0 0 var(--border-radius) var(--border-radius) !important;
    }
}

/* =========================================
   HOME NEW STYLE (PAGE-HOME-NEW.PHP)
   ========================================= */

/* --- HERO SECTION --- */
.new-hero-section {
    min-height: 90vh;
    /* Full viewport height minus nav */
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 80px 1.2fr;
    /* Left, Nav, Right */
    gap: 2rem;
    align-items: center;
    width: 100%;
}

/* LEFT: Text Area */
.hero-left {
    z-index: 10;
}

/* Re-using .hero-text-wrapper, .hero-title, .hero-subtitle from existing CSS */

/* CENTER: Vertical Nav */
.hero-center {
    display: flex;
    justify-content: center;
    height: 100%;
    z-index: 20;
}

.vertical-nav-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.nav-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
    outline: none;
}

.nav-icon-btn:hover {
    transform: scale(1.1);
}

.nav-icon-btn.active .icon-circle {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(247, 148, 153, 0.4);
    /* Glow effect */
    border-color: var(--primary-color);
}

.nav-icon-btn .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-icon-btn .icon-circle svg,
.nav-icon-btn .icon-circle i {
    width: 24px;
    height: 24px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: fill 0.3s ease, color 0.3s ease;
}

/* Active Colors per Step (Optional) */
.nav-icon-btn.active[data-step="0"] .icon-circle {
    color: var(--brand-brown);
    border-color: var(--brand-brown);
}

.nav-icon-btn.active[data-step="1"] .icon-circle {
    background-color: var(--brand-pink);
    color: var(--white);
}

.nav-icon-btn.active[data-step="2"] .icon-circle {
    background-color: var(--brand-green);
    color: var(--white);
}

.nav-icon-btn.active[data-step="3"] .icon-circle {
    background-color: var(--brand-pink);
    color: var(--white);
}

.nav-icon-btn.active[data-step="4"] .icon-circle {
    background-color: var(--brand-green);
    color: var(--white);
}


/* RIGHT: Physical Card & Pulse */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    /* For 3D rotation */
}

.physical-card-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    /* Increased from 400px */
    aspect-ratio: 4/5;
}

/* Pulsing Background Blobs */
.hero-visual-bg-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    /* Increased opacity from 0.4 */
    animation: pulseMove 8s infinite alternate ease-in-out;
}

.blob-1 {
    width: 350px;
    /* Increased size */
    height: 350px;
    background-color: var(--brand-pink);
    top: 5%;
    left: 5%;
}

.blob-2 {
    width: 300px;
    /* Increased size */
    height: 300px;
    background-color: var(--brand-green);
    bottom: 5%;
    right: 5%;
    animation-delay: -4s;
}

@keyframes pulseMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* The "Physical" Card */
.physical-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #fff;
    /* The "Standing Up" Effect */
    transform: none;
    box-shadow:
        0 20px 40px rgba(91, 70, 59, 0.15),
        /* Deep shadow */
        0 5px 10px rgba(91, 70, 59, 0.1);
    /* Close shadow */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    z-index: 5;
    padding: 10px;
    /* White border frame */
    overflow: hidden;
}

.physical-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 50px rgba(91, 70, 59, 0.2);
}

.card-inner {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.hero-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-image-layer.active {
    opacity: 1;
}

/* --- PROCESS SECTION NEW --- */
.process-section-new {
    background-color: var(--brand-cream);
}

.process-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.new-process-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.new-process-card .card-visual {
    height: 200px;
    overflow: hidden;
}

.new-process-card .card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.new-process-card:hover .card-visual img {
    transform: scale(1.05);
}

.new-process-card .card-body {
    padding: 1.5rem;
    position: relative;
    flex-grow: 1;
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--brand-pink);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* --- ABOUT SECTION NEW --- */
.about-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text-new .btn {
    margin-top: 2rem;
    /* Added spacing */
}

.image-frame-playful {
    position: relative;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    /* Arch shape */
    overflow: hidden;
    width: 300px;
    height: 400px;
    width: 300px;
    height: 400px;
    margin: 0 auto;
    box-shadow: var(--box-shadow-premium);
    /* Standardized soft shadow */
}

.image-frame-playful img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- TESTIMONIALS NEW --- */
.testimonials-scroll-wrapper {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 10% 4rem 1rem;
    /* Added right padding to show 4th card */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.testimonials-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-card-playful {
    min-width: 300px;
    max-width: 300px;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    scroll-snap-align: center;
    position: relative;
    border-top: 5px solid var(--brand-pink);
    flex-shrink: 0;
    /* Prevent shrinking */
    display: flex;
    flex-direction: column;
}

.testimonial-card-playful p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.testimonial-card-playful.has-long-text p {
    font-size: 0.9rem;
    line-height: 1.45;
}

.testimonial-card-playful cite {
    margin-top: auto;
    font-style: normal;
    font-weight: 700;
    color: var(--primary-color);
}

/* Alternating colors */
.t-card-2 {
    border-color: var(--brand-green);
    transform: rotate(1deg);
}

.t-card-3 {
    border-color: var(--brand-brown);
    transform: rotate(-1deg);
}

.quote-icon {
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: serif;
    line-height: 1;
}

/* --- MOBILE RESPONSIVE NEW --- */
@media (max-width: 968px) {
    .new-hero-section {
        padding: 2rem 1rem;
        /* Added side padding to section */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 0 1rem;
        /* Added side padding to grid */
    }

    .hero-left .hero-buttons {
        justify-content: center;
    }

    .hero-left p {
        padding: 0 1rem;
        /* Extra breathing room for subtitle text */
    }

    .hero-buttons .btn {
        width: 260px;
        max-width: 90%;
        margin: 0 auto;
        white-space: nowrap;
        font-size: 0.95rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-center {
        order: 2;
        /* Move Nav below title on mobile? Or keep in middle? */
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding: 1rem 0;
        /* Add padding to container to prevent clipping */
    }

    .vertical-nav-track {
        flex-direction: row;
        padding: 1rem;
        /* Increase padding for scaling effect */
        gap: 0.8rem;
        /* Reduced gap further */
        justify-content: center;
        /* Center the buttons */
    }

    /* --- HERO MOBILE ADJUSTMENTS --- */
    .hero-title {
        font-size: 2.2rem;
        /* Reduce from 3.5rem to fit long words */
        min-height: auto;
        /* Let it grow naturally */
        word-break: break-word;
        /* Prevent cut-off text */
        hyphens: auto;
    }

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

    /* Disable scaling on mobile to prevent layout shift */
    .nav-icon-btn.active .icon-circle {
        transform: scale(1) !important;
        border: 2px solid var(--primary-color);
        background-color: var(--brand-cream);
        /* Visual feedback without size change */
    }

    /* Force icon size on mobile */
    .hero-center .vertical-nav-track .nav-icon-btn .icon-circle {
        width: 38px;
        height: 38px;
    }

    .nav-icon-btn .icon-circle svg,
    .nav-icon-btn .icon-circle i {
        width: 18px;
        height: 18px;
        font-size: 1rem;
    }

    .vertical-nav-track {
        flex-direction: row;
        padding: 1rem 0.5rem;
        /* Increase padding for scaling effect, less side padding */
        gap: 0.5rem;
        /* Reduced gap further */
        justify-content: center;
        /* Center the buttons */
    }

    .new-hero-section {
        padding: 4rem 2rem;
        overflow: hidden;
        /* Prevent horizontal scroll triggers */
    }

    .hero-right {
        order: 3;
    }

    .physical-card-container {
        width: 80%;
        max-width: 300px;
    }

    .about-grid-new {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-frame-playful {
        margin-top: 2rem;
    }
}

/* --- Testimonial Slider Arrows --- */
.testimonials-section-new .slider-arrow {
    top: 50%;
    /* Adjusted for better center alignment */
    z-index: 10;
    transform: translateY(-50%);
    /* Center vertically */
}

.t-prev {
    left: 0;
}

.t-next {
    right: 0;
}

@media (max-width: 768px) {
    .t-prev {
        left: -10px;
    }

    .t-next {
        right: -10px;
    }
}


/* --- CONTACT FORM STYLES --- */
.styled-form .form-group {
    margin-bottom: 1.5rem;
}

.styled-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    background-color: #fafafa;
    transition: var(--transition);
}

.styled-form input[type="text"]:focus,
.styled-form input[type="email"]:focus,
.styled-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(247, 148, 153, 0.1);
}

.styled-form textarea {
    resize: vertical;
}

.form-message {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- GIFT CARD SECTION --- */
.gift-section-playful {
    background: linear-gradient(135deg, var(--brand-cream) 0%, #fff0f1 100%);
    position: relative;
    overflow: hidden;
}

.gift-container-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Visual Side */
.gift-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gift-card-visual {
    width: 320px;
    height: 200px;
    position: relative;
    margin-bottom: 2rem;
    transform: rotate(5deg) translateZ(0);
    /* Rotated opposite way for variety and smooth edges */
    backface-visibility: hidden;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 15px 35px rgba(91, 70, 59, 0.2));
}

.gift-card-visual:hover {
    transform: rotate(0deg) scale(1.05) translateZ(0);
}

.gift-card-face {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-green));
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
    /* Box-shadow removed here, using filter on parent for smoother rotation */
}

.gift-brand {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gift-label {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}

.gift-ribbon {
    position: absolute;
    width: 40px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    left: 20%;
    top: 0;
}

.gift-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    background: var(--brand-pink);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    top: -10%;
    left: -10%;
    z-index: 0;
}

.gift-text-content h2 {
    color: var(--brand-brown);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gift-text-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Form Wrapper */
.gift-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(91, 70, 59, 0.08);
    position: relative;
}

.gift-form-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-brown);
    margin-bottom: 1.5rem;
}

/* Ensure the CF7 form inside looks good */
.gift-form-wrapper form p {
    margin-bottom: 0;
    /* Let grid gap handle spacing if using grid, or margin on form-group */
}

/* Explicitly ensure .styled-form styles apply to CF7 inputs if wrapped */
.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form input[type="number"],
.styled-form textarea,
.styled-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    background-color: #fafafa;
    transition: var(--transition);
    box-sizing: border-box;
    /* Crucial for alignment */
}

/* Fix submit button alignment if CF7 wraps it */
.wpcf7-submit {
    margin-top: 1rem;
    width: 100%;
}