/* ============================================
   TABLET/IPAD OPTIMIZATION
   Optimized for US Market - iPad & Android Tablets
   
   Device Breakpoints:
   - iPad Mini: 768px x 1024px
   - iPad (10.2"): 810px x 1080px  
   - iPad Air (10.9"): 820px x 1180px
   - iPad Pro 11": 834px x 1194px
   - iPad Pro 12.9": 1024px x 1366px
   - Samsung Galaxy Tab: 800px x 1280px
   - Surface Pro: 912px x 1368px
   ============================================ */

/* ============================================
   BASE TABLET STYLES (768px - 1024px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Container and spacing */
    .container {
        max-width: 90%;
        padding-left: 30px;
        padding-right: 30px;
        margin: 0 auto;
    }
    
    section {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: clamp(28px, 3.5vw, 36px);
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 15px;
        line-height: 1.6;
        max-width: 650px;
        margin: 0 auto;
    }
    
    .subtitle {
        font-size: 12px;
        padding: 6px 18px;
        letter-spacing: 0.8px;
    }
}

/* ============================================
   STATS SECTION - Your Trusted MEP Partner
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .project-stats-section {
        padding: 60px 0;
    }
    
    .project-stats-section .header {
        max-width: 750px;
        margin: 0 auto 40px;
        padding: 0 30px;
    }
    
    .project-stats-section .header h1 {
        font-size: clamp(28px, 3.5vw, 34px);
        line-height: 1.3;
    }
    
    .project-stats-section .header p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .project-stats-section .main {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 680px;
        margin: 0 auto;
        padding: 0 30px;
    }
    
    .project-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .project-stats-section .stat-card {
        min-height: 190px;
        padding: 22px 20px 25px;
        border-radius: 16px;
    }
    
    .project-stats-section .stat-icon i {
        font-size: 50px;
    }
    
    .project-stats-section .stat-number {
        font-size: 36px;
        margin: 12px 0 6px;
    }
    
    .project-stats-section .stat-label {
        font-size: 14px;
    }
    
    .project-stats-section .hero-card {
        max-width: 100%;
        padding: 28px 25px;
        border-radius: 16px;
    }
    
    .project-stats-section .hero-card h2 {
        font-size: 24px;
        margin-bottom: 14px;
    }
    
    .project-stats-section .hero-card p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .project-stats-section .contact-row {
        flex-direction: row;
        gap: 15px;
        margin-top: 20px;
    }
    
    .project-stats-section .phone-bubble {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .why-choose-us {
        padding: 70px 0;
    }
    
    .why-choose-us .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
        max-width: 680px;
        margin: 0 auto;
    }
    
    .feature-card {
        padding: 24px 20px;
        border-radius: 14px;
        min-height: 240px;
        display: flex;
        flex-direction: column;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 16px;
    }
    
    .feature-icon i {
        font-size: 26px;
    }
    
    .feature-card h3 {
        font-size: 17px;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .feature-card p {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* ============================================
   PROCESS SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .our-process {
        padding: 70px 0;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr); /* 2 cột = 2 hàng cho 4 items */
        gap: 25px;
        max-width: 750px; /* Tăng max-width */
        margin: 0 auto;
    }
    
    .process-step {
        padding: 30px 24px; /* Tăng padding */
        border-radius: 14px;
        min-height: 280px; /* Tăng height */
    }
    
    .process-step-number {
        width: 52px; /* Tăng size */
        height: 52px;
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .process-step h3 {
        font-size: 19px; /* Tăng font */
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .process-step p {
        font-size: 14px; /* Tăng font */
        line-height: 1.7;
    }
}

/* ============================================
   CREDENTIALS SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .credentials-section {
        padding: 70px 0;
    }
    
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
        max-width: 680px;
        margin: 0 auto;
    }
    
    .credential-card {
        padding: 28px 22px;
        border-radius: 14px;
        min-height: 220px;
    }
    
    .credential-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 16px;
    }
    
    .credential-icon i {
        font-size: 27px;
    }
    
    .credential-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .credential-card p {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .testimonials {
        padding: 70px 0;
    }
    
    .testimonial-wrapper {
        max-width: 950px; /* Tăng wrapper width */
        margin: 0 auto;
        padding: 0 70px;
    }
    
    .testimonial-container {
        max-width: 100%;
    }
    
    .testimonial-card {
        width: 580px !important; /* Tăng width từ 500px */
        min-width: 580px !important;
        padding: 35px 30px; /* Tăng padding */
        min-height: 360px;
        border-radius: 16px;
    }
    
    .testimonial-card > p {
        font-size: 16px; /* Tăng size */
        margin-bottom: 14px;
    }
    
    .testimonial-quote-content {
        font-size: 15px; /* Tăng size */
        line-height: 1.8;
        padding: 20px 24px; /* Tăng padding */
    }
    
    .client-info img {
        width: 55px; /* Tăng size */
        height: 55px;
    }
    
    .client-info h4 {
        font-size: 17px; /* Tăng size */
    }
    
    .client-info span {
        font-size: 13px;
    }
    
    .rating {
        font-size: 15px;
    }
    
    .rating span {
        font-size: 12px;
    }
    
    .nav-btn {
        width: 50px !important; /* Tăng size */
        height: 50px !important;
        font-size: 20px !important;
    }
    
    .nav-btn.prev {
        left: 5px !important;
    }
    
    .nav-btn.next {
        right: 5px !important;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .faq-section {
        padding: 70px 0;
    }
    
    .faq-section .container {
        max-width: 720px;
        padding: 0 30px;
    }
    
    .faq-grid {
        gap: 18px;
    }
    
    .faq-item {
        border-radius: 12px;
    }
    
    .faq-question {
        padding: 20px 24px;
        font-size: 16px;
    }
    
    .faq-question span {
        line-height: 1.5;
    }
    
    .faq-question i {
        font-size: 13px;
        margin-left: 12px;
    }
    
    .faq-answer {
        padding: 0 24px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 24px 20px 24px;
    }
    
    .faq-answer p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* ============================================
   SECTORS WE SERVE SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .sectors-we-serve {
        padding: 70px 0;
    }
    
    .sectors-we-serve .container {
        padding: 0 30px;
    }
    
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        max-width: 720px;
        margin: 50px auto;
        padding: 0;
    }
    
    .sector-card {
        padding: 20px 16px;
        min-height: 255px;
        border-radius: 12px;
    }
    
    .sector-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 12px;
        border-radius: 11px;
    }
    
    .sector-icon i {
        font-size: 23px;
    }
    
    .sector-number {
        font-size: 30px;
        top: 12px;
        right: 12px;
    }
    
    .sector-content h3 {
        font-size: 16px;
        min-height: 40px;
        margin-bottom: 6px;
    }
    
    .sector-content p {
        font-size: 12px;
        min-height: 36px;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .sector-features {
        gap: 5px;
    }
    
    .sector-features span {
        font-size: 11px;
    }
    
    .sector-features span i {
        font-size: 8px;
    }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .featured-projects {
        padding: 70px 0;
    }
    
    .featured-projects .container {
        padding: 0 30px;
    }
    
    .project-filters {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        margin-bottom: 45px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 25px;
    }
    
    .filter-btn i {
        font-size: 12px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
        max-width: 680px;
        margin: 0 auto;
    }
    
    .project-card {
        height: 300px;
        border-radius: 14px;
    }
    
    .project-card img {
        object-fit: cover;
    }
    
    .project-title {
        font-size: 17px;
        line-height: 1.4;
    }
    
    .project-category {
        font-size: 12px;
        padding: 5px 14px;
        border-radius: 20px;
    }
    
    .project-link-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* ============================================
   TEAM SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .team-member {
        padding: 70px 0;
    }
    
    .team-member-main {
        padding: 0 30px;
    }
    
    .team-member-list {
        flex-direction: row;
        justify-content: center;
        gap: 25px;
        flex-wrap: wrap;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .team-member-item {
        width: calc(50% - 12.5px);
        max-width: 320px;
    }
    
    .team-card {
        max-width: 100%;
        border-radius: 14px;
    }
    
    .team-image-wrapper {
        height: 340px;
    }
    
    .team-info {
        padding: 22px 18px;
    }
    
    .team-info h3 {
        font-size: 19px;
        margin-bottom: 5px;
    }
    
    .team-info p {
        font-size: 13px;
    }
    
    .social-links a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

/* ============================================
   SERVICES SECTION - Mobile Accordion Style cho Tablet
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .services {
        padding: 70px 0;
    }
    
    .service-content {
        flex-direction: column;
        margin: 0 30px;
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-left {
        width: 100%;
        padding-left: 0;
        margin-bottom: 0; /* Bỏ margin vì mobile-content sẽ xuất hiện ngay dưới button */
    }
    
    /* Hide desktop service-right image trên tablet */
    .service-right {
        display: none !important;
    }
    
    /* Service buttons - giống mobile */
    .service-left-list .btn {
        width: 100%;
        padding: 18px 22px;
        font-size: 16px;
        border-radius: 12px;
        margin-bottom: 12px;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(121, 121, 122, 0.4);
        transition: all 0.3s ease;
    }
    
    .service-left-list .btn:hover {
        background: rgba(121, 121, 122, 0.5);
        transform: translateX(3px);
    }
    
    .service-left-list .btn.active {
        background: var(--primary-color) !important;
        color: #fff !important;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
        transform: translateX(5px) !important;
    }
    
    .service-left-list .btn .btn-icon {
        transition: transform 0.3s ease;
    }
    
    .service-left-list .btn.active .btn-icon {
        transform: rotate(90deg); /* Mũi tên rotate khi active */
    }
    
    /* Mobile accordion content - hiện ngay dưới button */
    .mobile-service-content {
        display: none !important;
        padding: 0;
        margin-top: 0;
        margin-bottom: 15px;
    }
    
    .mobile-service-content.active {
        display: block !important;
        animation: fadeInDown 0.4s ease-out;
    }
    
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-service-image {
        margin-bottom: 0;
    }
    
    .mobile-service-image img {
        width: 100%;
        height: 280px; /* Tăng height cho tablet */
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }
    
    .mobile-service-details {
        background: rgba(255, 255, 255, 0.95);
        padding: 24px; /* Tăng padding */
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 107, 53, 0.2);
        border-top: 3px solid var(--primary-color);
    }
    
    .mobile-service-details h3 {
        color: var(--primary-color);
        font-size: 1.5rem; /* Tăng font */
        font-weight: 700;
        margin-bottom: 14px;
        text-transform: capitalize;
    }
    
    .mobile-service-details p {
        color: #333;
        line-height: 1.7;
        margin-bottom: 0;
        font-size: 1rem; /* Tăng font */
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-section {
        padding: 70px 0;
    }
    
    .contact-container {
        flex-direction: column;
        max-width: 650px;
        margin: 0 auto;
        padding: 0 30px;
    }
    
    .contact-image {
        width: 100%;
        height: 350px;
        border-radius: 14px;
        margin-bottom: 35px;
    }
    
    .contact-form {
        width: 100%;
        padding: 35px 28px;
        border-radius: 14px;
    }
    
    .contact-form h2 {
        font-size: 26px;
        margin-bottom: 8px;
    }
    
    .contact-form > p {
        font-size: 14px;
        margin-bottom: 28px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 18px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 14px;
        padding: 12px 16px;
        border-radius: 8px;
    }
    
    .submit-btn {
        padding: 14px 32px;
        font-size: 15px;
        border-radius: 8px;
    }
}

/* ============================================
   SLIDER/HERO SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .slider {
        height: 65vh; /* Giảm height cho phù hợp tablet */
        min-height: 520px;
        max-height: 680px;
    }
    
    .slider-content {
        width: 88%; /* Tăng width */
        max-width: 680px; /* Tăng max-width */
        padding: 35px 30px; /* Tăng padding */
        border-radius: 16px;
        backdrop-filter: blur(12px);
    }
    
    .slider-content .subtitle {
        font-size: 13px; /* Tăng font */
        padding: 7px 20px;
        margin-bottom: 15px;
    }
    
    .slider-content-inner h1 {
        font-size: clamp(2.2rem, 4.8vw, 3rem); /* Tăng font */
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .slider-content-inner p {
        font-size: 16px; /* Tăng font */
        line-height: 1.65;
        margin-bottom: 24px;
    }
    
    .slider-btn {
        padding: 14px 28px; /* Tăng padding */
        font-size: 16px; /* Tăng font */
        border-radius: 26px;
        min-height: 50px; /* Touch target */
    }
    
    .slider-btn-icon {
        width: 34px; /* Tăng size */
        height: 34px;
    }
    
    .numbers {
        bottom: 28px;
        gap: 10px;
    }
    
    .numbers span {
        width: 40px; /* Tăng size */
        height: 40px;
        font-size: 14px;
    }
}

/* ============================================
   MODAL ADJUSTMENTS FOR TABLET
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .modal-content {
        width: 88%;
        max-width: 680px;
        padding: 28px 25px;
        border-radius: 16px;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .close {
        font-size: 32px;
        width: 36px;
        height: 36px;
    }
    
    .quote-form .form-row {
        flex-direction: column;
        gap: 18px;
    }
    
    .quote-form .form-group {
        width: 100%;
    }
    
    .quote-form input,
    .quote-form textarea,
    .quote-form select {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .contact-item {
        padding: 18px;
    }
    
    .contact-item i {
        font-size: 22px;
    }
    
    .contact-item h3 {
        font-size: 15px;
    }
    
    .contact-item p {
        font-size: 14px;
    }
}

/* ============================================
   NAVIGATION ADJUSTMENTS
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        padding: 15px 30px;
    }
    
    .navbar .logo img,
    #navbar-main .navbar-brand img {
        height: 45px;
        width: auto;
        max-width: 90px; /* Maintain aspect ratio (400:201 ≈ 2:1) */
        object-fit: contain;
        aspect-ratio: 400 / 201;
    }
    
    .navbar .nav-menu {
        gap: 12px;
    }
    
    .navbar .nav-menu li a {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .list-social {
        gap: 8px;
    }
    
    .list-social a {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    
    .navbar-fixed {
        padding: 12px 30px;
    }
    
    .navbar-fixed .logo img,
    #navbar-fixed .navbar-brand img {
        height: 40px;
        width: auto;
        max-width: 80px; /* Maintain aspect ratio (400:201 ≈ 2:1) */
        object-fit: contain;
        aspect-ratio: 400 / 201;
    }
    
    /* Scroll Navigation Optimization */
    .scroll-nav {
        right: 15px; /* Gần edge hơn cho tablet */
        padding: 14px 10px; /* Tăng padding */
        border-radius: 32px;
        min-width: 68px; /* Tăng width */
        gap: 8px; /* Tăng gap giữa items */
    }
    
    .scroll-item {
        width: 48px; /* Tăng touch target */
        height: 48px; /* Apple HIG: 44px minimum */
        font-size: 17px; /* Tăng icon size */
    }
    
    .scroll-item i {
        font-size: 17px;
    }
    
    /* Tooltip cho tablet */
    .scroll-item:hover::after,
    .scroll-item.active::after {
        font-size: 13px;
        padding: 6px 12px;
        right: 58px; /* Adjust vị trí */
    }
}

/* ============================================
   FOOTER ADJUSTMENTS
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        max-width: 680px;
        margin: 0 auto 35px;
        padding: 0 30px;
    }
    
    .footer-section h3 {
        font-size: 17px;
        margin-bottom: 16px;
    }
    
    .footer-section p,
    .footer-section a,
    .footer-section li {
        font-size: 13px;
        line-height: 1.7;
    }
    
    .footer-section ul {
        gap: 10px;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    
    .footer-bottom {
        padding-top: 25px;
        font-size: 12px;
    }
}

/* ============================================
   UTILITY CLASSES FOR TABLET
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .reveal-scale {
        transform: scale(1);
        opacity: 1;
    }
    
    .text-center {
        text-align: center;
    }
    
    .full-width {
        width: 100%;
    }
}

/* ============================================
   LANDSCAPE SPECIFIC (iPad Pro 11" & 12.9")
   ============================================ */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .sectors-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 980px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 950px;
    }
    
    .why-choose-us .features {
        grid-template-columns: repeat(3, 1fr);
        max-width: 950px;
    }
    
    .container {
        max-width: 95%;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .project-stats-section .main {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 700px;
        margin: 0 auto;
        padding: 0 30px;
    }
    
    .project-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .project-stats-section .stat-card {
        min-height: 200px;
        padding: 20px;
    }
    
    .project-stats-section .hero-card {
        max-width: 600px;
        margin: 0 auto;
        padding: 30px;
    }
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .why-choose-us .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
}

/* ============================================
   PROCESS SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .process-step {
        padding: 30px 25px;
    }
    
    .process-step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .process-step h3 {
        font-size: 19px;
    }
    
    .process-step p {
        font-size: 14px;
    }
}

/* ============================================
   CREDENTIALS SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .credential-card {
        padding: 30px 25px;
    }
    
    .credential-icon {
        width: 60px;
        height: 60px;
    }
    
    .credential-icon i {
        font-size: 28px;
    }
    
    .credential-card h3 {
        font-size: 19px;
    }
    
    .credential-card p {
        font-size: 14px;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .testimonial-container {
        max-width: 650px;
        margin: 0 auto;
    }
    
    .testimonial-card {
        padding: 30px 25px;
        min-height: 350px;
    }
    
    .testimonial-quote-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .client-info h4 {
        font-size: 17px;
    }
    
    .client-info span {
        font-size: 13px;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .faq-section .container {
        max-width: 750px;
        padding: 0 30px;
    }
    
    .faq-question {
        padding: 22px 25px;
        font-size: 17px;
    }
    
    .faq-answer {
        padding: 0 25px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 25px 22px 25px;
    }
    
    .faq-answer p {
        font-size: 15px;
    }
}

/* ============================================
   SECTORS WE SERVE SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 750px;
        margin: 60px auto;
    }
    
    .sector-card {
        padding: 22px 18px;
        min-height: 270px;
    }
    
    .sector-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 14px;
    }
    
    .sector-icon i {
        font-size: 24px;
    }
    
    .sector-number {
        font-size: 32px;
        top: 14px;
        right: 14px;
    }
    
    .sector-content h3 {
        font-size: 17px;
        min-height: 42px;
    }
    
    .sector-content p {
        font-size: 13px;
        min-height: 38px;
        margin-bottom: 12px;
    }
    
    .sector-features {
        gap: 6px;
    }
    
    .sector-features span {
        font-size: 12px;
    }
    
    .sector-features span i {
        font-size: 9px;
    }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .project-card {
        height: 320px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .project-category {
        font-size: 13px;
        padding: 6px 16px;
    }
}

/* ============================================
   TEAM SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .team-member-list {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .team-member-item {
        width: calc(50% - 15px);
        max-width: 350px;
    }
    
    .team-card {
        max-width: 100%;
    }
    
    .team-image-wrapper {
        height: 350px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .service-content {
        margin: 0 40px;
    }
    
    .service-left {
        padding-left: 0;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 14px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-container {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group {
        width: 100%;
    }
}

/* ============================================
   SLIDER/HERO SECTION
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .slider-content {
        width: 85%;
        max-width: 650px;
        padding: 35px 30px;
    }
    
    .slider-content-inner h1 {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }
    
    .slider-content-inner p {
        font-size: 1.1rem;
    }
    
    .slider-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ============================================
   GENERAL CONTAINER SPACING
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: clamp(30px, 4vw, 38px);
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .subtitle {
        font-size: 13px;
        padding: 7px 20px;
    }
}

/* ============================================
   MODAL ADJUSTMENTS FOR TABLET
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .modal-content {
        width: 85%;
        max-width: 700px;
        padding: 30px;
    }
    
    .quote-form .form-row {
        flex-direction: column;
    }
    
    .quote-form .form-group {
        width: 100%;
    }
}

/* ============================================
   NAVIGATION ADJUSTMENTS
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar .nav-menu {
        gap: 15px;
    }
    
    .navbar .nav-menu li a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .list-social a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* ============================================
   FOOTER ADJUSTMENTS
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 14px;
    }
}
