/* Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-banner {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Services Section */
    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    /* About Section */
    .about {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat h3 {
        font-size: 1.5rem;
    }

    /* Testimonials Section */
    .testimonials {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Newsletter Section */
    .newsletter {
        padding: 60px 0;
    }

    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Contact Section */
    .contact {
        padding: 60px 0;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

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

    .social-links {
        justify-content: center;
    }

    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .cookie-modal-content {
        width: 95%;
        padding: 20px;
    }

    .cookie-modal-buttons {
        flex-direction: column;
    }

    /* Legal Pages */
    .legal-content {
        padding: 100px 0 60px;
    }

    .legal-text {
        padding: 0 15px;
    }

    .cookie-table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 8px;
    }

    /* Thank You Page */
    .thank-you {
        padding: 100px 0 60px;
    }

    .thank-you-icon {
        width: 80px;
        height: 80px;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .thank-you .contact-info {
        padding: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero {
        padding: 80px 0 40px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-banner {
        max-width: 250px;
    }

    /* Sections */
    .services,
    .about,
    .testimonials,
    .newsletter,
    .contact {
        padding: 40px 0;
    }

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

    .section-icon {
        width: 40px;
        height: 40px;
    }

    /* Cards */
    .service-card,
    .testimonial-card,
    .contact-item {
        padding: 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    /* Newsletter */
    .newsletter-content {
        padding: 0 10px;
    }

    .form-group input {
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 30px 0 15px;
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .social-links {
        margin-top: 1rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    .social-links img {
        width: 18px;
        height: 18px;
    }

    /* Cookie Management */
    .cookie-modal-content {
        width: 98%;
        padding: 15px;
        margin: 10px;
    }

    .cookie-option {
        padding: 10px;
    }

    .cookie-option label {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-option input {
        margin-bottom: 5px;
    }

    /* Legal Pages */
    .legal-content {
        padding: 90px 0 40px;
    }

    .legal-header h1 {
        font-size: 1.8rem;
    }

    .legal-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .cookie-table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 6px;
        min-width: 100px;
    }

    /* Thank You Page */
    .thank-you {
        padding: 90px 0 40px;
    }

    .thank-you-icon {
        width: 60px;
        height: 60px;
    }

    .thank-you h1 {
        font-size: 1.8rem;
    }

    .thank-you .contact-info {
        padding: 1rem;
    }

    .contact-details {
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .container {
        padding: 0 5px;
    }

    /* Navigation */
    .brand-name {
        font-size: 1rem;
    }

    .logo {
        height: 30px;
    }

    /* Hero */
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .hero-banner {
        max-width: 200px;
    }

    /* Buttons */
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Cards */
    .service-card,
    .testimonial-card,
    .contact-item {
        padding: 0.75rem;
    }

    /* Footer */
    .footer-logo {
        height: 30px;
    }

    .social-links a {
        width: 30px;
        height: 30px;
    }

    .social-links img {
        width: 15px;
        height: 15px;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .footer {
        display: none;
    }

    .hero,
    .services,
    .about,
    .testimonials,
    .newsletter,
    .contact,
    .legal-content,
    .thank-you {
        padding: 20px 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: white;
    }

    .btn {
        border: 1px solid #333;
        background: white;
        color: #333;
    }

    a {
        color: #333;
        text-decoration: underline;
    }

    .service-card,
    .testimonial-card,
    .contact-item {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
