/**
 * Custom CSS for BFS Health Corp Theme
 * Purple theme with modern design
 */

:root {
    --bfs-purple: #6B46C1;
    --bfs-purple-dark: #553C9A;
    --bfs-purple-light: #8B5CF6;
    --bfs-white: #FFFFFF;
    --bfs-grey: #6B7280;
    --bfs-grey-light: #F3F4F6;
    --bfs-grey-dark: #374151;
}

/* Prevent extra scroll at bottom */
html, body {
    overflow-x: hidden;
    height: 100%;
}

#page {
    overflow-x: hidden;
    position: relative;
    min-height: 100%;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 300px;
    position: relative;
    color: #fff;
    overflow: hidden;
    min-height: 800px;
}

.hero-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(167, 53, 139, 0.46), rgba(167, 53, 139, 0.46));
    pointer-events: none;
    z-index: 1;
}

/* Default gradient only if no background image */
.hero-section:not([style*="background-image"]) {
    background: linear-gradient(180deg, #45173E 0%, #000000 100%);
}

.hero-section:not([style*="background-image"])::before {
    background: linear-gradient(0deg, rgba(167, 53, 139, 0.46), rgba(167, 53, 139, 0.46));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Marcellus', serif;
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Home: hero full-bleed under fixed header, no double top gap */
.home .site-main,
.page-template-template-home .site-main {
    padding-top: 0;
}

.home .hero-section,
.page-template-template-home .hero-section {
    padding-top: 140px;
}

.btn-hero {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 20px;
    background-color: #ffffff !important;
    color: #8D1E7C;
    border: 1px solid #8D1E7C;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    text-decoration: none;
    margin-top: 0.5rem;
}

.btn-hero:hover {
    background-color: #8D1E7C !important;
    border-color: #fff;
    color: #fff;
}

.hero-products {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
}

.hero-product-item {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.hero-product-center {
    width: auto;
    height: auto;
    position: relative;
}


.hero-product-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* About Section - Slider */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-slider {
    position: relative;
    width: 100%;
    min-height: 800px;
}

.about-slide {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 800px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    z-index: 1;
}

.about-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.about-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.about-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.about-left {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: 0 7rem;
}

.about-text {
    position: relative;
    z-index: 2;
}

.about-title {
    font-family: 'Marcellus', serif;
    font-size: 40px;
    font-weight: 400;
    color: #45173E;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-description {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #45173E;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.about-description p {
    margin-bottom: 1rem;
}

.btn-about {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    background-color: #8D1E7C;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    text-decoration: none;
}

.btn-about:hover {
    background-color: #6D165D;
    color: #fff;
}

.about-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

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

.about-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(69, 23, 62, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.about-dots .dot.active {
    background: #45173E;
    width: 30px;
    border-radius: 5px;
}

.about-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 500px;
}

/* Product Spotlight Section */
.product-spotlight-section {
    background: linear-gradient(135deg, #6B46C1 0%, #553C9A 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-spotlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.product-spotlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6rem;
    width: 100%;
}

.product-spotlight-left {
    color: #fff;
}

.product-spotlight-title-image {
    margin-bottom: 1.5rem;
}

.product-spotlight-title-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
}

.product-spotlight-description {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-product {
    display: inline-block;
    background-color: #8D1E7C;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    transition: background-color 0.3s;
    text-decoration: none;
}

.btn-product:hover {
    background-color: #6D165D;
    color: #fff;
}

.product-spotlight-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-spotlight-right img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

/* Product Grid */
.product-grid-wrapper {
    width: 100%;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.product-grid {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: #fff;
    border-radius: 20px 20px 0 0;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background-color: #F0F0F0;
    gap: 0.5rem;
    box-sizing: border-box;
}

.product-grid-item {
    text-align: center;
    flex: 0 0 auto;
    padding: 2.5rem;
    cursor: pointer;
    margin: 0;
    height: 100px;
}

.product-grid-item:hover {
    background-color: #FFFFFF;
    margin: 0;
}

.product-grid-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-grid-item img {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 60px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.product-grid-name {
    margin-top: 0.5rem;
    color: #45173E;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Partner Stores Section */
.partner-stores-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 100px 2rem;
    background: #F0F0F0;
    border-radius: 20px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.partner-stores-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.partner-title {
    font-family: 'Marcellus', serif;
    text-align: center;
    font-size: 40px;
    font-weight: 400;
    color: #45173E;
    margin-bottom: 4rem;
    line-height: 1.4;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    height: 120px;
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 80px;
    transition: all 0.3s;
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonial Section */
.testimonial-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 200px;
    position: relative;
    overflow: visible;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.testimonial-section[data-bg-url]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--testimonial-bg-image);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.testimonial-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(69, 23, 62, 0.75);
    z-index: 1;
}

.testimonial-slider {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s;
}

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

.testimonial-product-image {
    margin-bottom: 1rem;
    text-align: center;
}

.testimonial-product-image img {
    max-width: 300px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.testimonial-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonial-rating {
    margin-bottom: 2rem;
}

.testimonial-rating .star {
    color: #FFD700;
    font-size: 1.5rem;
    margin: 0 0.2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 1rem;
    opacity: 0.9;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-prev,
.testimonial-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

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

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-dots .dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

/* Contact Section */
.contact-section {
    background: transparent;
    position: relative;
    padding: 0;
    z-index: 100;
    margin-top: -80px;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 100;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    width: 100%;
    background: #ffffff;
    border-radius: 50px 50px 0 0;
    padding: 3rem 3rem 0 3rem;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
    overflow: visible;
}

.contact-form-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    align-self: stretch;
}

.wpcf7-wrapper {
    width: 100%;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-title {
    font-family: 'Marcellus', serif;
    font-size: 64px;
    font-weight: 400;
    color: #45173E;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #45173E;
    margin-bottom: 2rem;
    line-height: 1.6;
    display: block !important;
    visibility: visible !important;
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form 7 Styling */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.wpcf7-form p {
    margin: 0;
    width: 100%;
    text-align: center;
}

/* Contact Form 7 Row/Column Layout */
.wpcf7-form .cf7-row {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-bottom: 0;
}

.wpcf7-form .cf7-col {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.wpcf7-form .cf7-col-full {
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
}

.wpcf7-form .cf7-row p {
    margin: 0;
    width: 100%;
}

.wpcf7-form .cf7-col p,
.wpcf7-form .cf7-col-full p {
    margin: 0;
    width: 100%;
}

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

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
    width: 100% !important;
    padding: 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    margin: 0;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #45173E;
    box-shadow: 0 0 0 3px rgba(69, 23, 62, 0.1);
}

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

.wpcf7-form .wpcf7-submit {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    background-color: #8D1E7C;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: #6D165D;
    transform: translateY(-1px);
}

.wpcf7-form .wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.wpcf7-form .wpcf7-mail-sent-ng,
.wpcf7-form .wpcf7-aborted {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.wpcf7-form .wpcf7-spam {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.wpcf7-form .wpcf7-validation-errors,
.wpcf7-form .wpcf7-acceptance-missing {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.wpcf7-form span.wpcf7-not-valid-tip {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.wpcf7-form .wpcf7-list-item {
    margin: 0.5rem 0;
}

.contact-form-error {
    color: #DC2626;
    padding: 1rem;
    background: #FEE2E2;
    border-radius: 4px;
}

.contact-map {
    min-height: 500px;
    height: 500px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    background: #E5E7EB;
    width: 100%;
    align-self: stretch;
}

.contact-map iframe {
    width: 100% !important;
    height: 500px !important;
    min-height: 500px !important;
    border: none !important;
    border-radius: 50px 50px 0 0;
    display: block;
}

.contact-map > p {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
    margin: 0;
    padding: 2rem;
    text-align: center;
    color: var(--bfs-grey);
}

.map-embed-wrapper {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-embed-wrapper iframe {
    width: 100% !important;
    height: 500px !important;
    min-height: 500px !important;
    border: none !important;
    border-radius: 12px;
    display: block;
}

/* Footer */
.site-footer {
    background: #3C2038;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-column {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-title {
    font-family: 'Marcellus', serif;
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff;
    text-align: left;
    width: 100%;
}

.newsletter-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.5;
    text-align: left;
    width: 100%;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #fff;
}

.btn-newsletter {   
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 0.75rem 1.5rem;
    background-color: transparent !important;
    border: 1px solid #fff;
    color: #fff;
    white-space: nowrap;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-newsletter:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-message {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.footer-menu li {
    margin-bottom: 0.75rem;
    text-align: left;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    text-align: left;
    display: inline-block;
}

.footer-menu a:hover {
    color: #fff;
}

.contact-info {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    width: 100%;
}

.contact-icon {
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    margin-top: 0.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.footer-social .social-icon:hover {
    transform: scale(1.1);
}

.footer-social .social-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: none;
    display: block;
}

.footer-social .social-icon span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    line-height: 1;
}

.footer-social .social-icon img[alt*="TikTok"],
.footer-social .social-icon img[alt*="tiktok"] {
    width: auto;
    height: 50px;
    max-width: 60px;
    object-fit: contain;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-powered {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.powered-by-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.powered-by-logo {
    height: 20px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.powered-by-logo:hover {
    opacity: 1;
}

/* Header Enhancements */
.site-header {
    border-bottom: 1px solid #E5E7EB;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100% !important;
    z-index: 1000;
    will-change: transform;
    margin: 0 !important;
}

.header-container {
    position: relative;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #374151;
    padding: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container,
    .product-spotlight-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-right {
        min-height: 400px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .main-navigation .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }
    
    .menu-toggle {
        display: block;
        order: 1;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .site-branding {
        position: static;
        transform: none;
        order: 2;
        flex: 1;
        justify-content: center;
    }
    
    .header-social {
        order: 2;
    }
    
    .header-social .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .header-social .social-icon img {
        width: 25px;
        height: 25px;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        background: #fff;
        padding: 1rem 0;
        border-top: 1px solid #E5E7EB;
    }
    
    .main-navigation .nav-menu > li {
        border-bottom: 1px solid #F3F4F6;
    }
    
    .main-navigation .nav-menu a {
        padding: 1rem;
        display: block;
    }
    
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #F9FAFB;
        margin: 0;
        border-radius: 0;
    }
    
    .main-navigation .sub-menu a {
        padding-left: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-products {
        position: relative;
        bottom: auto;
        margin-top: 3rem;
        transform: none;
        padding: 0 1rem;
    }
    
    .hero-product-center {
        width: 100%;
    }
    
    .hero-product-item img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .about-section {
        padding: 80px 0 60px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .product-spotlight-title {
        font-size: 2.5rem;
    }
    
    .partner-title {
        font-size: 2rem;
    }
    
    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .product-grid {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .product-grid-item img {
        max-width: 100px;
        max-height: 40px;
    }
    
    .product-grid-name {
        font-size: 0.7rem;
    }
    
    /* Contact Form 7 Responsive */
    .wpcf7-form .cf7-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .wpcf7-form .cf7-col {
        width: 100%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-map {
        height: 400px;
    }
}
