.hero {
    text-align: center;
    padding: 40px;
    background-color: #6b6b6b;
    /* same grey */
}

.hero-img {
    width: 90%;
    max-width: 1200px;
    margin-top: 30px;
}

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

body {
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.clear {
    clear: both;
}

/* Helper classes */
.left {
    float: left;
}

.right {
    float: right;
}

/* Top Header */
.headerfull {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.headerfull .phoneno {
    margin-right: 20px;
}

.headerfull .emailicon {
    color: #fff;
}

/* Main Header */
.header-inner {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-inner .logo img {
    max-height: 80px;
}

/* Navigation */
.nav ul {
    display: flex;
}

.nav ul li {
    position: relative;
    margin-left: 30px;
}

.nav ul li a {
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 0;
    display: block;
}

.nav ul li a:hover,
.nav ul li.current_page_item>a {
    color: var(--primary);
}

.nav ul li:hover .sub-menu {
    display: block;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.sub-menu li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.sub-menu li a {
    padding: 10px 15px;
    text-transform: capitalize;
    font-weight: 400;
}

.sub-menu li a:hover {
    background: #f9f9f9;
}

/* Home Slider */
#home_slider img {
    width: 100%;
    display: block;
}

/* Page Intro Section */
.pagewrap1 {
    padding: 50px 0;
}

.pagewrap1 img {
    float: left;
    margin-right: 40px;
    margin-bottom: 20px;
    max-width: 500px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.pagewrap1 h1,
.pagewrap1 h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 36px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.pagewrap1 p {
    text-align: justify;
    margin-bottom: 15px;
}

.MoreLink {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.MoreLink:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Red Banner */
.red-banner {
    background-color: var(--primary);
    color: #fff;
    font-size: 22px;
    text-align: center;
    padding: 20px 50px;
    margin: 40px 0;
}

.red-banner a {
    color: #fff;
}

/* Products Grid */
.pagewrap2 {
    padding: 20px 0;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.product-item {
    width: calc(33.333% - 30px);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.product-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
    border-color: var(--primary);
}

.product-item img {
    height: 200px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-item h2 {
    font-size: 18px;
    color: #333;
    height: 85px;
    /* Increased to 85px to account for border-box padding reductions */
    display: flex;
    align-items: center;
    /* Centers title perfectly in vertical space */
    justify-content: center;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.card-content {
    flex-grow: 1;
}

.card-content p {
    margin-bottom: 6px;
}

.card-content p.label {
    font-weight: 600;
}

.read-more {
    margin-top: auto;
    display: block;
    background: #d71920;
    color: #fff;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
}

.read-more:hover {
    background-color: var(--hover-red);
    box-shadow: 0 4px 15px rgba(215, 25, 32, 0.4);
    transform: translateY(-2px);
}

/* Generic Inner Page Content */
.page-header {
    background: #f5f5f5;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 40px;
}

.content-section {
    padding: 0 0 60px 0;
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 24px;
}

.content-section p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Contact Area */
.contact-info-blocks {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.contact-block {
    flex: 1;
    background: #f9f9f9;
    padding: 30px;
    border-top: 3px solid var(--primary);
}

.contact-block h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Footer Wrapper */
#footer-wrapper {
    background-color: #2b2b2b;
    color: #b7b4b3;
    padding: 50px 0 30px;
}

#footer-wrapper .container {
    display: flex;
    justify-content: space-between;
}

.cols-3 {
    flex: 1;
    margin: 0 15px;
}

.cols-3 h5 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.cols-3 p {
    font-size: 14px;
    line-height: 1.8;
}

.widget-column-2 ul li {
    margin-bottom: 10px;
}

.widget-column-2 ul li a {
    color: #b7b4b3;
}

.widget-column-2 ul li a:hover {
    color: var(--accent);
}

.mapicon,
.phoneno,
.emailicon {
    display: block;
    margin-bottom: 10px;
    line-height: 1.8;
}

.emailicon {
    color: #fff;
}

/* Copyright Bar */
.copyright-bar {
    background: #1a1a1a;
    color: #888;
    padding: 20px 0;
    font-size: 13px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }

    .nav ul {
        flex-direction: column;
        margin-top: 20px;
        text-align: center;
    }

    .nav ul li {
        margin: 10px 0;
    }

    .pagewrap1 img {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .product-item {
        width: 100%;
    }

    #footer-wrapper .container {
        flex-direction: column;
    }

    .cols-3 {
        margin: 0 0 30px 0;
    }

    .contact-info-blocks {
        flex-direction: column;
    }
}