/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top_bar {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

.inline-listing {
    list-style: none;
    text-align: right;
}

.inline-item {
    display: inline-block;
    margin-left: 10px;
}

.inline-item a {
    color: #fff;
    text-decoration: none;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px 0;
}

.logo_wrapper {
    display: flex;
    align-items: center;
}

.logo_wrapper a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo_wrapper img {
    margin-right: 10px;
}

.menu-trigger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-trigger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

#menu {
    float: right;
}

#menu ul {
    list-style: none;
}

#menu ul li {
    display: inline-block;
    margin-left: 30px;
}

#menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

#menu ul li.current-menu-item a {
    color: #f39c12;
}

.mobile-menu {
    display: none;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer h3 {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.footer h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #f39c12;
}

.contact-us-box {
    margin-bottom: 20px;
}

.contact-us-box table {
    width: 100%;
}

.contact-us-box table td {
    padding: 5px 0;
}

.contact-us-box a {
    color: #fff;
    text-decoration: none;
}

.google_map_wrapper {
    height: 300px;
    overflow: hidden;
}

.google_map_wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.site-info {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.copyright_wrapper {
    list-style: none;
    text-align: left;
}

.social_wrapper {
    list-style: none;
    text-align: right;
}

.social_wrapper li {
    display: inline-block;
    margin-left: 10px;
}

.social_wrapper a {
    color: #fff;
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-trigger {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    #menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .navbar-nav {
        list-style: none;
        padding: 0;
    }

    .navbar-nav li {
        margin: 10px 0;
    }

    .navbar-nav li a {
        display: block;
        padding: 10px;
        text-decoration: none;
        color: #333;
    }

    .footer .col-sm-5 {
        margin-bottom: 30px;
    }

    .copyright_wrapper,
    .social_wrapper {
        text-align: center;
    }
}

/* Form Styles */
.form_wrapper {
    margin-top: 20px;
}

.form_row {
    margin-bottom: 15px;
}

.input_style {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button_outbox {
    text-align: center;
}

.wpcf7-submit {
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
}

.wpcf7-submit:hover {
    background-color: #e67e22;
}

/* Product Grid */
.product-grid {
    margin-bottom: 30px;
}

.product-thumb {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-thumb .image {
    padding: 10px;
    text-align: center;
}

.product-thumb .image img {
    max-width: 100%;
    height: auto;
}

.product-thumb .caption2 {
    padding: 15px;
    text-align: center;
}

.product-thumb .caption2 h4 {
    margin: 0;
}

.product-thumb .caption2 a {
    text-decoration: none;
    color: #333;
}

/* Headline */
.headline {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.headline h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.headline h1 {
    font-size: 24px;
    font-weight: normal;
}

/* Banner Section */
.banner-section {
    background-image: url('../img/banner2.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.7);
    z-index: 0;
}

.banner-section .container {
    position: relative;
    z-index: 1;
}

.title_box h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #fff;
}

.banner-section p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.banner-image {
    text-align: right;
}

.banner-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .title_box h1 {
        font-size: 20px;
    }
    
    .banner-section {
        padding: 40px 0;
    }
    
    .banner-image {
        text-align: center;
        margin-top: 20px;
    }
}

/* Home Row Styles */
.panel-row-style-home_row_1 {
    background-color: #0047AB;
    padding: 40px 0;
    color: #fff;
}

/* Cards Container */
.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Card Styles */
.card {
    flex: 1;
    min-width: 200px;
    max-width: calc(25% - 15px);
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Card Title */
.card-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #fff;
}

/* Card Image */
.card-image {
    margin: 20px 0;
    width: 100%;
    height: 180px;
    background-color: #E3F2FD;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    max-width: 90%;
    max-height: 90%;
    display: block;
    transition: transform 0.3s ease;
}

.card-image:hover img {
    transform: scale(1.05);
}

/* Card Description */
.card-description {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Card Button */
.card-button {
    background-color: #fff;
    color: #666;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.card-button:hover {
    background-color: #f5f5f5;
    color: #333;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .card {
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .card {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.why-choose-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    position: relative;
}

.why-choose-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 25%;
    height: 2px;
    background-color: #000;
}

.why-choose-content {
    margin-top: 30px;
}

.why-choose-content p {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.why-choose-content .blue-link {
    color: #0066cc;
    text-decoration: underline;
}

.why-choose-content .blue-link:hover {
    color: #0052a3;
}

.why-choose-button {
    display: inline-block;
    background-color: #003399;
    color: #fff;
    padding: 8px 24px;
    text-decoration: none;
    border: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.why-choose-button:hover {
    background-color: #002673;
    color: #fff;
    transform: translateY(-2px);
}

.why-choose-image {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.why-choose-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design for Why Choose Us Section */
@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 40px 0;
    }
    
    .why-choose-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .why-choose-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .why-choose-content {
        text-align: center;
    }
    
    .why-choose-button {
        display: block;
        margin: 20px auto 0;
        text-align: center;
        max-width: 150px;
    }
    
    .why-choose-image {
        margin-top: 30px;
    }
}

/* Our Brands Section */
.our-brands-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.our-brands-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.our-brands-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: 2px;
    background-color: #000;
}

.brands-carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.brands-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    padding: 0 10px;
}

.brand-item {
    flex: 0 0 calc(20% - 16px);
    min-width: calc(20% - 16px);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Responsive Design for Our Brands Section */
@media (max-width: 768px) {
    .brand-item {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
    
    .our-brands-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .brand-item {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }
}

.panel-row-style-home_row_2 {
    background-color: #fff;
    padding: 40px 0;
}

.panel-row-style-home_row_3 {
    background-image: url('../img/banner2.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: #fff;
    position: relative;
}

.panel-row-style-home_row_3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.7);
    z-index: 0;
}

.panel-row-style-home_row_3 .container {
    position: relative;
    z-index: 1;
}

.panel-row-style-home_row_3 h1 {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.panel-row-style-home_row_3 p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.panel-row-style-home_row_4 {
    background-image: url('../img/bottombanner.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: #fff;
}

.panel-row-style-home_row_4 h2 {
    color: #fff;
}

.panel-row-style-home_row_4 p {
    color: #fff;
}

.panel-row-style-home_row_4 .input_style {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    color: #333;
}

.panel-row-style-home_row_4 .wpcf7-submit {
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.panel-row-style-home_row_4 .wpcf7-submit:hover {
    background-color: #0052a3;
}

/* Flexslider Styles */
.flexslider {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.flexslider .slides {
    padding: 0;
}

.flexslider .slides li {
    margin: 0;
    padding: 0;
}

.flexslider .slides img {
    width: 100%;
    height: auto;
    display: block;
}

.flex-direction-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -20px;
    padding: 0 20px;
    z-index: 10;
}

.flex-direction-nav a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.flex-direction-nav a:hover {
    background: rgba(0, 0, 0, 0.8);
}

.flex-prev {
    float: left;
}

.flex-next {
    float: right;
}

.nav-hidden .flex-direction-nav {
    display: none;
}

@media (max-width: 768px) {
    .panel-row-style-home_row_3 {
        padding: 40px 0;
    }
    
    .panel-row-style-home_row_3 h1 {
        font-size: 20px;
    }
    
    .flex-direction-nav {
        padding: 0 10px;
    }
    
    .flex-direction-nav a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }
}

/* Buttons */
.btn-hyperlink {
    display: inline-block;
    background-color: #f39c12;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
}

.btn-hyperlink:hover {
    background-color: #e67e22;
}

.btn-hyperlink-white {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 4px;
    margin-top: 20px;
}

.btn-hyperlink-white:hover {
    background-color: #fff;
    color: #0066cc;
    text-decoration: none;
}

/* Square Image Box */
.square_image_box {
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.square_image_box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.square_image_box:hover img {
    transform: scale(1.05);
}

/* Caption */
.caption {
    margin: 15px 0;
    color: #fff;
    line-height: 1.4;
}

.caption a {
    color: #fff;
    text-decoration: underline;
}

.caption a:hover {
    color: #e6e6e6;
    text-decoration: none;
}

/* Send Enquiry Button */
#sendenquiry {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

#sendenquiry a {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #f39c12;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Category Menu */
#categoryMenu {
    margin-bottom: 20px;
}

#categoryMenu .navbar-header {
    background-color: #f39c12;
    color: #fff;
    padding: 10px 20px;
}

#categoryMenu .navbar-header span {
    font-size: 18px;
    font-weight: bold;
}

#categoryMenu .navbar-nav {
    background-color: #f8f9fa;
}

#categoryMenu .navbar-nav li {
    border-bottom: 1px solid #ddd;
}

#categoryMenu .navbar-nav li a {
    padding: 15px 20px;
}

#categoryMenu .dropdown-menu {
    min-width: 300px;
}

/* Search Bar */
#search_bar {
    margin: 20px 0;
}

#search {
    position: relative;
}

#search input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#search button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Cart */
#cart {
    position: relative;
}

#cart button {
    width: 100%;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

#cart .dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

/* Line Left Bottom Long */
.line-left-bottom-long {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.line-left-bottom-long::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #f39c12;
}

.line-left-bottom-long::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: #f39c12;
}

.line-left-bottom-long-dark {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.line-left-bottom-long-dark::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #333;
}

.line-left-bottom-long-dark::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: #333;
}

/* Square Image Box */
.square_image_box {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}

.square_image_box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Caption */
.caption {
    margin-bottom: 15px;
}

/* Lazyload */
.lazyload {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazyload.loaded {
    opacity: 1;
}

/* SEO Task */
.seo-task {
    display: none;
}

/* Responsive Utilities */
@media (max-width: 992px) {
    .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
    }

    .col-md-3,
    .col-md-9 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .headline h2 {
        font-size: 28px;
    }

    .headline h1 {
        font-size: 18px;
    }

    .product-layout {
        width: 50%;
        float: left;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .product-layout {
        width: 100%;
    }

    .headline h2 {
        font-size: 24px;
    }

    .headline h1 {
        font-size: 16px;
    }
}

/* Clearfix */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9999;
    display: none;
}

.back-to-top a {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top a:hover {
    background-color: #f39c12;
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Messages */
.error {
    color: #e74c3c;
    margin-bottom: 10px;
}

/* Success Messages */
.success {
    color: #27ae60;
    margin-bottom: 10px;
}

/* Info Messages */
.info {
    color: #3498db;
    margin-bottom: 10px;
}

/* Warning Messages */
.warning {
    color: #f39c12;
    margin-bottom: 10px;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 4px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}