/*
Theme Name: Ajit Mechanic Works
Theme URI: https://amwgrinders.net
Author: DIGIFoxStudio
Author URI: https://digifoxstudio.com
Description: Custom WordPress theme for Ajit Mechanic Works - Premium Industrial Grinding Solutions
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amw-theme
*/

/* ====================================
   CSS Reset & Base Styles
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #1a5490;
    --primary-dark: #0d3b6f;
    --primary-light: #2e6ba8;
    --secondary-color: #e67e22;
    --secondary-dark: #d35400;
    --accent-color: #27ae60;
    --dark-bg: #0a1929;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ====================================
   Navigation
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

/* WordPress Admin Bar Compatibility */
.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .navbar {
        top: 46px;
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    gap: 0.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 4px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

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

.nav-link:hover::after {
    width: 100%;
}

/* ====================================
   Product Dropdown Menu
   ==================================== */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-dropdown > .nav-link i.fa-chevron-down {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    line-height: 1;
}

.nav-dropdown:hover > .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    min-width: 900px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: 0;
}

/* Invisible bridge to prevent gap hover loss */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: transparent;
}

.dropdown-category h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.dropdown-category h4 a {
    color: inherit;
    text-decoration: none;
}

.dropdown-category h4 a:hover {
    color: var(--primary-dark);
}

.dropdown-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-category ul li {
    margin-bottom: 0.25rem;
}

.dropdown-category ul li a {
    display: block;
    padding: 0.35rem 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.82rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-category ul li a:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 0.75rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat {
    text-align: center;
}

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

.stat h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--white);
    font-size: 2rem;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ====================================
   Section Headers
   ==================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================
   About Section
   ==================================== */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.image-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-badge i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.detail-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.detail-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.detail-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.detail-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ====================================
   Products Section
   ==================================== */
.products {
    padding: var(--spacing-xl) 0;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.product-card.hidden {
    display: none;
}

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

.product-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image .image-placeholder {
    width: 100%;
    height: 100%;
}

.product-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    min-height: 2.5rem;
}

.product-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ====================================
   Why Us Section
   ==================================== */
.why-us {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.why-us .section-header h2,
.why-us .section-header p {
    color: var(--white);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
}

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

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

.feature-card p {
    opacity: 0.9;
    line-height: 1.7;
}

/* ====================================
   Contact Section
   ==================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

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

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.info-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
    background: var(--white);
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.trust-badge i {
    color: var(--accent-color);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list i {
    color: var(--secondary-color);
}

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

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

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

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ====================================
   Scroll to Top Button
   ==================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-dark);
    transform: translateY(-5px);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .company-details {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    /* Mobile Dropdown */
    .nav-dropdown > .nav-link i {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.dropdown-open > .nav-link i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        display: none;
        grid-template-columns: 1fr;
        min-width: unset;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        border-left: 3px solid var(--primary-color);
        border-radius: 0;
        background: var(--light-bg, #f8f9fa);
    }

    .nav-dropdown.dropdown-open .dropdown-menu {
        display: grid;
    }

    .dropdown-category {
        margin-bottom: 0.5rem;
    }

    .dropdown-category h4 {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        padding-bottom: 0.3rem;
    }

    .dropdown-category ul li a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .product-tabs {
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
    }
}

/* ====================================
   Utility Classes
   ==================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }

/* ====================================
   Product Categories Section
   ==================================== */
.product-categories {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

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

.category-card {
    background: linear-gradient(135deg, var(--white), var(--light-bg));
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid transparent;
}

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

.category-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(26, 84, 144, 0.3);
}

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

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.category-card:hover .category-link {
    gap: 1rem;
}

/* ====================================
   Featured Products Section
   ==================================== */
.featured-products {
    padding: var(--spacing-xl) 0;
    background: var(--light-bg);
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-specs span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-specs i {
    color: var(--accent-color);
    font-size: 0.75rem;
}

/* ====================================
   CTA Section
   ==================================== */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====================================
   Page Header (for internal pages)
   ==================================== */
.page-header {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
    color: var(--white);
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ====================================
   Breadcrumbs
   ==================================== */
.breadcrumb {
    padding: 1rem 0;
    background: var(--light-bg);
    margin-top: 70px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: var(--text-light);
}

.breadcrumb-nav i {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* ====================================
   Stats Cards (About Page)
   ==================================== */
.stats-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

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

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ====================================
   Mission/Vision Cards
   ==================================== */
.mission-vision {
    padding: var(--spacing-xl) 0;
    background: var(--light-bg);
}

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

.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.mission-card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ====================================
   What We Manufacture Section
   ==================================== */
.manufacturing-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

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

.manufacturing-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.manufacturing-card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.manufacturing-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.manufacturing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.manufacturing-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ====================================
   Product Detail Page
   ==================================== */
.product-detail {
    padding: var(--spacing-lg) 0;
    background: var(--white);
}

.product-detail-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 60px;
}

.product-detail-hero .breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    background: transparent;
}

.product-detail-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.product-detail-hero .breadcrumb a:hover {
    color: var(--secondary-color);
}

.product-detail-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.product-detail-hero .breadcrumb i {
    margin: 0 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-detail-hero .product-info h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-model {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-detail-hero .product-price {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-short-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-buttons .btn {
    flex: 1;
}

.product-meta {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-item i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.meta-item span {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    display: block;
}

.product-sections {
    background: var(--white);
    padding: var(--spacing-xl) 0;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.thumbnail i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.product-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.main-image {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
}

.main-image i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    background: linear-gradient(135deg, var(--light-bg), var(--border-color));
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail i {
    font-size: 2rem;
    color: var(--text-light);
}

.product-info h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ====================================
   Specifications Table
   ==================================== */
.specs-section {
    margin-bottom: var(--spacing-lg);
}

.specs-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.specs-table th,
.specs-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:hover {
    background: var(--light-bg);
}

/* ====================================
   Features List
   ==================================== */
.features-section {
    margin-bottom: var(--spacing-lg);
}

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

.feature-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: start;
    transition: var(--transition);
}

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

.feature-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ====================================
   Applications Section
   ==================================== */
.applications-section {
    margin-bottom: var(--spacing-lg);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.application-item {
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.application-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.application-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.application-item h4 {
    font-size: 1rem;
    color: var(--text-dark);
}

/* ====================================
   Technical Details Cards
   ==================================== */
.technical-details {
    margin-bottom: var(--spacing-lg);
}

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

.tech-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.tech-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.tech-card h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-card p {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* ====================================
   Enquiry Form (Product Page)
   ==================================== */
.enquiry-section {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.enquiry-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.enquiry-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form input[type="tel"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.enquiry-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

.enquiry-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    cursor: pointer;
    grid-column: 1 / 2;
}

.enquiry-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

.enquiry-form textarea {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    resize: vertical;
    min-height: 100px;
}

.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

.enquiry-form button {
    grid-column: 1 / -1;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.enquiry-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.enquiry-form button i {
    font-size: 1rem;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Mobile responsive for enquiry form */
@media (max-width: 640px) {
    .enquiry-form {
        grid-template-columns: 1fr;
    }

    .enquiry-form select {
        grid-column: 1 / -1;
    }
}

/* ====================================
   Related Products Section
   ==================================== */
.related-products {
    padding: var(--spacing-lg) 0;
    background: var(--white);
}

.related-products .section-header {
    margin-bottom: var(--spacing-md);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ====================================
   GST Banner
   ==================================== */
.gst-banner {
    background: linear-gradient(135deg, var(--accent-color), #229954);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.gst-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.gst-item strong {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.gst-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ====================================
   Business Hours
   ==================================== */
.business-hours {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--spacing-md);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.hours-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
}

.hours-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hours-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.hours-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ====================================
   Map Section
   ==================================== */
.map-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    height: 400px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.map-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ====================================
   Responsive Updates for Multi-Page
   ==================================== */
@media (max-width: 968px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .product-info h1 {
        font-size: 2rem;
    }

    .product-price {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .product-actions {
        flex-direction: column;
    }

    .gst-info {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .product-info h1 {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.75rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====================================
   Additional Utility Classes
   ==================================== */
.btn-back {
    display: inline-block;
    margin-top: 1rem;
}

.benefits-heading {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-link-text {
    margin-top: 1rem;
    color: var(--text-light);
}

.map-link {
    color: var(--primary-color);
    font-weight: 600;
}

/* ====================================
   Products Page Styles
   ==================================== */
.products-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.products-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.products-section {
    padding: var(--spacing-xl) 0;
}

.category-section {
    margin-bottom: var(--spacing-xl);
}

.category-header {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.category-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.category-header p {
    opacity: 0.95;
    font-size: 1.1rem;
}

.category-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.services-section {
    background: var(--light-bg);
    padding: var(--spacing-xl) 0;
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-lg);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 968px) {
    .products-hero h1 {
        font-size: 2.5rem;
    }

    .category-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   About Page Styles
   ==================================== */
        .about-hero {
            background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
            color: var(--white);
            padding: 120px 0 80px;
            text-align: center;
        }

        .about-hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease-out;
        }

        .about-hero p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .company-overview {
            padding: var(--spacing-xl) 0;
        }

        .overview-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-lg);
            align-items: center;
            margin-bottom: var(--spacing-lg);
        }

        .overview-content h2 {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .overview-content p {
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 1rem;
            font-size: 1.05rem;
        }

        .proprietor-section {
            background: var(--white);
            padding: 2rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            border-left: 4px solid var(--secondary-color);
            margin-top: 2rem;
        }

        .proprietor-section h3 {
            color: var(--primary-color);
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .proprietor-section p {
            color: var(--text-dark);
            font-weight: 600;
            font-size: 1.2rem;
        }

        .company-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-top: var(--spacing-lg);
        }

        .stat-box {
            background: var(--white);
            padding: 2rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            text-align: center;
            transition: var(--transition);
            border-top: 4px solid var(--secondary-color);
        }

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

        .stat-box i {
            font-size: 3rem;
            color: var(--secondary-color);
            margin-bottom: 1rem;
        }

        .stat-box h3 {
            font-size: 1.8rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .stat-box p {
            color: var(--text-light);
            font-size: 0.95rem;
        }

        .credentials-section {
            background: var(--light-bg);
            padding: var(--spacing-xl) 0;
        }

        .credentials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: var(--spacing-md);
        }

        .credential-card {
            background: var(--white);
            padding: 2rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

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

        .credential-card i {
            font-size: 2.5rem;
            color: var(--accent-color);
            margin-bottom: 1rem;
        }

        .credential-card h3 {
            color: var(--text-dark);
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .credential-card p {
            color: var(--text-light);
            line-height: 1.6;
        }

        .credential-value {
            display: block;
            font-weight: 700;
            color: var(--primary-color);
            font-size: 1.1rem;
            margin-top: 0.5rem;
        }

        .mission-vision {
            padding: var(--spacing-xl) 0;
        }

        .mv-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: var(--spacing-md);
        }

        .mv-card {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
            padding: 2.5rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            transition: var(--transition);
        }

        .mv-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .mv-card i {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            color: var(--secondary-color);
        }

        .mv-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }

        .mv-card p {
            opacity: 0.95;
            line-height: 1.7;
        }

        .manufacturing-section {
            background: var(--light-bg);
            padding: var(--spacing-xl) 0;
        }

        .manufacturing-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: var(--spacing-md);
        }

        .manufacturing-item {
            background: var(--white);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: var(--transition);
        }

        .manufacturing-item:hover {
            transform: translateX(10px);
            box-shadow: var(--shadow-lg);
        }

        .manufacturing-item i {
            font-size: 2rem;
            color: var(--secondary-color);
            flex-shrink: 0;
        }

        .manufacturing-item h4 {
            color: var(--primary-color);
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }

        .manufacturing-item p {
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .trustseal-banner {
            background: linear-gradient(135deg, var(--accent-color), #1e8449);
            padding: 3rem;
            border-radius: var(--radius-lg);
            text-align: center;
            color: var(--white);
            margin: var(--spacing-lg) 0;
            box-shadow: var(--shadow-lg);
        }

        .trustseal-banner i {
            font-size: 4rem;
            margin-bottom: 1rem;
        }

        .trustseal-banner h3 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .trustseal-banner p {
            font-size: 1.1rem;
            opacity: 0.95;
        }

        @media (max-width: 968px) {
            .about-hero h1 {
                font-size: 2.5rem;
            }

            .overview-grid {
                grid-template-columns: 1fr;
            }

            .company-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            .credentials-grid {
                grid-template-columns: 1fr;
            }

            .mv-grid {
                grid-template-columns: 1fr;
            }

            .manufacturing-list {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .about-hero h1 {
                font-size: 2rem;
            }

            .company-stats {
                grid-template-columns: 1fr;
            }
        }

/* ====================================
   Contact Page Styles
   ==================================== */
        .contact-hero {
            background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
            color: var(--white);
            padding: 120px 0 80px;
            text-align: center;
        }

        .contact-hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease-out;
        }

        .contact-hero p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .contact-main {
            padding: var(--spacing-xl) 0;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-lg);
        }

        .contact-info-section {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .info-card {
            background: var(--white);
            padding: 2rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

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

        .info-card-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .info-card-header i {
            font-size: 2.5rem;
            color: var(--secondary-color);
        }

        .info-card-header h3 {
            color: var(--primary-color);
            font-size: 1.5rem;
        }

        .info-card p {
            color: var(--text-dark);
            line-height: 1.7;
            margin-bottom: 0.5rem;
        }

        .info-card a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
        }

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

        .info-detail {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-color);
        }

        .info-detail:last-child {
            border-bottom: none;
        }

        .info-detail i {
            color: var(--secondary-color);
            margin-top: 0.25rem;
        }

        .info-detail-content strong {
            display: block;
            color: var(--text-dark);
            margin-bottom: 0.25rem;
        }

        .info-detail-content span {
            color: var(--text-light);
        }

        .contact-form-wrapper {
            background: var(--white);
            padding: 2.5rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
        }

        .contact-form-wrapper h2 {
            color: var(--primary-color);
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .contact-form-wrapper > p {
            color: var(--text-light);
            margin-bottom: 2rem;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .form-group {
            position: relative;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--border-color);
            border-radius: var(--radius-md);
            font-size: 1rem;
            font-family: inherit;
            transition: var(--transition);
            background: var(--white);
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        .form-group input.error,
        .form-group textarea.error,
        .form-group select.error {
            border-color: #e74c3c;
        }

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

        .form-group label span {
            color: #e74c3c;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .error-message {
            color: #e74c3c;
            font-size: 0.85rem;
            margin-top: 0.25rem;
            display: none;
        }

        .form-group.has-error .error-message {
            display: block;
        }

        .submit-btn {
            width: 100%;
            padding: 1rem 2rem;
            background: var(--secondary-color);
            color: var(--white);
            border: none;
            border-radius: var(--radius-lg);
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
        }

        .submit-btn:hover {
            background: var(--secondary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
        }

        .submit-btn:disabled {
            background: var(--text-light);
            cursor: not-allowed;
            transform: none;
        }

        .business-hours {
            background: var(--light-bg);
            padding: var(--spacing-xl) 0;
        }

        .hours-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: var(--spacing-md);
        }

        .hours-card {
            background: var(--white);
            padding: 2rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            text-align: center;
        }

        .hours-card i {
            font-size: 3rem;
            color: var(--secondary-color);
            margin-bottom: 1rem;
        }

        .hours-card h3 {
            color: var(--primary-color);
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .hours-card p {
            color: var(--text-light);
            line-height: 1.6;
        }

        .hours-card .time {
            display: block;
            color: var(--text-dark);
            font-weight: 700;
            font-size: 1.2rem;
            margin-top: 0.5rem;
        }

        .map-section {
            padding: var(--spacing-xl) 0;
        }

        .map-container {
            background: var(--light-bg);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            position: relative;
        }

        .map-container iframe {
            display: block;
            width: 100%;
            height: 450px;
            border: 0;
        }

        .map-placeholder {
            text-align: center;
            color: var(--text-light);
        }

        .map-placeholder i {
            font-size: 5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .map-placeholder h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }

        .gst-banner {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
            padding: 3rem;
            border-radius: var(--radius-lg);
            margin: var(--spacing-lg) 0;
            box-shadow: var(--shadow-lg);
            text-align: center;
        }

        .gst-banner h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .gst-details {
            display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
            margin-top: 1.5rem;
        }

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

        .gst-item i {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: var(--secondary-color);
        }

        .gst-item strong {
            display: block;
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
            opacity: 0.9;
        }

        .gst-item span {
            font-size: 1.2rem;
            font-weight: 700;
        }

        .success-message {
            background: var(--accent-color);
            color: var(--white);
            padding: 1rem;
            border-radius: var(--radius-md);
            margin-bottom: 1rem;
            display: none;
            align-items: center;
            gap: 0.5rem;
        }

        .success-message.show {
            display: flex;
        }

        .success-message i {
            font-size: 1.5rem;
        }

        @media (max-width: 968px) {
            .contact-hero h1 {
                font-size: 2.5rem;
            }

            .contact-content {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .gst-details {
                gap: 2rem;
            }
        }

        @media (max-width: 768px) {
            .contact-hero h1 {
                font-size: 2rem;
            }

            .hours-grid {
                grid-template-columns: 1fr;
            }

            .gst-details {
                flex-direction: column;
                gap: 1.5rem;
            }
        }

/* ====================================
   WhatsApp Floating Button
   ==================================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: #ffffff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 70px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ====================================
   Related Products Grid - Fixed Sizing
   ==================================== */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Smaller product cards for related products section */
.related-products .product-card {
    max-width: 100%;
    transform: none !important;
}

.related-products .product-card:hover {
    transform: translateY(-5px) !important;
}

.related-products .product-image {
    aspect-ratio: 16/9 !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
}

.related-products .image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-products .image-placeholder i {
    font-size: 2.5rem !important;
}

.related-products .product-badge {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.6rem !important;
}

.related-products .product-content {
    padding: 1rem !important;
}

.related-products .product-content h3 {
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: auto;
    max-height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-products .product-content p {
    font-size: 0.8rem !important;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-products .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.related-products .price {
    font-size: 0.95rem !important;
    font-weight: 700;
    color: var(--primary-color);
}

.related-products .btn-small {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8rem !important;
}

/* Tablet responsive */
@media (max-width: 968px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-products .product-image {
        height: 200px;
    }
}

/* ====================================
   General Spacing Fixes
   ==================================== */

/* Reduce excessive padding on sections */
.product-sections {
    padding: 3rem 0;
}

.features-section {
    margin-bottom: 3rem;
}

.applications-section {
    margin-bottom: 3rem;
}

.enquiry-section {
    padding: 3rem 0;
    margin-top: 2rem;
}

/* Fix spacing in product detail pages */
.product-detail-content {
    gap: 2rem;
}

/* Reduce spacing in specifications table */
.specs-table table tr td {
    padding: 0.75rem 1rem;
}

/* Better spacing for feature items */
.feature-item {
    margin-bottom: 1.5rem;
}

.application-card {
    padding: 1.25rem;
}

/* Adjust section headers spacing */
.section-content h2 {
    margin-bottom: 1.5rem;
}

/* Fix footer spacing */
.footer {
    padding: 3rem 0 1.5rem;
}

.footer-content {
    gap: 2rem;
}

/* Better spacing for CTA section */
.cta-section {
    padding: 3rem 0;
}

.cta-content {
    padding: 3rem 2rem;
}

/* Fix enquiry form spacing */
.enquiry-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.25rem;
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
    .product-sections {
        padding: 2rem 0;
    }
    
    .features-section,
    .applications-section {
        margin-bottom: 2rem;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-content {
        padding: 2rem 1.5rem;
    }
}


/* Related Products Section Title */
.related-products h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.related-products {
    padding: 3rem 0;
    background: var(--light-bg);
}


/* ====================================
   PRODUCT DETAIL PAGES - COMPLETE STYLING
   ==================================== */

/* Hero Section */
.product-detail-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%) !important;
    color: var(--white) !important;
    padding: 120px 0 60px !important;
}

.product-detail-hero .breadcrumb {
    margin-bottom: 1.5rem !important;
    font-size: 0.9rem !important;
    background: transparent !important;
}

.product-detail-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
}

.product-detail-hero .breadcrumb a:hover {
    color: var(--secondary-color) !important;
}

.product-detail-hero .breadcrumb span {
    color: var(--white) !important;
}

.product-detail-hero .breadcrumb i {
    margin: 0 0.5rem !important;
    font-size: 0.7rem !important;
}

/* Product Detail Content Grid */
.product-detail-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    align-items: start !important;
}

/* Product Gallery */
.product-gallery {
    position: sticky !important;
    top: 100px !important;
}

.main-image {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color)) !important;
    border-radius: var(--radius-lg) !important;
    aspect-ratio: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
    box-shadow: var(--shadow-lg) !important;
}

.main-image i {
    font-size: 8rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

.thumbnail-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
}

.thumbnail {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color)) !important;
    border-radius: var(--radius-md) !important;
    aspect-ratio: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    border: 2px solid transparent !important;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
}

.thumbnail i {
    font-size: 2rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Product Info */
.product-info h1 {
    font-size: 2.5rem !important;
    color: var(--white) !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.product-meta {
    display: flex !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
}

.meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.meta-item i {
    color: var(--secondary-color) !important;
}

.product-price {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    padding: 1.5rem !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: 2rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.price-label {
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
    margin-bottom: 0.5rem !important;
}

.price-amount {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: var(--secondary-color) !important;
}

.price-note {
    font-size: 0.85rem !important;
    opacity: 0.7 !important;
    margin-top: 0.5rem !important;
}

.cta-buttons {
    display: flex !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
}

.cta-buttons .btn {
    flex: 1 !important;
}

/* Product Sections */
.product-sections {
    background: var(--white) !important;
    padding: var(--spacing-xl) 0 !important;
}

.section-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Specifications Table */
.specs-table {
    background: var(--white) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow) !important;
    margin-bottom: 3rem !important;
}

.specs-table h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    color: var(--white) !important;
    padding: 1.5rem 2rem !important;
    margin: 0 !important;
    font-size: 1.8rem !important;
}

.specs-table table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color) !important;
}

.specs-table tr:last-child {
    border-bottom: none !important;
}

.specs-table td {
    padding: 1.25rem 2rem !important;
}

.specs-table td:first-child {
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    width: 35% !important;
    background: var(--light-bg) !important;
}

.specs-table td:last-child {
    color: var(--text-light) !important;
}

/* Features, Applications, Technical Sections */
.features-section,
.applications-section,
.technical-section {
    background: var(--white) !important;
    padding: 2rem !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow) !important;
    margin-bottom: 3rem !important;
}

.features-section h2,
.applications-section h2,
.technical-section h2 {
    color: var(--primary-color) !important;
    font-size: 1.8rem !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.features-section h2 i,
.applications-section h2 i,
.technical-section h2 i {
    color: var(--secondary-color) !important;
}

/* Features Grid */
.features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
}

.feature-item {
    display: flex !important;
    gap: 1rem !important;
    padding: 1rem !important;
    background: var(--light-bg) !important;
    border-radius: var(--radius-md) !important;
    transition: var(--transition) !important;
}

.feature-item:hover {
    transform: translateX(5px) !important;
    background: linear-gradient(135deg, var(--light-bg), rgba(26, 84, 144, 0.05)) !important;
}

.feature-item i {
    font-size: 1.5rem !important;
    color: var(--secondary-color) !important;
    flex-shrink: 0 !important;
    margin-top: 0.25rem !important;
}

.feature-content h3 {
    font-size: 1.1rem !important;
    color: var(--text-dark) !important;
    margin-bottom: 0.25rem !important;
}

.feature-content p {
    font-size: 0.9rem !important;
    color: var(--text-light) !important;
    line-height: 1.6 !important;
}

/* Applications List */
.applications-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
}

.application-card {
    background: var(--light-bg) !important;
    padding: 1.5rem !important;
    border-radius: var(--radius-md) !important;
    border-left: 4px solid var(--secondary-color) !important;
    transition: var(--transition) !important;
}

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

.application-card h3 {
    color: var(--primary-color) !important;
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.application-card h3 i {
    color: var(--secondary-color) !important;
}

.application-card p {
    color: var(--text-light) !important;
    line-height: 1.6 !important;
}

/* Technical Grid */
.technical-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 1.5rem !important;
}

.tech-detail {
    background: var(--light-bg) !important;
    padding: 1.5rem !important;
    border-radius: var(--radius-md) !important;
    text-align: center !important;
    transition: var(--transition) !important;
}

.tech-detail:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow) !important;
}

.tech-detail i {
    font-size: 2.5rem !important;
    color: var(--secondary-color) !important;
    margin-bottom: 1rem !important;
}

.tech-detail h4 {
    color: var(--text-dark) !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.1rem !important;
}

.tech-detail p {
    color: var(--text-light) !important;
    font-size: 0.9rem !important;
}

/* Enquiry Section - Special Styling for Product Pages */
.product-sections .enquiry-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    padding: 3rem !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: 3rem !important;
    color: var(--white) !important;
}

.product-sections .enquiry-section h2 {
    color: var(--white) !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    font-size: 2rem !important;
}

.product-sections .enquiry-form {
    max-width: 600px !important;
    margin: 0 auto !important;
    display: grid !important;
    gap: 1rem !important;
}

.product-sections .enquiry-form input,
.product-sections .enquiry-form textarea,
.product-sections .enquiry-form select {
    width: 100% !important;
    padding: 1rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: var(--radius-md) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    transition: var(--transition) !important;
}

.product-sections .enquiry-form input::placeholder,
.product-sections .enquiry-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.product-sections .enquiry-form input:focus,
.product-sections .enquiry-form textarea:focus,
.product-sections .enquiry-form select:focus {
    outline: none !important;
    border-color: var(--secondary-color) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.product-sections .enquiry-form select option {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
}

.product-sections .enquiry-form button {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    padding: 1rem 2rem !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.product-sections .enquiry-form button:hover {
    background: var(--secondary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Related Products in Product Pages */
.product-sections .related-products {
    margin-bottom: 3rem !important;
}

.product-sections .related-products h2 {
    text-align: center !important;
    color: var(--primary-color) !important;
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.product-sections .related-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

/* Responsive Design for Product Pages */
@media (max-width: 968px) {
    .product-detail-content {
        grid-template-columns: 1fr !important;
    }

    .product-gallery {
        position: static !important;
    }

    .features-grid,
    .applications-list {
        grid-template-columns: 1fr !important;
    }

    .technical-grid,
    .product-sections .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .product-info h1 {
        font-size: 2rem !important;
    }

    .price-amount {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .technical-grid,
    .product-sections .related-grid {
        grid-template-columns: 1fr !important;
    }

    .cta-buttons {
        flex-direction: column !important;
    }
    
    .product-meta {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}


/* ====================================
   Real Product Images - CSS Support
   ==================================== */

/* Main product image with real photos */
.main-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius-lg) !important;
}

/* Thumbnail images */
.thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius-md) !important;
}

/* Product card images (products.html & related products) */
.product-image img,
.image-placeholder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Remove old icon styling when images are used */
.main-image img + i,
.thumbnail img + i,
.image-placeholder img + i {
    display: none !important;
}

/* Product card image container fix */
.product-card .product-image {
    overflow: hidden !important;
}

.product-card .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

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

/* Related products image sizing */
.related-products .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Featured products image sizing */
.featured-products .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

