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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fefefe;
}

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

/* Hand-drawn style elements */
.hand-drawn {
    position: relative;
}

.hand-drawn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 3px solid #e74c3c;
    border-radius: 15px;
    transform: rotate(-1deg);
    z-index: -1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: 2px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 25px;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

.cookie-btn:hover {
    background: white;
    color: #2c3e50;
    transform: rotate(1deg) scale(1.05);
}

.cookie-btn.accept-all {
    background: #27ae60;
    border-color: #27ae60;
}

/* Header */
.header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}


.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(-2deg) scale(1.05);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #3498db, #2980b9);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
        height: calc(100vh - 70px);
        list-style: none;
        display: flex !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .nav-menu a {
        padding: 15px;
        display: block;
        border-radius: 10px;
        margin: 0 20px;
    }
    
    .nav-menu a:hover {
        background: rgba(255,255,255,0.3);
        transform: scale(1.05);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px;
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    transform: rotate(-1deg);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(2deg);
    box-shadow: 4px 4px 8px rgba(0,0,0,0.3);
}

.cta-button:hover {
    transform: rotate(-2deg) scale(1.05);
    box-shadow: 6px 6px 12px rgba(0,0,0,0.4);
}

.hero-svg {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.3));
    transform: rotate(3deg);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.2));
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    transform: rotate(-1deg);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #ecf0f1;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.learn-more-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    transform: rotate(1deg);
}

.learn-more-btn:hover {
    transform: rotate(-1deg) scale(1.05);
    background: #2980b9;
}

.about-svg {
    width: 100%;
    max-width: 350px;
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.2));
    transform: rotate(-2deg);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid #3498db;
    transform: rotate(1deg);
}

.service-card:nth-child(even) {
    transform: rotate(-1deg);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.testimonial-card:nth-child(even) {
    transform: rotate(1deg);
}

.testimonial-card:hover {
    transform: rotate(0deg) scale(1.02);
    background: rgba(255,255,255,0.15);
}

.quote-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
}

.testimonial-author {
    margin-top: 20px;
    text-align: right;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 5px;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid #e74c3c;
    transform: rotate(1deg);
}

.blog-card:nth-child(even) {
    transform: rotate(-1deg);
}

.blog-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-content h3 a:hover {
    color: #e74c3c;
}

.blog-content p {
    margin: 15px 0;
    color: #666;
}

.blog-date {
    color: #999;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.contact-item h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.social-media {
    margin-top: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.2) rotate(15deg);
}

/* Contact Form */
.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transform: rotate(1deg);
}

.contact-form h3 {
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.2);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

.submit-btn:hover {
    transform: rotate(1deg) scale(1.02);
    background: #c0392b;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 30px;
    height: 30px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}