.banner {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(source/design-background.jpg?v=1);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
}

.content {
    top: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    padding-bottom: 50px;
}

.banner-cta {
    text-align: center;
    padding: 20px 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.banner-cta .content-button {
    color: #ffffff;
    transition: 0.3s ease;
}

.banner-cta .content-button:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(6, 137, 206, 0.8);
}

.m1 {
    padding: clamp(20px, 8vw, 80px);
    padding-top: 10px;
    margin-top: clamp(30px, 8vw, 60px);
}

.section-title {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 25px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    background-image: linear-gradient(to right, transparent 25%, #0689ce 25%, #0689ce 75%, transparent 75%);
    background-size: 100% 3px;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.t1 {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.t1 p {
    font-size: clamp(16px, 5vw, 27px);
    margin-top: 30px;
}

.d1 {
    margin: clamp(40px, 10vw, 60px) 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(15px, 4vw, 30px);
}

.d1 div {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    overflow: hidden;
    flex-wrap: wrap;
    aspect-ratio: 3/2;
}

.d1 div img {
    display: block;
    width: inherit;
    transition: 0.5s;
}

.d1 div:hover img {
    transform: scale(1.05);
}

.d1 div h2 {
    margin: 10px 0;
    text-align: center;
    font-size: clamp(20px, 5vw, 35px);
}

.footer-cta {
    color: #ffffff;
    font-weight: bold;
    border: 3px solid #ffffff;
    transition: 0.5s ease;
}

.footer-cta:hover {
    transform: scale(1.05);
    background-color: #2479b8;
    text-shadow: 0 0 10px rgba(6, 137, 206, 0.8);
}

/* RESPONSIVE MEDIA QUERIES FOR DESIGN PAGE */

/* Tablet and below (600px) */
@media (max-width: 600px) {
    .banner-cta {
        padding: clamp(10px, 3vw, 20px) 0;
        bottom: 20px;
        position: absolute;
        transform: translateX(-50%);
        left: 50%;
        width: 100%;
    }

    .banner-cta .content-button {
        width: clamp(150px, 70vw, 250px);
        padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
        font-size: clamp(14px, 3vw, 17px);
    }

    .m1 {
        margin-top: clamp(20px, 5vw, 40px);
    }

    .t1 {
        margin-bottom: clamp(20px, 5vw, 40px);
    }

    .d1 div {
        aspect-ratio: auto;
        min-height: clamp(200px, 50vw, 300px);
    }

    .d1 div img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .d1 div h2 {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        margin: 0;
        padding: clamp(10px, 3vw, 15px);
    }

    .d1 div {
        position: relative;
    }
}

/* Small tablet (600px - 768px) */
@media (min-width: 600px) and (max-width: 768px) {
    .d1 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (768px+) */
@media (min-width: 768px) {
    .d1 {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Design Gallery Styles */
.design-gallery {
    padding: 60px 20px;
    background: #f8f9fa;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-size: 48px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.gallery-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #0689ce;
    background: white;
    color: #0689ce;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0689ce;
    color: white;
    transform: translateY(-3px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.design-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.design-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(6, 137, 206, 0.2);
}

.design-image {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f4ff 100%);
}

.design-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.design-card:hover .design-image img {
    transform: scale(1.1);
}

.design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 137, 206, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.design-card:hover .design-overlay {
    opacity: 1;
}

.overlay-icon {
    color: white;
    font-size: 40px;
    display: flex;
    gap: 20px;
}

.design-info {
    padding: 25px;
}

.design-room {
    display: inline-block;
    background: #e8f4ff;
    color: #0689ce;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.design-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.design-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.design-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #999;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 32px;
    }

    .blog-intro {
        font-size: 14px;
    }

    .blog-header {
        padding: 50px 20px;
    }

    .blog-intro-section {
        padding: 40px 20px;
    }

    .design-trends-section {
        padding: 40px 20px;
    }

    .trends-grid {
        grid-template-columns: 1fr;
    }

    .pro-tip-section {
        padding: 30px 20px;
    }

    .pro-tip-content {
        flex-direction: column;
        gap: 15px;
    }

    .gallery-header h1 {
        font-size: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Blog Header Section */
.blog-header {
    padding: clamp(30px, 8vw, 80px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4ff 100%);
    text-align: center;
    margin-top: clamp(20px, 5vw, 40px);
}

.blog-header-content {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    padding: 0 clamp(15px, 4vw, 50px);
    box-sizing: border-box;
}

.blog-title {
    font-size: clamp(28px, 8vw, 48px);
    color: #333;
    font-weight: 700;
    margin-bottom: clamp(20px, 5vw, 30px);
    line-height: 1.2;
    animation: titleSlideIn 0.8s ease-out;
    letter-spacing: -0.5px;
    word-spacing: 0.05em;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.blog-intro {
    font-size: clamp(14px, 3vw, 18px);
    color: #666;
    line-height: 1.8;
    margin: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

/* Pro Tip Section */
.pro-tip-section {
    padding: clamp(20px, 6vw, 40px);
    background: #fff5e6;
    border-left: 5px solid #0689ce;
}

.pro-tip-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: clamp(15px, 4vw, 20px);
    align-items: flex-start;
    padding: 0 clamp(15px, 4vw, 50px);
    box-sizing: border-box;
}

.pro-tip-section i {
    font-size: clamp(24px, 5vw, 28px);
    color: #0689ce;
    flex-shrink: 0;
    margin-top: 5px;
}

.pro-tip-text h3 {
    font-size: clamp(14px, 3vw, 18px);
    color: #333;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.pro-tip-text p {
    font-size: clamp(13px, 2.5vw, 16px);
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.pro-tip-text a {
    color: #0689ce;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pro-tip-text a:hover {
    color: #0560a0;
    text-decoration: underline;
}

/* Blog Intro Section */
.blog-intro-section {
    padding: clamp(30px, 8vw, 60px);
    background: white;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.blog-intro-content {
    max-width: 100%;
    margin: 0 auto;
    font-size: clamp(14px, 3vw, 18px);
    color: #666;
    line-height: 1.8;
    padding: 0 clamp(15px, 4vw, 50px);
    box-sizing: border-box;
    text-align: left;
}

.blog-intro-content p {
    margin: 0;
}

/* Design Trends Section */
.design-trends-section {
    padding: clamp(30px, 8vw, 50px) clamp(10px, 3vw, 15px);
    background: #f8f9fa;
}

.trends-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding: 0 clamp(10px, 3vw, 20px);
    box-sizing: border-box;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(25px, 5vw, 40px);
}

.trend-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.trend-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(6, 137, 206, 0.15);
}

.trend-image {
    width: 100%;
    height: clamp(220px, 40vh, 300px);
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f4ff 100%);
    overflow: hidden;
    position: relative;
}

.trend-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trend-card:hover .trend-image img {
    transform: scale(1.05);
}

.trend-content {
    padding: clamp(15px, 4vw, 25px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.trend-content h3 {
    font-size: clamp(16px, 3vw, 18px);
    color: #333;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.trend-content p {
    font-size: clamp(12px, 2.5vw, 14px);
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Featured Designs Section */
.featured-designs-section {
    padding: 80px 20px;
    background: #ffffff;
}

.featured-container {
    max-width: 1400px;
    margin: 0 auto;
}

.featured-header {
    text-align: center;
    margin-bottom: 60px;
}

.featured-header h2 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.featured-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.featured-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 35px rgba(6, 137, 206, 0.2);
}

.featured-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f4ff 100%);
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.featured-room-type {
    display: inline-block;
    background: #e8f4ff;
    color: #0689ce;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
}

.featured-title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.featured-description {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

.featured-view-btn {
    display: inline-block;
    background: #0689ce;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.featured-view-btn:hover {
    background: #0560a0;
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .design-ideas-section {
        padding: 50px 20px;
    }

    .ideas-header h2,
    .featured-header h2 {
        font-size: 28px;
    }

    .ideas-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }
}

/* ================================================ */
/* COMPREHENSIVE RESPONSIVE MEDIA QUERIES */
/* ================================================ */

/* Extra Small Devices (320px - 480px) */
@media (max-width: 480px) {
    .banner {
        height: 70vh;
    }
    
    .banner-cta {
        bottom: 15px;
        padding: 10px 0;
    }
    
    .banner-cta .content-button {
        width: 70vw;
        max-width: 200px;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .blog-header {
        padding: 20px 15px;
        margin-top: 10px;
    }
    
    .blog-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .blog-intro {
        font-size: 14px;
    }
    
    .pro-tip-section {
        padding: 15px;
    }
    
    .pro-tip-content {
        gap: 10px;
        flex-direction: column;
    }
    
    .pro-tip-section i {
        font-size: 24px;
    }
    
    .pro-tip-text h3,
    .pro-tip-text p {
        font-size: 13px;
    }
    
    .blog-intro-section {
        padding: 20px 15px;
    }
    
    .blog-intro-content {
        font-size: 13px;
        padding: 0;
    }
    
    .design-trends-section {
        padding: 20px 10px;
    }
    
    .trends-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .trend-card {
        margin-bottom: 10px;
    }
    
    .trend-image {
        height: 200px;
    }
    
    .trend-content {
        padding: 12px;
        gap: 8px;
    }
    
    .trend-content h3 {
        font-size: 15px;
    }
    
    .trend-content p {
        font-size: 12px;
    }
    
    .m-last {
        min-height: 250px !important;
    }
    
    .m-last h1 {
        font-size: clamp(20px, 6vw, 28px) !important;
    }
}

/* Small Devices (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .banner {
        height: 80vh;
    }
    
    .blog-header {
        padding: 25px 20px;
    }
    
    .blog-title {
        font-size: 28px;
    }
    
    .blog-intro {
        font-size: 15px;
    }
    
    .design-trends-section {
        padding: 25px 15px;
    }
    
    .trends-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .trend-image {
        height: 220px;
    }
    
    .trend-content h3 {
        font-size: 16px;
    }
    
    .trend-content p {
        font-size: 13px;
    }
}

/* Tablet Devices (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    .banner {
        height: 90vh;
    }
    
    .blog-header {
        padding: 40px 30px;
    }
    
    .blog-title {
        font-size: 36px;
    }
    
    .blog-intro {
        font-size: 16px;
    }
    
    .pro-tip-section {
        padding: 30px;
    }
    
    .design-trends-section {
        padding: 40px 25px;
    }
    
    .trends-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .trend-image {
        height: 240px;
    }
    
    .trend-content h3 {
        font-size: 17px;
    }
    
    .m-last {
        min-height: 300px !important;
    }
}

/* Medium Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .blog-header {
        padding: 50px 40px;
    }
    
    .design-trends-section {
        padding: 50px 30px;
    }
    
    .trends-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .trend-image {
        height: 260px;
    }
    
    .m-last {
        min-height: 320px !important;
    }
}

/* Desktop Devices (1025px+) */
@media (min-width: 1025px) {
    .blog-header {
        padding: 60px 50px;
    }
    
    .pro-tip-section {
        padding: clamp(30px, 6vw, 50px);
    }
    
    .pro-tip-text h3 {
        font-size: 20px;
    }
    
    .pro-tip-text p {
        font-size: 17px;
    }
    
    .blog-intro-content {
        font-size: 18px;
    }
    
    .design-trends-section {
        padding: 50px 30px;
    }
    
    .trends-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .trend-card {
        min-height: auto;
    }
    
    .trend-image {
        height: 450px;
    }
}

/* Image Fullscreen Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.image-modal-close:hover {
    background: rgba(6, 137, 206, 0.8);
    transform: scale(1.1);
}

.trend-image img {
    cursor: pointer;
    transition: filter 0.2s ease;
}

.trend-image img:hover {
    filter: brightness(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Optimization: Smooth transitions on touch devices */
@media (hover: none) and (pointer: coarse) {
    .trend-card:active {
        transform: translateY(-6px);
    }
    
    .content-button:active {
        transform: scale(0.98);
    }
}

/* Print styles for better printing */
@media print {
    .banner,
    .banner-cta,
    .up,
    .m-last,
    footer {
        display: none;
    }
    
    .design-trends-section {
        background: white;
        page-break-inside: avoid;
    }
    
    .trends-grid {
        grid-template-columns: 1fr !important;
    }
}