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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.header-content h1 {
    font-size: 2rem;
    font-weight: bold;
    padding: 0 20px;
}

/* Main content */
main {
    margin-top: 0;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    padding: 0 20px;
    word-wrap: break-word;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    padding: 0 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Content section */
.content {
    padding: 60px 20px;
    background-color: white;
}

.content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e3c72;
    padding: 0 20px;
}

.content p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: #666;
    padding: 0 20px;
    line-height: 1.7;
}

/* Wishes */
.wishes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 20px;
}

.wish-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.wish-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

.wish-card p {
    color: white;
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
}

/* Memories section */
.memories {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.memories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    padding: 0 20px;
}

.memories p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: white;
    padding: 0 20px;
    line-height: 1.7;
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 20px;
}

.memory-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.memory-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
}

.memory-item h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.3;
}

.memory-item p {
    color: white;
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

/* Fun Facts section */
.fun-facts {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.fun-facts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e3c72;
    padding: 0 20px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 20px;
}

.fact-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.fact-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.3;
}

.fact-card p {
    color: white;
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 2rem 20px;
}

footer p {
    padding: 0 20px;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero {
        padding: 60px 15px;
        min-height: 40vh;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .content {
        padding: 40px 15px;
    }
    
    .content h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .wishes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .wish-card {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .wish-card h3 {
        font-size: 1.3rem;
    }
    
    .wish-card p {
        font-size: 0.95rem;
    }
    
    .memories {
        padding: 40px 15px;
    }
    
    .memories h2 {
        font-size: 2rem;
    }
    
    .memory-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .memory-item {
        padding: 1.5rem;
    }
    
    .memory-item h3 {
        font-size: 1.2rem;
    }
    
    .memory-item p {
        font-size: 0.95rem;
    }
    
    .fun-facts {
        padding: 40px 15px;
    }
    
    .fun-facts h2 {
        font-size: 2rem;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .fact-card {
        padding: 1.5rem;
        min-height: 160px;
    }
    
    .fact-card h3 {
        font-size: 1.2rem;
    }
    
    .fact-card p {
        font-size: 0.95rem;
    }
    
    footer {
        padding: 1.5rem 15px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .content h2 {
        font-size: 1.7rem;
    }
    
    .wish-card {
        padding: 1.2rem;
        min-height: 160px;
    }
    
    .wish-card h3 {
        font-size: 1.2rem;
    }
    
    .wish-card p {
        font-size: 0.9rem;
    }
    
    .memories h2 {
        font-size: 1.7rem;
    }
    
    .memory-item {
        padding: 1.2rem;
    }
    
    .memory-item h3 {
        font-size: 1.1rem;
    }
    
    .memory-item p {
        font-size: 0.9rem;
    }
    
    .fun-facts h2 {
        font-size: 1.7rem;
    }
    
    .fact-card {
        padding: 1.2rem;
        min-height: 140px;
    }
    
    .fact-card h3 {
        font-size: 1.1rem;
    }
    
    .fact-card p {
        font-size: 0.9rem;
    }
}