/* Main Stylesheet for Yogeshwar Enterprises Website
-------------------------------------------------- */

/* === Base Styles === */
:root {
    --primary-color: #4361ee;      /* Vibrant blue */
    --secondary-color: #ff6b6b;    /* Vibrant coral red */
    --text-color: #1e293b;
    --light-text: #ffffff;
    --dark-bg: #0f172a;
    --light-bg: #f1f5f9;
    --border-color: #cbd5e1;
    --accent-color: #4cc9f0;       /* Vibrant cyan */
    --accent-green: #06d6a0;       /* Vibrant mint */
    --accent-yellow: #ffd166;      /* Vibrant yellow */
    --accent-purple: #9d4edd;      /* Vibrant purple */
    --success-color: #10b981;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
    --radius: 8px;
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    position: relative;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.highlight {
    color: var(--secondary-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
}

.section-header.text-left {
    text-align: left;
}

.section-header.text-left h2 {
    text-align: left;
}

.section-header.text-left p {
    margin-left: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    border: none;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    touch-action: manipulation;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
    transform: skewX(-15deg);
}

.btn:hover::before {
    width: 120%;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    background-image: linear-gradient(135deg, var(--primary-color), #1e40af);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    background-size: 200% auto;
    animation: buttonShine 8s linear infinite;
}

.btn-primary:hover {
    background-image: linear-gradient(135deg, #1e40af, var(--primary-color));
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
    background-image: linear-gradient(135deg, var(--secondary-color), #ea580c);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
    background-size: 200% auto;
    animation: buttonShine 8s linear infinite;
}

.btn-secondary:hover {
    background-image: linear-gradient(135deg, #ea580c, var(--secondary-color));
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
    overflow: visible;
}

.btn-outline:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-light {
    background-color: var(--light-text);
    color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--light-text), #f8fafc);
}

.btn-light:hover {
    background-image: linear-gradient(135deg, #f8fafc, var(--light-text));
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 0;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.btn-text:hover {
    color: var(--secondary-color);
}

.btn-text:hover::after {
    width: 100%;
}

.btn-text i {
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* === Top Bar === */
.top-bar {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.7rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    gap: 1.5rem;
}

.top-contact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.top-social a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.top-social a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* === Header Styles === */
.main-header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.logo a::before {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 2px;
    bottom: 0;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: logoPulse 3s infinite;
}

@keyframes logoPulse {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.logo img {
    height: 50px;
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.05);
}

/* Updated Menu Toggle Button for better mobile experience */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background-color: transparent;
    border-radius: 5px;
    color: #ff5722; /* Orange color for the icon */
    border: none;
    box-shadow: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.menu-toggle:hover {
    transform: translateY(-2px);
}

.menu-toggle i {
    font-size: 32px; /* Larger icon size */
    color: #ff5722; /* Ensure the icon is orange */
    line-height: 1;
}

/* Show menu toggle only on mobile screens */
@media screen and (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
}

/* Enhanced menu toggle for better mobile experience */
.menu-toggle.active {
    color: #ff5722;
}

.menu-toggle i {
    display: block;
    transition: transform 0.3s ease;
}

.menu-toggle.active i {
    transform: rotate(90deg);
}

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

.nav-menu a {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    background: transparent;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 70%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
    background: transparent;
}

.nav-cta {
    margin-left: 1rem;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(rgba(0, 59, 112, 0.2), rgba(0, 59, 112, 0.2)), url('../images/black-5141245_1280.jpeg') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(15, 23, 42, 0.8));
    pointer-events: none; /* Ensure overlay doesn't block buttons */
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-content {
    max-width: 800px;
    color: var(--light-text);
    padding: 1.5rem 0;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 3.2rem;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1000; /* Higher z-index to ensure buttons are clickable */
}

.cta-buttons a {
    position: relative;
    z-index: 1000; /* Ensure links are always clickable */
    pointer-events: auto !important; /* Force pointer events to be enabled */
}

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

/* === Featured Products Section === */
.featured-products {
    padding: 3rem 0;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.15) 0%, rgba(255, 209, 102, 0) 70%);
    z-index: 0;
}

.featured-products::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, rgba(76, 201, 240, 0) 70%);
    z-index: 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.featured-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-color));
    color: white;
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(157, 78, 221, 0.3);
}

.featured-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background-color: #f8fafc;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.2) 0%, rgba(76, 201, 240, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.featured-card:hover .card-glow {
    opacity: 1;
    animation: rotate 8s linear infinite;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-img img {
    transform: scale(1.08);
}

.featured-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.specs-pill {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.specs-pill span {
    background-color: #f1f5f9;
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.featured-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.featured-content .btn-text {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.featured-content .btn-text i {
    transition: transform 0.3s ease;
}

.featured-content .btn-text:hover i {
    transform: translateX(4px);
}

.featured-cta {
    text-align: center;
    margin-top: 1rem;
}

@media screen and (max-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .featured-img {
        height: 160px;
    }
    
    .featured-content {
        padding: 1rem;
    }
    
    .featured-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }
}

/* === Brands Section === */
.brands {
    background-color: var(--light-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.brands::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
}

.brands::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background-color: var(--accent-color);
    opacity: 0.05;
    border-radius: 50%;
}

.brands .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.brands .section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.brands .section-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.brand {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.brand::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: rotate(45deg);
    transition: all 0.7s ease;
}

.brand:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
    z-index: 2;
}

.brand:hover::before {
    top: 100%;
    left: 100%;
}

.brand::after {
    content: 'Click to view catalog';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    padding: 5px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.brand:hover::after {
    opacity: 1;
}

.brand img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(30%);
    display: block;
}

.brand:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Brand animation */
@keyframes brandAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-brand {
    animation: brandAppear 0.5s ease forwards;
    opacity: 0;
}

.brand[data-tooltip]:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.brand[data-tooltip]:hover:after {
    opacity: 1;
    bottom: -30px;
}

/* === Services Overview === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    background-color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
    transition: height 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px) translateX(3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
    transition: transform 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* === Stats Section === */
.stats-section {
    background: linear-gradient(rgba(0, 59, 112, 0.85), rgba(15, 23, 42, 0.95)), url('../images/tools-2884303_1280.png') no-repeat center center/cover;
    padding: 6rem 0;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 180, 0, 0.1) 0%, rgba(255, 180, 0, 0) 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 0.5rem;
}

/* === Why Choose Us === */
.why-choose-us {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: #666;
}

/* === Testimonial Section === */
.testimonial {
    padding: 5rem 0;
    background-color: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.quote {
    position: relative;
    padding: 1.5rem 0;
}

.quote i.fa-quote-left {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.quote i.fa-quote-right {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.quote p {
    font-style: italic;
    color: #555;
    text-align: center;
    margin: 0;
}

.client {
    margin-top: 1.5rem;
    text-align: center;
}

.client .name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.client .company {
    font-size: 0.9rem;
    color: #777;
}

/* === CTA Section === */
.cta-section {
    background-size: 300% 300%;
    background-image: linear-gradient(
        -45deg, 
        var(--primary-color) 0%, 
        #1e40af 25%, 
        var(--dark-bg) 51%, 
        var(--primary-color) 100%
    );
    color: var(--light-text);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.cta-content:hover {
    transform: translateY(-5px);
}

.cta-content h2 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* === Footer === */
footer {
    background-color: var(--dark-bg);
    color: #aaa;
    padding: 4rem 0 1rem;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-content h3 {
    color: var(--light-text);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-content h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-about p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 4px;
    min-width: 16px;
}

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

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

.footer-links a {
    color: #aaa;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.footer-links a:hover {
    color: var(--light-text);
    padding-left: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--secondary-color);
}

.footer-bottom a:hover {
    color: var(--light-text);
}

/* === Responsive Styles === */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 8rem 0;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .product-showcase {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    /* Fix for mobile horizontal scroll */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .top-bar {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        padding: 10px;
        border-radius: 5px;
        background-color: transparent;
        color: #ff5722;
        text-align: center;
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
    }
    
    .menu-toggle:active {
        transform: scale(0.95);
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 280px;
        height: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 4rem 1.5rem;
        z-index: 1001;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        color: var(--light-text);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
    }
    
    .nav-menu a:hover, 
    .nav-menu a.active {
        color: var(--secondary-color);
        background: transparent !important;
    }
    
    .nav-menu a:after {
        display: none;
    }
    
    .nav-cta {
        margin-top: 1rem;
        margin-left: 0;
        width: 100%;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .services-grid,
    .features-grid,
    .testimonial-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .brand {
        flex: 0 0 120px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Fix for mobile horizontal scroll */
    .product-grid,
    .featured-grid,
    .categories-grid,
    .brand-logos,
    .category-grid {
        width: 100%;
        padding: 0 0.5rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Fix image overflow */
    img {
        max-width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .logo span {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .testimonial-card,
    .service-card,
    .feature {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Additional fixes for smallest screens */
    .container {
        padding: 0 0.75rem;
    }
    
    .product-img, 
    .featured-img, 
    .category-img {
        height: auto;
    }
}

/* === Animation Styles === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* === About Page Styles === */

/* About Hero Section */
.about-hero {
    /* background-image is now handled with inline styles */
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    position: relative;
}

/* Journey Timeline Section */
.journey-timeline {
    position: relative;
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    text-align: left;
    padding-left: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    text-align: right;
    padding-right: 3rem;
}

.timeline-dot {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(255, 90, 95, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item.animated .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 6px rgba(255, 90, 95, 0.4);
}

.timeline-content {
    width: 45%;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.timeline-content p {
    margin-bottom: 0;
}

/* Mission Values Section */
.mission-values {
    padding: 6rem 0;
    background-color: #fff;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-content h2 {
    margin-bottom: 1.5rem;
}

.mission-list {
    list-style: none;
    margin-top: 1.5rem;
}

.mission-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.mission-list li i {
    color: var(--success-color);
    margin-right: 0.8rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.mission-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mission-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: var(--radius);
    z-index: -1;
}

.mission-image img {
    border-radius: var(--radius);
    transition: var(--transition);
}

.mission-image:hover img {
    transform: scale(1.05);
}

/* Core Values Section */
.core-values {
    padding: 6rem 0;
    background-color: var(--light-bg);
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.value-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(249, 115, 22, 0.1));
    transition: var(--transition);
    z-index: -1;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.value-card:hover::before {
    height: 100%;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 1.8rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: rotateY(180deg);
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    color: #666;
    margin-bottom: 0;
}

/* Enhanced Team Section */
.team-section {
    padding: 6rem 0;
    background-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    background: rgba(37, 99, 235, 0.8);
    transition: var(--transition);
}

.team-member:hover .member-social {
    bottom: 0;
}

.member-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-5px);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.member-info .position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info p {
    color: #666;
    margin-bottom: 1rem;
}

.member-info .contact {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
}

.member-info .contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* About page responsive styles */
@media screen and (max-width: 992px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .about-hero {
        padding: 6rem 0;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
}

/* === Image Selector === */
.image-selector {
    margin: 2rem auto;
    background-color: var(--light-bg);
    border-radius: 30px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    box-shadow: var(--shadow);
}

.selector-label {
    color: var(--text-color);
    font-size: 1rem;
    margin-right: 15px;
    font-weight: 600;
}

.selector-options {
    display: flex;
    gap: 10px;
}

.image-option {
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background-color: #fff;
    color: var(--text-color);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.image-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.image-option.active {
    border: 2px solid var(--secondary-color);
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 3px 8px rgba(249, 115, 22, 0.3);
}

@media screen and (max-width: 768px) {
    .image-selector {
        flex-direction: column;
        padding: 15px;
    }
    
    .selector-label {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Product card animations */
.product-card.fade-out {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* === Makita Product Card Styles === */
#makita-product-card #makita-product-image {
    transition: opacity 0.5s ease-in-out;
    opacity: 1; /* Ensure visible by default */
    will-change: opacity; /* Performance hint for smoother transitions */
}

#makita-product-card #makita-product-title,
#makita-product-card #makita-product-desc {
    transition: opacity 0.5s ease-in-out;
    opacity: 1; /* Ensure visible by default */
    will-change: opacity; /* Performance hint for smoother transitions */
}

#makita-product-card .product-img {
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 5px;
}

#makita-product-card .product-img img {
    max-width: 90%;
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1; /* Ensure visible by default */
    will-change: transform, opacity; /* Performance hint for smoother transitions */
}

#makita-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

#makita-product-card .product-badge {
    background-color: var(--accent-color);
    z-index: 5;
}

#makita-product-card .product-info {
    position: relative;
    z-index: 2;
    padding: 1.8rem;
}

#makita-product-card:hover::after {
    content: "Click for detailed specifications";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 3;
}

/* Create a more prominent product title */
#makita-product-card #makita-product-title {
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--primary-color);
    font-weight: 700;
}

/* Style for the product description */
#makita-product-card #makita-product-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Make the product image look more premium */
#makita-product-card .product-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#makita-product-card:hover .product-img::before {
    opacity: 1;
}

/* === Product Modal Styles === */
.product-modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 5;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 30px;
}

.modal-body h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: left;
}

.modal-product-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 30px;
}

.modal-image-container {
    background-color: #f8f9fa;
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
}

.modal-specs h3 {
    color: var(--secondary-color);
    margin: 20px 0 15px;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.modal-specs h3:first-child {
    margin-top: 0;
}

.modal-features ul,
.modal-specifications ul,
.modal-included ul {
    list-style: none;
    padding-left: 0;
}

.modal-features li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.modal-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.modal-specifications table {
    width: 100%;
    border-collapse: collapse;
}

.modal-specifications td {
    padding: 8px 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.3);
}

.modal-specifications td:first-child {
    font-weight: 600;
    width: 40%;
}

.modal-included li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.modal-included li:before {
    content: '•';
    position: absolute;
    left: 5px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.modal-contact-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.modal-contact-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

@media screen and (max-width: 768px) {
    .modal-product-details {
        grid-template-columns: 1fr;
    }
    
    .modal-image-container {
        max-height: 250px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

/* Special styling for Makita featured product */
#makita-product-card {
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.03);
}

#makita-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

#makita-product-card:hover {
    transform: translateY(-8px) scale(1.05);
}

/* Add a subtle animation to draw attention to the Makita product card */
@keyframes pulseHighlight {
    0% { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2); }
    100% { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
}

#makita-product-card {
    animation: pulseHighlight 3s infinite;
}

/* === Products Page Styles === */
.product-categories {
    background-color: var(--light-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-categories::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
}

/* Add decorative element to product categories section */
.product-categories::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background-color: var(--accent-color);
    opacity: 0.05;
    border-radius: 50%;
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

/* Enhance filter buttons with more pronounced effects */
.filter-btn {
    padding: 0.8rem 1.5rem;
    background-color: #fff;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #056974);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(8, 126, 139, 0.3);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Enhanced category cards with better hover effects */
.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-hover);
    z-index: 2;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transition: all 0.5s ease;
}

.category-card:hover .overlay {
    background: linear-gradient(to top, 
        rgba(37, 99, 235, 0.9), 
        rgba(249, 115, 22, 0.5), 
        rgba(251, 91, 87, 0.2), 
        transparent
    );
    padding-bottom: 2rem;
}

.category-card .overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.category-card:hover .overlay h3 {
    transform: translateY(-5px);
}

.category-card .overlay p {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    margin-bottom: 0;
}

.category-card:hover .overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Product Listing Styles with enhanced section styling */
.product-listing {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.product-listing:nth-child(odd) {
    background-color: var(--light-bg);
}

.product-listing:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    opacity: 0.02;
    border-radius: 50%;
    z-index: 1;
}

.product-listing:nth-child(even)::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--accent-color);
    opacity: 0.02;
    border-radius: 50%;
    z-index: 1;
}

.product-listing h2 {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-listing h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

/* Enhanced product cards with better hover states and effects */
.product-card {
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(203, 213, 225, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.4s ease;
    z-index: 2;
}

.product-card:hover::before {
    height: 100%;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-badge {
    opacity: 1;
    transform: translateX(0);
}

.product-img {
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(203, 213, 225, 0.2);
}

.product-img img {
    max-width: 90%;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.product-card:hover .product-img img {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

.product-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-img::before {
    opacity: 1;
}

.product-info {
    padding: 1.8rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--secondary-color);
}

.product-info .brand {
    display: inline-block;
    background-color: rgba(8, 126, 139, 0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-info .brand {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(8, 126, 139, 0.2);
}

.product-info p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-info .btn-text {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.5rem 0;
    font-weight: 600;
    position: relative;
}

.product-card:hover .btn-text {
    color: var(--secondary-color);
}

.product-card:hover .btn-text::after {
    width: 100%;
}

.product-card:hover .btn-text i {
    transform: translateX(5px);
}

/* Product fade animations */
.product-card.fade-out {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* === Responsive Adjustments for Product Page === */
@media screen and (max-width: 768px) {
    .product-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .product-listing h2 {
        font-size: 1.8rem;
    }
}

/* === Tool Finder Section === */
.tool-finder {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.tool-finder::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.tool-finder::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.finder-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.finder-form .form-group {
    flex: 1 1 250px;
}

.finder-form .form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.finder-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.finder-form .btn {
    flex: 0 0 auto;
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    .finder-form {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .finder-form .form-group {
        flex: 0 0 100%;
    }
    
    .finder-form .btn {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Product Specifications Styles */
.product-specs {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(240, 240, 240, 0.5);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-specs h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.product-specs ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-specs li {
    font-size: 14px;
    margin-bottom: 6px;
}

.product-specs li strong {
    color: #444;
    font-weight: 600;
}

@media (max-width: 768px) {
    .product-specs ul {
        grid-template-columns: 1fr;
    }
}

/* Enhance product card styles to accommodate the new specifications */
.product-card {
    padding-bottom: 20px;
}

.product-card .product-info {
    padding: 20px 25px;
}

/* === Additional Highlight Styles === */
.highlight-pulse {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    animation: subtle-pulse 2s infinite ease-in-out;
    text-shadow: 0 0 15px rgba(255, 180, 0, 0.3);
}

.highlight-underline {
    position: relative;
    color: var(--secondary-color);
    display: inline-block;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: underline-flow 3s infinite;
}

@keyframes subtle-pulse {
    0% {
        text-shadow: 0 0 5px rgba(249, 115, 22, 0.2);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
        transform: scale(1.05);
    }
    100% {
        text-shadow: 0 0 5px rgba(249, 115, 22, 0.2);
        transform: scale(1);
    }
}

@keyframes underline-flow {
    0% {
        background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
        background-size: 200% 100%;
        background-position: -100% 0;
    }
    100% {
        background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
        background-size: 200% 100%;
        background-position: 100% 0;
    }
}

/* Button icon spacing */
.me-2 {
    margin-right: 8px;
}

/* Contact Page Specific Styles */
.contact-info-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    transform: translate(100px, -100px);
    z-index: 1;
}

.contact-info-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background-color: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    transform: translate(-100px, 100px);
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.contact-info-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(8, 126, 139, 0.05), transparent);
    transition: var(--transition);
    z-index: -1;
}

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

.contact-info-card:hover::before {
    height: 100%;
}

.card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: #fff;
    font-size: 1.8rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    animation: spin 10s linear infinite;
}

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

.contact-info-card:hover .card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--secondary-color), #e64146);
}

.contact-info-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info-card p {
    color: var(--text-color);
    margin-bottom: 0.7rem;
}

.contact-info-card a {
    font-weight: 500;
    transition: var(--transition);
}

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

/* Contact Form Section Styles */
.contact-form-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.contact-form-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.form-container {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition);
}

.form-container:hover {
    box-shadow: var(--shadow-hover);
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form .form-group.text-center {
    text-align: center;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-control::placeholder {
    color: #94a3b8;
    opacity: 0.7;
}

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

.contact-form .required {
    color: var(--accent-color);
    margin-left: 2px;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

/* Map Section Styles */
.map-section {
    padding-bottom: 0;
    position: relative;
    z-index: 2;
}

.map-container {
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.map-container .fallback-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Responsive Styles for Contact Page */
@media screen and (max-width: 992px) {
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
}

/* New Gradient Accent Class */
.gradient-accent {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    font-weight: 700;
}

.gradient-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0.7;
}

/* Update to category cards for better accent colors */
.category-card:hover .overlay {
    background: linear-gradient(to top, 
        rgba(8, 126, 139, 0.9), 
        rgba(255, 90, 95, 0.5), 
        rgba(255, 180, 0, 0.2), 
        transparent
    );
    padding-bottom: 2rem;
}

/* Enhanced Form Inputs with Accent Border on Focus */
.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.2);
}

/* Enhanced Button Text for Hover States */
.btn:hover {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Enhanced section headers */
.section-header h2 {
    position: relative;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

/* Add shine animation for buttons */
@keyframes buttonShine {
    0% { 
        background-position: 0% center;
    }
    50% { 
        background-position: 100% center; 
    }
    100% { 
        background-position: 0% center; 
    }
}

/* Hero content enhancements */
.hero-content {
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    filter: blur(40px);
    z-index: -1;
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(249, 115, 22, 0.15);
    filter: blur(50px);
    z-index: -1;
}

/* Enhanced CTA button hover */
.cta-content .btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

/* Enhanced Header Styles */
.page-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    z-index: 10;
}

.page-indicator .page-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 4px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
}

.indicator-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    position: absolute;
    top: 0;
    left: 0;
    animation: progressBar 0.8s ease-out forwards;
}

@keyframes progressBar {
    from { width: 0; }
    to { width: 100%; }
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 2rem 0;
}

.home-hero {
    background-image: linear-gradient(135deg, #3a0ca3, #4361ee);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
    animation: float 20s infinite linear;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-content {
    max-width: 550px;
    color: var(--light-text);
    padding: 1.5rem 0;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #f72585);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(247, 37, 133, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
    animation: float-badge 3s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-image {
    flex: 0 0 38%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    transform: scale(1);
    transition: transform 0.3s ease;
    animation: pulse 3s infinite;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-features {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features .feature i {
    color: var(--accent-yellow);
}

.hero-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
    transform: translateY(1px);
}

/* Page-specific hero styles */
.about-hero {
    background-image: linear-gradient(135deg, #7209b7, #9d4edd);
}

.products-hero {
    background-image: linear-gradient(135deg, #fb8500, #ffb703);
}

.contact-hero {
    background-image: linear-gradient(135deg, #2b9348, #06d6a0);
}

.btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 25px;
    font-weight: 600;
}

.btn-primary {
    background-image: linear-gradient(135deg, var(--primary-color), #3a0ca3);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background-image: linear-gradient(135deg, #3a0ca3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.4);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Responsive Styles for Enhanced Header & Hero */
@media screen and (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 4rem 0 5rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        margin-top: 1.5rem;
        max-width: 70%;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
    }
    
    .page-indicator .page-name {
        font-size: 0.6rem;
    }
    
    .hero-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-purple));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 10px rgba(76, 201, 240, 0.3);
}

.text-gradient {
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Enhanced Brands Section */
.brands {
    padding: 3rem 0;
    position: relative;
    background-color: #f8fafc;
    overflow: hidden;
}

.brands::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, rgba(76, 201, 240, 0) 70%);
}

.brands::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0) 70%);
}

.brand-carousel {
    position: relative;
    padding: 1rem 0;
    max-width: 100%;
    overflow: hidden;
}

.brand-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
}

.brand-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.brand {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.brand:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.brand-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.3) 0%, rgba(76, 201, 240, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.brand:hover .brand-glow {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

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

.brand img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand:hover img {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .brands {
        padding: 2rem 0;
    }
    
    .brand {
        width: 100px;
        height: 70px;
    }
    
    .section-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Enhanced Services Section */
.services-overview {
    padding: 3rem 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.1) 0%, rgba(6, 214, 160, 0) 70%);
    z-index: 0;
}

.services-overview::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.1) 0%, rgba(157, 78, 221, 0) 70%);
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-purple));
    transition: height 0.3s ease;
    z-index: 0;
}

.service-card:hover::before {
    height: 6px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: var(--text-color);
}

.service-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card .btn-text {
    margin-top: auto;
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Debug styles */
.debug-border {
    border: 2px dashed red;
}

.brand {
    position: relative;
}

.brand::after {
    content: attr(title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 3px;
    font-size: 8px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.brand:hover::after {
    visibility: visible;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

/* === Our Products Section === */
.our-products-section {
    background-color: #ffffff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-content {
    padding: 1rem 1.5rem 1.5rem;
}

.product-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-content p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.products-cta {
    text-align: center;
    margin-top: 1.5rem;
}

/* Tablet (md) */
@media screen and (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .product-content h3 {
        font-size: 1.25rem;
    }
}

/* Desktop (lg) */
@media screen and (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .section-header p {
        font-size: 1.125rem;
    }
}

/* Large Desktop (xl) */
@media screen and (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Products Category Section */
.products-category-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-category-card {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category-card .category-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.carousel-slides img {
    background-color: #f5f5f5;
    border-radius: 8px 8px 0 0;
}

@media (max-width: 768px) {
    .product-category-card .category-image {
        height: 180px;
    }
}

.category-image {
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e1e1e1;
}

.category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-category-card:hover .category-image img {
    transform: scale(1.05);
}

.product-category-card h3 {
    font-size: 20px;
    padding: 15px 20px 5px;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.product-category-card ul {
    list-style-type: disc;
    padding: 0 20px 20px 40px;
    margin: 0;
}

.product-category-card li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #555;
}

.view-all-container {
    text-align: right;
    margin-top: 20px;
}

.btn-view-all {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #333;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-view-all:hover {
    background-color: #333;
    color: #fff;
}

/* Media Queries for Responsive Design */
@media (min-width: 768px) {
    .products-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Carousel Styles */
.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
}

.carousel-slides img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 15px;
    visibility: hidden;
}

.carousel-slides img.active {
    opacity: 1;
    z-index: 1;
    visibility: visible;
}

.carousel-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
}

.carousel-controls button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.product-carousel:hover .carousel-controls button {
    opacity: 1;
}

.carousel-controls button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-controls button:focus {
    outline: none;
}

.carousel-controls button i {
    font-size: 14px;
    line-height: 1;
}

/* Responsive adjustments for product carousel */
@media screen and (max-width: 768px) {
    .carousel-controls {
        bottom: 5px;
    }
    
    .carousel-controls button {
        width: 25px;
        height: 25px;
        opacity: 1;
    }
}

/* Product Categories Section */
.product-categories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img img {
    transform: scale(1.05);
}

/* Product Carousel Styles */
.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.carousel-slides img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 10px;
    background-color: #f8f9fa;
}

.carousel-slides img.active {
    opacity: 1;
    z-index: 1;
}

.carousel-controls {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 2;
}

.carousel-controls button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
}

.product-carousel:hover .carousel-controls button {
    opacity: 1;
}

.carousel-controls button:hover {
    background-color: var(--primary-color);
    color: white;
}

.carousel-controls button:focus {
    outline: none;
}

.carousel-controls button i {
    font-size: 14px;
}

/* Ensure cards display product info consistently */
.category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: #333;
}

.category-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 20px 15px;
    line-height: 1.5;
}

.category-card .btn-text {
    display: inline-block;
    margin: 0 20px 20px;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-card .btn-text:hover {
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .carousel-controls button {
        width: 25px;
        height: 25px;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .category-img {
        height: 180px;
    }
    
    .carousel-controls {
        bottom: 5px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Slideshow */
.product-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 8px;
    min-height: 200px;
}

.product-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 15px;
    background-color: #ffffff;
}

.product-slideshow img.active {
    opacity: 1;
    z-index: 2;
}

/* Specific fixes for APS Welding slideshow */
.product-card.aps .product-slideshow {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
}

.product-card.aps .product-slideshow img {
    background-color: #ffffff;
    border-radius: 4px;
}

/* Mobile responsiveness for slideshow */
@media screen and (max-width: 768px) {
    .product-slideshow {
        min-height: 180px;
    }
    
    .product-slideshow img {
        padding: 10px;
    }
    
    .product-card.aps .product-slideshow {
        min-height: 160px;
    }
}

.image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    z-index: 2;
    text-align: center;
}

.image-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: white;
}

.image-description {
    font-size: 12px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.3;
    display: none; /* Hidden by default, shown on hover */
}

.product-slideshow:hover .image-description {
    display: block; /* Show description on hover */
}

/* Ensure the category image container has proper dimensions */
.category-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background-color: #f5f5f5;
}

/* Awards Section Styles */
.awards-section {
    position: relative;
    padding: 5rem 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.awards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.05) 0%, rgba(255, 152, 0, 0.05) 100%);
    z-index: 1;
}

.awards-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.awards-text {
    flex: 1;
    min-width: 300px;
}

.awards-text h3 {
    color: #e65100;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.awards-highlights {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.awards-highlights li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.awards-highlights li i {
    color: #ff9800;
    font-size: 1.2rem;
}

.awards-slideshow {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.slideshow-container {
    position: relative;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.award-slide {
    display: none;
    width: 100%;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.award-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.5s ease;
    object-fit: contain;
    max-height: 400px;
}

.slideshow-container:hover img {
    transform: scale(1.02);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: 500;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    user-select: none;
    text-decoration: none;
    z-index: 10;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev:hover, .next:hover {
    background-color: rgba(244, 67, 54, 0.8);
}

.slideshow-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #ff5722;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@media screen and (max-width: 768px) {
    .awards-content {
        flex-direction: column;
    }
    
    .awards-text, .awards-slideshow {
        width: 100%;
    }
    
    .prev, .next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Marketing Team Section Styles */
.marketing-team-section {
    padding: 5rem 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.marketing-team-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.1) 0%, rgba(58, 134, 255, 0) 70%);
    z-index: 1;
}

.marketing-team-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(131, 56, 236, 0.1) 0%, rgba(131, 56, 236, 0) 70%);
    z-index: 1;
}

.marketing-team-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.marketing-slider-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
}

.marketing-slider {
    position: relative;
    width: 100%;
}

.marketing-slide {
    display: none;
    width: 100%;
    position: relative;
}

.marketing-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.slide-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    text-align: center;
}

.slide-info h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.slide-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.slider-nav {
    text-align: center;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    z-index: 10;
}

.nav-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.nav-dot.active, .nav-dot:hover {
    background-color: #fff;
}

.marketing-team-text {
    flex: 1;
    min-width: 300px;
}

.marketing-team-text h3 {
    color: #3a86ff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.team-highlights {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.team-highlights li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.team-highlights li i {
    color: #8338ec;
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
    .marketing-team-content {
        flex-direction: column-reverse;
    }
    
    .marketing-team-text, .marketing-slider-container {
        width: 100%;
    }
    
    /* Center text in awards and marketing sections on mobile */
    .awards-text, .marketing-team-text {
        text-align: center;
    }
    
    .awards-text h3, .marketing-team-text h3 {
        text-align: center;
    }
    
    .awards-highlights li, .team-highlights li {
        justify-content: center;
    }
    
    .awards-content {
        flex-direction: column;
    }
}

/* Customer Reviews Section Styles */
.customer-reviews-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.customer-reviews-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0) 70%);
    z-index: 1;
}

.customer-reviews-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0) 70%);
    z-index: 1;
}

.reviews-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.reviews-slider-container {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: #fff;
}

.reviews-slider {
    position: relative;
    width: 100%;
}

.review-slide {
    display: none;
    width: 100%;
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.review-image {
    position: relative;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    overflow: hidden;
}

.review-image img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.star-rating {
    position: relative;
    background-color: transparent;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.star-rating i {
    color: #ffd700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    display: inline-block;
}

.review-info {
    text-align: center;
    padding: 1rem 1rem 0.5rem;
}

.review-info h3 {
    color: #ff9800;
    margin-bottom: 0.3rem;
    font-size: 1.5rem;
}

.review-info p {
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.reviewer-name {
    color: #888;
    font-weight: 600;
    font-style: normal !important;
}

.reviews-nav {
    text-align: center;
    padding: 1rem 0;
}

.review-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.review-dot.active, .review-dot:hover {
    background-color: #ff9800;
}

@media screen and (max-width: 768px) {
    .review-slide {
        padding: 1.5rem 1rem;
    }
    
    .review-image {
        height: 220px;
    }
    
    .review-image img {
        max-height: 100%;
    }
    
    .star-rating {
        padding: 0.3rem 0;
        margin-bottom: 0.4rem;
    }
    
    .star-rating i {
        font-size: 1rem;
    }
    
    .review-info h3 {
        font-size: 1.3rem;
    }
}

/* Testimonial Section with Multiple Cards */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Tools Showcase Section */
.tools-showcase-section {
    padding: 5rem 0;
    position: relative;
    background-color: #f9f9f9;
    overflow: hidden;
}

.tools-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f0f0f0' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.tools-showcase-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.tools-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    transition: transform 0.5s ease;
}

.tools-image:hover {
    transform: scale(1.02);
}

.tools-description {
    flex: 1;
    min-width: 300px;
}

.tools-description h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.tools-description h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ff5722, #ff9800);
    border-radius: 2px;
}

.tools-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

@media screen and (max-width: 992px) {
    .tools-showcase-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tools-description h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px) {
    .tools-image {
        min-width: 100%;
    }
    
    .tools-description {
        min-width: 100%;
    }
}

.why-choose-us {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

/* Mobile Side Menu - Only visible on screens < 992px */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -80%; /* Start off-screen */
    width: 80%;
    height: 100vh;
    background: linear-gradient(to bottom, #ffffff, #fff9f5);
    z-index: 9999;
    transition: left 0.3s ease-in-out;
    box-shadow: 0 5px 25px rgba(255, 87, 34, 0.15);
    overflow-y: auto;
    display: none; /* Hidden by default */
    border-right: 1px solid rgba(255, 87, 34, 0.1);
}

.mobile-side-menu.active {
    left: 0; /* Slide in */
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.mobile-menu-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    margin-bottom: 15px;
}

.mobile-menu-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-menu-nav a:hover {
    background-color: rgba(255, 87, 34, 0.1);
    padding-left: 20px;
}

.mobile-menu-nav a:hover::before {
    transform: scaleY(1);
}

.mobile-menu-nav a.active {
    background-color: rgba(255, 87, 34, 0.15);
    color: var(--primary-color);
}

.mobile-menu-nav a.active::before {
    transform: scaleY(1);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
    display: none; /* Hidden by default */
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* Only show mobile menu on screens < 992px */
@media screen and (max-width: 991px) {
    .mobile-side-menu,
    .mobile-menu-overlay {
        display: block;
    }
    
    /* Hide original menu toggle on mobile */
    .menu-toggle {
        display: flex;
    }
}

/* Hide mobile menu on screens >= 992px */
@media screen and (min-width: 992px) {
    .mobile-side-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}


