/* products.css - Techsure Solutions Products Page */

/* =============== BASE STYLES =============== */
:root {
    --primary-color: #FAF8F3;
    --secondary-color: #F5F1E8;
    --accent-color: #3498DB;
    --dark-color: #2C3E50;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body.loaded {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #2980b9;
}

/* =============== UTILITY CLASSES =============== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }
.block { display: block; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* =============== HEADER & NAVIGATION =============== */
header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1000;
}

header.scrolled {
    box-shadow: var(--shadow-lg);
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.logo img {
    transition: var(--transition);
    max-width: 100%;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.nav-links a:hover::after,
.nav-links a.text-accent::after {
    width: 100%;
}

.nav-links a.text-accent {
    color: var(--accent-color);
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--accent-color);
}

#mobileMenu {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobileMenu ul {
    list-style: none;
}

#mobileMenu li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#mobileMenu li:last-child {
    border-bottom: none;
}

#mobileMenu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

#mobileMenu a:hover,
#mobileMenu a.text-accent {
    color: var(--accent-color);
    background: rgba(52, 152, 219, 0.1);
}

/* =============== PAGE HEADER =============== */
.page-header {
    padding-top: 6rem;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(52,152,219,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #4FC3F7);
    margin: 0 auto 2rem;
    border-radius: 2px;
    animation: slideIn 0.6s ease;
}

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

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* =============== PARTNER SECTIONS =============== */
.partner-section {
    margin-bottom: 4rem;
}

.partner-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.partner-logo-container {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    flex-shrink: 0;
}

.partner-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.partner-logo-container img:hover {
    transform: scale(1.05);
}

.partner-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.partner-tagline {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: var(--radius-md);
}

.partner-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============== PRODUCT CAROUSEL =============== */
.products-carousel-wrapper {
    position: relative;
    padding: 1rem 0;
}

.products-carousel-wrapper h4 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--accent-color);
}

.products-carousel {
    position: relative;
    overflow: visible;
    padding: 0.5rem 0;
}

.products-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
    transition: var(--transition);
}

@media (min-width: 1024px) {
    .product-card {
        flex: 0 0 calc(20% - 1rem);
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 calc(100% - 1rem);
    }
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-inner {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-inner:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(52, 152, 219, 0.2);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.product-inner:hover .product-image {
    transform: scale(1.05);
}

.product-content {
    padding: 1.25rem;
}

.product-content h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.product-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.learn-more-link:hover {
    color: #2980b9;
    gap: 0.75rem;
}

.learn-more-link i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.learn-more-link:hover i {
    transform: translateX(3px);
}

/* =============== CAROUSEL CONTROLS =============== */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn-prev {
    left: -24px;
}

.carousel-btn-next {
    right: -24px;
}

/* Mobile swipe indicator */
.swipe-indicator {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Touch scrolling */
.products-carousel.touch-enabled {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.products-carousel.touch-enabled .products-track {
    flex-wrap: nowrap;
    scroll-snap-align: start;
}

.products-carousel.touch-enabled .product-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* =============== CONTACT SECTION =============== */
.contact-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="50" cy="50" r="40" fill="rgba(52,152,219,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.contact-card {
    background: var(--primary-color);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.icon-container {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-container i {
    color: var(--white);
    font-size: 1.25rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form button:hover:not(:disabled) {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#form-message {
    border-radius: var(--radius-md);
    font-weight: 500;
}

#form-message.success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 2px solid rgba(46, 204, 113, 0.2);
}

#form-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 2px solid rgba(231, 76, 60, 0.2);
}

/* =============== FOOTER =============== */
footer {
    background: var(--dark-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-tagline {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.whatsapp:hover {
    background: #128C7E;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.75rem;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover i {
    opacity: 1;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-info span {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.business-details li {
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.business-details strong {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

/* =============== FLOATING BUTTONS =============== */
#scroll-top {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 100;
}

#scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-top:hover {
    background: #2980b9;
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float {
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* =============== LOADING STATES =============== */
.loading {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============== ANIMATIONS =============== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .page-header {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .partner-info h3 {
        font-size: 2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    .carousel-btn-prev {
        left: -20px;
    }
    
    .carousel-btn-next {
        right: -20px;
    }
    
    .partner-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .icon-container {
        width: 40px;
        height: 40px;
    }
    
    .icon-container i {
        font-size: 1rem;
    }
    
    .whatsapp-float {
        width: 48px;
        height: 48px;
    }
    
    .whatsapp-float i {
        font-size: 1.25rem;
    }
    
    #scroll-top {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .partner-logo-container {
        width: 100px;
        height: 100px;
    }
    
    .partner-info h3 {
        font-size: 1.75rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 0.75rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
}

/* =============== PRINT STYLES =============== */
@media print {
    #scroll-top,
    .whatsapp-float,
    .mobile-menu-btn,
    .carousel-btn {
        display: none !important;
    }
    
    .products-carousel {
        overflow: visible !important;
    }
    
    .products-track {
        transform: none !important;
        flex-wrap: wrap !important;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 1rem) !important;
        margin-bottom: 1rem;
    }
}

/* =============== ACCESSIBILITY =============== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* =============== DARK MODE (optional) =============== */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #1a202c;
        --secondary-color: #2d3748;
        --dark-color: #e2e8f0;
        --text-color: #e2e8f0;
        --text-light: #a0aec0;
        --white: #2d3748;
    }
    
    body {
        background: var(--primary-color);
    }
    
    .partner-card,
    .contact-card,
    .product-inner {
        background: var(--secondary-color);
        border-color: rgba(255,255,255,0.1);
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        background: var(--primary-color);
        border-color: #4a5568;
        color: var(--text-color);
    }
    
    .carousel-btn {
        background: var(--secondary-color);
        border-color: var(--accent-color);
    }
}

/* =============== BROWSER SPECIFIC =============== */
@supports (-webkit-touch-callout: none) {
    .products-carousel {
        -webkit-overflow-scrolling: touch;
    }
}

@supports not (scroll-behavior: smooth) {
    html {
        scroll-behavior: auto;
    }
}

/* =============== FALLBACKS FOR OLDER BROWSERS =============== */
@supports not (display: grid) {
    .grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .grid > * {
        flex: 1 1 300px;
        margin: 1rem;
    }
}

/* =============== CUSTOM SCROLLBAR =============== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--primary-color);
}

/* =============== PERFORMANCE OPTIMIZATIONS =============== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* =============== PRODUCT IMAGE SPECIFIC STYLES =============== */
/* Stanvac Chemicals logo styling */
img[src*="stanvac"] {
    object-fit: contain !important;
    padding: 8px;
    max-width: 100%;
    max-height: 100%;
}

.partner-logo-container img[src*="stanvac"] {
    padding: 12px;
}

/* JASIC India logo styling */
img[src*="jasic"] {
    object-fit: contain !important;
    padding: 10px;
    max-width: 100%;
    max-height: 100%;
}

.partner-logo-container img[src*="jasic"] {
    padding: 8px;
}

/* Product image hover effects */
.product-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-inner:hover .product-image {
    transform: scale(1.08);
}

/* =============== TRANSITION CLASSES =============== */
.transition-all {
    transition: var(--transition);
}

.transition-transform {
    transition: transform var(--transition);
}

.transition-opacity {
    transition: opacity var(--transition);
}

/* =============== SPECIFIC PARTNER SECTION STYLES =============== */
.partner-section:nth-child(odd) .partner-card {
    border-left: 4px solid var(--accent-color);
}

.partner-section:nth-child(even) .partner-card {
    border-right: 4px solid var(--accent-color);
}

/* Asian Paints specific styling */
.partner-section:first-child .partner-logo-container {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
}

/* Superon specific styling */
.partner-section:nth-child(2) .partner-logo-container {
    background: linear-gradient(135deg, #DC2626, #EF4444);
}

/* Ion Exchange specific styling */
.partner-section:nth-child(3) .partner-logo-container {
    background: linear-gradient(135deg, #059669, #10B981);
}

/* FirePro specific styling */
.partner-section:nth-child(4) .partner-logo-container {
    background: linear-gradient(135deg, #DC2626, #F87171);
}

/* Stanvac specific styling */
.partner-section:nth-child(5) .partner-logo-container {
    background: linear-gradient(135deg, #2563EB, #3B82F6);
}

/* JASIC specific styling */
.partner-section:nth-child(6) .partner-logo-container {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
}


/* =============== FOOTER LINKS FIX =============== */
footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

footer a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

footer .social-link {
    transform: none;
}

footer .social-link:hover {
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-info a:hover {
    color: var(--accent-color);
}

/* Fix for link clickability */
footer a {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    list-style: none;
}
