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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

body:not(.js-enabled) .fade-in-section {
    opacity: 1 !important;
    transform: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.gold-text {
    color: #d4af37;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons - Updated with hero button animations */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #ffd700, #d4af37);
}

.btn-secondary {
    background: transparent;
    color: #d4af37;
    border-color: #d4af37;
}

.btn-secondary:hover {
    background: #d4af37;
    color: #0a0a0a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

/* Shimmer effect for all buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
}

.section-title .gold-text {
    color: #d4af37;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #0f0f0f;
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #d4af37;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    border: 1px solid #333;
}

.stat h4 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #cccccc;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 2px solid #d4af37;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #d4af37;
    font-size: 3rem;
}

.image-placeholder p {
    font-size: 1rem;
    margin-top: 1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #0a0a0a;
}

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

.service-card {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #0a0a0a;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: #0f0f0f;
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
}

.portfolio-image {
    height: 320px;
    position: relative;
}

.portfolio-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #d4af37;
    font-size: 3rem;
}

.portfolio-overlay {
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.portfolio-overlay p {
    color: #cccccc;
    font-size: 0.9rem;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: none;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0a0a0a;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    border: 1px solid #333;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0a0a0a;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-details p {
    color: #cccccc;
}

.contact-form {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #333;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

/* Footer */
.footer {
    background: #0f0f0f;
    padding: 60px 0 20px;
    border-top: 1px solid #333;
}

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

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4af37;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.3rem;
    margin-top: 1rem;
}
.social-links a {
    color: #d4af37;
    transition: color 0.2s;
}
.social-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.page-header p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Quick About Section */
.quick-about {
    padding: 80px 0;
    background: #0f0f0f;
}

.quick-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quick-about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.quick-about-text p {
    margin-bottom: 2rem;
    color: #cccccc;
    line-height: 1.8;
}

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

.quick-stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    border: 1px solid #333;
}

.quick-stat h3 {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.quick-stat p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Featured Services */
.featured-services {
    padding: 80px 0;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../Pictures/luxury-joinery-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.featured-services > .container,
.featured-services-grid,
.section-header {
    position: relative;
    z-index: 3;
}

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

.featured-service-card {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.featured-service-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.service-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #ffd700;
}

/* Featured Portfolio */
.featured-portfolio {
    padding: 80px 0;
    background: #0f0f0f;
}

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

.featured-portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.featured-portfolio-item:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
}

.portfolio-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.portfolio-link:hover {
    color: #ffd700;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Company Story */
.company-story {
    padding: 80px 0;
    background: #0f0f0f;
}

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

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.story-text p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.8;
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 0;
    background: #0a0a0a;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card,
.vision-card {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #0a0a0a;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.mission-card p,
.vision-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Core Values */
.core-values {
    padding: 80px 0;
    background: #0f0f0f;
}

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

.value-card {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #0a0a0a;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.value-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-content: center;
}

/* ========================================
   NEW MOBILE RESPONSIVE DESIGN SYSTEM
   ======================================== */

/* Large Tablets and Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
    
    .section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    
    .featured-services-grid,
    .featured-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .quick-about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-story .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-factory-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* Navigation */
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }
    
    /* Hero Section */
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Grid Layouts */
    .featured-services-grid,
    .featured-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Typography */
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 4vw, 2rem);
    }
    
    .section-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
    
    /* Cards and Components */
    .featured-service-card,
    .featured-portfolio-item {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .mission-card,
    .value-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .team-member {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    /* Contact Forms */
    .modern-contact-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .modern-form-group input,
    .modern-form-group textarea {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-btn {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* Large Mobile Phones (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle-text {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }
    
    .section-subtitle {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }
    
    /* Spacing */
    section {
        padding: 60px 0;
    }
    
    .featured-services,
    .featured-portfolio {
        padding: 60px 0;
    }
    
    /* Cards */
    .featured-service-card,
    .featured-portfolio-item,
    .mission-card,
    .value-card,
    .team-member {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    /* Navigation */
    .nav-menu {
        top: 60px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.7rem 1rem;
    }
}

/* Small Mobile Phones (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    .hero-title {
        font-size: clamp(1.3rem, 7vw, 1.6rem);
    }
    
    .hero-subtitle-text {
        font-size: clamp(1rem, 5vw, 1.2rem);
    }
    
    .hero-description {
        font-size: clamp(0.8rem, 3.5vw, 0.9rem);
    }
    
    .section-title {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
    }
    
    /* Spacing */
    section {
        padding: 50px 0;
    }
    
    .featured-services,
    .featured-portfolio {
        padding: 50px 0;
    }
    
    /* Cards */
    .featured-service-card,
    .featured-portfolio-item,
    .mission-card,
    .value-card,
    .team-member {
        padding: 1rem;
        border-radius: 8px;
    }
    
    /* Buttons */
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .hero-description {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-btn {
        width: auto;
        max-width: none;
    }
    
    section {
        padding: 40px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
   /* In styles.css, find the .hero-background class and add the transition property */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out; /* The key for the smooth fade */
    opacity: 1; /* Initially visible */
    z-index: -1;
}
/* Add a class for the new, fading background */
.hero-background-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out;
    opacity: 0; /* Initially hidden */
    z-index: -2;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* The key for the smooth fade */
    z-index: -2;
}

.hero-bg.active {
    opacity: 1;
    z-index: -1;
}
    
    .featured-services {
        background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../Pictures/luxury-joinery-hero@2x.jpg');
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .hero-btn:hover,
    .featured-service-card:hover,
    .featured-portfolio-item:hover {
        transform: none;
    }
    
    .btn:active,
    .hero-btn:active,
    .featured-service-card:active,
    .featured-portfolio-item:active {
        transform: scale(0.98);
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
    }
    
    .modern-form-group input,
    .modern-form-group textarea {
        font-size: 16px;
        padding: 16px 20px;
    }
}

.team-member {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    overflow: visible;
    border: 1px solid #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.member-image {
    height: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-info {
    min-height: 100px;
    padding: 1.2rem 1rem 1.2rem 1rem;
    margin-top: 1rem;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.position {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: #cccccc;
    line-height: 1.6;
}

/* Achievements */
.achievements {
    padding: 80px 0;
    background: #0f0f0f;
}

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

.achievement-item {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #0a0a0a;
}

.achievement-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.achievement-item p {
    color: #cccccc;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: #0a0a0a;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    border: 1px solid #333;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: #0f0f0f;
}

.overview-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.overview-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.service-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-link {
    padding: 12px 24px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Service Detail */
.service-detail {
    padding: 80px 0;
    border-bottom: 1px solid #333;
}

.service-detail:nth-child(even) {
    background: #0f0f0f;
}

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

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.service-text h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #d4af37;
}

.service-text p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.8;
}

.service-text ul, .service-text ol {
  list-style-position: inside;
  text-align: left;
  margin: 0 auto 1.5rem auto;
  padding-left: 0;
  max-width: 500px;
}
.service-text li {
  display: list-item;
  text-align: left;
  margin: 0.2em 0 0.2em 0.5em;
  line-height: 1.7;
}


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

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4af37;
    font-weight: 600;
}

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

.category {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #333;
}

.category h4 {
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.category p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #0f0f0f;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: #d4af37;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.price {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 2rem;
    font-weight: 700;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: #cccccc;
    border-bottom: 1px solid #333;
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Portfolio Categories */
.portfolio-categories {
    padding: 40px 0;
    background: #0a0a0a;
}

.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: transparent;
    color: #cccccc;
    border: 2px solid #333;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: #d4af37;
    color: #0a0a0a;
    border-color: #d4af37;
}

/* Portfolio Showcase */
.portfolio-showcase {
    padding: 80px 0;
    background: #0f0f0f;
}

/* Project Showcase */
.project-showcase {
    padding: 80px 0;
    background: #0a0a0a;
}

.project-card {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 2px solid #333;
    border-radius: 20px;
    margin-bottom: 4rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #333;
}

.project-title h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.project-location {
    color: #d4af37;
    font-size: 1rem;
    font-weight: 500;
}

.project-category {
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: #0a0a0a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-card-body {
    padding: 2rem;
}

.project-main-image {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
}

.project-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Image Wrapper */
.main-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.main-image-wrapper:hover .main-view-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Main View Button */
.main-view-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.main-view-btn:hover {
    background: rgba(212, 175, 55, 1);
    transform: translateY(0) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.main-view-btn i {
    font-size: 0.8rem;
}

/* Shift villa living room image up */
.project-main-image img[src*="villa-1.jpg"] {
    object-position: center 85%;
}

/* Shift villa dining area image up */
.project-main-image img[src*="villa-4.jpg"] {
    object-position: center 95%;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.project-description h3 {
    font-size: 1.4rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.project-description p {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-description ul {
    color: #cccccc;
    line-height: 1.7;
    list-style: none;
    padding-left: 0;
}

.project-description li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.project-description li::before {
    content: "•";
    color: #d4af37;
    position: absolute;
    left: 0;
}

.project-gallery-mini {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.mini-gallery img:hover {
    transform: scale(1.05);
}

/* Gallery Item Wrapper */
.gallery-item-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item-wrapper:hover .view-image-btn {
    opacity: 1;
    transform: translateY(0);
}

/* View Image Button */
.view-image-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.view-image-btn:hover {
    background: rgba(212, 175, 55, 1);
    transform: translateY(0) scale(1.05);
}

.view-image-btn i {
    font-size: 0.7rem;
}

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

.modal-content {
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #d4af37;
}

#modalImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Project Details */
.project-details {
    padding: 80px 0;
    background: #0a0a0a;
}

.project-detail {
    margin-bottom: 80px;
}

.project-header {
    text-align: center;
    margin-bottom: 3rem;
}

.project-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.project-location {
    color: #d4af37;
    font-size: 1.1rem;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #d4af37;
    font-size: 2rem;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.gallery-item p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.project-info {
    padding: 2rem;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    border: 1px solid #333;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.project-info p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.8;
}

.project-info ul {
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.8;
}

.project-info li {
    margin-bottom: 0.5rem;
}

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

.project-stats .stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    border: 1px solid #333;
}

.project-stats h4 {
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.project-stats p {
    color: #cccccc;
    font-size: 0.9rem;
}

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

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

.testimonial-card {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.testimonial-content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
}

.author-info h4 {
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #d4af37;
    font-size: 0.9rem;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: #0f0f0f;
}

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

.contact-card {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.contact-card .contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #0a0a0a;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-card p {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.contact-note {
    color: #d4af37;
    font-size: 0.9rem;
    font-style: italic;
}

/* Modern Contact Form Card */
.modern-contact-card {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(135deg, #181818 80%, #232323 100%);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem 2rem;
    border: 1.5px solid #222;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s cubic-bezier(.23,1.01,.32,1) 0.2s both;
}

.modern-contact-header {
    text-align: center;
    margin-bottom: 2.2rem;
}
.modern-contact-header i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}
.modern-contact-header h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}
.modern-contact-header p {
    color: #ccc;
    font-size: 1.1rem;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.modern-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.modern-form-group label {
    color: #d4af37;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.modern-form-group input,
.modern-form-group textarea {
    background: #101010;
    border: 1.5px solid #333;
    border-radius: 7px;
    color: #fff;
    font-size: 1rem;
    padding: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.08);
}
.modern-form-group input:focus,
.modern-form-group textarea:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 0 2px #d4af3740;
}
.modern-form-group input::placeholder,
.modern-form-group textarea::placeholder {
    color: #888;
    font-size: 0.98rem;
}

.modern-btn-submit {
    background: linear-gradient(90deg, #d4af37 60%, #ffd700 100%);
    color: #181818;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 7px;
    padding: 1rem 0;
    margin-top: 0.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(212,175,55,0.10);
    transition: background 0.2s, color 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}
.modern-btn-submit:hover, .modern-btn-submit:focus {
    background: linear-gradient(90deg, #ffd700 60%, #d4af37 100%);
    color: #181818;
    transform: translateY(-2px) scale(1.03);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Remove old contact form grid styles for this section */
.contact-content, .contact-form-wrapper, .contact-form {
    all: unset;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
}

.sidebar-section h3 {
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section li {
    color: #cccccc;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-section i {
    color: #d4af37;
}

.expectation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.expectation-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 0.9rem;
}

.expectation-content h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.expectation-content p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #0f0f0f;
}

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

.map-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.map-info p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.showroom-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    color: #d4af37;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.detail-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.map-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-container {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 2px solid #d4af37;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #d4af37;
    font-size: 3rem;
}

.map-container p {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.map-container span {
    font-size: 0.9rem;
    color: #cccccc;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.faq-question h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: #d4af37;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #cccccc;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Fade-in Section Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
    will-change: opacity, transform;
}
.fade-in-section.visible {
    opacity: 1;
    transform: none;
}

/* Button Hover Animation */
.btn {
    transition: background 0.3s, color 0.3s, transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s;
}
.btn:hover, .btn:focus {
    transform: scale(1.06);
    box-shadow: 0 4px 24px 0 rgba(212,175,55,0.15);
    z-index: 1;
}

/* Portfolio & Gallery Item Hover Animation */
.portfolio-item, .gallery-item, .featured-portfolio-item {
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s;
}
.portfolio-item:hover, .gallery-item:hover, .featured-portfolio-item:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px 0 rgba(212,175,55,0.18);
    z-index: 2;
}

/* Navigation Animation */
.navbar.nav-animate {
    animation: navFadeIn 0.8s cubic-bezier(0.4,0,0.2,1);
}
@keyframes navFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: none; }
}

/* FAQ Accordion Animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100vw;
        width: fit-content;
        min-width: 180px;
        max-width: 260px;
        height: auto;
        max-height: 90vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 0 1.5rem 0;
        gap: 1.2rem;
        box-shadow: 8px 0 32px 0 rgba(0,0,0,0.18);
        z-index: 1050;
        transition: left 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s cubic-bezier(0.4,0,0.2,1);
        opacity: 0;
        border-radius: 0 18px 18px 0;
    }
    .nav-menu.active {
        left: 0;
        opacity: 1;
    }
    .nav-menu li {
        width: 100%;
        text-align: left;
    }
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        display: block;
        width: 100%;
        transition: background 0.2s, color 0.2s;
    }
    .nav-link:hover {
        background: rgba(212, 175, 55, 0.08);
        color: #d4af37;
    }
}



/* Factory Location */
.factory-location {
    padding: 80px 0;
    background: #0f0f0f;
}

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

.factory-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.factory-info p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.factory-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.factory-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.factory-detail-item i {
    color: #d4af37;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.factory-detail-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.factory-detail-item p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.factory-map {
    display: flex;
    justify-content: center;
}

.factory-map .map-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
}

/* Factory Location Section */
.factory-location-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.factory-location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.factory-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.factory-info p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.factory-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    border: 1px solid #333;
}

.factory-feature i {
    color: #d4af37;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.factory-feature h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.factory-feature p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.factory-details-card {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #333;
    height: fit-content;
}

.factory-details-card h3 {
    color: #d4af37;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.factory-details-card .factory-detail-item {
    margin-bottom: 1.5rem;
}

.factory-details-card .factory-detail-item:last-of-type {
    margin-bottom: 2rem;
}

.factory-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.factory-gallery {
    margin-top: 3rem;
}

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

.factory-gallery .gallery-item {
    aspect-ratio: 4/3;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #d4af37;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.factory-gallery .gallery-item:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
}

    .factory-gallery .gallery-item p {
        font-size: 0.9rem;
        margin-top: 0.5rem;
        color: #cccccc;
    }

    .factory-features {
        grid-template-columns: 1fr;
    }

    .factory-details-card {
        padding: 2rem;
    }

    .factory-map-section {
        margin-top: 3rem;
    }

    .factory-map-section h3 {
        color: #d4af37;
        margin-bottom: 2rem;
        font-size: 1.8rem;
        text-align: center;
    }

    .factory-map-container {
        width: 100%;
        border-radius: 15px;
        overflow: hidden;
        border: 1px solid #333;
        margin-bottom: 2rem;
    }

    .map-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .map-actions .btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    } 

.contact-form-section .form-row {
    display: block;
}
.contact-form-section .form-group {
    width: 100%;
    margin-bottom: 1.5rem;
}
.contact-form-section .form-group:last-child {
    margin-bottom: 0;
} 

/* Organized Contact & Factory Section */
.contact-factory-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.contact-factory-header .section-title {
    font-size: 2.2rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}
.contact-factory-header .section-subtitle {
    color: #ccc;
    font-size: 1.1rem;
}

.contact-factory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}
.organized-card {
    background: linear-gradient(135deg, #181818 80%, #232323 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
    border: 1.5px solid #222;
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    justify-content: flex-start;
}

.factory-card, .factory-map-section {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(135deg, #181818 80%, #232323 100%);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem 2rem;
    border: 1.5px solid #222;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s cubic-bezier(.23,1.01,.32,1) 0.2s both;
}

.factory-card-header, .factory-map-section h4 {
    text-align: center;
    margin-bottom: 2.2rem;
    font-size: 2rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.factory-card-header i, .factory-map-section i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.factory-card-header p, .factory-map-section p {
    color: #ccc;
    font-size: 1.1rem;
} 

.factory-card-body {
    margin-bottom: 1.5rem;
}
.factory-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.factory-features-list li {
    color: #d4af37;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #181818;
    border-radius: 7px;
    padding: 0.5rem 0.8rem;
}
.factory-features-list i {
    color: #ffd700;
    font-size: 1.1rem;
}

.factory-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}
.factory-details-list div {
    color: #ccc;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.factory-details-list strong {
    color: #fff;
    font-weight: 600;
}

.factory-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.factory-map-section {
    max-width: none;
    margin: 0;
    background: linear-gradient(135deg, #181818 80%, #232323 100%);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem 2rem;
    border: 1.5px solid #222;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s cubic-bezier(.23,1.01,.32,1) 0.2s both;
}
.factory-map-section.below-cards {
    grid-column: 1 / -1;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #181818 80%, #232323 100%);
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
}
.factory-map-section.below-cards h4 {
    text-align: center;
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
 

/* 3D Design vs Reality Comparison Section */
.comparison-section {
    padding: 100px 0 80px 0;
    background: #0f0f0f;
}
.comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.comparison-pair {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 700px;
}
.comparison-item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.comparison-image {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparison-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(212,175,55,0.10);
}
.comparison-label {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #d4af37;
  font-weight: 600;
  letter-spacing: 0.5px;
}
 

.nav-social-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-left: 1.5rem;
}
.nav-social-links a {
    color: #d4af37;
    font-size: 1.3rem;
    transition: color 0.2s;
}
.nav-social-links a:hover {
    color: #ffd700;
}
 

.vertical-video-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    background: transparent;
}

.vertical-video-box video {
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    background: #111;
    object-fit: cover;
    display: block;
}

.video-caption {
    margin-top: 1rem;
    color: #d4af37;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
} 

/* WhatsApp QR Code Styling */
.whatsapp-qr-container {
    background: #181818;
    border-radius: 18px;
    border: 2.5px solid #d4af37;
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.10), 0 1.5px 0 #d4af37;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 0 auto;
    max-width: 220px;
    transition: box-shadow 0.3s;
}
.whatsapp-qr-container:hover {
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.18), 0 2.5px 0 #ffd700;
}
.whatsapp-qr-img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    background: #222;
    border: 2px solid #d4af37;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.12);
    display: block;
    margin: 0 auto;
    transition: border-color 0.3s;
}
.whatsapp-qr-container:hover .whatsapp-qr-img {
    border-color: #ffd700;
}
.whatsapp-qr-label {
    display: block;
    margin-top: 0.75rem;
    color: #d4af37;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 0 1px 4px #000;
} 

#backToTop {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #222 60%, #c9a063 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    cursor: pointer;
    font-size: 2rem;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop:hover {
    background: linear-gradient(135deg, #c9a063 60%, #222 100%);
    box-shadow: 0 6px 24px rgba(0,0,0,0.28);
    transform: translateY(-4px) scale(1.08);
}

#backToTop i, #backToTop svg {
    color: #fff;
    font-size: 2rem;
    pointer-events: none;
} 

/* Hamburger Animation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.bar {
    width: 28px;
    height: 3px;
    background: #d4af37;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 80vw;
        max-width: 340px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 100px 0 2rem 0;
        gap: 2rem;
        box-shadow: -8px 0 32px 0 rgba(0,0,0,0.18);
        z-index: 1050;
        transition: right 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s cubic-bezier(0.4,0,0.2,1);
        opacity: 0;
    }
    .nav-menu.active {
        right: 0;
        opacity: 1;
    }
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
        transition: background 0.2s, color 0.2s;
    }
    .nav-link:hover {
        background: rgba(212, 175, 55, 0.08);
        color: #d4af37;
    }
} 

@media (max-width: 1024px) {
    .quick-about-content {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .factory-content {
        display: flex;
        flex-direction: column;
    }
    .factory-info {
        order: 1;
    }
    .factory-map {
        order: 2;
        margin-top: 2rem;
    }
} 

@media (max-width: 1024px) {
    .container,
    .quick-about-content,
    .featured-services-grid,
    .team-grid,
    .portfolio-grid,
    .contact-content,
    .footer-content,
    .services-grid,
    .section-header,
    .about-content,
    .story-content,
    .service-content,
    .project-content,
    .map-content,
    .factory-content,
    .factory-location-content,
    .stats-grid,
    .achievements-grid,
    .values-grid,
    .faq-grid,
    .cta-content,
    .contact-factory-grid,
    .featured-portfolio-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    section,
    header,
    footer {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

@media (max-width: 1024px) {
    .quick-stats {
        gap: 0.7rem;
    }
    .quick-stat {
        padding: 0.7rem 0.5rem;
        font-size: 0.95rem;
    }
    .quick-stat h3 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    .quick-stat p {
        font-size: 0.85rem;
    }
    .quick-about-image {
        max-width: 180px;
        margin: 0 auto;
    }
    .quick-about-image .image-placeholder {
        width: 100%;
        height: 120px;
        font-size: 2rem;
        padding: 0.5rem;
    }
    .quick-about-image .image-placeholder p {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
  .company-story .story-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  .company-story .story-text {
    width: 100%;
    padding: 0 0.5rem;
  }
  .company-story .story-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .company-story .story-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .company-story .story-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .company-story .vertical-video-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .company-story video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 14px;
  }
  .company-story .video-caption {
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }
}

@media (max-width: 1024px) {
  .mission-vision-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  .mission-card,
  .vision-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
  }
  .mission-card h3,
  .vision-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }
  .mission-card p,
  .vision-card p {
    font-size: 1rem;
  }
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 1024px) {
  .service-categories {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin: 0 auto;
  }
  .category-link {
    width: 100%;
    max-width: 340px;
    display: block;
    text-align: center;
    font-size: 1.1rem;
    padding: 14px 0;
    margin: 0 auto;
  }
  .overview-content h2 {
    font-size: 1.5rem;
  }
  .overview-content p {
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .team-grid {
    gap: 1rem;
  }
  .team-member {
    min-height: 180px;
    padding: 0.7rem 0.5rem;
    border-radius: 10px;
  }
  .member-image {
    height: 270px;
    min-height: 90px;
    max-height: 270px;
  }
  .image-placeholder {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    border-radius: 10px;
  }
  .member-info {
    min-height: 60px;
    padding: 0.7rem 0.5rem;
  }
  .member-info h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  .position {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
}

@media (max-width: 1024px) {
  .service-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
    padding: 0.5rem 0;
  }
  .service-content.reverse {
    flex-direction: column !important;
  }
  .service-text {
    width: 100%;
    padding: 0 0.5rem 0.5rem 0.5rem;
  }
  .service-text h2 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
  }
  .service-text h3 {
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
  }
  .service-text p,
  .service-text ul,
  .service-text ol {
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
  }
  .service-image {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 0.5rem auto;
  }
  .service-image .image-placeholder {
    width: 100%;
    height: 90px;
    font-size: 1.3rem;
    border-radius: 10px;
    padding: 0.3rem;
  }
  .service-image .image-placeholder p {
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .service-text ul, .service-text ol {
    list-style-position: outside;
    text-align: left;
    margin-left: 1.2em;
    margin-right: 0;
    padding-left: 1.2em;
  }
  .service-text li {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 1024px) {
  .contact-factory-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
  }
  .modern-contact-card,
  .factory-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.2rem 0.7rem;
    border-radius: 12px;
  }
  .modern-contact-header,
  .factory-card-header {
    text-align: center;
  }
  .modern-contact-header h3,
  .factory-card-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .modern-contact-header p,
  .factory-card-header p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .modern-form-group label {
    font-size: 1rem;
  }
  .modern-form-group input,
  .modern-form-group textarea {
    font-size: 1rem;
    padding: 0.7rem;
  }
  .modern-btn-submit {
    font-size: 1rem;
    padding: 0.8rem 0;
  }
  .factory-details-list {
    font-size: 0.98rem;
  }
  .whatsapp-qr-img {
    width: 120px;
    height: 120px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }
  .factory-map-section {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
  }
  .factory-map-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
  }
  .factory-map-container iframe {
    width: 100% !important;
    min-height: 180px;
    border-radius: 12px;
  }
  .map-actions {
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
  }
  .map-actions .btn {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
    padding: 0.8rem 0;
  }
}

@media (max-width: 700px) {
  .project-content {
    display: block;
    padding: 0 0.5rem;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
  }
  .gallery-item {
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px 0 rgba(212,175,55,0.10);
    background: #181818;
    border: 1.5px solid #222;
    padding: 0.2rem;
  }
  .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
  }
  .project-info {
    background: linear-gradient(135deg, #181818 80%, #232323 100%);
    border-radius: 14px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.10);
    border: 1.5px solid #222;
    padding: 1.2rem 0.7rem;
    margin-bottom: 2rem;
  }
  .project-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }
  .project-info p, .project-info ul {
    font-size: 0.97rem;
    line-height: 1.6;
  }
  .project-info ul {
    padding-left: 1.1em;
    margin-left: 0;
    list-style-position: inside;
    width: 100%;
    box-sizing: border-box;
  }
  .project-info li {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
    word-break: break-word;
    font-size: 0.97rem;
    line-height: 1.6;
  }
}

@media (max-width: 700px) {
  .comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .comparison-pair {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }
  .comparison-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 48%;
    padding: 0;
  }
  .comparison-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 10px 0 rgba(212,175,55,0.10);
  }
  .comparison-label {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .portfolio-image {
    height: 180px;
    min-height: 120px;
    max-height: 220px;
  }
  .portfolio-item {
    border-radius: 12px;
  }
  .portfolio-overlay {
    padding: 1.2rem;
  }
}

/* Add this to your CSS file */
:target {
  scroll-margin-top: 100px; /* Adjust to your navbar height */
}

/* Ensure all images in portfolio, gallery, and comparison boxes scale to fill their container */
.portfolio-image img,
.gallery-item img,
.comparison-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile adjustments for image containers */
@media (max-width: 700px) {
  .portfolio-image,
  .gallery-item,
  .comparison-image {
    height: 180px !important;
    min-height: 120px;
    max-height: 220px;
  }
  .portfolio-image img,
  .gallery-item img,
  .comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Make all images site-wide fill their container and use object-fit: cover */
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Project Showcase Mobile Styles */
  .project-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .project-title h2 {
    font-size: 1.8rem;
  }
  
  .project-card-body {
    padding: 1.5rem;
  }
  
  .project-main-image {
    height: 250px;
  }
  
  .project-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mini-gallery {
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .mini-gallery img {
    height: 80px;
    flex: 1;
  }
}

.project-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #111;
  padding: 1rem;
  text-align: center;
  color: white;
  /* Add shadow at the top to blend with the image */
  box-shadow: inset 0 16px 32px 0 rgba(0,0,0,0.7), inset 0 8px 20px rgba(0,0,0,0.6);
}

@keyframes fadeInUpCard {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpCard 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.featured-portfolio-grid .project-card:nth-child(1) { animation-delay: 0.1s; }
.featured-portfolio-grid .project-card:nth-child(2) { animation-delay: 0.2s; }
.featured-portfolio-grid .project-card:nth-child(3) { animation-delay: 0.3s; }
.featured-portfolio-grid .project-card:nth-child(4) { animation-delay: 0.4s; }
.featured-portfolio-grid .project-card:nth-child(5) { animation-delay: 0.5s; }

.project-card:hover {
  transform: translateY(-16px) scale(1.06) rotate(-1deg);
  box-shadow: 0 16px 48px 0 rgba(212,175,55,0.22), 0 4px 0 #ffd700;
  z-index: 2;
}

.portfolio-grid .project-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpCard 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.portfolio-grid .project-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-grid .project-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-grid .project-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-grid .project-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-grid .project-card:nth-child(5) { animation-delay: 0.5s; }

.portfolio-grid .project-card:hover {
  transform: translateY(-16px) scale(1.06) rotate(-1deg);
  box-shadow: 0 16px 48px 0 rgba(212,175,55,0.22), 0 4px 0 #ffd700;
  z-index: 2;
}

.project-card, .wardrobe-card {
  transition:
    transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover, .wardrobe-card:hover {
  transform: translateY(-16px) scale(1.08);
  box-shadow:
    0 16px 48px 0 rgba(212,175,55,0.22),
    0 4px 0 #ffd700,
    0 0 16px 2px #ffd70066;
  border-color: #ffd700;
  z-index: 2;
}

.project-card .image-wrapper img,
.wardrobe-card img {
  transition: none;
}

.project-card:hover .image-wrapper img,
.wardrobe-card:hover img {
  transform: none;
}

/* Modern 3D vs Reality Section Animations and Uniform Sizing */
.comparison-pair.modern-fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpCard 0.9s cubic-bezier(.23,1.01,.32,1) forwards;
}
.comparison-pair.modern-fade-in:nth-child(1) { animation-delay: 0.1s; }
.comparison-pair.modern-fade-in:nth-child(2) { animation-delay: 0.3s; }
.comparison-pair.modern-fade-in:nth-child(3) { animation-delay: 0.5s; }

.comparison-image.modern-anim {
  transition: transform 0.35s cubic-bezier(.23,1.01,.32,1), box-shadow 0.35s cubic-bezier(.23,1.01,.32,1);
  will-change: transform, box-shadow;
}
.comparison-image.modern-anim:hover {
  transform: scale(1.045) rotateZ(-1deg);
  box-shadow: 0 8px 32px 0 rgba(212,175,55,0.18), 0 1.5px 0 #d4af37;
  z-index: 2;
}
.comparison-image.modern-anim img {
  width: 340px;
  height: 255px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(212,175,55,0.10);
  background: #181818;
  transition: box-shadow 0.3s;
}
@media (max-width: 900px) {
  .comparison-image.modern-anim img {
    width: 100vw;
    max-width: 95vw;
    height: 38vw;
    min-height: 160px;
  }
}
@keyframes fadeInUpCard {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Pictures/luxury-joinery-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 0.8s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease-out 0.3s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease-out 0.6s forwards;
}

.hero-subtitle-text {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #d4af37;
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease-out 0.9s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease-out 1.2s forwards;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #ffd700, #d4af37);
}

.hero-btn.secondary {
    background: transparent;
    color: #d4af37;
    border-color: #d4af37;
}

.hero-btn.secondary:hover {
    background: #d4af37;
    color: #0a0a0a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: heroFadeIn 1s ease-out 1.5s forwards;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #d4af37, transparent);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
    transform: rotate(45deg);
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Parallax effect for hero background */
.modern-hero.scrolled .hero-background {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
}
.member-image {
 height: 250px;
 max-height: 250px;
 width: 250px;
}