/* --- Responsive Adjustments --- */

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    /* Header adjustments */
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .navbar ul {
        gap: 25px;
    }

    /* Hero Section */
    .hero-section {
        height: auto;
        padding: 160px 0 80px 0;
        background-position: center right;
    }

   .hero-overlay {
    /* Pehle 0.95 tha (bohot dark), ab 0.4 kar diya taake image saaf dikhe */
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 32px;
    }
    
    .social-icons {
        display: none; 
    }
}











/* =========================================
   SERVICES SECTION RESPONSIVE
   ========================================= */

   @media (max-width: 1200px) {
    .services-section {
        width: 95%;
        padding: 40px 20px;
    }
    .services-container {
        gap: 30px;
    }
    
    .blueprint-bg-wrapper::before {
   
    background-color: rgba(8, 8, 8, 0.78); }
    
}

@media (max-width: 992px) {
    .services-container {
        flex-direction: column;
        gap: 40px;
    }

    .services-text {
        max-width: 100%;
    }

    .services-text h3 {
        margin-bottom: 30px;
    }
    
    
    .services-grid {
        width: 100%;
        max-width: 100%;
    }
    
    
    
    .blueprint-bg-wrapper::before {
   
    background-color: rgba(8, 8, 8, 0.78); }
    
    
}

@media (max-width: 576px) {
    .services-section {
        width: 100%; /* Mobile par full width */
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 40px 15px;
    }
    .services-text h2 {
        font-size: 26px;
    }
    .services-text h3 {
        font-size: 18px;
    }
    .services-grid {
        grid-template-columns: 1fr; 
    }
    
    
    
    .blueprint-bg-wrapper::before {
   
    background-color: rgba(8, 8, 8, 0.78); }
    
}





/* =========================================
   COMBINED SECTION (COUNT ON & HOW IT WORKS) RESPONSIVE
   ========================================= */

/* 1. Laptops / Small Desktops */
@media (max-width: 1200px) {
    .count-how-bg {
        width: 80%;
    }
    
    .process-steps-wrapper {
        flex-wrap: wrap;
        gap: 30px 15px;
        justify-content: flex-start;
    }
    
    .process-steps-wrapper::before {
        display: none;
    }
    
    .p-step {
        flex: 1 1 22%; /* 4 steps in a row */
    }
    
    .process-btn-wrapper {
        position: static;
        margin-top: 30px;
        text-align: left;
    }
}

/* 2. Tablets & Mobiles (Left-Right Layout Fix) */
@media (max-width: 992px) {
    /* Background Image ko halka (lighten) kiya */
    .count-how-bg {
        width: 100%;
        background-position: center;
        opacity: 0.6; /* Pehle bohot dark tha, ab halka hai */
    }
    
    /* Gradient ko light kiya taake image saaf dikhe */
    .count-how-bg::before {
        background: linear-gradient(180deg, 
            rgba(5,5,5,0.8) 0%, 
            rgba(5,5,5,0.5) 50%, 
            rgba(5,5,5,0.9) 100%);
    }
    
    .count-how-section {
        background-color: #050505;
        padding: 40px 0;
    }

    .count-how-container {
        padding: 0 15px; /* Side padding for mobile */
    }
    
    /* Features ko 2 Columns (Left-Right) mein set kiya */
    .count-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px 15px;
        margin-top: 20px;
    }
    
    .c-feature {
        border-left: none;
        padding: 0;
    }

    /* Steps ko mobile par bhi 2 columns mein rakha */
    .process-steps-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }

    .p-step {
        flex: unset; /* Grid handle karega */
        background-color: rgba(31, 33, 36, 0.9); /* Card look */
        padding: 15px;
        border-radius: 6px;
        border: 1px solid #333;
        margin-bottom: 0;
    }

    /* Aakhri step ko dono columns mein faila diya */
    .last-p-step {
        grid-column: span 2; 
    }

    .process-btn-wrapper {
        position: static;
        margin-top: 25px;
        text-align: center;
    }

    .btn-book-now {
        width: 100%;
        padding: 15px;
    }
}

/* 3. Small Mobiles */
@media (max-width: 576px) {
    .section-header h2 {
        font-size: 26px;
    }
    
    .section-header h3 {
        font-size: 15px;
    }

    /* Features aur Steps ko mobile par bhi 2 columns hi rakha */
    .count-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 10px;
    }

    .process-steps-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 10px;
    }

    .c-feature h4 {
        font-size: 13px;
    }
    
    .c-feature p {
        font-size: 10px;
    }

    .p-step {
        padding: 12px;
    }

    .step-content h4 {
        font-size: 13px;
    }

    .step-content p {
        font-size: 10px;
    }
}
















/* =========================================
   TESTIMONIALS RESPONSIVE
   ========================================= */

   @media (max-width: 1200px) {
    .testimonials-section {
        width: 95%;
        padding: 40px 20px;
    }
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 30px 15px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr; 
    }
    .testimonials-header h2 {
        font-size: 24px;
    }
}











/* =========================================
   CHANGING THE WAY SECTION - MOBILE FIX
   ========================================= */

@media (max-width: 992px) {
    .changing-way-section {
        /* Image ko right side shift kiya taake left side text ke liye khali rahe */
        background-position: right center; 
        padding: 60px 0;
        min-height: 400px;
        justify-content: flex-start; /* Text ko left side laya */
    }

    /* Dark Overlay ko thoda strong kiya taake text saaf padha jaye */
    .changing-overlay {
        background: linear-gradient(90deg, 
            rgba(0, 0, 0, 0.95) 0%,   /* Left side almost black */
            rgba(0, 0, 0, 0.8) 50%,   /* Beech mein thoda light */
            rgba(0, 0, 0, 0.2) 100%); /* Right side par image dikhe */
    }
    
    .changing-content {
        width: 100%;
        max-width: 100%;
        padding: 0 20px; /* Side se gap */
        text-align: left; /* Text ko left align kiya */
        margin-right: 0;
    }
    
    .changing-content h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .changing-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
        color: #cccccc; /* Text ko thoda bright kiya */
    }
}

/* =========================================
   2. FINAL CTA (SUNSET) & FOOTER RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    .final-cta-section {
        height: 400px; /* Mobile par height kam ki */
    }
    
    .final-cta-content h2 {
        font-size: 24px; /* Text chota kiya */
        line-height: 1.3;
    }
    
    .btn-cta {
        padding: 10px 20px;
        font-size: 11px;
    }
    
    .footer-logo h3 {
        font-size: 32px; /* Logo chota kiya */
    }

    .footer-logo p {
        font-size: 10px;
    }
}