/* Global variables and color system */
:root {
    --primary-blue: #005BAA;
    --primary-blue-dark: #004380;
    --secondary-green: #2E8B57;
    --secondary-green-light: #3CB371;
    --gradient-blue-green: linear-gradient(135deg, #005BAA 0%, #2E8B57 100%);
    --gradient-green-blue: linear-gradient(135deg, #2E8B57 0%, #005BAA 100%);
    
    --light-gray: #F7FAFC;
    --dark-gray: #2D3748;
    --black: #1A202C;
    --text-color: #4A5568;
    --white: #FFFFFF;
    
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(0, 91, 170, 0.15), 0 8px 16px -8px rgba(46, 139, 87, 0.15);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --max-width: 1200px;
    --header-height: 84px;
}

/* CSS Resets & Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-bg-light {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-blue-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Typography styles */
.section-title {
    font-size: 2.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--gradient-blue-green);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-color);
    max-width: 750px;
    margin: 0 auto 50px auto;
}

/* Header & Navigation */
#header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

/* Color Accent line at the very top of header navigation */
#header::before {
    content: '';
    display: block;
    height: 4px;
    background: var(--gradient-blue-green);
    width: 100%;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(100% - 4px);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.logo-brand span {
    color: var(--secondary-green);
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #718096;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
    background-color: rgba(0, 91, 170, 0.05);
}

.nav-links a.active {
    color: var(--white);
    background: var(--gradient-blue-green);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.25s ease;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}

.btn-secondary {
    background-color: var(--secondary-green);
    color: var(--white);
    border: 2px solid var(--secondary-green);
}

.btn-secondary:hover {
    background-color: #246e44;
    border-color: #246e44;
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

/* Home Page Hero Section (Vibrant Gradient Theme) */
.hero {
    background: var(--gradient-blue-green);
    padding: 100px 0;
    color: var(--white);
    position: relative;
}

/* Custom background pattern for hero */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.7;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.25rem;
    color: var(--white);
    margin: 0 auto 20px auto;
    max-width: 900px;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 35px auto;
    max-width: 800px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 40px auto;
    max-width: 900px;
}

.highlight-item {
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.12);
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
}

.highlight-item span {
    color: #E2E8F0;
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Custom visual showcase container for hero */
.hero-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.showcase-item {
    height: 350px;
    background-color: var(--light-gray);
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.showcase-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.showcase-item > * {
    position: relative;
    z-index: 2;
}

.showcase-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
}

.showcase-item:hover {
    transform: scale(1.03);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-card {
    background-color: var(--white);
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-card:nth-child(1), .stat-card:nth-child(4) {
    border-top: 4px solid var(--primary-blue);
    border-bottom: 4px solid var(--primary-blue);
}

.stat-card:nth-child(2), .stat-card:nth-child(3) {
    border-top: 4px solid var(--secondary-green);
    border-bottom: 4px solid var(--secondary-green);
}

.stat-card .num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 5px;
}

.stat-card:nth-child(1) .num, .stat-card:nth-child(4) .num {
    background: linear-gradient(135deg, #005BAA 0%, #004380 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card:nth-child(2) .num, .stat-card:nth-child(3) .num {
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card .label {
    font-weight: 600;
    color: #718096;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Why Choose Section (Alternating Border Colors) */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Alternating Border Colors */
.why-card:nth-child(1), .why-card:nth-child(3), .why-card:nth-child(5) {
    border-top: 4px solid var(--primary-blue);
}

.why-card:nth-child(1) .icon, .why-card:nth-child(3) .icon, .why-card:nth-child(5) .icon {
    color: var(--primary-blue);
}

.why-card:nth-child(2), .why-card:nth-child(4), .why-card:nth-child(6) {
    border-top: 4px solid var(--secondary-green);
}

.why-card:nth-child(2) .icon, .why-card:nth-child(4) .icon, .why-card:nth-child(6) .icon {
    color: var(--secondary-green);
}

/* Colorful Shadow on Hover */
.why-card:nth-child(1):hover, .why-card:nth-child(3):hover, .why-card:nth-child(5):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 91, 170, 0.15);
    border-color: var(--primary-blue);
}

.why-card:nth-child(2):hover, .why-card:nth-child(4):hover, .why-card:nth-child(6):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(46, 139, 87, 0.15);
    border-color: var(--secondary-green);
}

.why-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Sustainability Section */
.sustainability-banner {
    background: var(--gradient-green-blue);
    border-radius: 8px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.sustainability-content h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.sustainability-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.sustainability-badge {
    background-color: rgba(255, 255, 255, 0.12);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    backdrop-filter: blur(4px);
}

.sustainability-badge .solar-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    display: block;
    margin-bottom: 5px;
    color: #FEE2E2; /* subtle glow text */
}

/* Featured Products Grid */
.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.featured-header h2 {
    margin-bottom: 0;
}

/* Manufacturing Capabilities Page */
.capability-intro {
    max-width: 800px;
    margin-bottom: 50px;
    font-size: 1.125rem;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.capability-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease;
}

.capability-card:hover {
    transform: translateY(-2px);
}

.capability-img {
    height: 240px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.capability-card:nth-child(odd) .capability-img {
    background: var(--gradient-blue-green);
}

.capability-card:nth-child(even) .capability-img {
    background: var(--gradient-green-blue);
}

.capability-content {
    padding: 30px;
}

.capability-content h3 {
    font-size: 1.45rem;
    margin-bottom: 15px;
}

.capability-card:nth-child(odd) .capability-content h3 {
    color: var(--primary-blue);
}

.capability-card:nth-child(even) .capability-content h3 {
    color: var(--secondary-green);
}

.capability-content p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Products Showcase Page Layout */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.products-sidebar {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
    align-self: start;
    position: sticky;
    top: 104px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-sm);
}

.products-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-list {
    list-style: none;
}

.category-item button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    color: var(--black);
    transition: all 0.2s ease;
}

.category-item button:hover {
    background-color: rgba(0, 91, 170, 0.05);
    color: var(--primary-blue);
}

.category-item button.active {
    background: var(--gradient-blue-green);
    color: var(--white);
    font-weight: 600;
}

.category-item button .count {
    font-size: 0.75rem;
    background-color: #EDF2F7;
    color: var(--text-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.category-item button.active .count {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.products-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.search-filter-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}

.search-input-wrapper input:focus {
    border-color: var(--primary-blue);
}

.catalog-info {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

/* Product Card Styling (Color Borders/Shadows on Hover) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Alternating hover borders for list cards */
.product-card:nth-child(odd):hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 91, 170, 0.12);
}

.product-card:nth-child(even):hover {
    border-color: var(--secondary-green);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(46, 139, 87, 0.12);
}

.product-card-img {
    height: 190px;
    background-color: #F7FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.product-card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-category {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-card:nth-child(even) .product-card-category {
    color: var(--secondary-green);
}

.product-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.product-card-meta {
    font-size: 0.8rem;
    color: var(--text-color);
    border-top: 1px solid #EDF2F7;
    padding-top: 12px;
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.product-meta-row strong {
    color: var(--black);
}

/* Category cards grid (homepage / top level showcase) */
.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.category-card:nth-child(odd) {
    border-top: 4px solid var(--primary-blue);
}

.category-card:nth-child(even) {
    border-top: 4px solid var(--secondary-green);
}

.category-card:nth-child(odd):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 91, 170, 0.15);
    border-color: var(--primary-blue);
}

.category-card:nth-child(even):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(46, 139, 87, 0.15);
    border-color: var(--secondary-green);
}

.category-card-img {
    height: 170px;
    background-color: #EDF2F7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #718096;
}

.category-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.category-card:nth-child(odd) .category-card-body h3 {
    color: var(--primary-blue);
}

.category-card:nth-child(even) .category-card-body h3 {
    color: var(--secondary-green);
}

.category-card-body p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.category-card-link {
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-card:nth-child(odd) .category-card-link {
    color: var(--primary-blue);
}

.category-card:nth-child(even) .category-card-link {
    color: var(--secondary-green);
}

.category-card-link:hover {
    text-decoration: underline;
}

/* OEM Page Section */
.oem-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.oem-content p {
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.oem-services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.oem-service-item {
    font-weight: 600;
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.oem-service-item:nth-child(even) {
    border-left-color: var(--secondary-green);
}

.oem-service-item span {
    font-weight: bold;
    font-size: 1.1rem;
}

.oem-service-item:nth-child(odd) span {
    color: var(--primary-blue);
}

.oem-service-item:nth-child(even) span {
    color: var(--secondary-green);
}

/* Contact Page Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.address-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.address-card:nth-child(1) {
    border-left: 5px solid var(--primary-blue);
}

.address-card:nth-child(2) {
    border-left: 5px solid var(--secondary-green);
}

.address-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 10px;
}

.address-card:nth-child(1) h3 {
    color: var(--primary-blue);
}

.address-card:nth-child(2) h3 {
    color: var(--secondary-green);
}

.address-card p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.address-card strong {
    color: var(--black);
}

.address-card a {
    font-weight: 600;
    color: var(--primary-blue);
}

.address-card a:hover {
    text-decoration: underline;
}

.contact-form-block {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-blue);
}

.contact-form-block.catalog-block {
    border-top-color: var(--secondary-green);
}

.contact-form-block h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.contact-form-block.catalog-block h3 {
    color: var(--secondary-green);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
}

/* Maps and external embeds */
.map-container {
    height: 350px;
    background-color: #E2E8F0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 40px;
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Modal styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--white);
    border-radius: 8px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-blue);
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #A0AEC0;
    cursor: pointer;
    background: transparent;
    border: none;
    line-height: 1;
    z-index: 10;
}

.modal-close:hover {
    color: var(--black);
}

.modal-body {
    padding: 40px;
}

.modal-product-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
}

.modal-product-img {
    height: 200px;
    background-color: #F7FAFC;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.modal-product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.modal-product-info h2 {
    font-size: 1.6rem;
    color: var(--black);
    margin-bottom: 15px;
    line-height: 1.25;
}

.modal-info-table {
    margin-bottom: 25px;
    border-top: 1px solid var(--border-color);
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.modal-info-row span {
    color: #718096;
}

.modal-info-row strong {
    color: var(--black);
}

/* Footer Section */
#footer {
    background-color: var(--black);
    color: #A0AEC0;
    padding: 60px 0 30px 0;
    border-top: 5px solid var(--primary-blue);
    font-size: 0.9rem;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue-green);
}

#footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-about p {
    margin-top: 15px;
    line-height: 1.5;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    transition: color 0.2s;
}

.footer-links-list a:hover {
    color: var(--secondary-green-light);
    text-decoration: underline;
}

.footer-contact-item {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.footer-contact-item strong {
    color: var(--white);
}

.footer-contact-item a {
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #2D3748;
    padding-top: 25px;
    text-align: center;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-highlights {
        max-width: 500px;
        margin: 0 auto 30px auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .about-grid,
    .oem-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sustainability-banner {
        grid-template-columns: 1fr;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        position: static;
        max-height: none;
    }
    
    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .category-item button {
        width: auto;
        border: 1px solid var(--border-color);
    }
    
    .category-item button.active {
        border-color: var(--primary-blue);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .why-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-highlights {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .modal-product-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-product-img {
        height: 150px;
    }
    
    .search-filter-bar {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Catalog Top Filter Layout */
.catalog-filters-top {
    margin-bottom: 30px;
}

.products-top-nav {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.category-pills {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

.category-pills .category-item {
    flex: 0 0 auto;
}

.category-pills .category-item button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--border-color);
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    cursor: pointer;
    color: var(--black);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.category-pills .category-item button:hover {
    background-color: #F7FAFC;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 91, 170, 0.08);
}

.category-pills .category-item button.active {
    background: var(--gradient-blue-green);
    color: var(--white);
    border-color: transparent;
    font-weight: 600;
}

.category-pills .category-item button .count {
    font-size: 0.75rem;
    background-color: #EDF2F7;
    color: var(--text-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
    margin-left: 8px;
}

.category-pills .category-item button.active .count {
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.products-main-full {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Scrollbar for pills */
.products-top-nav::-webkit-scrollbar {
    height: 8px;
}
.products-top-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.products-top-nav::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}
.products-top-nav::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}


/* =========================================
   MOBILE RESPONSIVE OVERRIDES
   ========================================= */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
    user-select: none;
}

@media screen and (max-width: 992px) {
    /* Header & Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        z-index: 1001;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px;
        border-radius: 0;
    }
    
    .nav-links a:hover {
        background-color: var(--light-gray);
    }
    
    /* Layouts */
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .capability-grid { grid-template-columns: 1fr; }
    .sustainability-banner { grid-template-columns: 1fr; text-align: center; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .products-layout { grid-template-columns: 1fr; }
    
    .hero-showcase { grid-template-columns: repeat(2, 1fr); }
    
    .products-sidebar {
        position: static;
        max-height: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    /* Typography */
    .section-title { font-size: 1.8rem; }
    .hero-content h1 { font-size: 2.25rem; }
    .hero-content p { font-size: 1.1rem; }
    .stat-card .num { font-size: 2.5rem; }
    
    /* Layouts */
    .why-grid { grid-template-columns: 1fr; }
    .hero-showcase { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .search-filter-bar {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
