
/* ===== Responsive Styles ===== */
@media (max-width: 1400px) {
    .hero-content {
        padding: 20px 40px 0;
    }

    .hero-title span {
        font-size: 68px;
    }

    .hero-right {
        max-width: 620px;
        min-height: 550px;
    }

    .hero-card {
        padding: 28px 32px 250px 32px;
    }

    .card-title {
        font-size: 28px;
    }

    .building-showcase {
        top: clamp(100px, 14vh, 140px);
    }

    .building-showcase>img {
        height: clamp(260px, 32vh, 420px);
    }
}

@media (max-width: 1200px) {
    .hero-content {
        padding: 20px 30px 0;
        gap: 30px;
    }

    .hero-left {
        padding-top: 40px;
    }

    .hero-right {
        max-width: 520px;
        min-height: clamp(400px, 55vh, 500px);
    }

    .hero-title span {
        font-size: 58px;
    }

    .hero-card {
        padding: 25px 28px clamp(180px, 25vh, 240px) 28px;
    }

    .card-title {
        font-size: 24px;
    }

    .building-showcase {
        top: clamp(90px, 13vh, 130px);
        left: -30px;
        right: -30px;
    }

    .building-showcase>img {
        height: clamp(240px, 30vh, 360px);
    }

    .hero-bottom {
        margin-top: -60px;
    }

    .materials-card {
        min-width: 80px;
        padding: 60px 35px;
    }

    .materials-card h4 {
        font-size: 22px;
    }

    .interior-preview {
        top: -80px;
        right: 0px;
        width: 170px;
    }

    .interior-preview img {
        height: 150px;
    }

    .stats-content {
        flex-direction: column;
    }

    .stats-left {
        flex: none;
        width: 100%;
    }

    .stats-right {
        flex: 1;
        width: 100%;
    }

    .stat-card-content {
        flex-direction: row;
    }

    .stat-card-image {
        flex: 0 0 250px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card.large {
        grid-row: span 2;
    }

    .testimonial-card {
        min-width: 340px;
        max-width: 340px;
    }
}

@media (max-width: 992px) {
    .header-content {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-main {
        padding-top: 80px;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
        padding: 20px 20px 0;
    }

    .hero-left {
        max-width: 100%;
        padding-top: 20px;
    }

    .hero-title span {
        font-size: 52px;
    }

    .hero-right {
        flex: none;
        width: 100%;
        max-width: 500px;
        min-height: 450px;
    }

    .hero-card {
        position: relative;
        flex-direction: column;
        gap: 20px;
        padding: 25px 25px 200px 25px;
        border-radius: 25px 50px 25px 25px;
    }

    .card-header {
        text-align: left;
        width: 100%;
    }

    .room-tour {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .card-title {
        font-size: 22px;
    }

    .building-showcase {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin-top: clamp(-300px, -22vh, -150px);
    }

    .building-showcase>img {
        width: 100%;
        height: clamp(220px, 28vh, 340px);
    }

    .phone-input {
        margin: 0 auto;
    }

    .hero-bottom {
        margin-top: -40px;
    }

    .hero-bottom-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .materials-section {
        flex: 0 0 100%;
        flex-direction: row;
        align-items: flex-end;
    }

    .hero-bottom-right {
        flex: 0 0 100%;
        justify-content: center;
    }

    .materials-card {
        flex: 1;
        min-width: auto;
        border-radius: 0;
        padding: 25px 30px;
    }

    .materials-card h4 {
        font-size: 22px;
    }

    .interior-preview {
        position: relative;
        top: auto;
        right: auto;
        width: 150px;
        margin-left: -20px;
    }

    .interior-preview img {
        height: 140px;
    }

    .customers-stat {
        padding: 25px 50px;
    }

    .stat-number {
        font-size: 48px;
    }

    .nature-card {
        padding: 25px 40px;
        text-align: center;
    }

    .nature-card p {
        font-size: 22px;
    }

    .stats-header,
    .projects-header {
        flex-direction: column;
        gap: 20px;
    }

    .testimonials-title {
        font-size: 38px;
    }

    .testimonial-card {
        min-width: 320px;
        max-width: 320px;
    }

    .stat-card-content {
        flex-direction: column;
    }

    .stat-card-image {
        flex: none;
        width: 100%;
    }

    .stat-card-image img {
        height: 180px;
        width: 100%;
    }

    .cta-content {
        flex-direction: column;
    }

    .cta-left {
        flex: 1;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .perf-stats-grid {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .perf-stat {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 30px;
        text-align: center;
    }

    .perf-stat:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero-title span {
        font-size: 44px;
    }

    .hero-right {
        min-height: 400px;
    }

    .hero-card {
        padding: 20px 20px 180px 20px;
    }

    .card-tabs {
        margin-bottom: 15px;
    }

    .tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .tour-content img {
        width: 60px;
        height: 45px;
    }

    .play-btn {
        width: 35px;
        height: 35px;
    }

    .building-showcase {
        margin-top: clamp(-180px, -20vh, -140px);
    }

    .building-showcase>img {
        height: clamp(200px, 26vh, 300px);
    }

    .hero-bottom-content {
        flex-direction: column;
    }

    .materials-section {
        flex-direction: row;
    }

    .hero-bottom-right {
        flex-direction: row;
        width: 100%;
    }

    .customers-stat,
    .nature-card {
        flex: 1;
    }

    .stat-number {
        font-size: 42px;
    }

    .nature-card p {
        font-size: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .testimonials-section {
        padding: 50px 0 70px;
    }

    .testimonials-slider {
        padding-top: 40px;
    }

    .testimonials-background {
        top: 30px;
        width: 95%;
    }

    .testimonials-title {
        font-size: 32px;
    }

    .testimonials-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
        padding: 25px 20px;
        background: rgba(255, 255, 255, 0.9);
    }

    .client-name {
        font-size: 20px;
    }

    .testimonials-track {
        animation-duration: 25s;
    }

    .stats-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large {
        grid-row: span 1;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .cta-features .divider {
        display: none;
    }

    .cta-features .feature {
        padding: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title span {
        font-size: 36px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .phone-input {
        flex-direction: column;
        max-width: 100%;
    }

    .phone-input input {
        padding: 15px 20px;
    }

    .phone-input .btn {
        border-radius: 8px;
        margin-top: 10px;
        padding: 15px 20px;
    }

    .header-right {
        gap: 15px;
    }

    .language-selector {
        display: none;
    }

    .hero-right {
        min-height: 350px;
    }

    .hero-card {
        padding: 18px 18px 150px 18px;
        border-radius: 20px 40px 20px 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-subtitle {
        font-size: 14px;
    }

    .room-tour {
        position: static;
        margin-top: 15px;
    }

    .tour-label {
        text-align: left;
    }

    .building-showcase {
        margin-top: clamp(-150px, -18vh, -110px);
    }

    .building-showcase>img {
        height: clamp(160px, 22vh, 240px);
    }

    .materials-section {
        flex-direction: column;
    }

    .materials-card {
        border-radius: 0;
        padding: 25px;
    }

    .materials-card h4 {
        font-size: 20px;
    }

    .interior-preview {
        position: relative;
        width: 100%;
        margin-left: 0;
    }

    .interior-preview img {
        height: 120px;
    }

    .hero-bottom-right {
        flex-direction: column;
    }

    .customers-stat {
        padding: 20px 30px;
    }

    .stat-number {
        font-size: 38px;
    }

    .nature-card {
        padding: 20px 25px;
    }

    .nature-card p {
        font-size: 18px;
    }

    .testimonials-header {
        padding-top: 20px;
    }

    .testimonials-title {
        font-size: 28px;
    }

    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
    }
}

/* Corrections for Index Page Styles */
@media (max-width: 768px) {
    .project-popup {
        width: 90%;
        max-width: 400px;
        padding: 20px;
    }
    
    .popup-header h2 {
        font-size: 18px;
    }
    
    .project-types {
        flex-direction: column;
        gap: 5px;
    }

    .type {
        width: 100%;
        justify-content: center;
    }

    .hero-popup1 img {
        width: 90%;
        right: 5%;
    }

    .popup-close-btn {
        right: 10%;
    }
}

@media (max-width: 480px) {
    .project-popup {
        width: 95%;
        padding: 15px;
    }
}