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

:root {
    --primary-color: #1a365d; /* Dark blue */
    --secondary-color: #2d3748; /* Dark gray-blue */
    --accent-color: #4a90e2; /* Light blue */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-dark: #1a202c;
    --background-primary: #000000;
    --background-secondary: #1a1a1a;
    --background-light: #ffffff;
    --border-color: #2d3748;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background-color: var(--background-primary);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--background-secondary);
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 54, 93, 0.8) 100%), url('images/gallery/Yard-view-5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    text-align: center;
}

.hero-image i {
    font-size: 15rem;
    color: var(--accent-color);
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    min-height: 44px; /* Improved touch target */
    min-width: 44px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.service-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* Why Choose Section */
.why-choose {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.why-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.why-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--background-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.why-item:hover {
    background-color: var(--primary-color);
}

.why-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.why-item span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

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

/* Fix secondary button visibility in CTA section */
.cta .btn-secondary {
    color: var(--text-primary) !important;
    border-color: var(--text-primary) !important;
}

.cta .btn-secondary:hover {
    background-color: var(--text-primary) !important;
    color: var(--primary-color) !important;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    color: #b8b8b8;
    padding: 60px 20px 20px;
    border-top: 1px solid #222222;
}

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

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #b8b8b8;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

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

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

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

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer .contact-info {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #b8b8b8;
}

.footer .contact-info i {
    color: var(--accent-color);
    width: 16px;
}

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

/* Original Responsive Design - REPLACED WITH ENHANCED VERSION ABOVE */

/* Original 480px Media Query - REPLACED WITH ENHANCED VERSION ABOVE */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Page-specific styles */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(26, 54, 93, 0.7), rgba(26, 54, 93, 0.7)), url('images/gallery/Main-building.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    text-align: center;
    padding: 120px 20px 60px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 60px 20px;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.page-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Search and Filter Styles */
.search-bar {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-form .form-group {
    margin-bottom: 0;
}

.search-form .btn {
    height: 46px;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item-content {
    padding: 1.5rem;
}

.gallery-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.gallery-item p {
    color: #666;
    font-size: 0.9rem;
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.mvv-section {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

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

.mvv-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mvv-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    margin-bottom: 1rem;
}

.mvv-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.mvv-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mvv-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-section {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.team-member {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    margin-bottom: 1rem;
}

.team-photo i {
    font-size: 5rem;
    color: var(--accent-color);
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-info p {
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.why-choose-about {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.why-choose-about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background-color: var(--background-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced Mobile Responsive Updates for Additional Sections */
@media (max-width: 768px) {
    /* Search and forms */
    .search-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-bar {
        padding: 1.5rem;
    }
    
    /* Gallery improvements */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        margin: 0 auto;
        max-width: 400px;
    }
    
    /* About page improvements */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Mission, Vision, Values */
    .mvv-section {
        padding: 60px 16px;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mvv-item {
        padding: 1.5rem;
    }
    
    /* Team section */
    .team-section {
        padding: 60px 16px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Features grid improvements */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
        align-items: flex-start;
    }
    
    .feature-icon {
        margin-right: 1rem;
        flex-shrink: 0;
    }
}

/* Inventory Page Styles */
.search-section {
    padding: 40px 20px;
    background-color: var(--background-light);
}

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

.search-frames {
    background-color: var(--background-light);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.search-frame {
    min-height: 500px;
}

.search-side-text {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.search-side-text h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.search-side-text p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.phone-number {
    background-color: var(--accent-color);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.gallery-section {
    padding: 60px 20px;
    background-color: var(--background-light);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4), transparent);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    transform: translateY(0);
    transition: all 0.3s ease;
    backdrop-filter: blur(1px);
    height: auto;
    max-height: 40%;
}

.gallery-item {
    position: relative;
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6), transparent);
    transform: translateY(-1px);
    max-height: 45%;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    line-height: 1.2;
    color: #ffffff;
    text-transform: none;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.4;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    margin: 0;
}

.inventory-results {
    padding: 60px 20px;
    background-color: var(--background-light);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-header h2 {
    color: var(--text-dark);
}

.results-count {
    color: #666;
    font-size: 1rem;
}

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

.part-card {
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.part-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.part-image {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
}

.part-image i {
    font-size: 4rem;
    color: var(--accent-color);
}

.part-content {
    padding: 1.5rem;
}

.part-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.part-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.part-category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.part-content .btn {
    width: 100%;
    margin-top: 1rem;
}

.no-results {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    grid-column: 1 / -1;
    padding: 3rem;
}

.featured-categories {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.featured-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.category-card {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.category-icon {
    margin-bottom: 1rem;
}

.category-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.parts-info {
    padding: 80px 20px;
    background-color: var(--background-light);
}

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

.info-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    /* Inventory and search improvements */
    .search-section {
        padding: 30px 16px;
    }
    
    .search-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .search-frame {
        min-height: 350px;
    }
    
    .search-side-text {
        padding: 1.5rem;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .inventory-results {
        padding: 40px 16px;
    }
    
    .inventory-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .part-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Categories section */
    .featured-categories {
        padding: 60px 16px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    /* Info grid */
    .parts-info {
        padding: 60px 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

.search-bar h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Page Styles */
.gallery-filter {
    padding: 40px 20px;
    background-color: var(--background-light);
}

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

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

.gallery-stats {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.gallery-stats h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.stat-card {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 2001;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#modal-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    display: block;
}

.modal-caption {
    padding: 2rem;
    text-align: center;
}

.modal-caption h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.modal-caption p {
    color: #666;
}

/* Warranty Page Styles */
.warranty-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.warranty-intro h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.warranty-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.warranty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.warranty-icon {
    margin-bottom: 1rem;
}

.warranty-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.warranty-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.warranty-card p {
    color: #666;
    line-height: 1.6;
}

.warranty-details {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.warranty-details h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.warranty-section {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: 12px;
}

.warranty-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.warranty-section ul {
    list-style: none;
    padding: 0;
}

.warranty-section li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.warranty-section li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.return-process {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.return-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.step-number {
    background-color: var(--accent-color);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    hyphens: none;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    word-wrap: break-word;
}

.faq-section {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.faq-item {
    background-color: var(--background-primary);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question:hover {
    background-color: var(--primary-color);
}

.faq-question h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.warranty-contact {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.warranty-contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.warranty-contact > p {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

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

.contact-option {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.contact-option i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-option h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-option p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Sell Car Page Styles */
.selling-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.selling-intro h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.benefit-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.evaluation-section {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.evaluation-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.evaluation-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: 12px;
}

.evaluation-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.estimate-result {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--accent-color);
}

.estimate-result h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.estimate-result p {
    color: #666;
}

.selling-process {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.selling-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.what-we-buy {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.what-we-buy h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.buy-category {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.buy-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.buy-category i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.buy-category h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.buy-category p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-section {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.contact-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.contact-info {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-details i {
    color: var(--accent-color);
    width: 20px;
    margin-right: 0.5rem;
}

/* Contact Page Styles */
.contact-info-section {
    padding: 80px 20px;
    background-color: var(--background-light);
}

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

.contact-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Additional specific rule to ensure h3 visibility */
.contact-info-section .contact-card h3 {
    color: #000000 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.contact-card p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-form-section {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-side {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: 12px;
}

.form-side h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.info-side {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: 12px;
}

.info-side h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-benefits i {
    color: var(--accent-color);
}

.emergency-contact {
    background-color: var(--background-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.emergency-contact h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.emergency-contact p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.emergency-number {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.map-section {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.map-container-full {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.map-embed {
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.map-embed iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 12px;
}

.map-info {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.map-info h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.map-info strong {
    color: var(--text-dark);
}

.map-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2rem;
}

.contact-faq {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.contact-faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.department-contacts {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.department-contacts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.department-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.department-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.department-card p {
    color: #666;
    margin-bottom: 1rem;
}

.department-card i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Enhanced Mobile Responsive Updates for Forms and Contact */
@media (max-width: 768px) {
    /* Contact forms and wrappers */
    .contact-form-container,
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form,
    .form-side,
    .info-side {
        padding: 1.5rem;
    }
    
    .contact-form-section {
        padding: 60px 16px;
    }
    
    .contact-info-section {
        padding: 60px 16px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Map section */
    .map-section {
        padding: 60px 16px;
    }
    
    .map-container-full {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-embed iframe {
        height: 300px;
    }
    
    .map-info {
        padding: 1.5rem;
    }
    
    .map-links {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    /* Form improvements */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px;
        font-size: 1rem;
    }
    
    /* Gallery filter */
    .gallery-filter {
        padding: 30px 16px;
    }
    
    .filter-buttons {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Stats and warranty sections */
    .gallery-stats {
        padding: 60px 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .warranty-details {
        padding: 60px 16px;
    }
    
    .warranty-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .warranty-section {
        padding: 1.5rem;
    }
    
    /* Process steps */
    .return-process {
        padding: 60px 16px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    /* Sell car section */
    .evaluation-section {
        padding: 60px 16px;
    }
    
    .what-we-buy {
        padding: 60px 16px;
    }
    
    .buy-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .buy-category {
        padding: 1.5rem 1rem;
    }
    
    /* Department contacts */
    .department-contacts {
        padding: 60px 16px;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .department-card {
        padding: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    /* Extra small screen optimizations */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .buy-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .buy-category {
        padding: 1.25rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.25rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
        padding: 12px 16px;
    }
    
    .map-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .map-links .btn {
        width: 100%;
        max-width: 200px;
    }
    
    /* Form improvements for small screens */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    /* About stats for small screens */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    /* Contact cards for small screens */
    .contact-cards {
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    /* Department cards */
    .departments-grid {
        gap: 1rem;
    }
    
    .department-card {
        padding: 1.25rem;
    }
} 

/* Old 480px section - REPLACED WITH ENHANCED VERSION ABOVE */ 

/* Customer Reviews Section */
.reviews-section {
    padding: 80px 20px;
    background-color: var(--background-secondary);
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.review-card {
    background-color: var(--background-light);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    display: none;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.review-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.review-card.prev {
    transform: translateX(-100%);
}

.stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

.review-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-author strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.review-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.review-source i {
    font-size: 1.1rem;
}

.review-source .fa-google {
    color: #4285f4;
}

.review-source .fa-yelp {
    color: #ff1a1a;
}

.review-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.review-prev,
.review-next {
    background-color: var(--accent-color);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.review-prev:hover,
.review-next:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.review-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    /* Reviews section mobile optimization */
    .reviews-section {
        padding: 60px 16px;
    }
    
    .reviews-container {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .review-card {
        padding: 1.5rem;
        margin: 0 12px;
    }
    
    .review-content p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .review-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .review-navigation {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .review-prev,
    .review-next {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .review-dots {
        gap: 0.75rem;
    }
    
    .dot {
        width: 14px;
        height: 14px;
    }
}

/* Thank You Page Styles */
.thank-you-content {
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.thank-you-section {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.thank-you-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-card h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background-color: var(--background-light);
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #4a5568;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    /* Thank you page mobile optimization */
    .thank-you-section {
        padding: 60px 16px;
    }
    
    .thank-you-icon {
        font-size: 3rem;
    }
    
    .thank-you-card {
        padding: 2rem 1.5rem;
        margin: 0 12px;
        border-radius: 12px;
    }
    
    .thank-you-card h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .step {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .step-icon i {
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    /* Thank you page extra small screens */
    .thank-you-card {
        padding: 1.5rem 1rem;
        margin: 0 8px;
    }
    
    .thank-you-card h2 {
        font-size: 1.6rem;
    }
    
    .thank-you-icon {
        font-size: 2.5rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
    }
    
    .step-icon i {
        font-size: 1.1rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    /* Reviews section for very small screens */
    .review-card {
        padding: 1.25rem;
        margin: 0 8px;
    }
    
    .review-content p {
        font-size: 0.95rem;
    }
    
    .review-prev,
    .review-next {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
} 

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
    /* Improved container padding for mobile */
    .container {
        padding: 0 16px;
    }
    
    /* Navigation improvements */
    .nav-container {
        padding: 0 16px;
        height: 65px;
    }
    
    .nav-logo img {
        height: 32px;
    }
    
    .nav-logo h3 {
        font-size: 1.4rem;
        font-weight: 600;
    }
    
    .nav-logo {
        gap: 0.4rem;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        background-color: var(--background-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 16px 20px;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        white-space: normal;
    }
    
    .nav-link::after {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        padding: 10px; /* Touch target padding for mobile */
    }

    /* Hero section mobile optimizations */
    .hero {
        min-height: 100vh;
        padding: 90px 16px 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-image i {
        font-size: 6rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Improved button sizing for mobile */
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 1rem;
        text-align: center;
    }

    /* Services section */
    .services {
        padding: 60px 16px;
    }
    
    .services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }

    /* Why choose section */
    .why-choose {
        padding: 60px 16px;
    }
    
    .why-content h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .why-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* CTA section */
    .cta {
        padding: 60px 16px;
    }
    
    .cta h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Footer improvements */
    .footer {
        padding: 40px 16px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .container {
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 0 12px;
        height: 60px;
    }
    
    .nav-logo img {
        height: 28px;
    }
    
    .nav-logo h3 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .hero {
        padding: 80px 12px 30px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image i {
        font-size: 4rem;
    }

    .services h2,
    .why-content h2,
    .cta h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 250px;
    }
    
    /* Page hero adjustments */
    .page-hero {
        padding: 100px 12px 40px;
        min-height: 40vh;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .page-hero p {
        font-size: 0.95rem;
    }
    
    /* Page content */
    .page-content {
        padding: 40px 12px;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .page-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
}

/* Enhanced touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn,
    .gallery-item,
    .service-card,
    .contact-card {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-hamburger {
        padding: 12px;
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
        align-items: center;
    }
    
    .social-links a {
        padding: 8px;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
} 