/* --- Global Variables & Overrides (from base.html) --- */
:root {
    --jakarta-font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    --main-heading-font-size: 4.8rem;
    --heading-font-size: 4.8rem;
    --paragraph-font-size: 1.5rem;
    --title-lg-font-size: 4rem;
    --title-md-font-size: 3.2rem;
    --medium-font-size: 2.2rem;
    --heading-letter-spacing: -0.02em;

    /* Color Overrides */
    --primary-color: #f8be13;
    --primary-color-rgb: 186, 20, 31;
    --primary-color-low: rgba(186, 20, 31, 0.1);
    --primary-glow: rgba(248, 190, 19, 0.3);
    
    --secondary-color: #2A3359;
    --secondary-dark-color: #1a2038;
    
    --sp-color-orange: #f8be13; /* Map orange accent to primary red */
    --sp-color-dark-bg: #2A3359;
    --moving-text-color: rgba(186, 20, 31, 0.3); /* Stronger Light red for moving text outline */
    
    /* Premium Additions */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --sp-color-white: #ffffff;
}

/* Language Picker Enhancements */
.language-picker {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem;
    border-radius: 5rem;
    margin-right: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-items-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.language-picker .lang-item {
    width: 3.6rem !important;
    height: 3.6rem !important;
    min-width: 3.6rem !important;
    flex: 0 0 3.6rem !important;
    border-radius: 40% !important;
    padding: 0 !important;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    overflow: hidden;
}

.language-picker .lang-item.active {
    background: var(--primary-color);
    color: var(--secondary-color) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.language-picker .lang-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
}

header.sticky-nav.scrolled .language-picker {
    background: rgba(42, 51, 89, 0.05);
    border-color: rgba(42, 51, 89, 0.1);
}

header.sticky-nav.scrolled .language-picker .lang-item {
    color: var(--secondary-color);
}

header.sticky-nav.scrolled .language-picker .lang-item.active {
    color: var(--secondary-color) !important;
    background: var(--primary-color);
}

.cart-btn {
    position: relative;
    display: inline-flex;
    padding: 0.5rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Force header solid on cart page if needed */
body.cart-page header.header,
body.product-detail-page header.header {
    background-color: white !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

body.cart-page header.header .navigation-menu > li > a,
body.product-detail-page header.header .navigation-menu > li > a {
    color: var(--secondary-color) !important;
}

body.cart-page .hide-sticky,
body.product-detail-page .hide-sticky { display: none !important; }

body.cart-page .show-sticky,
body.product-detail-page .show-sticky { 
    display: flex !important; 
    align-items: center;
    gap: 10px;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

body.cart-page .search-icon svg, 
body.cart-page .search-icon svg path,
body.cart-page .mobile-toggle .bar,
body.cart-page .cart-btn svg,
body.cart-page .cart-btn svg path,
body.product-detail-page .search-icon svg, 
body.product-detail-page .search-icon svg path,
body.product-detail-page .mobile-toggle .bar,
body.product-detail-page .cart-btn svg,
body.product-detail-page .cart-btn svg path {
    fill: var(--secondary-color) !important;
    background-color: transparent; /* Reset background for svgs if any */
}

body.cart-page .mobile-toggle .bar,
body.product-detail-page .mobile-toggle .bar {
    background-color: var(--secondary-color) !important;
}

body.cart-page .logo,
body.product-detail-page .logo {
    color: var(--secondary-color) !important;
}

body.cart-page .language-picker .lang-item,
body.product-detail-page .language-picker .lang-item {
    color: var(--secondary-color) !important;
}

body.cart-page .language-picker .lang-item.active,
body.product-detail-page .language-picker .lang-item.active {
    color: white !important;
}

/* Ensure border is visible for picker if needed, similar to scrolled state */
body.cart-page .language-picker,
body.product-detail-page .language-picker {
    border: 1px solid rgba(42, 51, 89, 0.1); 
}

main {
    margin: 0;
    padding: 0;
}

footer {
    margin: 0;
    padding: 0;
}

/* Messages Styling */
.messages-container {
    position: fixed;
    top: 10rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
    max-width: 500px;
    pointer-events: none;
}

.alert {
    background: white;
    padding: 1.5rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-left: 5px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.5s ease forwards;
    pointer-events: auto;
}

.alert-success { border-left-color: #28a745; }
.alert-error { border-left-color: #dc3545; }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: var(--heading-letter-spacing);
}

@media (max-width: 991px) {
    :root {
        --main-heading-font-size: 3.2rem;
        --paragraph-font-size: 1.4rem;
    }

    .navigation-menu-wrapper.desktop-wrapper {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .icons-block {
        gap: 10px !important;
    }

    .language-picker {
        margin-right: 0.5rem !important;
    }

    .logo {
        font-size: 1.4rem !important;
    }

    .logo img {
        height: 25px !important;
    }
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

header.scrolled .mobile-toggle .bar,
body.cart-page .mobile-toggle .bar,
body.product-detail-page .mobile-toggle .bar {
    background-color: var(--secondary-color);
}

/* Mobile Menu Side Drawer */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    visibility: hidden;
    box-shadow: 20px 0 50px rgba(0,0,0,0.1);
}

.mobile-menu-overlay.active {
    left: 0;
    visibility: visible;
}

/* Backdrop when menu is open */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    transition: all 0.3s ease;
}

.mobile-menu-content {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-header .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.mobile-menu-header .logo img {
    height: 3rem;
}

.mobile-menu-close {
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 1rem;
}

.mobile-nav-list li a {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    padding: 1.2rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.mobile-nav-list li a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 2rem;
}


/* --- Hero Sections Shared Styles --- */
.products-hero, .contact-hero, .about-hero {
    padding: 15rem 0 10rem;
    background: linear-gradient(rgba(42, 51, 89, 0.9), rgba(186, 20, 31, 0.8)), 
                url("../images/img.jpg") center/cover no-repeat;
    text-align: center;
    color: white;
    clip-path: var(--slope-clip-bottom-right-5);
    margin-bottom: -5rem;
}

.products-hero .main-heading, .contact-hero .main-heading, .about-hero .main-heading {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
}

.products-hero .sub-heading, .contact-hero .sub-heading, .about-hero .sub-heading {
    color: var(--primary-color) !important;
    display: block;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

.products-hero .hero-subtitle-text, .contact-hero .hero-subtitle-text, .about-hero .hero-subtitle-text {
    font-size: 1.7rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

@media (max-width: 768px) {
    .products-hero .main-heading, .contact-hero .main-heading, .about-hero .main-heading {
        font-size: 3rem;
    }
    
    .products-hero .hero-subtitle-text, .contact-hero .hero-subtitle-text, .about-hero .hero-subtitle-text {
        font-size: 1.5rem;
        max-width: 90%;
    }
}

/* --- Products Page Styles --- */
.products-grid-section {
    padding: 10rem 0;
    background-color: var(--page-bg-color);
}

.products-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

@media (max-width: 1200px) {
    .products-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-card {
    background: white;
    border-radius: 2.5rem;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(42, 51, 89, 0.1);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.product-details {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.product-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: var(--paragraph-md-color);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid #f1f1f1;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.price-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--paragraph-light-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-value-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price-amount {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
}

.price-currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}

.btn-details {
    width: 5.4rem;
    height: 5.4rem;
    background: #ffffff;
    border: 1px solid #f1f1f1;
    border-radius: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .btn-details {
    background: var(--primary-color);
    color: white;
}

.btn-details svg {
    width: 2.2rem;
    height: 2.2rem;
    fill: currentColor;
}

/* --- Featured Products Horizontal Scroll --- */
.featured-products-scroll {
    padding: 8rem 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.featured-products-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0) 0%, transparent 50%);
    pointer-events: none;
}

.products-scroll-header {
    text-align: center;
    margin-bottom: 8rem;
    padding: 5rem 2rem 0;
    position: relative;
    z-index: 2;
}

.products-scroll-header .sub-heading {
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    letter-spacing: 0.15em;
}

.products-scroll-header .main-heading {
    font-size: 5.5rem;
    margin-bottom: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px #a73d3d1a;
}

.products-scroll-header .section-description {
    font-size: 2rem;
    color: var(--paragraph-md-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

@media (max-width: 768px) {
    .products-scroll-header {
        margin-bottom: 5rem;
        padding: 3rem 1.5rem 0;
    }
    
    .products-scroll-header .main-heading {
        font-size: 3.5rem;
    }
    
    .products-scroll-header .section-description {
        font-size: 1.6rem;
    }
}

.scroll-container {
    position: relative;
    width: 100%;
    overflow:visible;
}

.scroll-track {
    display: flex;
    gap: 3rem;
    animation: scroll-left 40s linear infinite;
    will-change: transform;
}

.scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scroll-product-card {
    flex: 0 0 320px;
    background: white;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.scroll-product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(19, 73, 63, 0.15);
    border-color: var(--primary-color);
}

.scroll-product-image {
    width: 100%;
    height: 220px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.scroll-product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.scroll-product-card:hover .scroll-product-image::after {
    opacity: 1;
}

.scroll-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-product-card:hover .scroll-product-image img {
    transform: scale(1.1) rotate(2deg);
}

.scroll-product-info {
    padding: 2.5rem;
    text-align: center;
}

.scroll-product-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scroll-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.scroll-price span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--paragraph-md-color);
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .featured-products-scroll {
        padding: 5rem 0;
    }
    
    .scroll-track {
        gap: 2rem;
    }
    
    .scroll-product-card {
        flex: 0 0 280px;
    }
}

/* --- About Page Styles --- */
.about-details-section {
    padding: 15rem 0 10rem;
    background-color: var(--page-bg-color);
}

.about-card {
    background: white;
    border-radius: 3rem;
    padding: 6rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color);
}

.about-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.about-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--paragraph-md-color);
    font-weight: 400;
}

.about-text p {
    margin-bottom: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.pdv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

/* Stack effect for cards in PDV section */
.wilaya-group {
    margin-bottom: 6rem;
}

/* If there are few cards, center them */
@media (min-width: 992px) {
    .pdv-grid {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    
    .pdv-card {
        margin: 0 -40px; /* Negative margin creates overlap */
        transition: transform 0.4s ease, z-index 0s 0.4s;
        position: relative;
        z-index: 1;
        flex: 0 0 380px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .pdv-card:first-child {
        margin-left: 0;
    }

    .pdv-card:last-child {
        margin-right: 0;
    }

    .pdv-card:hover {
        transform: translateY(-20px) scale(1.05); /* Lifts up and scales slightly */
        z-index: 10; /* Brings to front */
        transition: transform 0.4s ease, z-index 0s;
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }
}

.value-item {
    background: #fdfdfd;
    padding: 4rem;
    border-radius: 2rem;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* --- Contact Page Styles --- */
.contact-info-section {
    padding: 12rem 0 8rem;
    background-color: var(--page-bg-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.info-card {
    background: white;
    padding: 5rem 4rem;
    border-radius: 3rem;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    width: 8rem;
    height: 8rem;
    background: #fdfdfd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
    color: var(--primary-color);
}

.info-icon svg {
    width: 3.5rem;
    height: 3.5rem;
    fill: currentColor;
}

.info-card h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.info-card p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--paragraph-md-color);
}

.form-map-section {
    padding: 5rem 0 10rem;
    background-color: var(--page-bg-color);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    background: white;
    border-radius: 4rem;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.06);
}

.form-column {
    padding: 8rem;
}

.map-column {
    min-height: 500px;
}

.contact-form .form-group {
    margin-bottom: 2.5rem;
}

.contact-form label {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-form .form-control {
    width: 100%;
    padding: 1.8rem 2.5rem;
    border: 1px solid #eef5f1;
    background: #ffffff;
    border-radius: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(61, 167, 100, 0.1);
    outline: none;
}

@media (max-width: 991px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .form-column {
        padding: 5rem 3rem;
    }
    .map-column {
        min-height: 400px;
        order: -1;
    }
}

/* FAQ Styles */
.faq-section {
    padding: 12rem 0;
    background-color: white;
}

.faq-container {
    max-width: 900px;
    margin: 5rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.faq-header {
    padding: 3rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-header h4 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.faq-header:hover h4 {
    color: var(--primary-color);
}

.faq-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg);
}

.faq-content p {
    padding-bottom: 3rem;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--paragraph-md-color);
}

/* --- Premium Footer Styles --- */
.premium-footer,
footer,
footer::before,
.footer-top,
.footer-bottom,
.form-container,
.green-demo-footer,
.deep-orange-footer,
.demo-footer {
    background: #0a0e14 !important;
    background-color: #0a0e14 !important;
    background-image: none !important;
    color: rgb(255, 255, 255);
    font-family: 'Inter', sans-serif;
}

.footer-top {
    padding: 8rem 0 6rem;
    border-bottom: 1px solid #0a0e14 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 6rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 6rem;
    width: auto;
}

.footer-brand-name {
    color: white;
    font-weight: 800;
    font-size: 2.8rem;
    margin-left: 1.5rem;
    letter-spacing: 1px;
}

.footer-about-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 3.5rem;
    max-width: 350px;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 4.5rem;
    height: 4.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: white;
    border-color: white;
    color: var(--secondary-dark-color);
    transform: translateY(-5px);
}

.social-icon svg {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
}

/* --- Premium Section Enhancements --- */

/* Stats Section */
.premium-stats-section {
    padding: 6rem 0;
    background: #fdfdfd;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

@media (max-width: 991px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

.stat-item-pro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.stat-number {
    font-size: 3.2rem; /* Reduced from 4.5rem */
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Values Section */
.premium-values-row {
    display: flex;
    gap: 8rem;
    align-items: center;
}

@media (max-width: 991px) {
    .premium-values-row {
        flex-direction: column;
        gap: 5rem;
    }
}

.values-content {
    flex: 1;
}

.values-image-side {
    flex: 1;
    position: relative;
}

.values-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (max-width: 1200px) {
    .values-list {
        grid-template-columns: 1fr; /* Stack on smaller screens */
        gap: 3rem;
    }
}

.value-card-pro {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 3.5rem;
}

.value-card-pro:hover {
    transform: translateX(10px);
}

.value-icon-pro {
    flex-shrink: 0;
    width: 4.2rem;
    height: 4.2rem;
    background: var(--primary-color-low);
    color: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon-pro svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
}

.value-text-pro h4 {
    font-size: 1.7rem; /* Reduced from 2rem */
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.6rem;
}

.value-text-pro p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--paragraph-md-color);
    margin: 0;
}

/* Modern Pro Button Style */
.btn-pro {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 4rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 5rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.btn-pro:hover::before {
    width: 100%;
}

.btn-pro:hover {
    color: white;
    transform: translateY(-5px);
}

.btn-pro svg {
    transition: transform 0.3s ease;
}

.btn-pro:hover svg {
    transform: translateX(5px);
}


/* CTA Premium Enhancement */
.cta-premium-v2 {
    position: relative;
    padding: 12rem 0;
    background: #0a0e14;
    overflow: hidden;
    color: white;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60rem;
    height: 60rem;
    background: radial-gradient(circle, rgba(186, 20, 31, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-content-v2 {
    position: relative;
    z-index: 5;
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title-v2 {
    font-size: clamp(2.8rem, 4vw, 4rem); /* Reduced from 3.2rem, 5vw, 5.5rem */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.copyright-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center; /* Center flex items horizontally */
    text-align: center; /* Center text */
    width: 100%; /* Ensure it takes full width to center properly if parent is flex */
}

.developer-credit {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.cta-subtitle-v2 {
    font-size: 1.6rem; /* Reduced from 2rem */
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    line-height: 1.6;
}

.cta-btn-pro {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem 4.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 10rem;
    font-size: 1.6rem; /* Reduced from 1.8rem */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: none; /* Removed shadow */
}

.cta-btn-pro:hover {
    transform: translateY(-5px);
    box-shadow: none; /* Removed shadow */
    background: white;
    color: var(--primary-color);
}

.cta-btn-pro svg {
    transition: transform 0.3s ease;
}

.cta-btn-pro:hover svg {
    transform: translateX(5px);
}

.footer-heading {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 3rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.918);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
    transform: translateX(8px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    font-size: 1.5rem;
    line-height: 1.5;
}

.contact-item svg {
    width: 2.2rem;
    height: 2.2rem;
    fill: white;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 3rem 0;
    font-size: 1.4rem;
}

.bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-links {
    display: flex;
    gap: 3rem;
}

.bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: white;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5rem;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 2rem !important;
    }

    .footer-about-text {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-heading {
        margin-bottom: 2.5rem;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        transform: translateY(-3px);
    }

    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .bottom-wrapper {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }
}

/* Global Helper Styles */
.bg-shape {
    display: none; /* Removed as it was causing layout issues */
}

/* --- Header & Logo Size Adjustments --- */
/* Forcing identical sizing between initial and scrolled states to prevent any jump */
header .header-wrapper,
header.scrolled .header-wrapper {
    height: 100px !important;
}

header .logo span,
header.scrolled .logo span {
    font-size: 1.8rem !important;
    gap: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    font-weight: 700 !important;
}

header .logo span img,
header.scrolled .logo span img {
    height: 50px !important;
    width: auto !important;
    transition: none !important; /* Disable transition to prevent "jitter" during scroll */
}

@media (max-width: 991px) {
    header .header-wrapper {
        height: 100px !important;
    }
    header .logo span img {
        height: 60px !important;
    }
    header .logo span {
        font-size: 2rem !important;
    }
}

/* --- Footer & Hamburger Logo Adjustments --- */

.hamburger.direction-right .icon-box {
    width: 10rem !important;
    height: 10rem !important;
    top: -40px !important;
}

.hamburger.direction-right .logo-icon {
    height: 5rem !important;
}

/* Imported from style.scss */
/* --- General Reset & Base Styles --- */
        :root {
            --sp-font-family: 'Inter Tight', sans-serif;
            --sp-color-dark-bg: #222222;
            --sp-color-light-text: #e5e5e5;
            --sp-color-white: #ffffff;
            --sp-color-orange: #f15a29;
            --sp-color-gray-text: #666666;
            --sp-border-radius-pill: 50px;
            --sp-border-radius-card: 24px;
            --sp-container-width: 1240px;
            --sp-header-height: 72px;
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--sp-font-family);
            background-color: #f4f4f4;
            color: var(--sp-color-dark-bg);
            line-height: 1.5;
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }

        /* --- Floating Header Styles --- */
        .sp-header-wrapper {
            position: fixed;
            top: 24px;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 0 20px;
            display: flex;
            justify-content: center;
        }

        .sp-header {
            background-color: var(--sp-color-dark-bg);
            color: var(--sp-color-light-text);
            height: var(--sp-header-height);
            width: 100%;
            max-width: var(--sp-container-width);
            border-radius: var(--sp-border-radius-pill);
            display: flex;
            align-items: center;
            padding: 0 5px 0px 32px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.25);
            position: relative;
        }

        .sp-header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .sp-logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--sp-color-white);
            letter-spacing: -0.8px;
            margin-right: 40px;
            white-space: nowrap;
        }

        /* Navigation */
        .sp-nav { height: 100%; }
        .sp-nav-list { display: flex; height: 100%; align-items: center; gap: 8px; }
        
        .sp-nav-item {
            height: 100%;
            display: flex;
            align-items: center;
            position: static;
        }

        .sp-nav-link {
            padding: 8px 14px;
            font-weight: 500;
            font-size: 0.95rem;
            color: var(--sp-color-light-text);
            border-radius: 20px;
            transition: all 0.2s ease;
            position: relative;
        }

        .sp-nav-link:hover,
        .sp-nav-item:hover .sp-nav-link {
            color: var(--sp-color-white);
            background-color: rgba(255,255,255,0.1);
        }

        /* --- Mega Menu Dropdown --- */
        .sp-mega-menu {
            position: absolute;
            top: calc(var(--sp-header-height) + 12px);
            left: 0;
            width: 100%;
            background-color: var(--sp-color-white);
            border-radius: var(--sp-border-radius-card);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            padding: 30px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            z-index: 999;
            color: var(--sp-color-dark-bg);
            overflow: hidden;
        }

        .sp-nav-item:hover .sp-mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .sp-mega-menu-content {
            display: flex;
            gap: 40px;
        }

        /* Mega Menu Layout Components */
        .sp-mega-image-card {
            flex: 0 0 320px;
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            height: 400px;
            background-color: #eee;
        }

        .sp-mega-image-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .sp-nav-item:hover .sp-mega-image-card img {
            transform: scale(1.05);
        }

        .sp-image-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
            color: var(--sp-color-white);
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .sp-image-text h3 {
            font-size: 1.6rem;
            font-weight: 700;
            line-height: 1.1;
            margin-top: 8px;
        }

        .sp-mega-links-section {
            flex: 1;
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
        }

        .sp-mega-col { flex: 1; padding-right: 20px; }
        
        .sp-col-title {
            font-size: 0.75rem;
            font-weight: 700;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            margin-bottom: 24px;
        }

        .sp-mega-list { display: flex; flex-direction: column; gap: 18px; }

        /* Rich Link Block */
        .sp-mega-link-block {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 10px;
            margin: -10px;
            border-radius: 12px;
            transition: background-color 0.2s ease;
        }

        .sp-mega-link-block:hover {
            background-color: #f9f9f9;
        }

        .sp-mega-icon {
            width: 44px;
            height: 44px;
            border-radius: 8px;
            background-color: #fff0eb;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--sp-color-orange);
            font-size: 1.2rem;
            font-weight: bold;
            flex-shrink: 0;
        }

        .sp-link-content strong {
            display: block;
            font-weight: 600;
            margin-bottom: 4px;
            color: var(--sp-color-dark-bg);
            font-size: 1rem;
        }

        .sp-link-content p {
            font-size: 0.85rem;
            color: var(--sp-color-gray-text);
            line-height: 1.4;
        }

        /* Simple List */
        .sp-simple-list li a {
            font-weight: 500;
            color: #444;
            font-size: 0.95rem;
            display: block;
            padding: 4px 0;
        }
        .sp-simple-list li a:hover { color: var(--sp-color-orange); }

        /* Header Actions */
        .sp-header-actions {
            display: flex;
            align-items: center;
            gap: 24px;
            margin-left: auto;
        }

        .sp-login-btn {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--sp-color-light-text);
        }
        .sp-login-btn:hover { color: var(--sp-color-white); }

        .sp-cta-btn {
            background-color: var(--primary-color) !important;
            color: var(--sp-color-white);
            padding: 20px 40px; /* Increased padding */
            border-radius: 30px;
            font-weight: 600;
            font-size: 1.1rem; /* Increased size */
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        .sp-cta-btn:hover {
            background-color: #f8be13c6 !important; /* Darker shade of primary red */
            transform: translateY(-1px);
        }

        /* Mobile Toggle */
        .sp-mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }
        .sp-mobile-toggle span {
            width: 24px; 
            height: 2px; 
            background-color: white;
            transition: all 0.3s ease;
        }

        /* Mobile Menu */
        .sp-mobile-menu {
            display: none;
            position: fixed;
            top: calc(var(--sp-header-height) + 48px);
            left: 20px;
            right: 20px;
            background-color: var(--sp-color-white);
            border-radius: 24px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
            padding: 24px;
            z-index: 999;
            max-height: calc(100vh - var(--sp-header-height) - 80px);
            overflow-y: auto;
        }

        .sp-mobile-menu.active {
            display: block;
        }

        .sp-mobile-nav-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .sp-mobile-nav-item {
            border-bottom: 1px solid #eee;
            padding-bottom: 8px;
        }

        .sp-mobile-nav-item:last-child {
            border-bottom: none;
        }

        .sp-mobile-nav-link {
            display: block;
            padding: 12px;
            font-weight: 600;
            color: var(--sp-color-dark-bg);
            font-size: 1.1rem;
        }

        .sp-mobile-actions {
            display: none;
            flex-direction: column;
            gap: 12px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid #eee;
        }

        .sp-mobile-actions a {
            text-align: center;
            display: block;
        }

        /* --- Hero Section --- */
        .sp-hero {
            position: relative;
            height: 100vh;
            min-height: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--sp-color-white);
            overflow: hidden;
            padding: 120px 20px 80px;
        }

        .sp-hero-video {
            position: absolute;
            top: 50%; 
            left: 50%;
            min-width: 100%; 
            min-height: 100%;
            width: auto; 
            height: auto;
            z-index: -2;
            transform: translate(-50%, -50%);
            object-fit: cover;
        }

        .sp-hero-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: -1;
        }

        .sp-hero-content {
            z-index: 1;
            max-width: 800px;
            padding: 20px;
            opacity: 0;
            animation: spFadeUp 1s ease forwards 0.5s;
        }

        .sp-hero-eyebrow {
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 1.3rem; /* Increased size */
            font-weight: 700;
            margin-bottom: 24px;
            display: block;
            opacity: 1;
            color: var(--primary-color) !important;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }

        .sp-hero-title {
            font-size: 5.5rem;
            font-weight: 600;
            letter-spacing: -2px;
            margin-bottom: 24px;
            line-height: 1.05;
            text-shadow: 0 4px 30px rgba(0,0,0,0.4);
        }

        .sp-hero-subtitle {
            color: var(--sp-color-white);
            font-size: 1.8rem; /* Increased size */
            font-weight: 400;
            margin-bottom: 48px;
            opacity: 0.95;
            max-width: 800px; /* Increased width to accommodate larger text */
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
            text-shadow: 0 2px 20px rgba(0,0,0,0.4);
        }

        @keyframes spFadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hero-cta {
            display: inline-flex;
            align-items: center;
            gap: 1.5rem;
            padding: 1.6rem 4rem;
            background: var(--primary-color);
            color: white !important;
            border-radius: 5rem;
            font-weight: 600;
            font-size: 1.5rem;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
        }

        .hero-cta:hover {
            transform: translateY(-5px);
            background: white;
            color: var(--primary-color) !important;
        }

        .hero-cta svg {
            transition: transform 0.3s ease;
        }

        .hero-cta:hover svg {
            transform: translateX(5px);
        }

        /* Tablet Responsive */
        @media (max-width: 1100px) {
            .sp-mega-menu-content {
                gap: 24px;
            }

            .sp-mega-image-card {
                flex: 0 0 240px;
                height: 320px;
            }

            .sp-mega-col {
                padding-right: 12px;
            }

            .sp-hero-title {
                font-size: 3rem;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            :root {
                --sp-header-height: 60px;
            }

            .sp-header-wrapper { 
                top: 12px; 
                padding: 0 12px; 
            }

            .sp-header { 
                padding: 0 20px; 
                height: 60px;
                border-radius: 30px;
            }

            .sp-logo {
                font-size: 1.3rem;
                margin-right: 0;
            }

            .sp-nav { 
                display: none; 
            }

            .sp-header-actions { 
                display: none; 
            }

            .sp-mobile-toggle { 
                display: flex; 
                margin-left: auto; 
            }

            .sp-mobile-actions {
                display: flex;
            }

            /* Hero Mobile Styles */
            .sp-hero {
                min-height: 500px;
                padding: 100px 16px 60px;
            }

            .sp-hero-eyebrow {
                font-size: 0.75rem;
                letter-spacing: 1.5px;
            }

            .sp-hero-title {
                font-size: 2.2rem;
                margin-bottom: 16px;
                letter-spacing: -0.5px;
            }

            .sp-hero-subtitle {
                font-size: 1rem;
                margin-bottom: 32px;
                line-height: 1.6;
            }

            .sp-hero-content .sp-cta-btn {
                padding: 14px 32px !important;
                font-size: 1rem !important;
            }
        }

        /* Small Mobile */
        @media (max-width: 480px) {
            .sp-header-wrapper {
                padding: 0 8px;
                top: 8px;
            }

            .sp-header {
                padding: 0 16px;
            }

            .sp-logo {
                font-size: 1.2rem;
            }

            .sp-mobile-menu {
                left: 8px;
                right: 8px;
                top: calc(var(--sp-header-height) + 24px);
            }

            .sp-hero-title {
                font-size: 1.8rem;
            }

            .sp-hero-subtitle {
                font-size: 0.95rem;
            }

            .sp-hero {
                min-height: 450px;
            }
        }
/* --- Scroll To Top Override (Blue Theme) --- */
.scrollToTopBtn {
    background-color: var(--secondary-color) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.scrollToTopBtn:hover {
    background-color: white !important;
    fill: var(--secondary-color) !important;
}

.scrollToTopBtn svg {
    fill: white !important;
}

.scrollToTopBtn:hover svg {
    fill: var(--secondary-color) !important;
}

/* --- Header Icons Neutral Override (Remove Red) --- */
header .header-cart .cart-btn,
.search-icon {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .header-cart .cart-btn:hover,
.search-icon:hover {
    background: white !important;
    color: var(--secondary-color) !important;
    border-color: white !important;
}

header .header-cart .cart-btn svg,
.search-icon svg {
    fill: white !important;
}

header .header-cart .cart-btn:hover svg,
.search-icon:hover svg {
    fill: var(--secondary-color) !important;
}

/* Scrolled Header State */
header.scrolled .header-cart .cart-btn,
header.scrolled .search-icon {
    background: rgba(16, 37, 33, 0.05) !important;
    border-color: rgba(16, 37, 33, 0.1) !important;
    color: var(--secondary-color) !important;
}

header.scrolled .header-cart .cart-btn:hover,
header.scrolled .search-icon:hover {
    background: var(--primary-color) !important; /* Red on hover is okay? Or should be blue? Let's use blue */
    background: var(--secondary-color) !important; 
    border-color: var(--secondary-color) !important;
    color: white !important;
}

header.scrolled .header-cart .cart-btn svg,
header.scrolled .search-icon svg {
    fill: var(--secondary-color) !important;
}

header.scrolled .header-cart .cart-btn:hover svg,
header.scrolled .search-icon:hover svg {
    fill: white !important;
}
/* --- Moving Text Color Fix --- */
.outline-heading {
    color: rgba(186, 20, 31, 0.09) !important; /* Low opacity red fill */
    text-shadow: none !important; /* Remove the outline/border effect completely */
    -webkit-text-stroke: 0 !important;
}

/* --- CONSOLIDATED PREMIUM COMPONENT STYLES --- */

/* Hero Sections Varied */
.products-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/aluminum_radiator.png') no-repeat center center/cover;
    min-height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/street_lighting.png') no-repeat center center/cover;
    min-height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
}



.hero-white-text {
    color: white !important;
}

.hero-subtitle-text {
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto;
    font-size: 2rem;
    line-height: 1.8;
}

/* Page Layout Utilities */
.section-padding { padding: 10rem 0; }
.bg-white { background: #fff !important; }
.alt-bg { background: var(--bg-color-2) !important; }
.premium-bg { background: var(--bg-color-2); padding: 8rem 0; }

/* Product Grid (Gallery Page) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 6rem;
}

@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 576px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* Compact Pro Card */
.pro-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.pro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.pro-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f8f8f8;
}

.pro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pro-card:hover .pro-image img { transform: scale(1.1); }

.pro-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.pro-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.pro-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.3s;
}

.pro-card:hover .pro-title { color: var(--primary-color); }

.pro-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pro-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f2f2f2;
}

.pro-price-tag { display: flex; flex-direction: column; }
.pro-price { font-size: 1.7rem; font-weight: 800; color: #1a1a1a; }
.pro-currency { font-size: 1rem; font-weight: 600; color: #999; text-transform: uppercase; }

.pro-footer { 
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f2f2f2;
}

.pro-footer form {
    display: contents;
}

.pro-footer-row-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pro-footer-row-2 {
    display: flex;
    gap: 0.8rem;
}

.pro-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cart-btn {
    background: var(--primary-color);
    color: white;
}

.cart-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.details-btn {
    background: #1a1a1a;
    color: white;
}

.details-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.pro-actions { 
    display: flex; 
    flex-direction: row;
    gap: 0.8rem; 
    align-items: center;
    flex-wrap: wrap;
}

.quantity-cart-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quantity-selector-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.quantity-controls-inline {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quantity-btn-inline {
    width: 26px;
    height: 26px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.4rem;
    color: #1a1a1a;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn-inline:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input-inline {
    width: 36px;
    height: 26px;
    border: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.quantity-input-inline:focus {
    outline: none;
}

.add-cart-btn {
    background: var(--primary-color);
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    color: white;
    transition: 0.3s;
}

.pro-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.6rem 1.1rem;
    background: #1a1a1a;
    color: white;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.add-cart-btn:hover { transform: scale(1.1); background: #1a1a1a; }
.pro-card:hover .pro-cta-btn { background: var(--primary-color); transform: scale(1.02); }

/* Cart Page Styles */
.cart-section { padding: 12rem 0; background: #fcfcfc; }
.cart-container { max-width: 1000px; margin: 0 auto; }
.cart-header { margin-bottom: 5rem; text-align: center; }
.cart-table {
    width: 100%;
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 4rem;
}
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th { background: #f8f8f8; padding: 2rem; text-align: left; font-weight: 700; font-size: 1.4rem; text-transform: uppercase; }
.cart-table td { padding: 2.5rem 2rem; border-bottom: 1px solid #f2f2f2; vertical-align: middle; }

.cart-product { display: flex; align-items: center; gap: 2rem; }
.cart-product-img { width: 80px; height: 80px; border-radius: 1rem; overflow: hidden; background: #f8f8f8; }
.cart-product-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-name { font-weight: 700; font-size: 1.6rem; color: #1a1a1a; }
.cart-price, .cart-total-price { font-size: 1.6rem; font-weight: 600; color: #1a1a1a; }
.cart-quantity { font-size: 1.6rem; font-weight: 600; }

.remove-btn { color: #ff4d4d; background: none; border: none; cursor: pointer; transition: 0.3s; }
.remove-btn:hover { transform: scale(1.1); }

.cart-summary { background: #fff; padding: 4rem; border-radius: 2rem; box-shadow: 0 10px 40px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 2rem; font-size: 1.8rem; }
.summary-total { margin-top: 2rem; padding-top: 2rem; border-top: 2px solid #f2f2f2; font-weight: 800; font-size: 2.4rem; color: var(--primary-color); }

.quote-form { margin-top: 4rem; }
.quote-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.quote-form-msg { margin-top: 2rem; }
.quote-form input, .quote-form textarea { width: 100%; padding: 1.5rem 2rem; border-radius: 1rem; border: 1px solid #eee; background: #f9f9f9; font-size: 1.5rem; transition: 0.3s; }
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--primary-color); background: #fff; outline: none; }
.cart-submit-btn { width: 100%; justify-content: center; padding: 2rem; }

.empty-cart { text-align: center; padding: 10rem 0; }
.empty-cart-icon { font-size: 8rem; margin-bottom: 3rem; opacity: 0.2; }

/* Showcase Utility Styles */
.showcase-header { max-width: 800px; margin: 0 auto 6rem; }
.showcase-desc { font-size: 1.8rem; color: var(--paragraph-color); }
.expert-title { font-size: 3rem; margin-bottom: 2rem; }
.expert-desc { max-width: 700px; margin: 0 auto 4rem; font-size: 1.8rem; }

/* Index Specific Refinements */
.scroll-product-title { font-size: 2rem; margin-bottom: 1rem; }
.value-title { margin-bottom: 2.5rem; }
.value-intro { font-size: 1.5rem; line-height: 1.8; color: var(--paragraph-md-color); margin-bottom: 4.5rem; border-left: 3px solid var(--primary-color); padding-left: 2.5rem; max-width: 600px; }
.value-cta-wrapper { margin-top: 5rem; }
.values-main-img { width: 100%; border-radius: 3rem; box-shadow: none; border: 1px solid #f2f2f2; }

.expertise-header { margin-bottom: 8rem; }
.expertise-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.expertise-icon { font-size: 4rem; margin-bottom: 2rem; }
.expertise-title { font-size: 2.2rem; margin-bottom: 2rem; }
.expertise-desc { font-size: 1.6rem; opacity: 0.8; }

/* Contact Page Refinements */
.quick-contact-heading { margin-bottom: 2rem; display: block; }
.contact-title { font-size: 3.5rem; text-align: left; margin-bottom: 4rem; }
.contact-submit-btn { width: 100%; padding: 2rem; }

/* About Page Specifics */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/aluminum_injection_factory.png') no-repeat center center/cover;
    min-height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.about-intro-row { display: flex; flex-wrap: wrap; gap: 5rem; }
.about-intro-text-col { flex: 1; min-width: 300px; }
.about-intro-title { margin-bottom: 3rem; }
.about-intro-desc { font-size: 1.8rem; line-height: 1.8; color: var(--paragraph-color); }
.about-intro-img-col { flex: 1; min-width: 300px; }
.intro-img-wrapper { position: relative; border-radius: 2rem; overflow: hidden; box-shadow: 30px 30px 0 var(--border-color-1); }
.intro-img { width: 100%; display: block; }

/* Timeline Styling */
.timeline-container { position: relative; margin-top: 5rem; }
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--border-color-1);
    transform: translateX(-50%);
}

.timeline-item { display: flex; justify-content: flex-end; padding-right: 50%; position: relative; margin-bottom: 5rem; width: 100%; }
.timeline-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: 50%; }

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--heading-color);
    border: 4px solid var(--bg-color-1);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-content {
    width: 80%;
    padding: 3rem;
    background: var(--bg-color-2);
    border: 1px solid var(--border-color-1);
    border-radius: 1.5rem;
    position: relative;
    margin: 0 3rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--heading-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.timeline-year { font-size: 1.4rem; font-weight: 700; color: var(--heading-color); margin-bottom: 0.5rem; display: block; }
.timeline-title { font-size: 2.2rem; margin-bottom: 1.5rem; }
.timeline-desc { font-size: 1.6rem; color: var(--paragraph-color); }

@media (max-width: 768px) {
    .timeline-container::before { left: 30px; }
    .timeline-item { justify-content: flex-start; padding-left: 60px; padding-right: 0; }
    .timeline-item:nth-child(even) { padding-left: 60px; }
    .timeline-dot { left: 30px; }
    .timeline-content { width: 100%; margin: 0; }
}

.expertise-list {
    margin-bottom: 16rem;
}

.exp-item {
    margin-bottom: 15rem;
}

/* Values Card Styling */
.values-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-top: 5rem; }
.value-card {
    background: var(--bg-color-2);
    padding: 4rem 3rem;
    border-radius: 2rem;
    text-align: center;
    border: 1px solid var(--border-color-1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card:hover { border-color: var(--heading-color); transform: translateY(-10px); }
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--heading-color), transparent);
    opacity: 0;
    transition: 0.3s;
}

.value-card:hover::before { opacity: 1; }
.value-icon { width: 60px; height: 60px; margin: 0 auto 2.5rem; color: var(--heading-color); }
.value-card-title { font-size: 2.2rem; margin-bottom: 2rem; }
.value-card-desc { font-size: 1.6rem; color: var(--paragraph-color); opacity: 0.8; }

/* Stats Banner Styling */
.stats-banner { background: var(--bg-color-2); border-top: 1px solid var(--border-color-1); border-bottom: 1px solid var(--border-color-1); padding: 6rem 0; margin: 5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4rem; text-align: center; }
.stat-item h3 { font-size: 5rem; font-weight: 800; color: var(--heading-color); margin-bottom: 1rem; }
.stat-item p { font-size: 1.6rem; text-transform: uppercase; letter-spacing: 2px; color: var(--paragraph-color); }

/* Expertise List Refinements */
.exp-item { margin-bottom: 3rem; padding-left: 3rem; border-left: 3px solid var(--heading-color); }
.exp-title { font-size: 2rem; margin-bottom: 1rem; }
.exp-desc { font-size: 1.6rem; color: var(--paragraph-color); }

/* Impact Section Refinements */
.about-impact-col { flex: 1; min-width: 300px; }
.about-impact-box { background: var(--bg-color-1); padding: 5rem; border-radius: 3rem; border: 1px solid var(--border-color-1); }
.impact-title { font-size: 3rem; margin-bottom: 2rem; }
.impact-desc { font-size: 1.8rem; margin-bottom: 3rem; line-height: 1.6; }

/* --- FAQ Section Premium Styles --- */
.faq-section {
    padding: 10rem 0;
    background-color: #fcfcfc;
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 900px;
    margin: 6rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.faq-item {
    background: #fff;
    border-radius: 2rem;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.08);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(241, 90, 41, 0.08); /* Assuming orange primary */
    transform: translateY(-3px);
}

.faq-header {
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    transition: background-color 0.3s ease;
    gap: 2rem;
}

.faq-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color, #1a1a1a);
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.faq-item.active .faq-header h4 {
    color: var(--primary-color);
}

.faq-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #666;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.faq-item:hover .faq-icon {
    background: #eee;
    color: #333;
}

.faq-item.active .faq-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
    opacity: 0;
}

.faq-item.active .faq-content {
    max-height: 1000px; /* Accommodate long content */
    opacity: 1;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.faq-content p {
    padding: 0 4rem 4rem;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--paragraph-color, #555);
    margin: 0;
}

@media (max-width: 768px) {
    .faq-header {
        padding: 2.4rem;
    }
    .faq-header h4 {
        font-size: 1.6rem;
    }
    .faq-content p {
        padding: 0 2.4rem 2.4rem;
        font-size: 1.5rem;
    }
}

/* --- Points de Vente Page Styles --- */

/* PDV Navigation */
.pdv-nav-wrapper {
    position: sticky;
    top: 110px;
    z-index: 90;
    margin-top: -3.5rem; /* Slight overlap */
    margin-bottom: 5rem;
    padding: 0 1rem;
    background: transparent;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.pdv-nav {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 95%;
    overflow-x: auto;
    pointer-events: auto;
    scrollbar-width: none;
}

.pdv-nav::-webkit-scrollbar { display: none; }

.pdv-nav-item {
    padding: 1rem 2.8rem;
    background: #f4f4f4;
    border-radius: 50px;
    color: var(--heading-color);
    font-weight: 700;
    font-size: 1.4rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.pdv-nav-item:hover,
.pdv-nav-item.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 90, 41, 0.3);
}

.pdv-nav-item.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(241, 90, 41, 0.3);
    transform: translateY(-2px);
}

.pdv-section {
    padding-top: 5rem;
    padding-bottom: 10rem;
    background-color: #fafafa;
}

.wilaya-group {
    margin-bottom: 8rem; /* Distinct separation */
    scroll-margin-top: 180px; /* Offset for sticky header */
}

.wilaya-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--heading-color);
    position: relative;
    padding-left: 2rem;
}

.wilaya-title::before {
    content: '';
    position: absolute;
    left: 0;
    height: 100%;
    width: 6px;
    background: var(--primary-color);
    border-radius: 4px;
}

.wilaya-icon {
    display: none; /* Removed based on "cleaner" look */
}

.pdv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
    gap: 3rem;
}

.pdv-card {
    background: white;
    border-radius: 2.4rem;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.02); /* Very subtle initially */
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pdv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); /* Lift effect */
    border-color: transparent;
}

.pdv-image {
    height: 240px; /* Taller image */
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
}

.pdv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pdv-card:hover .pdv-image img {
    transform: scale(1.08);
}

.pdv-status {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pdv-status.active {
    background-color: #ffffff;
    color: #00b84f;
}

.pdv-status.closed {
    background-color: #ffffff;
    color: #ff4d4d;
}

.pdv-content {
    padding: 3.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pdv-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--heading-color);
    line-height: 1.3;
}

.pdv-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 3.5rem;
    flex-grow: 1;
}

.pdv-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    font-size: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.pdv-info-item svg {
    width: 2.2rem;
    height: 2.2rem;
    flex-shrink: 0;
    fill: var(--primary-color);
    opacity: 1;
}

.pdv-info-item a {
    color: inherit;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.pdv-info-item a:hover {
    color: var(--heading-color);
    border-bottom-color: var(--heading-color);
}

.pdv-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
    padding: 1.6rem;
    background-color: white;
    color: var(--heading-color);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 1.4rem;
    border: 2px solid #eee;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.pdv-map-btn:hover {
    background-color: var(--heading-color);
    color: white;
    border-color: var(--heading-color);
}

.pdv-map-btn svg {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.pdv-map-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
    .pdv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pdv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .wilaya-title {
        font-size: 2.4rem;
        margin-bottom: 3rem;
        padding-left: 1.5rem;
    }
    .pdv-card {
        border-radius: 2rem;
    }
    .pdv-content {
        padding: 2.5rem;
    }
}

/* --- Arabic Version (RTL) Enhancements --- */
[dir="rtl"] {
    --jakarta-font-family: 'Cairo', sans-serif !important;
    --main-heading-font-size: 3.6rem !important; /* Reduced from 4.8rem */
    --heading-font-size: 3.6rem !important;
    --title-lg-font-size: 3rem !important;
    --title-md-font-size: 2.4rem !important;
    --paragraph-font-size: 1.5rem !important;
}

[dir="rtl"], 
[dir="rtl"] body, 
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] p, [dir="rtl"] span, [dir="rtl"] a, [dir="rtl"] li,
[dir="rtl"] .main-heading,
[dir="rtl"] .sp-hero-title,
[dir="rtl"] .hero-subtitle-text,
[dir="rtl"] .product-title,
[dir="rtl"] .about-title,
[dir="rtl"] .timeline-title,
[dir="rtl"] .value-card-title,
[dir="rtl"] .navigation-menu .menu-item a,
[dir="rtl"] .btn,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] label {
    font-family: 'Cairo', sans-serif !important;
}

[dir="rtl"] .navigation-menu .menu-item a {
    font-size: 1.4rem !important; /* Reduced from 1.6rem */
    font-weight: 600 !important;
}

[dir="rtl"] .sp-hero-title {
    font-size: 3.8rem !important;
    line-height: 1.3 !important;
}

[dir="rtl"] .main-heading {
    font-size: 3.2rem !important;
}

[dir="rtl"] .sp-hero-eyebrow {
    font-size: 1.4rem !important;
    letter-spacing: 0 !important;
}

[dir="rtl"] .sub-heading {
    letter-spacing: 0 !important;
    font-size: 1.3rem !important;
}

[dir="rtl"] .footer-heading {
    font-size: 1.8rem !important;
}

[dir="rtl"] .pdv-name, [dir="rtl"] .wilaya-title {
    font-size: 1.8rem !important;
}

[dir="rtl"] .about-intro-title {
    font-size: 2.8rem !important;
}


/* --- New Contact Page Enhancements --- */

.section-block {
    margin-bottom: 8rem;
}

.block-title {
    font-size: 3rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.block-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* PDV Grid */
.pdv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.pdv-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem;
    border: 1px solid rgba(0,0,0,0.05);
    background: linear-gradient(145deg, #ffffff 0%, #fcfcfc 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.pdv-card .info-icon {
    margin: 0 0 2rem 0;
    width: 6rem;
    height: 6rem;
}

.pdv-card .info-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.pdv-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.pdv-address {
    font-size: 1.5rem;
    color: var(--paragraph-md-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pdv-label {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.pdv-phone {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    direction: ltr; /* Force LTR for phone numbers */
}

/* Split Grid for Contact Info */
.info-grid-split {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .info-grid-split {
        grid-template-columns: 1fr;
    }
}

.wide-card {
    text-align: left;
    padding: 5rem;
}

.card-header-icon {
    width: 6rem;
    height: 6rem;
    background: rgba(248, 190, 19, 0.1);
    color: var(--primary-color);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.card-header-icon svg {
    width: 2.8rem;
    height: 2.8rem;
    fill: currentColor;
}

/* Departments List */
.contact-departments-list {
    margin-top: 3rem;
}

.bottom-wrapper {
    display: flex;
    justify-content: center; /* Changed from space-between to center */
    align-items: center;
    padding: 3rem 0;
}

.dept-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dept-item:last-child {
    border-bottom: none;
}

.dept-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.dept-phone {
    font-size: 1.6rem;
    color: var(--paragraph-md-color);
    font-family: var(--jakarta-font-family);
    font-weight: 500;
    direction: ltr; /* Force LTR for phone numbers */
}

.dept-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.dept-phones span {
    font-size: 1.6rem;
    color: var(--paragraph-md-color);
    direction: ltr; /* Force LTR for phone numbers */
}

.dept-address {
    font-size: 1.5rem;
    color: var(--paragraph-md-color);
    text-align: right;
    max-width: 60%;
    line-height: 1.5;
}

/* Social Buttons */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    background: #f8f9fa;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-btn svg {
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 1.5rem;
    fill: currentColor;
}

.social-btn:hover {
    transform: translateX(5px);
}

.social-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-btn.instagram:hover {
    background: #E1306C;
    color: white;
}

/* =====================================================================
   GALLERY SECTION
   ===================================================================== */
.gallery-section {
    background: #f7f8fa;
    overflow: hidden;
}

.gallery-header {
    margin-bottom: 4rem;
}

.gallery-swiper-wrapper {
    padding: 1rem 0 4rem;
    position: relative;
}

/* Swiper container */
.gallerySwiper {
    width: 100%;
    padding: 1rem 2rem 3.5rem !important;
    overflow: visible !important;
}

/* Each card */
.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.gallery-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.06);
}

/* Hover overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(186, 20, 31, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-zoom-icon {
    transform: scale(1);
}

/* Caption */
.gallery-title {
    text-align: center;
    padding: 1.2rem 1.4rem 1.4rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color, #2A3359);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation buttons */
.gallery-btn-next,
.gallery-btn-prev {
    color: var(--primary-color, #ba141f) !important;
    background: #fff !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
    transition: background 0.25s, color 0.25s !important;
}

.gallery-btn-next:after,
.gallery-btn-prev:after {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
}

.gallery-btn-next:hover,
.gallery-btn-prev:hover {
    background: var(--primary-color, #ba141f) !important;
    color: #fff !important;
}

/* ── LIGHTBOX ─────────────────────────────────────────────────────────── */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 20, 0.88);
    backdrop-filter: blur(6px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img-container {
    text-align: center;
    flex: 1;
}

.lightbox-img-container img {
    max-width: 78vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
    transition: opacity 0.2s ease;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.5rem;
    margin-top: 1.4rem;
    font-weight: 500;
}

.lightbox-counter {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    white-space: nowrap;
}

/* Close / nav buttons */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color, #ba141f);
    transform: scale(1.08);
}

.lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    width: 40px;
    height: 40px;
}

@media (max-width: 767px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-img-container img {
        max-width: 88vw;
    }

    .lightbox-close {
        top: -3.5rem;
        right: 0.5rem;
    }

    .gallery-btn-next,
    .gallery-btn-prev {
        display: none !important;
    }
}

