﻿/* ==========================================================================
   ADINATH ENTERPRISES - GLOBAL STYLESHEET
   ========================================================================== */

:root {
    --primary-color: #0d5c3a;       /* Deep Forest Green from logo background */
    --secondary-color: #76b82a;     /* Fresh Leaf Green from logo accents */
    --accent-color: #f2ba13;        /* Golden Yellow from logo "ae" text */
    --dark-color: #222222;          /* Off-black for premium readability */
    --light-color: #f8f9fa;         /* Light grey for section backgrounds */
    --white: #ffffff;
    --gray: #666666;
    --font-family: 'Poppins', sans-serif;
    --transition: all 0.3s ease-in-out;
    --max-width: 1200px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-center: center;
}

/* Common Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    width: 210px;
    height: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 1rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}
.has-dropdown {
    position: relative;
}

.has-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    padding: 10px 0;
    background-color: var(--white);
    border: 1px solid #eeeeee;
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    z-index: 1001;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    height: 18px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.has-submenu > .dropdown-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.has-submenu > .dropdown-link::after {
    content: '\25B6';
    font-size: 0.7rem;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.has-submenu:hover > .dropdown-link::after,
.has-submenu:focus-within > .dropdown-link::after {
    transform: translateX(2px);
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 240px;
    padding: 10px 0;
    background-color: var(--white);
    border: 1px solid #eeeeee;
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    z-index: 1002;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.dropdown-sublink {
    display: block;
    padding: 10px 18px;
    color: var(--dark-color);
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-sublink:hover,
.dropdown-sublink:focus {
    background-color: #f0f7f4;
    color: var(--primary-color);
}

.dropdown-link {
    display: block;
    padding: 10px 18px;
    color: var(--dark-color);
    font-size: 0.92rem;
    line-height: 1.3;
    white-space: nowrap;
}

.dropdown-link:hover,
.dropdown-link:focus {
    background-color: #f0f7f4;
    color: var(--primary-color);
}

.nav-cta .btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
}

.nav-cta .btn:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--primary-color);
}

/* ==========================================================================
   DYNAMIC HERO SLIDER ARCHITECTURE
   ========================================================================== */
.hero-slider-container {
    position: relative;
    height: 75vh;
    min-height: 520px;
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-color);
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Typography Entrance Animations */
.slide.active .hero-content h1 {
    animation: slideUpFade 0.6s ease forwards 0.2s;
}

.slide.active .hero-content p {
    animation: slideUpFade 0.6s ease forwards 0.4s;
}

.slide.active .hero-content .hero-btns {
    animation: slideUpFade 0.6s ease forwards 0.6s;
}

.hero-content h1, .hero-content p, .hero-content .hero-btns {
    opacity: 0;
    transform: translateY(25px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns .btn {
    margin: 0 10px;
}

/* Navigation Arrow Overlays */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

/* Navigation Dots Tracker */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Animation Keyframes */
@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider-container { height: 65vh; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; padding: 0 15px; }
    .slider-arrow { padding: 10px 14px; font-size: 1.1rem; }
    .hero-btns .btn { margin: 5px; display: inline-block; width: 85%; }
}

/* ==========================================================================
   SPLIT ABOUT SECTION (HOME & ABOUT US)
   ========================================================================== */
.about-split {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-left {
    flex: 1.2;
}

.about-right {
    flex: 0.8;
}

.about-left h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.about-left p {
    margin-bottom: 20px;
    color: var(--gray);
    text-align: justify;
}

.about-highlight {
    background-color: #f0f7f4;
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    font-style: italic;
    font-weight: 500;
    margin: 25px 0;
}

.image-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-frame img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition);
}

.image-frame:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   PRODUCT GRID COMPONENT
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eeeeee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-img {
    height: 220px;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f8fa;
    padding: 8px;
    box-sizing: border-box;
}

.product-img img {
    display: block;
    width: 82%;
    height: auto;
    max-width: 220px;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.product-link {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

/* Product Tabs Filtering (Products Page) */
.product-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    padding: 10px 25px;
    background: var(--light-color);
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ==========================================================================
   STATISTICS & ECO REASON SECTION
   ========================================================================== */
.stats-section {
    background-color: var(--light-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-form-container {
    flex: 1.2;
}

.contact-info-container {
    flex: 0.8;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.map-container {
    margin-top: 50px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ==========================================================================
   GLOBAL 4-COLUMN FOOTER WIDGET
   ========================================================================== */
.footer {
    background-color: #072e1d; /* Extracted Darkened Forest Green */
    color: rgba(255, 255, 255, 0.8);
    padding-top: 70px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    width: 210px;
    height: auto;
    object-fit: contain;
}

.widget h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.widget-links li {
    margin-bottom: 12px;
}

.widget-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact span {
    margin-right: 12px;
    color: var(--accent-color);
}

.copyright-bar {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (BREAKPOINTS)
   ========================================================================== */

/* Desktop/Tablet Landscape - Restore hover-based submenu behavior */
@media (min-width: 769px) {
    .submenu {
        position: absolute !important;
        display: block !important;
        top: 0 !important;
        left: 100% !important;
        min-width: 240px !important;
        margin-left: 0 !important;
        background-color: var(--white) !important;
        border: 1px solid #eeeeee !important;
        border-radius: 8px !important;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: var(--transition) !important;
        z-index: 1002 !important;
    }
    .has-submenu:hover > .submenu,
    .has-submenu:focus-within > .submenu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .has-submenu > .dropdown-link::after {
        transform: translateX(0) !important;
    }
    .has-submenu:hover > .dropdown-link::after,
    .has-submenu:focus-within > .dropdown-link::after {
        transform: translateX(2px) !important;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 30px 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: 15px 0;
    }
    .has-dropdown {
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        display: none;
        transform: none;
        min-width: 0;
        width: min(86%, 320px);
        margin: 12px auto 0;
        padding: 8px 0;
        border-radius: 6px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background-color: var(--light-color);
    }
    .dropdown-menu::before {
        display: none;
    }
    .has-dropdown:hover .dropdown-menu,
    .has-dropdown:focus-within .dropdown-menu {
        display: none;
        transform: none;
    }
    .has-dropdown.open .dropdown-menu {
        display: block;
    }
    .has-dropdown.open > .nav-link::after {
        transform: translateY(1px) rotate(225deg);
    }
    .dropdown-link {
        white-space: normal;
        padding: 9px 16px;
        font-size: 0.9rem;
    }
    /* Mobile Submenu Styles */
    .has-submenu {
        position: relative;
    }
    .has-submenu > .dropdown-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .has-submenu > .dropdown-link::after {
        content: '\25B6';
        font-size: 0.7rem;
        margin-left: 10px;
        transition: transform 0.2s ease;
        transform: rotate(45deg);
    }
    .has-submenu.open-submenu > .dropdown-link::after {
        transform: rotate(225deg);
    }
    .submenu {
        position: static;
        display: none;
        transform: none;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 8px 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background-color: #f0f7f4;
        transition: display 0.3s ease;
        top: auto;
        left: auto;
        z-index: auto;
    }
    .has-submenu.open-submenu > .submenu {
        display: block;
    }
    .dropdown-sublink {
        display: block;
        padding: 10px 32px;
        color: var(--dark-color);
        font-size: 0.85rem;
        white-space: normal;
    }
    .dropdown-sublink:hover,
    .dropdown-sublink:focus {
        background-color: #e0eee8;
        color: var(--primary-color);
    }
    .nav-cta {
        margin-top: 15px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .about-split, .contact-wrapper {
        flex-direction: column;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .image-frame img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .products-grid, .footer-widgets {
        grid-template-columns: 1fr;
    }
    .product-img {
        height: 180px;
        padding: 6px;
    }
    .product-img img {
        width: 78%;
        max-width: 180px;
    }
    .copyright-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==========================================================================
   INTERNAL INNER SUBPAGE HERO LAYOUT (WITH TEMP PLACEHOLDER IMAGE)
   ========================================================================== */
.page-hero {
    position: relative;
    padding: 50px 0;
    /* Temp placeholder image from internet overlaid with your brand's Forest Green tint */
    background: linear-gradient(135deg, rgba(13, 92, 58, 0.92) 0%, rgba(6, 40, 25, 0.88) 100%), 
                url('https://images.unsplash.com/photo-1530595467537-0b5996c41f2d?q=80&w=1920&auto=format&fit=crop') 
                no-repeat center center/cover;
    background-attachment: scroll;
    color: var(--white);
    text-align: center;
    border-bottom: 4px solid var(--secondary-color); /* Premium Leaf Green Accent Border Line */
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Protects text visibility */
}

.page-hero p {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9); /* High contrast off-white */
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS FOR INNER HERO
   ========================================================================== */
@media (max-width: 768px) {
    .page-hero {
        padding: 30px 0;
    }
    
    .page-hero h1 {
        font-size: 2.1rem;
        padding: 0 15px;
    }
    
    .page-hero p {
        font-size: 1rem;
        padding: 0 20px;
        line-height: 1.5;
    }
}

/* ==========================================================================
   VERTICAL SPLIT PRODUCT ROWS STYLING
   ========================================================================== */
.product-row {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding: 40px 0;
    margin-bottom: 50px;
    border-bottom: 1px solid #e2e8f0;
}

.product-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.product-row-image {
    flex: 0 0 35%;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
}

.product-row-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-row-details {
    flex: 1;
}

.product-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.product-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 25px;
}

.product-specs {
    margin-bottom: 25px;
}

.product-specs h5 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.product-specs ul {
    list-style: none;
    padding: 0;
}

.product-specs ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a5568;
}

/* Beautiful custom bullet point checkmarks using brand forest green */
.product-specs ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.product-application-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.app-info-box strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.app-info-box p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #4a5568;
    margin: 0;
}

.product-row-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.95rem;
}

/* Responsive adjustment to stack sections neatly on tablets & phones */
@media (max-width: 992px) {
    .product-row {
        flex-direction: column;
        gap: 30px;
    }
    .product-row-image {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    .product-application-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ==========================================================================
   B2B RAW MATERIALS GRID ARCHITECTURE (UPDATED WITH IMAGE WRAPPERS)
   ========================================================================== */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.material-card {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0; /* Remove inner card padding to let images run flush to edges */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

/* Image container element ensuring uniform dimensions */
.material-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 👈 Switch this back to cover so it fills the box completely edge-to-edge */
    display: block;
}

/* Let's make sure the container keeps a clean square aspect ratio */
.material-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* 👈 Keeps the card boxes perfectly square */
    overflow: hidden;
}

.material-card:hover .material-img-wrapper img {
    transform: scale(1.06);
}

/* Card typography structure offsets */
.material-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
    font-weight: 600;
    line-height: 1.4;
}

.material-packing {
    font-size: 0.88rem;
    color: #4a5568;
    margin: 0 20px 20px 20px;
    background: #f7fafc;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--secondary-color);
}

.material-btn {
    font-size: 0.88rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin: auto 20px 20px 20px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.material-card:hover .material-btn {
    color: var(--primary-color);
}

/* Top Bar Styles */
.top-bar {
    background-color: #072e1d;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-contact a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-bar-contact a:hover {
    opacity: 0.8;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-social a {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.top-bar-social a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .top-bar-container {
        justify-content: center;
        text-align: center;
    }
    .top-bar-contact {
        justify-content: center;
        gap: 10px;
    }
}