/* ============================================
   MOBILE RESPONSIVE STYLES FOR ALL PAGES
============================================ */

/* Large Tablets (768px - 991px) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .navbar {
        padding: 15px 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* Hero Sections */
    .hero h1,
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p,
    .service-hero p {
        font-size: 1.1rem;
    }
    
    /* Section Titles */
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    /* Cards Grid */
    .services-grid,
    .features-grid,
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Carousels */
    .carousel-card {
        min-width: 50%;
    }
    
    .service-carousel-container {
        padding: 0 10px;
    }
    
    /* CTA Containers */
    .cta-container {
        flex-direction: column;
    }
    
    .cta-sidebar {
        width: 100%;
        max-width: 500px;
        margin: 30px auto 0;
    }
    
    /* Process Steps */
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablets (576px - 767px) */
@media (max-width: 768px) {
    /* Mobile Menu */
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu .btn {
        margin: 10px 0 0 0;
    }
    
    /* Hero Sections */
    .hero,
    .service-hero {
        padding: 140px 0 80px;
        min-height: auto;
    }
    
    .hero h1,
    .service-hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero p,
    .service-hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* Hero Buttons */
    .hero-btns,
    .service-hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-btns .btn,
    .service-hero-btns .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
    }
    
    /* Section Titles */
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    /* Section Padding */
    section {
        padding: 60px 0;
    }
    
    /* Cards Grid */
    .services-grid,
    .features-grid,
    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Service Cards */
    .service-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    /* Carousels */
    .carousel-card {
        min-width: 100%;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 25px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    /* CTA Section */
    .cta-sidebar {
        padding: 25px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Add-On Tags */
    .addon-tags {
        gap: 10px;
    }
    
    .addon-tag {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Final CTA */
    .final-cta-btns,
    .service-final-cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .final-cta-btns .btn,
    .service-final-cta-btns .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Floating Buttons */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

/* Mobile Phones (375px - 575px) */
@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    
    /* Hero */
    .hero h1,
    .service-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p,
    .service-hero p {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Cards */
    .service-card,
    .feature-card,
    .stat-card {
        padding: 20px;
    }
    
    .service-img {
        height: 180px;
    }
    
    /* Carousel */
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-arrow.prev {
        left: 5px;
    }
    
    .carousel-arrow.next {
        right: 5px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    /* FAQ */
    .faq-question {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 15px;
        font-size: 0.9rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    /* Popups */
    .popup {
        padding: 25px 20px;
        width: 95%;
    }
    
    .popup h2 {
        font-size: 1.5rem;
    }
    
    .popup p {
        font-size: 1rem;
    }
    
    /* Chatbot */
    .chatbot-container {
        width: 95%;
        height: 85vh;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-text {
        font-size: 1rem;
    }
}

/* Small Phones (below 375px) */
@media (max-width: 374px) {
    .hero h1,
    .service-hero h1 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .addon-tag {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .logo img {
        height: 45px;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .hero,
    .service-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero h1,
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Dark Mode Responsive Fixes */
@media (max-width: 768px) {
    .dark-theme .nav-menu {
        background-color: var(--card-bg);
    }
    
    .dark-theme .hamburger .bar {
        background-color: var(--text-color);
    }
}

/* Print Styles */
@media print {
    .floating-buttons,
    .popup-overlay,
    .chatbot-overlay,
    .social-proof-popup,
    .cursor,
    .cursor-follower {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid #000;
        color: #000;
        background: none;
    }
}
