/* ========================================
   MOBILE SECTION ENHANCEMENTS
   Polished sections with generous spacing and elegant design
   ======================================== */

/* ========================================
   ABOUT SECTION - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }

    .about-img-wrap {
        margin-bottom: 40px;
        position: relative;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .about-img-wrap .image-one,
    .about-img-wrap .image-two {
        border-radius: 25px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .about-img-wrap .image-one img,
    .about-img-wrap .image-two img {
        width: 100%;
        height: auto;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .about-content-wrap {
        text-align: center;
        padding: 0 20px;
    }

    .about-content-wrap .section-title h6 {
        font-size: 14px;
        font-weight: 700;
        color: #007bff;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .about-content-wrap .section-title h2 {
        font-size: 28px;
        font-weight: 800;
        line-height: 1.3;
        color: #1a1d20;
        margin-bottom: 20px;
    }

    .about-content-wrap p {
        font-size: 15px;
        line-height: 1.8;
        color: #666;
        margin-bottom: 25px;
    }

    .about-list-item ul {
        list-style: none;
        padding: 0;
        margin: 30px 0;
        text-align: left;
    }

    .about-list-item ul li {
        padding: 12px 0;
        font-size: 15px;
        color: #333;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .about-list-item ul li i {
        color: #28a745;
        font-size: 18px;
        flex-shrink: 0;
    }

    .about-content-wrap .theme-btn {
        margin-top: 30px;
    }
}

/* ========================================
   SERVICE SECTION - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .service-section {
        padding: 60px 0;
        background: #fff;
    }

    .single-service-item {
        background: #fff;
        border-radius: 25px;
        padding: 30px 20px;
        margin-bottom: 25px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: center;
    }

    .single-service-item:active {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

    .service-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        border-radius: 50%;
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
        position: relative;
    }

    .service-icon::before {
        content: '';
        position: absolute;
        inset: -5px;
        border-radius: 50%;
        border: 2px solid rgba(0, 123, 255, 0.3);
        animation: iconPulse 2s ease-in-out infinite;
    }

    @keyframes iconPulse {
        0%, 100% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.1);
            opacity: 0.5;
        }
    }

    .service-icon i {
        font-size: 36px;
        color: #fff;
        z-index: 1;
    }

    .service-content h4 {
        font-size: 20px;
        font-weight: 700;
        color: #1a1d20;
        margin-bottom: 15px;
    }

    .service-content h4 a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .service-content h4 a:hover {
        color: #007bff;
    }

    .service-content p {
        font-size: 14px;
        line-height: 1.7;
        color: #666;
        margin-bottom: 20px;
    }

    .service-image {
        border-radius: 20px;
        overflow: hidden;
        margin-bottom: 20px;
    }

    .service-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .service-price {
        margin-bottom: 15px;
    }

    .service-price .badge {
        padding: 8px 20px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 50px;
    }

    .read-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #007bff;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .read-more i {
        transition: transform 0.3s ease;
    }

    .read-more:hover i {
        transform: translateX(5px);
    }
}

/* ========================================
   BLOG SECTION - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }

    .single-blog-item {
        background: #fff;
        border-radius: 25px;
        overflow: hidden;
        margin-bottom: 25px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .single-blog-item:active {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

    .blog-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .blog-img {
        position: relative;
        height: 220px;
        overflow: hidden;
    }

    .blog-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .single-blog-item:active .blog-img img {
        transform: scale(1.1);
    }

    .blog-category-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: #fff;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    }

    .blog-content {
        padding: 25px 20px;
    }

    .blog-meta {
        font-size: 13px;
        color: #999;
        margin-bottom: 10px;
    }

    .blog-meta i {
        margin-right: 5px;
        color: #007bff;
    }

    .blog-title h4 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
        color: #1a1d20;
        margin-bottom: 12px;
    }

    .blog-excerpt {
        font-size: 14px;
        line-height: 1.6;
        color: #666;
        margin-bottom: 15px;
    }

    .blog-info {
        font-size: 12px;
        color: #999;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .blog-info i {
        color: #007bff;
        margin-right: 4px;
    }
}

/* ========================================
   CTA SECTION - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
        background-size: cover;
        background-position: center;
        position: relative;
        text-align: center;
    }

    .cta-section .overlay-5 {
        background: linear-gradient(
            135deg,
            rgba(0, 123, 255, 0.9) 0%,
            rgba(0, 86, 179, 0.95) 100%
        );
    }

    .cta-content h2 {
        font-size: 26px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .cta-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .cta-section .theme-btn {
        background: #fff;
        color: #007bff;
        padding: 16px 40px;
        font-size: 16px;
        font-weight: 700;
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    }

    .cta-section .theme-btn:active {
        transform: translateY(-3px) scale(0.98);
        box-shadow: 0 10px 35px rgba(255, 255, 255, 0.4);
    }
}

/* ========================================
   HELP SECTION - MOBILE ENHANCEMENTS
   ======================================== */

@media (max-width: 768px) {
    .help-section {
        padding: 60px 0;
    }

    .help-card {
        margin-bottom: 25px;
    }

    .help-card-inner {
        min-height: auto;
        padding: 35px 25px;
    }

    .help-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }

    .help-icon i {
        font-size: 36px;
    }

    .help-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .help-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .help-cta {
        padding: 35px 20px;
        border-radius: 25px;
        margin-top: 30px;
    }

    .help-cta-text {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .help-cta-btn {
        padding: 16px 35px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   GENEROUS WHITE SPACE
   ======================================== */

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

    /* Container padding */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Row spacing */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row > * {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }

    /* Heading spacing */
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 20px;
    }

    /* Paragraph spacing */
    p {
        margin-bottom: 20px;
    }

    /* List spacing */
    ul, ol {
        margin-bottom: 25px;
    }

    li {
        margin-bottom: 10px;
    }
}

/* ========================================
   SOFT SHADOWS & ROUNDED CORNERS
   ======================================== */

@media (max-width: 768px) {
    /* Card shadows */
    .help-card-inner,
    .single-service-item,
    .single-blog-item,
    .testimonial-item {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        border-radius: 25px;
    }

    /* Elevated shadows on interaction */
    .help-card:active .help-card-inner,
    .single-service-item:active,
    .single-blog-item:active {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

    /* Image rounded corners */
    img {
        border-radius: 15px;
    }

    /* Button rounded corners */
    .theme-btn,
    .btn-hero-main,
    .help-btn {
        border-radius: 50px;
    }

    /* Input rounded corners */
    input,
    textarea,
    select {
        border-radius: 15px;
    }
}

/* ========================================
   VISUAL HIERARCHY
   ======================================== */

@media (max-width: 768px) {
    /* Primary headings */
    h1, .hero-headline {
        font-size: 32px;
        font-weight: 800;
        color: #1a1d20;
        line-height: 1.2;
    }

    /* Section headings */
    h2, .section-title {
        font-size: 28px;
        font-weight: 800;
        color: #1a1d20;
        line-height: 1.3;
    }

    /* Subsection headings */
    h3 {
        font-size: 24px;
        font-weight: 700;
        color: #1a1d20;
        line-height: 1.3;
    }

    /* Card headings */
    h4 {
        font-size: 20px;
        font-weight: 700;
        color: #1a1d20;
        line-height: 1.4;
    }

    /* Body text */
    p, li, span {
        font-size: 15px;
        line-height: 1.7;
        color: #666;
    }

    /* Small text */
    small, .small-text {
        font-size: 13px;
        color: #999;
    }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

@media (max-width: 768px) {
    /* GPU acceleration for animations */
    .help-card-inner,
    .single-service-item,
    .single-blog-item,
    .fab-button,
    .theme-btn {
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    /* Optimize images */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

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