/* Root variables & base styles */
:root{
    /* Primary neutral backgrounds (mostly white/offwhite) */
    --white-pure: #FFFFFF;
    --white-off: #FBFBFD;
    --surface: #FFFFFF;
    --muted-surface: #FCFBFF;

    /* Soft calm accents (subtle pink / purple / lavender) */
    --accent-lavender: #EDE7FB; /* gentle lavender */
    --accent-blush: #FBEFF2; /* very light blush */
    --accent-ice: #F6F5FB; /* almost white with cool tint */

    /* Slightly stronger accents for gradients and highlights */
    --accent-1: #F4A5AE;
    --accent-2: #ffcad4;

    /* Text colors - increased opacity / contrast for accessibility */
    --text-primary: #1f1f23; /* darker for stronger contrast */
    --text-secondary: #3b3b42; /* darker secondary */
    --text-muted: #6f6f78; /* more visible muted color */

    /* Shadows - slightly stronger for clarity */
    --shadow-accent: rgba(110, 75, 175, 0.08);
    --shadow-accent-strong: rgba(110, 75, 175, 0.16);
}

/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, var(--white-off) 0%, var(--muted-surface) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;


}



/* NAV COMPONENT - scoped and standalone */
.nav-component {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 2rem;
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(8px);
    transition: all 0.35s ease;
    border-bottom: 1px solid rgba(60,60,70,0.06);
}

.nav-component.scrolled {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 6px 30px var(--shadow-accent);
    padding: 0.85rem 2rem;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    background: linear-gradient(135deg, var(--accent-lavender), var(--accent-blush));
    -webkit-background-clip: text;
    -webkit-text-fill-color: black;
    background-clip: text;
    
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease, transform 0.25s ease;
    position: relative;
}

/* Slightly darker hover color for better contrast */
.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-lavender), var(--accent-blush));
    transition: width 0.28s ease;
}

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

/* HERO COMPONENT - fully scoped */
.hero-component {
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, var(--white-pure) 0%, var(--white-off) 35%, var(--muted-surface) 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding-top: 72px;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.9s cubic-bezier(.2,.9,.2,1);
}

/* Increase title contrast */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    line-height: 1.05;
    letter-spacing: -1px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-title span{
    background: linear-gradient(135deg, var(--accent-lavender), var(--accent-blush));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: pink ;

}

/* Make tagline more visible */
.hero-tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.9rem;
    max-width: 44rem;
}

/* CTA button - increase visual weight and overlay opacity */
.cta-button {
    display: inline-block;
    padding: 0.95rem 2.6rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px;
    color: var(--white-pure);
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 12px 36px var(--shadow-accent);
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    overflow: hidden;
}

/* stronger hover shadow with better perceived opacity */
.cta-button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.35);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width 0.45s ease, height 0.45s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px var(--shadow-accent-strong);
}

.cta-button:hover::before {
    width: 220px;
    height: 220px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

spline-viewer {
    width: 100%;
    height: 520px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--accent-ice), var(--white-pure));
    box-shadow: 0 20px 50px var(--shadow-accent);
    border: 1px solid rgba(110,75,175,0.06);
}

/* ABOUT COMPONENT - scoped */
.about-component {
    padding: 6.5rem 2rem;
    background: linear-gradient(180deg, var(--white-off), var(--muted-surface));
    position: relative;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    font-style: italic;
}

.about-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto 3.5rem auto;
}

.about-content {
    display: grid;
    gap: 2.25rem;
}

.about-block {
    background: var(--surface);
    padding: 2.3rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(110,75,175,0.04);
    border: 1px solid rgba(110,75,175,0.03);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    overflow: hidden;
}

.about-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-lavender), var(--accent-blush));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.36s ease;
}

.about-block:hover::before {
    transform: scaleX(1);
}

.about-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(110,75,175,0.06);
}

.about-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.about-block p {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 0.985rem;
    margin-bottom: 0.85rem;
}

.features-grid {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows:1fr;
    margin-top: 1.15rem;
}

.feature-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.05rem;
    background: linear-gradient(180deg, var(--muted-surface), var(--white-pure));
    border-radius: 14px;
    border: 1px solid rgba(110,75,175,0.03);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(110,75,175,0.04);
}

.feature-icon {

    margin: 5px;
    float: left;
    width: 100px;
}

.feature-icon:hover {
  border: 1px solid #777;
}
.feature-icon img {
    width:30px;
    height:45px;
}

.feature-content h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.mission-quote {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text-primary);
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent-ice), var(--accent-blush));
    border-radius: 14px;
    border-left: 4px solid var(--accent-lavender);
    margin: 2.25rem 0;
    line-height: 1.7;
    position: relative;
    box-shadow: 0 10px 30px rgba(110,75,175,0.03);
}

.mission-quote::before {
    content: '"';
    position: absolute;
    top: -16px;
    left: 28px;
    font-size: 3.5rem;
    color: var(--accent-lavender);
    opacity: 0.35;
    font-family: 'Playfair Display', serif;
}

.creator-info {
    text-align: center;
    padding: 1.8rem;
    background: var(--surface);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(110,75,175,0.03);
    border: 1px solid rgba(110,75,175,0.03);
}

.creator-info h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.creator-info p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

.creator-info .highlight {
    color: var(--text-primary);
    font-weight: 700;
    background: linear-gradient(90deg, rgba(237,231,251,0.6), rgba(251,239,242,0.6));
    padding: 0.05rem 0.35rem;
    border-radius: 6px;
}

/* Floating shapes - component scoped */
.floating-elements{
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-circle{
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(237,231,251,0.75), rgba(251,239,242,0.45));
    animation: float 9s ease-in-out infinite;
    filter: blur(22px);
    opacity: 0.95;
}

.floating-circle:nth-child(1){
    width: 180px;
    height: 180px;
    top: 8%;
    left: 6%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2){
    width: 240px;
    height: 240px;
    top: 46%;
    right: 6%;
    animation-delay: 3s;
}

.floating-circle:nth-child(3){
    width: 120px;
    height: 120px;
    bottom: 8%;
    left: 14%;
    animation-delay: 6s;
}

@keyframes float {
    0%,100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-18px) rotate(90deg) scale(1.05); }
    66% { transform: translateY(12px) rotate(180deg) scale(0.98); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* STATS - standalone */
.stats-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    gap: 1.2rem;
    margin: 2rem 0;
}

.stat-item {
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--surface), var(--muted-surface));
    text-align: center;
    border: 1px solid rgba(110,75,175,0.03);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--accent-lavender);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CONTACT COMPONENT - standalone */
.contact-component {
    padding: 3.5rem 2rem;
    background: var(--muted-surface);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
}

.contact-card {
    background: var(--surface);
    padding: 1.6rem;
    border-radius: 12px;
    border: 1px solid rgba(110,75,175,0.03);
    box-shadow: 0 10px 30px rgba(110,75,175,0.03);
}

.contact-card h4 {
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(110,75,175,0.06);
    background: var(--white-pure);
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form .btn {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: var(--white-pure);
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 10px 28px var(--shadow-accent);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(60,60,70,0.04);
    background: linear-gradient(180deg, var(--white-off), var(--muted-surface));
}

footer .small {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: 2;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    spline-viewer { height: 360px; }
}

@media (max-width: 520px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.2rem; }
    spline-viewer { height: 300px; }
}

/* small helper */
.muted {
    color: var(--text-muted);
}