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

body {
    font-family: 'Comic Sans MS', 'Trebuchet MS', cursive;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%, transparent 75%, #f8f9fa 75%, #f8f9fa),
                linear-gradient(45deg, #f8f9fa 25%, transparent 25%, transparent 75%, #f8f9fa 75%, #f8f9fa);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

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

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

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

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-buttons button {
    background: #3498db;
    color: white;
    border: 2px solid #fff;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 15px;
    cursor: pointer;
    font-family: inherit;
    transform: rotate(-1deg);
    transition: all 0.2s ease;
}

.cookie-buttons button:hover {
    transform: rotate(1deg) scale(1.05);
    background: #e74c3c;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.cookie-modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 3px solid #3498db;
    transform: rotate(-1deg);
}

.cookie-option {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #3498db;
}

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

.nav-brand .logo {
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: rotate(2deg) scale(1.1);
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
    display: inline-block;
}

.nav-menu a:hover {
    background: #3498db;
    color: white;
    transform: rotate(1deg) scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10 10 Q50 5 90 10 Q95 50 90 90 Q50 95 10 90 Q5 50 10 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    animation: float 10s infinite linear;
}

@keyframes float {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    transform: rotate(0.5deg);
}

.hero-illustration {
    margin: 30px 0;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.hero-illustration:hover {
    transform: rotate(2deg) scale(1.05);
}

.cta-button {
    background: #e74c3c;
    color: white;
    border: 3px solid #c0392b;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.cta-button:hover {
    transform: rotate(2deg) scale(1.1);
    background: #c0392b;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
}

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

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    transform: rotate(-1deg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    border: 2px solid #ecf0f1;
}

.service-card:hover {
    transform: rotate(1deg) translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: #3498db;
}

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

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

.service-card svg {
    margin-bottom: 20px;
    transform: rotate(-2deg);
}

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

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    transform: rotate(1deg);
}

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

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more {
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 15px;
    display: inline-block;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    border: 2px solid #229954;
}

.read-more:hover {
    transform: rotate(1deg) scale(1.05);
    background: #229954;
}

.about-illustration {
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.about-illustration:hover {
    transform: rotate(2deg);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    transform: rotate(-1deg);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

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

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

.testimonial-card:hover {
    transform: rotate(1deg) translateY(-10px);
    background: rgba(255,255,255,0.2);
}

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

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

.testimonial-icon {
    margin-bottom: 20px;
    transform: rotate(-2deg);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-card cite {
    font-weight: bold;
    color: #f1c40f;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: white;
}

.blog h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    transform: rotate(1deg);
}

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

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

.blog-card:hover {
    transform: rotate(1deg) translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: #3498db;
}

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

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

.blog-image {
    width: 100%;
    height: 150px;
}

.blog-card h3 {
    padding: 20px;
    font-size: 1.3rem;
    color: #2c3e50;
}

.blog-card p {
    padding: 0 20px;
    color: #666;
    line-height: 1.6;
}

.blog-card a {
    display: inline-block;
    padding: 10px 20px 20px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.blog-card a:hover {
    transform: rotate(1deg);
    color: #2980b9;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    transform: rotate(-1deg);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #3498db;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-icon {
    float: left;
    margin-right: 15px;
    transform: rotate(-2deg);
}

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

.social-links a {
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

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

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

.contact-form h3 {
    margin-bottom: 25px;
    color: #f1c40f;
    font-size: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid #3498db;
    border-radius: 15px;
    font-family: inherit;
    font-size: 16px;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f1c40f;
    transform: rotate(0.5deg);
}

.contact-form button {
    background: #e74c3c;
    color: white;
    border: 3px solid #c0392b;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    transform: rotate(2deg);
    background: #c0392b;
}

/* Footer */
.footer {
    background: #34495e;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

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

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #3498db;
    transform: rotate(1deg);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 30px 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        border-left: 3px solid #3498db;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 80%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px;
        border-radius: 10px;
        transform: rotate(-1deg);
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .nav-menu a:hover {
        transform: rotate(1deg) scale(1.05);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-illustration {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Animation for sections appearing */
.section-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}