/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1a1b1e;
    background-color: #ffffff;
}

/* Design System Colors */
:root {
    /* Primary Colors */
    --primary: hsl(220, 90%, 56%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(280, 85%, 65%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --accent: hsl(330, 85%, 60%);
    --accent-foreground: hsl(0, 0%, 100%);
    --tertiary: hsl(142, 76%, 36%);
    --tertiary-foreground: hsl(0, 0%, 100%);
    
    /* Neutral Colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(260, 15%, 25%);
    --muted: hsl(240, 20%, 92%);
    --muted-foreground: hsl(240, 15%, 55%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(260, 15%, 25%);
    --border: hsl(240, 10%, 90%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(220, 90%, 56%), hsl(280, 85%, 65%));
    --gradient-warm: linear-gradient(180deg, hsl(280, 85%, 65%, 0.2), hsl(330, 85%, 60%, 0.2));
    
    /* Shadows */
    --shadow-soft: 0 4px 20px hsl(220, 90%, 56%, 0.15);
    --shadow-warm: 0 8px 32px hsl(330, 85%, 60%, 0.2);
    
    /* Border Radius */
    --radius: 0.5rem;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

/* Typography */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

/* Links */
.styled-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.styled-link:hover {
    color: var(--primary);
}

.styled-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.styled-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-contact {
    display: none;
}

.desktop-contact {
    display: none;
}

/* Burger Menu */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media (max-width: 1023px) {
    .nav {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-contact {
        display: inline-flex;
        margin-top: 1rem;
    }
    
    .desktop-contact {
        display: none;
    }
}

@media (min-width: 1024px) {
    .nav {
        display: flex;
    }
    
    .burger-menu {
        display: none;
    }
    
    .desktop-contact {
        display: inline-flex;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-sm {
    height: 2.25rem;
    padding: 0 0.75rem;
}

.btn-lg {
    height: 2.75rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-warm {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn-warm:hover {
    background: hsl(330, 85%, 55%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-warm);
}

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

.btn-hero:hover {
    background: hsl(220, 90%, 50%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

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

.btn-outline:hover {
    background: var(--muted);
    border-color: var(--primary);
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-warm);
    transform: translateY(-2px);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.card-text {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    order: 2; /* Move content after visual on mobile */
}

.hero-visual {
    width: 100%;
    order: 1; /* Show visual first on mobile */
}

.hero-title {
    font-size: 2.25rem; /* Smaller on mobile */
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
    padding-right: 0.5rem; /* Add some padding to prevent text touching the edge */
}

.gradient-text {
    background: var(--gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: stretch; /* Start with full width on mobile */
}

.hero-buttons .btn {
    width: auto; /* Reset button width */
    max-width: 100%; /* Ensure buttons don't overflow */
}

@media (min-width: 640px) {
    .hero-buttons {
        align-items: flex-start; /* Align buttons to the start on tablet and up */
    }
    
    .hero-buttons .btn {
        width: auto; /* Let buttons take their natural width */
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

.stat-card {
    padding: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.stat-logo {
    width: 100%;
    max-width: 150px; /* Smaller on mobile */
    height: 75px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--muted-foreground);
}

.hero-visual {
    position: relative;
}

.hero-card {
    padding: 2rem;
    background: var(--card);
}

.hero-icon {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: none;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    margin-bottom: 1.5rem;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}

.hero-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.hero-card-text {
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .stat-logo {
        max-width: 150px;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        flex-direction: row;
    }
    
    .hero-content {
        order: 1; /* Reset order on desktop - show content first */
        flex: 1;
    }
    
    .hero-visual {
        order: 2; /* Reset order on desktop - show visual second */
        flex: 1;
    }
    
    .hero-title {
        font-size: 3.75rem;
        padding-right: 0;
    }
    
    .hero-buttons {
        flex-direction: row;
    }}

/* About Section */
.about {
    padding: 5rem 1rem;
    background: var(--gradient-warm);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.7;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.feature-text {
    color: var(--muted-foreground);
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Location Section */
.location {
    padding: 5rem 1rem;
    background: var(--muted);
}

.location-header {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-header-content {
    text-align: center;
}

.location-header-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
}

.location-header-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 1024px) {
    .location-header {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .location-header-content {
        flex: 1;
        text-align: left;
    }

    .location-header-image {
        flex: 1;
        margin: 0;
    }
}

.location-grid {
    display: grid;
    gap: 2rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

/* Services Section */
.services {
    padding: 5rem 1rem;
    background: var(--background);
}

.services-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    padding: 1.5rem;
}

.service-icon {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.service-icon.universal {
    height: 400px;
}

.service-icon.tailored {
    height: 400px;
}

.service-icon.individual {
    height: 400px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.service-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.service-age {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    background: var(--tertiary);
    color: var(--tertiary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-block;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Groups Section */
.groups {
    padding: 5rem 1rem;
    background: var(--muted);
}

.groups-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.group-card {
    padding: 1.5rem;
}

.group-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.group-age {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 1rem;
}

.group-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.group-details {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cta-card {
    background: var(--gradient-warm);
    display: inline-block;
    text-align: center;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-text {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background: var(--background);
}

.contact-header {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-header-content {
    text-align: center;
}

.contact-header-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-header-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 1024px) {
    .contact-header {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .contact-header-content {
        flex: 1;
        text-align: left;
    }

    .contact-header-image {
        flex: 1;
        margin: 0;
    }
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-left, .contact-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.expectations {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info, .payment-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info ul {
    list-style: none;
    margin: 0.5rem 0;
}

.contact-info ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--muted-foreground);
}

.contact-info ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
    line-height: 1;
}

.contact-info ul li:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Pricing Section */
.pricing {
    padding: 5rem 1rem;
    background: var(--muted);
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    padding: 1.5rem;
    text-align: center;
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.pricing-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

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

.duration {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.pricing-info {
    display: grid;
    gap: 2rem;
}

.insurance-info, .package-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-info {
        grid-template-columns: 1fr 1fr;
    }
}

/* Resources Section */
.resources {
    padding: 5rem 1rem;
    background: var(--background);
}

.resources-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.resource-category {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
}

.resource-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resource-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.resource-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.resource-item p {
    color: var(--muted-foreground);
}

.disclaimer {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-style: italic;
    margin-top: 0.5rem;
}

@media (min-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Footer */
.footer {
    background: var(--foreground);
    color: var(--primary-foreground);
    padding: 3rem 1rem 1rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo .logo-text {
    color: var(--primary-foreground);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-foreground);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.footer-contact, .footer-hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.groups-header {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.groups-header-content {
    text-align: center;
}

.groups-header-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
}

.groups-header-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 1024px) {
    .groups-header {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .groups-header-content {
        flex: 1;
        text-align: left;
    }

    .groups-header-image {
        flex: 1;
        margin: 0;
    }
}