:root {
    /* Soft Geometric Palette */
    --mint: #A8D5BA;
    --soft-mint: #E8F5EC;
    --coral: #FFB4A2;
    --soft-coral: #FFE8E3;
    --sky: #7FB8D4;
    --soft-sky: #E3F2F8;
    --lavender: #C8B6E2;
    --soft-lavender: #F0EBF8;
    --cream: #FFF9F5;
    --warm-white: #FFFBF7;
    --text-dark: #2D3748;
    --text-medium: #4A5568;
    --text-light: #718096;

    /* Typography */
    --font-display: 'Fredoka', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--warm-white);
    line-height: 1.7;
    font-size: 17px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--soft-mint);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-shape {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--mint), var(--sky));
    border-radius: 12px;
    transform: rotate(45deg);
    position: relative;
}

.logo-shape::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--coral);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mint), var(--sky));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--mint), var(--sky));
    color: white !important;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 213, 186, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    padding: var(--space-2xl) 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: var(--radius-lg);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--soft-mint), var(--soft-sky));
    top: -100px;
    right: -100px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--soft-coral);
    bottom: 100px;
    left: -50px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--soft-lavender);
    top: 40%;
    right: 10%;
    border-radius: 50%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--soft-coral), var(--soft-lavender));
    bottom: 20%;
    left: 15%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(3deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease-out backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--mint), var(--sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: var(--space-lg);
    max-width: 540px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mint), var(--sky));
    color: white;
    box-shadow: 0 4px 16px rgba(168, 213, 186, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(168, 213, 186, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--mint);
}

.btn-secondary:hover {
    background: var(--soft-mint);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--mint);
}

.btn-outline:hover {
    background: var(--mint);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 19px;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, var(--mint), var(--sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
}

.hero-image {
    animation: fadeInRight 0.8s ease-out 0.3s backwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-card {
    position: relative;
    animation: floatImage 6s infinite ease-in-out;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 60px rgba(127, 184, 212, 0.3));
}

/* Services Section */
.services {
    padding: var(--space-2xl) 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-label {
    display: inline-block;
    background: var(--soft-mint);
    color: var(--mint);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-medium);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--warm-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: var(--mint);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(168, 213, 186, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-10deg) scale(1.1);
}

.service-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.service-description {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* About Preview Section */
.about-preview {
    padding: var(--space-2xl) 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.about-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.about-shape {
    position: absolute;
    border-radius: var(--radius-lg);
}

.about-shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--soft-lavender), var(--soft-sky));
    top: -200px;
    left: -200px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.6;
}

.about-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--soft-coral);
    bottom: -150px;
    right: -150px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.6;
}

.about-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-description {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-features {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: var(--soft-mint);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--mint), var(--sky));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 15px;
    color: var(--text-medium);
}

/* CTA Section */
.cta {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--mint), var(--sky));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.cta::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -150px;
    left: -75px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 20px;
    color: white;
    opacity: 0.95;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: white;
    color: var(--text-dark);
}

.cta .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-text {
    color: white;
}

.footer-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        gap: var(--space-md);
        font-size: 14px;
    }
}
.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    display: block;
}

/* Family Gallery Section */
.family-gallery {
    padding: var(--space-2xl) 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

/* Enhanced Hero Image Grid */
.hero-image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
    max-width: 600px;
}

.hero-img-main {
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(127, 184, 212, 0.3);
}

.hero-img-small {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(168, 213, 186, 0.25);
}

.hero-img-main img,
.hero-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-img-main:hover img,
.hero-img-small:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .hero-img-main {
        grid-row: span 1;
        max-height: 400px;
    }
}
