/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5a67d8;
    --secondary-color: #ed64a6;
    --accent-color: #fbbf24;
    --success-color: #10b981;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --hand-drawn-border: 2px solid #2c3e50;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Kalam', cursive;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
}

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

/* Header Styles */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    border-radius: 0 0 15px 15px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 200px;
    height: 60px;
}

.logo-path {
    animation: drawPath 3s ease-in-out infinite;
}

.logo-text {
    animation: wobble 4s ease-in-out infinite;
}

@keyframes drawPath {
    0%, 100% { stroke-dasharray: 0 100; }
    50% { stroke-dasharray: 100 0; }
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section - New Modern Style */
.hero {
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: morphShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    bottom: -250px;
    left: -250px;
    animation-delay: 5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #43e97b 0%, #38f9d7 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    33% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    66% { border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%; }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    animation: floatAround var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.7;
}

.float-element:nth-child(1) { top: 10%; left: 10%; }
.float-element:nth-child(2) { top: 20%; right: 15%; }
.float-element:nth-child(3) { bottom: 30%; left: 20%; }
.float-element:nth-child(4) { bottom: 20%; right: 25%; }
.float-element:nth-child(5) { top: 50%; left: 50%; }

@keyframes floatAround {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.title-line {
    display: block;
    font-family: 'Kalam', cursive;
}

.title-highlight {
    display: block;
    font-family: 'Shadows Into Light', cursive;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(3rem, 6vw, 4.5rem);
    text-shadow: 0 0 40px rgba(251, 191, 36, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button {
    padding: 15px 35px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Kalam', cursive;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--accent-color);
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
    background: #f59e0b;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 1s ease 0.8s backwards;
}

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

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual - Card Stack */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-stack {
    position: relative;
    width: 300px;
    height: 350px;
}

.hero-card {
    position: absolute;
    width: 280px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.hero-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.hero-card .card-content {
    padding: 1rem;
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.card-1 {
    z-index: 3;
    transform: rotate(-5deg) translateY(0);
    animation: cardFloat1 4s ease-in-out infinite;
}

.card-2 {
    z-index: 2;
    transform: rotate(3deg) translateY(15px) translateX(15px);
    animation: cardFloat2 4s ease-in-out infinite 0.5s;
}

.card-3 {
    z-index: 1;
    transform: rotate(-3deg) translateY(30px) translateX(-15px);
    animation: cardFloat3 4s ease-in-out infinite 1s;
}

@keyframes cardFloat1 {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-5deg) translateY(-10px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: rotate(3deg) translateY(15px) translateX(15px); }
    50% { transform: rotate(3deg) translateY(5px) translateX(15px); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: rotate(-3deg) translateY(30px) translateX(-15px); }
    50% { transform: rotate(-3deg) translateY(20px) translateX(-15px); }
}

.hero-card:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 5;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Shadows Into Light', cursive;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Blog Controls */
.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-family: 'Kalam', cursive;
    font-size: 1rem;
    background: var(--bg-white);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(90, 103, 216, 0.1);
    transform: scale(1.02);
}

.search-input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.category-select {
    padding: 14px 40px 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-family: 'Kalam', cursive;
    font-size: 1rem;
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23718096" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.category-select:hover {
    border-color: var(--primary-color);
}

.category-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(90, 103, 216, 0.1);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
    transform: translateY(0);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(90, 103, 216, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.blog-card:hover::after {
    opacity: 1;
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.95);
}

.blog-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-article {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
    filter: brightness(1);
}

.blog-card:hover .blog-image-overlay {
    opacity: 1;
}

.blog-card:hover .view-article {
    transform: translateY(0);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--accent-color), #fcd34d);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.2);
    transition: var(--transition);
}

.blog-card:hover .blog-category {
    transform: scale(1.05);
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
}

.read-more::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    padding-right: 20px;
}

.read-more:hover::after {
    opacity: 1;
    right: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination button {
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Kalam', cursive;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pagination button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.pagination button:hover:not(:disabled)::before {
    width: 100px;
    height: 100px;
}

.pagination button:hover:not(:disabled) {
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(90, 103, 216, 0.3);
    position: relative;
    z-index: 1;
}

.pagination button:hover:not(:disabled) span {
    position: relative;
    z-index: 2;
}

.pagination button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(90, 103, 216, 0.3);
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bg-light);
}

/* Social Widget */
.social-widget {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    z-index: 100;
    transition: var(--transition);
}

.social-widget:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-50%) translateX(-5px);
}

.social-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.social-link {
    display: block;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 50%;
    margin: 0.5rem 0;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s;
    z-index: -1;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    color: white;
    transform: scale(1.2) rotate(360deg);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 100;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.back-to-top.show {
    display: flex;
    animation: fadeInUp 0.5s ease, pulse 2s infinite 0.5s;
}

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

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 5px solid var(--primary-color);
    border-radius: 50px 50px 0 0;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-family: 'Shadows Into Light', cursive;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 20px;
    font-family: 'Kalam', cursive;
}

.newsletter-button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Kalam', cursive;
    font-weight: 600;
    transition: background 0.3s;
}

.newsletter-button:hover {
    background: var(--secondary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-radius: 0 0 25px 25px;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.98);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
        animation: slideInMenu 0.5s ease;
    }
    
    @keyframes slideInMenu {
        from {
            opacity: 0;
            transform: translateX(-100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-menu li {
        opacity: 0;
        animation: fadeInMenuItem 0.5s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
    
    @keyframes fadeInMenuItem {
        to {
            opacity: 1;
        }
    }

    .hero {
        min-height: auto;
        padding: 4rem 1rem 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        height: 300px;
    }
    
    .hero-card-stack {
        transform: scale(0.8);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-elements {
        display: none;
    }
    
    .hero-shape {
        transform: scale(0.7);
    }

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

    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .social-widget {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .title-highlight {
        font-size: 2.5rem !important;
    }
    
    .hero-card-stack {
        transform: scale(0.7);
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .blog-card {
        margin: 0 10px;
    }
}