/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Top Header Bar (Dark Grey) */
.top-header {
    background: #2c3e50;
    color: white;
    padding: 8px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.envato-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.envato-logo i {
    color: #27ae60;
    font-size: 1rem;
}

.buy-now-btn {
    background: #34495e;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.buy-now-btn:hover {
    background: #2c3e50;
}

/* Main Navigation Bar */
.navbar {
    position: fixed;
    top: 40px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-left .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #d4a574;
}

.nav-link i {
    font-size: 0.7rem;
}

/* Logo Center */
.logo {
    text-align: center;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: #d4a574;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 1.5rem;
}

.logo-text {
    text-align: center;
}

.est-date {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333;
    font-weight: 600;
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-end;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.social-icon:hover {
    background: #d4a574;
    color: white;
    border-color: #d4a574;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.contact-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.contact-btn:hover {
    background: #c19a6b;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

/* Hero Section with 4 Model Panels */
.hero {
    margin-top: 120px;
    position: relative;
    min-height: 100vh;
    background: #f8f6f3;
    overflow: hidden;
}

/* Glamourista-style 4-column hero with auto-scroll (carousel-like) */
.hero-panels { position:relative; overflow:hidden; height:100vh; }
.hero-panels-track { display:grid; grid-template-columns: repeat(8, 1fr); width: 200%; height:100%; animation: trackScroll 40s linear infinite; }
.hero-panel { position:relative; background-size:cover; background-position:center; }
.panel-1 { background-image:url('images/landing page 1.jpg'); }
.panel-2 { background-image:url('images/landing page 2.jpg'); }
.panel-3 { background-image:url('images/landing page 3.jpg'); }
.panel-4 { background-image:url('images/landing page 4.jpg'); }

/* Fallback background colors if images don't load */
.panel-1 { background-color: #f8f9fa; }
.panel-2 { background-color: #e9ecef; }
.panel-3 { background-color: #dee2e6; }
.panel-4 { background-color: #ced4da; }
@keyframes trackScroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-87.5%); } 
}

/* Pause animation on hover for better mobile experience */
.hero-panels:hover .hero-panels-track {
    animation-play-state: paused;
}

/* Ensure smooth animation on mobile */
@media (max-width: 768px) {
    .hero-panels-track {
        animation: trackScroll 20s linear infinite;
        width: 800%;
    }
    
    .hero-panel {
        width: 100%;
        min-width: 100%;
    }
    
    .hero-panels:hover .hero-panels-track {
        animation-play-state: running;
    }
}

/* add subtle vertical separators like the reference */
.hero-panels::before,
.hero-panels::after { content:''; position:absolute; top:0; bottom:0; width:2px; background:rgba(255,255,255,0.4); z-index:2; }
.hero { position:relative; }
.hero-panels { position:relative; }
.hero-panels::before { left:25%; }
.hero-panels::after { left:75%; }

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(44, 62, 80, 0.45);
    padding: 3rem 4rem;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.overlay-content {
    color: white;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    color: #bdc3c7;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.explore-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    letter-spacing: 0.5px;
}

.explore-btn:hover {
    background: #c19a6b;
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
}

.pampas-grass {
    position: absolute;
    bottom: 20px;
    width: 60px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 30px;
}

.pampas-grass.left {
    left: 20%;
}

.pampas-grass.right {
    right: 20%;
}

.radiator-cover {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 40px;
    background: linear-gradient(45deg, #d4a574 25%, transparent 25%), 
                linear-gradient(-45deg, #d4a574 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #d4a574 75%), 
                linear-gradient(-45deg, transparent 75%, #d4a574 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-panels {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    
    .hero-overlay {
        padding: 2rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .who-we-are-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .who-we-are-left,
    .who-we-are-right {
        padding: 0;
    }
    
    .core-business-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shopping-now-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .left-panel,
    .right-panel {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-left .nav-menu {
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-right {
        justify-content: center;
    }
    
    .hero-panels {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        height: auto;
        min-height: 100vh;
    }
    
    .hero-overlay {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin: 2rem auto;
        width: 90%;
    }
    
    .hero {
        margin-top: 140px;
    }
    
    .model-placeholder {
        width: 150px;
        height: 300px;
    }
    
    .main-heading {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .script-heading {
        font-size: 0.9rem;
    }
    
    .description {
        font-size: 0.95rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .core-business-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .shopping-now-content {
        grid-template-columns: 1fr;
    }
    
    .center-panel {
        padding: 1.5rem;
    }
    
    /* Ensure proper mobile spacing */
    .who-we-are {
        padding: 30px 0;
    }
    
    .who-we-are-content {
        gap: 1.5rem;
    }
    
    .who-we-are-left,
    .who-we-are-right {
        padding: 0 1rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .who-we-are {
        padding: 20px 0;
    }
    
    .who-we-are-content {
        gap: 1rem;
    }
    
    .main-heading {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .script-heading {
        font-size: 0.8rem;
    }
    
    .description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-overlay {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-overlay {
        padding: 1.5rem 2rem;
    }
    
    .nav-left .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
    
    .script-heading {
        font-size: 1rem;
    }
    
    .center-panel {
        padding: 1.5rem;
    }
    
    .center-panel::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
    
    .model-placeholder {
        width: 120px;
        height: 250px;
        font-size: 3rem;
    }
}

/* Container and Typography */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* PWA Install Button */
.pwa-install-btn {
    background: linear-gradient(135deg, #d4a574, #c19a6b);
    color: white;
    border: 2px solid #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
    animation: pulse 2s infinite;
    position: relative;
    z-index: 1000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Floating variant for cases where navbar actions are hidden (mobile) */
.pwa-install-floating {
    position: fixed;
    top: 90px;
    right: 16px;
    z-index: 2000;
}

.pwa-install-btn:hover {
    background: #c19a6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mobile PWA Install Button */
@media (max-width: 768px) {
    .pwa-install-btn {
        padding: 8px 16px;
        font-size: 12px;
        margin: 5px;
        position: fixed;
        top: 80px;
        right: 10px;
        z-index: 1001;
        background: linear-gradient(135deg, #d4a574, #c19a6b);
        border: 2px solid #ffffff;
        box-shadow: 0 4px 15px rgba(212, 165, 116, 0.6);
    }
}

/* PWA Status Banner */
.pwa-status-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #d4a574, #c19a6b);
    color: white;
    padding: 12px 20px;
    text-align: center;
    z-index: 1002;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
}

.pwa-status-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-weight: 500;
}

.pwa-status-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.pwa-status-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Mobile-first container adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.script-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #8B4513;
    margin-bottom: 1rem;
    font-style: italic;
}

.main-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.accent-line {
    width: 60px;
    height: 2px;
    background: #8B4513;
    margin-bottom: 2rem;
}

/* Who We Are Section */
.who-we-are {
    padding: 40px 0;
    background: #fff;
}

.who-we-are-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.who-we-are-left {
    padding: 0 1rem;
}

.who-we-are-right {
    padding: 0 1rem;
}

.discover-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8B4513;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.discover-more:hover {
    color: #A0522D;
}

.discover-more i {
    font-size: 0.8rem;
}

/* Core Business Section */
.core-business {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

.core-business-content {
    text-align: center;
}

.core-business-text {
    margin-bottom: 4rem;
}

.core-business-text .script-heading,
.core-business-text .main-heading,
.core-business-text .description {
    color: white;
}

.core-business-text .accent-line {
    background: #d4a574;
    margin: 0 auto 2rem;
}

.core-business-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.image-panel {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-panel .image-placeholder {
    width: 100%;
    height: 300px;
    background: #f8f6f3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.image-panel .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.panel-caption {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.panel-caption h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.panel-caption p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Featured Projects Section */
.featured-projects {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .accent-line {
    margin: 0 auto 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 250px;
    background: #f8f6f3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
    font-size: 3rem;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.designer-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #666;
    background: #f8f6f3;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
}

.stat i {
    color: #d4a574;
    font-size: 0.7rem;
}

.learn-more-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.learn-more-btn:hover {
    background: #c19a6b;
}

/* All Designers Section */
.all-designers {
    padding: 80px 0;
    background: #f8f6f3;
}

.designers-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: #666;
    border: 2px solid transparent;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #d4a574;
    color: white;
    border-color: #d4a574;
}

.designers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.designer-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.designer-card:hover {
    transform: translateY(-5px);
}

.designer-image {
    position: relative;
    height: 200px;
    background: #f8f6f3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
    font-size: 3rem;
}

.designer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d4a574;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.designer-info {
    padding: 1.5rem;
}

.designer-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.specialty {
    color: #d4a574;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.view-profile-btn {
    background: transparent;
    color: #d4a574;
    border: 2px solid #d4a574;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.view-profile-btn:hover {
    background: #d4a574;
    color: white;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #f8f6f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #d4a574;
    font-size: 2rem;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8f6f3;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Testimonial Styles */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.testimonial-content {
    text-align: center;
}

.testimonial-content .stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
    text-align: left;
}

.testimonial-content p br {
    display: block;
    margin: 0.5rem 0;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: #d4a574;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.client-details h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.client-details span {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile-friendly testimonial styles */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }
    
    .testimonial-content p br {
        margin: 0.3rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 0 15px;
    }
    
    .client-info {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .client-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .client-details h4 {
        font-size: 1rem;
    }
    
    .client-details span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.2rem;
        margin: 0 5px;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .testimonials-grid {
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 0 10px;
    }
    
    .client-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: #f8f6f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
    font-size: 1.2rem;
}

.method-details h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.method-details p {
    color: #d4a574;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.method-details span {
    color: #666;
    font-size: 0.8rem;
}

.contact-form {
    background: #f8f6f3;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
}

.submit-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.submit-btn:hover {
    background: #c19a6b;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close:hover {
    color: #d4a574;
}

/* Designer Modal Content Styles */
.designer-modal-content {
    padding: 0;
}

.designer-header {
    background: linear-gradient(135deg, #f8f6f3 0%, #e8e4e0 100%);
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.designer-avatar {
    width: 100px;
    height: 100px;
    background: #d4a574;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.designer-info-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.designer-specialty {
    color: #d4a574;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.designer-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.meta-item i {
    color: #d4a574;
}

.designer-body {
    padding: 2rem;
}

.designer-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f8f6f3;
    padding-bottom: 0.5rem;
}

.designer-description p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.designer-services {
    margin-bottom: 2rem;
}

.services-list {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.service-tag {
    background: #f8f6f3;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e8e4e0;
}

.designer-portfolio {
    margin-bottom: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    background: #f8f6f3;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    height: 150px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
    font-size: 2rem;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-name {
    font-size: 0.9rem;
    color: #333;
    margin-top: 0.3rem;
    font-weight: 500;
}

.portfolio-details {
    padding: 0.8rem;
    text-align: center;
}

.portfolio-category {
    background: #d4a574;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.portfolio-details p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.designer-contact {
    background: #f8f6f3;
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item strong {
    color: #2c3e50;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.book-consultation-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.book-consultation-btn:hover {
    background: #c19a6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

/* Image Lightbox for portfolio preview */
.image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.image-lightbox.open { display: flex; }
.image-lightbox img {
    width: 90vw;
    height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  .image-lightbox img { width: 96vw; height: 85vh; }
}
.image-lightbox .lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 20px;
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #d4a574;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #ecf0f1;
    line-height: 1.6;
}

.footer-link {
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

.footer-link:hover {
    color: #f39c12;
    text-decoration: underline;
}

.footer-email {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #d4a574;
    text-decoration: underline;
}

.footer-phone {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: #d4a574;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Mobile Footer Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
        margin-top: 0.3rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
    }
    
    .footer-section p {
        font-size: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        font-size: 0.7rem;
    }
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .designers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .designers-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .designers-filter {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 96%;
        margin: 12% auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-overlay {
        padding: 1.5rem 2rem;
    }
    
    .nav-left .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
    
    .script-heading {
        font-size: 1rem;
    }
    
    .center-panel {
        padding: 1.5rem;
    }
    
    .center-panel::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
    
    .model-placeholder {
        width: 120px;
        height: 250px;
        font-size: 3rem;
    }
} 

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile-First Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        grid-template-columns: 1fr auto 1fr;
        gap: 1rem;
    }
    
    .nav-left .nav-menu {
        gap: 1rem;
    }
    
    .nav-right {
        gap: 1rem;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
    
    .contact-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    html {
        overflow-x: hidden;
    }
    
    /* Mobile Header */
    .top-header {
        padding: 6px 0;
        width: 100%;
        max-width: 100vw;
    }
    
    .top-header-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .envato-logo span {
        font-size: 0.8rem;
    }
    
    .buy-now-btn {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
    
    /* Mobile Navigation */
    .navbar {
        top: 32px;
        padding: 10px 0;
        width: 100%;
        max-width: 100vw;
    }
    
    .nav-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Hide desktop navigation */
    .nav-left {
        display: none;
    }
    
    .nav-right {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #d4a574;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.2rem;
        transition: background 0.3s ease;
        z-index: 1002;
    }
    
    .mobile-menu-toggle:hover {
        background: #c19a6b;
    }
    
    /* Mobile Logo */
    .logo {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .est-date {
        font-size: 0.6rem;
    }
    
    /* Mobile Hero Section */
    .hero {
        margin-top: 120px;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }
    
    .hero-panels {
        position: relative;
        overflow: hidden;
        height: 100vh;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-panels-track {
        display: flex;
        width: 800%;
        height: 100%;
        animation: trackScroll 30s linear infinite;
        will-change: transform;
    }
    
    .hero-panel {
        position: relative;
        background-size: cover;
        background-position: center;
        height: 100vh;
        width: 100%;
        flex-shrink: 0;
    }
    
    .hero-overlay {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin: 2rem auto;
        width: 90%;
        max-width: 90%;
        padding: 2rem 1.5rem;
        left: 0;
        right: 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin: 1rem 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .explore-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Mobile Content Sections */
    .main-heading {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .core-business-images {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .shopping-now-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .center-panel {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        left: 0;
        right: 0;
    }
    
    .model-placeholder {
        width: 120px;
        height: 240px;
    }
    
    /* Fix any absolute positioned elements */
    .decorative-elements {
        position: relative;
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }
    
    .pampas-grass.left,
    .pampas-grass.right {
        position: relative;
        left: auto;
        right: auto;
    }
    
    .radiator-cover {
        position: relative;
        left: auto;
        right: auto;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    .top-header-container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .envato-logo span {
        font-size: 0.7rem;
    }
    
    .buy-now-btn {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    
    .navbar {
        top: 28px;
        padding: 8px 0;
        width: 100%;
        max-width: 100vw;
    }
    
    .nav-container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .est-date {
        font-size: 0.55rem;
    }
    
    .hero {
        margin-top: 100px;
        width: 100%;
        max-width: 100vw;
    }
    
    .hero-overlay {
        width: 95%;
        max-width: 95%;
        padding: 1.5rem 1rem;
        margin: 1rem auto;
        left: 0;
        right: 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .explore-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .main-heading {
        font-size: 1.5rem;
    }
    
    .script-heading {
        font-size: 0.9rem;
    }
    
    .center-panel {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        left: 0;
        right: 0;
    }
    
    .model-placeholder {
        width: 100px;
        height: 200px;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1003;
    padding-top: 100px;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-overlay .nav-menu {
    list-style: none;
    text-align: center;
}

.mobile-menu-overlay .nav-item {
    margin: 1.5rem 0;
}

.mobile-menu-overlay .nav-link {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-overlay .nav-link:hover {
    color: #d4a574;
}

.mobile-menu-overlay .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.mobile-menu-overlay .contact-btn {
    margin-top: 2rem;
    display: inline-block;
}

/* Close button for mobile menu */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Ensure all content is mobile-friendly */
.container {
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Fix for mobile image display */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }
    
    .hero-panel {
        background-size: cover;
        background-position: center;
        width: 100%;
        max-width: 100%;
    }
    
    /* Ensure all sections fit within viewport */
    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Fix any grid or flex containers */
    .grid, [class*="grid-"] {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .flex, [class*="flex-"] {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Mobile-friendly spacing */
@media (max-width: 768px) {
    section {
        padding: 2rem 0;
        width: 100%;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Mobile-friendly buttons */
@media (max-width: 768px) {
    button, .btn, a.btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100%;
        width: auto;
    }
}

/* Mobile-friendly forms */
@media (max-width: 768px) {
    input, textarea, select {
        font-size: 16px;
        padding: 12px;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    form {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }
}

/* Mobile-friendly tables */
@media (max-width: 768px) {
    table {
        font-size: 0.9rem;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
    }
    
    th, td {
        padding: 8px 4px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Mobile-friendly grid layouts */
@media (max-width: 768px) {
    .grid, [class*="grid-"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Mobile-friendly flexbox */
@media (max-width: 768px) {
    .flex, [class*="flex-"] {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Mobile-friendly text alignment */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }
    
    .text-left-mobile {
        text-align: left !important;
    }
    
    .text-right-mobile {
        text-align: right !important;
    }
}

/* Mobile-friendly margins and padding */
@media (max-width: 768px) {
    .m-0-mobile { margin: 0 !important; }
    .m-1-mobile { margin: 0.5rem !important; }
    .m-2-mobile { margin: 1rem !important; }
    .m-3-mobile { margin: 1.5rem !important; }
    
    .p-0-mobile { padding: 0 !important; }
    .p-1-mobile { padding: 0.5rem !important; }
    .p-2-mobile { padding: 1rem !important; }
    .p-3-mobile { padding: 1.5rem !important; }
}

/* Critical fix for horizontal overflow */
@media (max-width: 768px) {
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .top-header,
    .navbar,
    .hero,
    section,
    .container,
    .nav-container,
    .hero-panels,
    .hero-overlay {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .hero-overlay {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
} 

/* Designer Selection Modal Styles */
.designer-selection-modal {
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.modal-header p {
    color: #666;
    font-size: 1rem;
}

.designer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.designer-selection-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.designer-selection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #d4a574;
}

.designer-selection-card .designer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid #d4a574;
}

.designer-selection-card .designer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.designer-selection-card .designer-avatar i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #d4a574;
    font-size: 2rem;
}

.designer-selection-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.designer-selection-card .specialty {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.designer-selection-card .rating {
    color: #f39c12;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.designer-selection-card .location {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.designer-selection-card .select-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
}

.designer-selection-card .select-btn:hover {
    background: #c19a6b;
}

/* Mobile responsiveness for designer selection */
@media (max-width: 768px) {
    .designer-selection-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .designer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .designer-selection-card {
        padding: 1rem;
    }
    
    .designer-selection-card .designer-avatar {
        width: 60px;
        height: 60px;
    }
    
    .designer-selection-card h3 {
        font-size: 1.1rem;
    }
} 