/*
Theme Name: Atomic Solutions 1 2025
Theme URI: https://wordpress.atomicsolutions.tech
Author: Christopher Beyer
Author URI: https://yoursite.com
Description: A modern WordPress theme for commercial electrical equipment businesses
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atomic-solutions
Template: twentytwentyfour
*/

/* Modern CSS Reset and Base Styles */
:root {
    --primary-color: #2c3e50;
    --primary-dark: #1a252f;
    --secondary-color: #34495e;
    --accent-color: #7f9c6d;
    --text-color: #2c3e50;
    --light-text: #7f8c8d;
    --background-light: #f5f6fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

/* Modern Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .header-content {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .services-grid {
        padding: 0;
    }

    .service-card {
        padding: 1.5rem;
    }

    .about-content {
        padding: 0 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-widgets {
        gap: 2rem;
    }

    .team-grid {
        padding: 0 1rem;
    }

    .team-member {
        max-width: 100%;
    }

    .team-member-content {
        padding: 1.5rem;
    }

    .error-content {
        padding: 0 1rem;
    }

    .error-search {
        padding: 0 1rem;
    }
}

/* Modern Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.main-header {
    padding: 1rem 0;
    background: var(--white);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 100px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.site-title a:hover {
    color: var(--accent-color);
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
    transform-origin: center;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }

    .custom-logo {
        max-height: 100px;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        position: relative;
        z-index: 1001;
    }

    .main-navigation {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        height: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 1000;
    }

    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem;
        font-size: 1.1rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        color: var(--accent-color);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Modern Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 750px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-slideshow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.slide-bg.active {
    opacity: 1;
    z-index: 1;
}
.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slideshow-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}
.prev-slide:hover,
.next-slide:hover {
    background: var(--white);
}

.hero-content-bubble {
    position: relative;
    z-index: 3;
    background: rgba(20, 30, 40, 0.85);
    color: var(--white);
    border-radius: 2rem;
    padding: 2.5rem 3rem;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: right;
    margin-right: 4vw;
    margin-left: 0;
}
.hero-content-bubble h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-content-bubble p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-self: center;
}
.cta-button:hover {
    background-color: var(--accent-hover);
}

@media (max-width: 900px) {
    .hero {
        min-height: 350px;
        height: 350px;
        justify-content: center;
    }
    .hero-content-bubble {
        padding: 1.5rem 1rem;
        max-width: 95vw;
        align-items: center;
        text-align: center;
        margin-right: 0;
        margin-left: 0;
    }
}

/* Modern Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 3rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Modern Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.contact-content {
    width: 100%;
}

.contact-grid {
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 1rem;
    background: var(--gray-100);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(127, 156, 109, 0.1);
    background: var(--white);
}

/* Modern About Section */
.about-section {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.about-text {
    width: 100%;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-features i {
    color: var(--primary-color);
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Modern Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-widget {
    text-align: center;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-info li:last-child {
    margin-bottom: 0;
}

.contact-info li i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-right: 1rem;
    min-width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0 1.5rem;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info li {
        font-size: 1rem;
    }
}

/* Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Modern Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Team Section */
.team-section {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
    opacity: 0.5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.team-member:last-child {
    border-bottom: none;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.team-member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-content {
    padding: 2rem;
    text-align: center;
}

.team-member h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member-expertise {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-member-description {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Modern 404 Error Page */
.error-404-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: var(--white);
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-content h1 {
    font-size: 8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.error-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.error-content p {
    color: var(--gray-600);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.error-actions {
    margin-bottom: 3rem;
}

.error-search {
    max-width: 400px;
    margin: 0 auto;
}

.error-search p {
    margin-bottom: 1rem;
}

.error-search .search-form {
    display: flex;
    gap: 1rem;
}

.error-search .search-field {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.error-search .search-field:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(127, 156, 109, 0.1);
}

.error-search .search-submit {
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.error-search .search-submit:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-content h1 {
        font-size: 6rem;
    }

    .error-content h2 {
        font-size: 1.5rem;
    }

    .error-search .search-form {
        flex-direction: column;
    }

    .error-search .search-submit {
        width: 100%;
    }
}

/* Modern Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-description {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
        margin-top: 60px;
    }
}

/* Contact Page Specific Styles */
.contact-page-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-page-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-page-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.contact-page-form input,
.contact-page-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 1rem;
    background: var(--gray-100);
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(127, 156, 109, 0.1);
    background: var(--white);
}

.contact-page-form .submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-page-form .submit-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.desktop-only {
    display: block;
}

.mobile-contact-button {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-contact-button {
        display: block;
        text-align: center;
        margin-top: 2rem;
    }

    .mobile-contact-button .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .about-content {
        gap: 1.5rem;
    }
}

/* Manufacturers Page Styles */
.manufacturers-page {
    padding: 8rem 0;
    background: var(--background-light);
}

.manufacturers-page .page-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    background: none;
    padding: 0;
}

.manufacturers-page .page-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.manufacturers-page .page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.manufacturers-page .page-description {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.manufacturers-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.manufacturers-intro p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 0 3rem;
}

.manufacturer-card {
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.manufacturer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.manufacturer-image-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: var(--gray-100);
}

.manufacturer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.manufacturer-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: var(--transition);
}

.manufacturer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.manufacturer-card:hover .manufacturer-overlay {
    opacity: 1;
}

.manufacturer-card:hover .manufacturer-image img {
    transform: scale(1.1);
}

.visit-website {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--white);
    border-radius: 2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.visit-website:hover {
    background: var(--white);
    color: var(--primary-color);
}

.manufacturer-content {
    padding: 2rem;
    flex-grow: 1;
}

.manufacturer-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.manufacturer-content p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.manufacturer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.manufacturer-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.manufacturer-features i {
    color: var(--accent-color);
}

.manufacturer-features ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.manufacturer-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.manufacturer-features li:last-child {
    margin-bottom: 0;
}

.manufacturer-features li i {
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.manufacturer-features li:hover {
    color: var(--accent-color);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .manufacturers-page {
        padding: 6rem 0;
    }

    .manufacturers-page .page-title {
        font-size: 2.5rem;
    }

    .manufacturers-page .page-description {
        font-size: 1.1rem;
    }

    .manufacturers-intro {
        margin-bottom: 3rem;
    }

    .manufacturers-intro p {
        font-size: 1rem;
    }

    .manufacturers-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .manufacturer-content {
        padding: 1.5rem;
    }

    .manufacturer-content h2 {
        font-size: 1.3rem;
    }
}

/* Section Divider - 80% Width, Centered */
.section-divider {
    border: none;
    height: 5px;
    width: 90vw;
   /* margin: 4rem auto; */
    border-radius: 2px;
    opacity: 0.95;
    display: block;
    position: absolute;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    z-index: 2;
} 
#contact {
    scroll-margin-top: 100px; /* Adjust this value to match your header height */
  }
  #services {
    scroll-margin-top: 100px; /* Adjust this value to match your header height */
  }
  #about {
    scroll-margin-top: 100px; /* Adjust this value to match your header height */
  }