@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0f766e;
    /* Teal 700 */
    --primary-hover: #0d9488;
    /* Teal 600 */
    --primary-light: #f0fdfa;
    --secondary: #0f172a;
    /* Slate 900 */
    --accent: #38bdf8;
    /* Sky 400 */
    --text-main: #334155;
    /* Slate 700 */
    --text-muted: #64748b;
    /* Slate 500 */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    /* Slate 50 */
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

header {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    width: auto;
}

.desktop-nav ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.desktop-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.2rem;
}

.desktop-nav a:hover {
    color: var(--primary);
}

/* Shared and Mobile Menu */
.mobile-toggle {
    display: none;
    cursor: pointer;
}

/* Banner / Hero */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--secondary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-block;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Mid Container & Welcome Area */
.mid-container {
    background: var(--bg-main);
    box-shadow: none;
    position: relative;
}

.welcome-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.welcome-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.welcome-content .vision-mission {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.vm-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.vm-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

@media (max-width: 800px) {
    .welcome-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Products Area */
.products-section {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-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-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-card .img-wrapper {
    height: 382px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-info h3 i {
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.product-card:hover h3 i {
    transform: translateX(5px);
}

/* Enquiry Form */
.enquiry-section {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
}

.form-wrapper {
    background: var(--secondary);
    padding: 3rem;
    border-radius: var(--radius-xl);
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.form-wrapper h2 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-grid {
    display: grid;
    gap: 1.25rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-hover);
}

@media (max-width: 980px) {
    .enquiry-section {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* --- Utilities --- */
.clear {
    clear: both;
}

/* --- Category Page System --- */
.category-hero {
    background: #ffffff;
    height: 350px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4.5rem;
    z-index: 2;
    background: linear-gradient(90deg, #ffffff 60%, rgba(255, 255, 255, 0) 100%);
    height: 100%;
}

.hero-image-side {
    background: url('../images/in-banner.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 90%;
    height: 100%;
}

.category-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 3rem;
    margin-bottom: 5rem;
    width: 100%;
}

.category-main-content {
    min-width: 0;
    overflow: hidden;
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.product-img-box {
    height: 280px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-bottom: 1px solid #f8fafc;
}

.product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.05);
}

.product-info-box {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.product-card:hover .product-info-box {
    background: var(--primary);
}

.product-info-box h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 700;
    transition: color 0.3s ease;
}

.product-card:hover .product-info-box h3 {
    color: white;
}

.product-info-box i {
    color: var(--primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.product-card:hover .product-info-box i {
    color: white;
    transform: translateX(5px);
}

/* Sidebar Component */
.side-widget {
    background: #f8fafc;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.side-widget h2 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-light);
    font-weight: 800;
}

.side-category-list {
    list-style: none;
    padding: 0;
}

.side-category-list li {
    margin-bottom: 0.75rem;
}

.side-category-list a {
    display: block;
    padding: 0.875rem 1.25rem;
    background: white;
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
}

.side-category-list a:hover {
    background: var(--primary);
    color: white;
    transform: translateX(8px);
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 1.1rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
}

.enquiry-form button {
    width: 100%;
    padding: 1.25rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enquiry-form button:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* --- Mobile Friendliness Overhaul --- */
@media (max-width: 1150px) {
    .category-grid-layout {
        grid-template-columns: 1fr;
    }

    .category-hero {
        height: auto;
        padding: 3rem 0;
    }

    .hero-image-side {
        display: none;
    }

    .hero-text-side {
        background: none;
        text-align: center;
        padding: 0 1.5rem;
        align-items: center;
    }

    .category-hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 640px) {
    .category-hero {
        padding: 2.5rem 0;
    }

    .category-hero h1 {
        font-size: 2.25rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .product-img-box {
        height: 160px;
        padding: 0.75rem;
    }

    .product-info-box {
        padding: 0.75rem;
    }

    .product-info-box h3 {
        font-size: 0.8rem;
        font-weight: 700;
    }

    .product-info-box i {
        display: none;
        /* Hide arrow to save space on very small cards */
    }

    .side-widget {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .category-hero h1 {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}
/* --- Product Detail System --- */
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 4rem; margin: 4rem 0 6rem 0; }
.product-main-card { background: #fff; border-radius: 32px; padding: 3rem; border: 1px solid #f1f5f9; box-shadow: 0 20px 40px rgba(0,0,0,0.02); display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; }
.product-visual { background: #fff; border: 1px solid #f8fafc; border-radius: 20px; padding: 2.5rem; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 2px 10px rgba(0,0,0,0.01); }
.product-visual img { max-width: 100%; height: auto; filter: drop-shadow(0 15px 35px rgba(0,0,0,0.1)); transition: transform 0.3s ease; }
.product-visual:hover img { transform: scale(1.05); }
.product-content-side h1 { font-size: 2.75rem; margin-bottom: 0.5rem; color: var(--secondary); font-weight: 800; }
.product-subtitle { font-size: 1.25rem; color: var(--primary); font-weight: 600; margin-bottom: 1.5rem; display: block; border-bottom: 2px solid var(--primary-light); padding-bottom: 1rem; }
.product-desc-text { font-size: 1.05rem; color: #475569; margin-bottom: 2rem; line-height: 1.7; }
.product-features-box h4 { font-size: 1.2rem; color: var(--secondary); margin-bottom: 1.25rem; font-weight: 700; }
.product-features-list { list-style: none; padding: 0; margin: 0; }
.product-features-list li { padding: 0.85rem 0; display: flex; align-items: center; gap: 1rem; color: #334155; font-weight: 600; border-bottom: 1px dashed #e2e8f0; }
.product-features-list li:last-child { border-bottom: none; }
.product-features-list li i { color: var(--primary); font-size: 1rem; }
@media (max-width: 1150px) { .product-detail-layout { grid-template-columns: 1fr; gap: 3rem; } .product-main-card { padding: 2.5rem; gap: 2.5rem; } }
@media (max-width: 850px) { .product-main-card { grid-template-columns: 1fr; } .product-visual { height: auto; padding: 1.5rem; } .product-content-side h1 { font-size: 2.25rem; } }
