/* ===================================
   MOBILE ENHANCEMENTS - EXPANDABLE SECTIONS WITH SINGLE TOGGLE
   =================================== */

/* Old sections toggle styles removed - replaced by hamburger menu */

/* Global sections collapse state */
.sections-collapsed .mobile-collapsible {
    max-height: 0 !important;
}

.sections-collapsed .mobile-section-header.active {
    background: rgba(240, 74, 0, 0.1);
}

.sections-expanded .mobile-collapsible {
    max-height: 2000px !important;
}

.sections-expanded .mobile-section-header {
    background: rgba(240, 74, 0, 0.1);
}

/* Mobile Collapsible Sections */
@media (max-width: 768px) {
    /* Old sections toggle removed - replaced by hamburger menu */
    
    /* Old mobile navigation menu styles removed - using new hamburger menu system */
    
    /* Old navigation styles removed - using new hamburger menu system */
    /* Add expand/collapse buttons for mobile sections */
    .mobile-section-header {
        position: relative;
        padding: 15px 0;
        cursor: pointer;
        border-bottom: 2px solid var(--primary-color);
        margin-bottom: 10px;
        background: rgba(240, 74, 0, 0.05);
        border-radius: 8px;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-section-header h3 {
        margin: 0;
        font-size: 1.2rem;
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .mobile-toggle-icon {
        font-size: 18px;
        color: var(--primary-color);
        transition: transform 0.3s ease;
    }
    
    .mobile-section-header.active .mobile-toggle-icon {
        transform: rotate(180deg);
    }
    
    /* Collapsible content */
    .mobile-collapsible {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .mobile-collapsible.active {
        max-height: 2000px;
        transition: max-height 0.5s ease-in;
    }
    
    /* Section-specific mobile improvements */
    .about-content {
        margin-top: 20px;
    }
    
    .services-grid {
        margin-top: 20px;
    }
    
    .projects-grid {
        margin-top: 20px;
    }
    
    .testimonials-grid {
        margin-top: 20px;
    }
    
    .business-talk-content {
        margin-top: 20px;
    }
    
    .news-content {
        margin-top: 20px;
    }
    
    .contact-content {
        margin-top: 20px;
    }
    
    /* Enhance mobile cards spacing */
    .service-card,
    .project-card,
    .testimonial-card,
    .feature-card,
    .news-card {
        margin-bottom: 20px;
    }
    
    /* Mobile-specific section headers */
    .section-header {
        text-align: left;
        padding: 15px;
        background: rgba(240, 74, 0, 0.03);
        border-radius: 8px;
        margin-bottom: 20px;
        border-left: 4px solid var(--primary-color);
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .section-description {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    /* Enhanced mobile readability */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .hero-description-highlighted {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: center;
        padding: 0 10px;
    }
    
    /* Mobile tabs enhancement */
    .news-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    /* Mobile form improvements */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Hero confidence text styling */
    .hero-confidence-text {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 2px solid rgba(255, 255, 255, 0.3);
        text-align: center;
    }
    
    .hero-confidence-text p {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-white);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* Mobile button improvements */
    .btn {
        min-height: 48px;
        padding: 14px 20px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    /* Mobile FAQ improvements */
    .faq-question {
        padding: 20px 15px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
        line-height: 1.4;
        padding-right: 30px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 20px;
        max-height: 400px;
    }
    
    /* Mobile statistics */
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
        text-align: center;
    }
    
    /* Mobile navigation improvements */
    .nav-link {
        padding: 12px 15px;
        font-size: 16px;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    /* Mobile footer */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .service-card,
    .project-card,
    .testimonial-card,
    .feature-card {
        padding: 20px 15px;
    }
    
    .mobile-section-header {
        padding: 12px 15px;
    }
    
    .mobile-section-header h3 {
        font-size: 1.1rem;
    }
}