/* J V Electricals India Pvt. Ltd. - Custom Styles */

:root {
    --jve-red: #e85d5d;
    --jve-red-dark: #d64545;
    --jve-red-light: #fef2f2;
    --jve-blue: #3b5998;
    --jve-blue-dark: #2d4373;
    --jve-blue-light: #f0f4fa;
    --jve-white: #ffffff;
    --jve-gray: #f8fafc;
    --jve-dark: #1e293b;
    --jve-text: #475569;
    --jve-text-dark: #334155;
    --jve-light-gray: #e2e8f0;
    --jve-border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--jve-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--jve-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--jve-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--jve-blue-dark);
}

/* Header & Navigation */
.navbar {
    background: linear-gradient(135deg, var(--jve-blue) 0%, #4a6fa5 100%);
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(59, 89, 152, 0.15);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(59, 89, 152, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 50px;
    height: 50px;
    background: var(--jve-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.brand-text {
    color: white;
}

.brand-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.brand-text span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(220, 38, 38, 0.8);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--jve-blue) 0%, #4a6fa5 50%, #5a7fb5 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(232, 93, 93, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    color: var(--jve-red);
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.hero-feature i {
    color: var(--jve-red);
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-jve-primary {
    background: var(--jve-red);
    color: white;
    padding: 0.9rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid var(--jve-red);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-jve-primary:hover {
    background: var(--jve-red-dark);
    border-color: var(--jve-red-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-jve-outline {
    background: transparent;
    color: white;
    padding: 0.9rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-jve-outline:hover {
    background: white;
    color: var(--jve-blue);
    border-color: white;
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-image {
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.1);
}

.hero-stats {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease 1s both;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--jve-red);
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: var(--jve-text);
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    background: rgba(220, 38, 38, 0.1);
    color: var(--jve-red);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--jve-text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: var(--jve-gray);
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--jve-text-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #555;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature i {
    width: 45px;
    height: 45px;
    background: var(--jve-red);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--jve-text-dark);
    margin-bottom: 0.3rem;
}

.about-feature p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Products Section */
.products-section {
    background: white;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(30, 58, 95, 0.15);
}

/* Product Image Carousel */
.product-image-carousel {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--jve-red);
    width: 20px;
    border-radius: 4px;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--jve-red);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--jve-text-dark);
    margin-bottom: 0.8rem;
}

.product-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    font-size: 0.85rem;
    color: #555;
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.product-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--jve-red);
    font-size: 0.75rem;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, var(--jve-blue) 0%, #4a6fa5 100%);
    color: white;
}

.features-section .section-title {
    color: white;
}

.features-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.feature-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
}

.feature-box:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--jve-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.feature-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: white;
}

.feature-box p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    background: var(--jve-gray);
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    color: white;
}

.gallery-overlay-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.gallery-overlay-content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: white;
}

.contact-info-card {
    background: var(--jve-blue);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: rgba(255,255,255,0.8);
}

.contact-item p {
    font-size: 1rem;
    margin: 0;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--jve-red);
}

.contact-form-wrapper {
    background: var(--jve-gray);
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jve-text-dark);
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 0.9rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--jve-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.15);
}

.form-label {
    font-weight: 500;
    color: var(--jve-text-dark);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--jve-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand .brand-logo {
    margin-bottom: 1rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--jve-red);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.75rem;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--jve-red);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--jve-red);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--jve-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--jve-red-dark);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 2rem;
    }
    
    .navbar-collapse {
        background: rgba(30, 58, 95, 0.98);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 100px 0 60px;
    }
    
    .btn-jve-primary,
    .btn-jve-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .contact-info-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-jve-primary,
    .btn-jve-outline {
        width: 100%;
        justify-content: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
.component-loading {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(220, 38, 38, 0.2);
    border-top-color: var(--jve-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Auto Scroll Gallery */
.additional-products-section {
    padding-top: 60px;
    border-top: 1px solid #e9ecef;
    margin-top: 60px;
}

.auto-scroll-gallery-wrapper {
    position: relative;
    padding: 0 60px;
    margin-top: 40px;
}

.auto-scroll-gallery {
    overflow: hidden;
    border-radius: 16px;
    padding: 20px 0;
}

.scroll-track {
    display: flex;
    gap: 24px;
    animation: scrollInfinite 35s linear infinite;
    width: max-content;
}

.scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scroll-item {
    flex: 0 0 300px;
}

.scroll-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.scroll-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 58, 95, 0.15);
}

.scroll-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.scroll-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.scroll-card:hover .scroll-image img {
    transform: scale(1.15);
}

.scroll-content {
    padding: 1.5rem;
    text-align: center;
}

.scroll-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jve-text-dark);
    margin-bottom: 0.4rem;
}

.scroll-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.2rem;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    color: var(--jve-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.scroll-btn:hover {
    background: var(--jve-red);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.3);
}

.scroll-prev {
    left: 5px;
}

.scroll-next {
    right: 5px;
}

.btn-outline-primary {
    border: 2px solid var(--jve-red);
    color: var(--jve-red);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--jve-red);
    border-color: var(--jve-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

/* Responsive for Auto Scroll */
@media (max-width: 991px) {
    .auto-scroll-gallery-wrapper {
        padding: 0 50px;
    }
    
    .scroll-item {
        flex: 0 0 260px;
    }
}

@media (max-width: 767px) {
    .auto-scroll-gallery-wrapper {
        padding: 0 40px;
    }
    
    .scroll-item {
        flex: 0 0 240px;
    }
    
    .scroll-image {
        height: 160px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Product Actions (Explore + Get Quote buttons) */
.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-jve-outline {
    background: transparent;
    border: 2px solid var(--jve-blue);
    color: var(--jve-blue);
}

.btn-jve-outline:hover {
    background: var(--jve-blue);
    color: white;
    transform: translateY(-2px);
}

/* Cable Products Section */
.cable-products-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4fa 100%);
    padding: 3rem 0;
    margin: 3rem -1rem 0;
    border-radius: 20px;
}

.cable-products-section .section-header {
    margin-bottom: 2.5rem;
}

/* Product Details Modal Styles */
.product-detail-popup {
    padding: 0.5rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--jve-light-gray);
}

.product-category-badge {
    background: var(--jve-blue-light);
    color: var(--jve-blue);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge-modal {
    background: var(--jve-red);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-description-main {
    color: var(--jve-text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-description-main p {
    margin-bottom: 0;
}

.product-features-section h6,
.specs-title,
.applications-title {
    color: var(--jve-text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.product-features-section h6 i,
.specs-title i,
.applications-title i {
    color: var(--jve-red);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--jve-text);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--jve-red);
    font-weight: bold;
}

/* Specifications Table */
.specs-table {
    background: var(--jve-gray);
    border-radius: 10px;
    overflow: hidden;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--jve-border);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: var(--jve-text-dark);
    font-size: 0.85rem;
}

.spec-value {
    color: var(--jve-text);
    font-size: 0.85rem;
    text-align: right;
    max-width: 60%;
}

/* Applications Tags */
.applications-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-tag {
    background: var(--jve-blue-light);
    color: var(--jve-blue);
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Capacity Display */
.product-capacity {
    background: linear-gradient(135deg, var(--jve-red-light) 0%, #fff 100%);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--jve-red);
}

.capacity-label {
    font-weight: 600;
    color: var(--jve-text-dark);
    margin-right: 0.5rem;
}

.capacity-value {
    color: var(--jve-red);
    font-weight: 700;
}

/* Modal Styling */
#productDetailsModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#productDetailsModal .modal-header {
    background: linear-gradient(135deg, var(--jve-blue) 0%, #4a6fa5 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.25rem 1.5rem;
}

#productDetailsModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

#productDetailsModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

#productDetailsModal .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

#productDetailsModal .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--jve-light-gray);
}

/* ============================================
   CATEGORY CARDS STYLES
   ============================================ */

/* Category Card Link */
.category-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.category-card-link:hover {
    text-decoration: none;
}

/* Category Card */
.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(30, 58, 95, 0.15);
}

/* Category Image */
.category-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

/* Category Overlay */
.category-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--jve-red);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Category Content */
.category-content {
    padding: 2rem 1.5rem 1.5rem;
    position: relative;
}

/* Category Icon */
.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--jve-blue) 0%, #4a6fa5 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -50px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(59, 89, 152, 0.3);
}

.category-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Category Title */
.category-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--jve-text-dark);
    margin-bottom: 0.75rem;
}

/* Category Description */
.category-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Category Features */
.category-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.category-features li {
    font-size: 0.85rem;
    color: #555;
    padding: 0.25rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.category-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--jve-red);
    font-size: 0.7rem;
}

/* Category CTA Button */
.category-cta {
    margin-top: auto;
}

.btn-category {
    display: inline-flex;
    align-items: center;
    color: var(--jve-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.category-card:hover .btn-category {
    color: var(--jve-red);
}

.btn-category i {
    transition: transform 0.3s ease;
}

.category-card:hover .btn-category i {
    transform: translateX(5px);
}

/* ============================================
   FEATURED PRODUCTS PREVIEW
   ============================================ */

.featured-products-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4fa 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.featured-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 58, 95, 0.15);
}

.featured-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-product-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--jve-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.featured-content {
    padding: 1.25rem;
    text-align: center;
}

.featured-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--jve-text-dark);
    margin-bottom: 0.3rem;
}

.featured-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* ============================================
   DROPDOWN MENU STYLES
   ============================================ */

.navbar .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0.75rem 0;
    min-width: 260px;
    margin-top: 0.5rem;
}

.navbar .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    border-radius: 2px;
}

.navbar .dropdown-item {
    padding: 0.75rem 1.25rem;
    color: var(--jve-text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar .dropdown-item:hover {
    background: var(--jve-blue-light);
    color: var(--jve-blue);
}

.navbar .dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--jve-red);
}

.navbar .dropdown-divider {
    margin: 0.5rem 1rem;
    border-color: var(--jve-light-gray);
}

/* Dropdown toggle arrow */
.navbar .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 0.5rem;
    border-top-color: rgba(255,255,255,0.8);
}

.navbar .dropdown-toggle:hover::after {
    border-top-color: white;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 991px) {
    .navbar .dropdown-menu {
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin-top: 0;
        border-radius: 8px;
    }
    
    .navbar .dropdown-menu::before {
        display: none;
    }
    
    .navbar .dropdown-item {
        color: rgba(255,255,255,0.9);
    }
    
    .navbar .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }
    
    .navbar .dropdown-divider {
        border-color: rgba(255,255,255,0.2);
    }
    
    .featured-products-preview {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .category-card {
        margin-bottom: 1rem;
    }
    
    .category-image {
        height: 180px;
    }
    
    .featured-products-preview {
        padding: 1.5rem 1rem;
    }
    
    .featured-image {
        height: 140px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .cable-products-section {
        margin: 2rem -0.5rem 0;
        padding: 2rem 0.5rem;
    }
    
    #productDetailsModal .modal-dialog {
        margin: 0.5rem;
    }
    
    .spec-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .spec-value {
        text-align: left;
        max-width: 100%;
    }
}
