/* Tablet Landscape / Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-container {
        gap: 30px;
    }

    .contact-wrapper {
        padding: 40px;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Tablet Portrait / Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .header-container {
        padding: 0 20px;
    }

    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden off-screen */
        width: 80%;
        /* Takes up most of the screen width */
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav.active {
        right: 0;
        /* Slide in */
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        width: 100%;
    }

    .nav-link {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }

    /* Fixed Mobile Toggle */
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 25px;
        right: 20px;
        z-index: 1005;
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .mobile-toggle:active {
        transform: scale(0.9);
    }

    /* Hero Section Adjustments */
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-outline {
        margin-left: 0;
    }

    /* Grid Collapsing */
    .features-grid,
    .about-container,
    .contact-wrapper,
    .contact-form,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        order: -1;
        margin-bottom: 20px;
    }

    /* Contact Form */
    .contact-wrapper {
        padding: 30px;
    }

    /* Footer */
    .footer-content {
        text-align: center;
    }

    .footer-brand p,
    .footer-contact ul,
    .footer-links ul,
    .social-icons {
        margin: 0 auto;
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Hide text mainly to save space */
    .whatsapp-float span,
    .call-float span {
        display: none;
    }

    .whatsapp-float,
    .call-float {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        bottom: 20px;
    }

    .whatsapp-float {
        right: 20px;
    }

    .call-float {
        left: 20px;
    }

    .whatsapp-float i,
    .call-float i {
        margin: 0;
        font-size: 1.5rem;
    }

    .slider-logo-watermark {
        display: none;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .feature-item {
        padding: 30px 20px;
    }

    .contact-wrapper {
        padding: 20px;
    }
}