/*
Theme Name: Nawhata Jute Mills Ltd
Theme URI: http://lightweb.com.bd/
Author: Mithun Sarker
Author URI: https://www.mithunsarker.com/
Description: A simple WordPress theme.
Version: 1.0
Text Domain: lightweb
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --dark: #1e272e;
    --text-color: #57606f;
    --text-dark: #1e272e;
    --primary-color: #182C61;
    --secondary-color: #4b6584;
}

.bg-color-secondary { background-color: var(--secondary-color); }


*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
h2, h3 {
    color: #273c75;
    margin: 10px 0px;
}
p {
    color: var(--text-color);
    line-height: 1.5em;
}

/* Main menu fallback style */
.nav {
    display: flex;
    align-items: center;
}

.navlinks.fallback li {
    padding: 10px;
}


/* Sticky post style */
.outer-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    background-color: #f2f2f2;
    z-index: 1000;
    overflow: hidden;
    display: none; /* Hidden by default */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.sticky-posts-fixed {
    display: flex;
    align-items: center;
    /* padding: 10px; */
    background: #f2f2f2;
    width: 100%;
}

.marquee-content {
    display: flex;
    white-space: nowrap; /* Ensure content is in a single line */
    /* overflow: hidden;  Hide overflow content */
    width: 100%; /* Ensure it takes up the full width */
    position: relative; /* Required for positioning child elements */
    animation: none; /* Default to no animation */
}

@keyframes marquee {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

.sticky-posts-fixed .post {
    margin: 0px;
}

.sticky-posts-fixed .headline {
    display: block;
    padding: 0px 15px 0px 90px;
    background: #f2f2f2;
    position: relative;
    z-index: 100;
}

.sticky-posts-fixed .post-title {
    color: #07037985;
    font-size: 16px;
    margin: 0px 10px; 
}

.sticky-posts-fixed .post-title:hover {
    color: #070379;
}
.sticky-posts-fixed span,
.sticky-posts-fixed p,
.sticky-posts-fixed .read-more,
.sticky-posts-fixed img {
    display: none;
}

/* Blog or Archive Style */
.single .post-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.posts .wrap-text-around-image img {
    float: left;
    margin: 0px 15px 0px 0px;
    height: 120px;
    width: 120px;
    object-fit: cover;
}

.posts .wrap-text-around-image {
    overflow: hidden; /* Ensures the container wraps around the floated content */
}


/* Page Style */

/* Single post style */
body.single-post .content-area .row.single.content {
    min-height: 500px;
}

.single .post-meta {
    display: flex;
    gap: 15px;
}

.single .wrap-text-around-image img {
    float: right;
    margin: 0px 0px auto 15px;
    max-width: 400px;
    height: auto;
}

.single .wrap-text-around-image {
    overflow: hidden; /* Ensures the container wraps around the floated content */
}

.single .wrap-text-around-image .fallback {
    width: 150px !important;
    height: 150px !important;
    float: left;
    margin: 0px;
}

/* My Account style */
.not-logged-in {
    font-size: 20px;
}

.my-account {
    padding: 50px 0px;
}

.my-account .my-profile {
    min-width: 180px;
    width: auto;
    white-space: nowrap;
    margin-top: 15px;
}

.my-account .my-profile .user-menu a {
    text-decoration: none;
}

.my-account .my-content {
    margin: 0px 50px;
    width: 55%;
}

.my-account .my-content .post h2 {
    font-size: 22px;
}

.my-account .my-content .post h2 a {
    text-decoration: none;
}

.my-account .sidebar {
    position: relative;
    right: 0px;
    min-width: 300px;
}

.my-account .sidebar .widget-title {
    margin-top: 30px;
}

/* Edit profile */
.edit-profile {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0px;
}
#profile-form {
    display: flex;
    flex-direction: column;
}
.edit-profile #profile-form label {
    margin-top: 20px;
}
.edit-profile #profile-form input {
    padding: 10px;
}
.edit-profile #profile-form input[type="submit"] {
    width: 150px;
    padding: 12px;
    margin: 20px auto 0px auto;
}


/* User menu */
.user-menu-container {
    position: relative;
    display: block;
}

.menu-user-menu-container .user-menu {
    list-style: none;
}

.menu-user-menu-container .user-menu li {
    margin: 10px 0px;
}

.user-menu-container .fa {
    font-size: 32px;
    padding: 0 15px;
    color: #182C61;
}

.user-menu-container .user-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff00; /* Set the background color */
    padding: 33px 0px 0px 0px;
    z-index: 1000;
    list-style: none;
    width: auto; /* Auto width based on content */
    white-space: nowrap; /* Prevent line breaks */
}

.user-menu-container:hover .user-menu {
    display: block;
    min-width: 200px;
}


.user-menu-container i.fa-solid {
    cursor: pointer;
    color: #182C61;
}


/* Optional: Style the menu items */
.user-menu-container .user-menu li {
    margin: 0;
    padding: 10px 15px;
    background-color: #ffffff;
}

.user-menu-container .user-menu li a {
    color: #333;
    text-decoration: none;
}

.user-menu-container .user-menu li a:hover {
    color: #0073aa;
}

/* Post Form Style */
.post-form {
    display: flex;
    flex-direction: column;
}

.contact.is-layout-flex {
    display: flex;
    align-content: center !important;
    align-items: center !important;
}


/* Start Form Style */
#contact-form input,
#contact-form textarea {
    width: 95%;
    padding: 10px;
    font-size: 16px;
    margin: 10px auto;
}
.contact-form {
    text-align: center;
}
fieldset {
    padding: 25px;
    border-radius: 10px;
}
#contact-form .wpcf7-not-valid-tip {
    text-align: left;
}
.contact-submit-btn {
    color: #ffffff;
    background-color: #182C61;
    border-radius: 4px;
    border: none;
}
.contact-submit-btn:hover {
    background-color: #031442;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    display: none !important;
}

/* General overlay styles */
#contact-form .cf7-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black background with opacity */
}

/* Overlay content styling */
#contact-form .cf7-overlay-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

/* Close button styling */
#contact-form .cf7-overlay-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#contact-form .cf7-overlay-close:hover,
#contact-form .cf7-overlay-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Response message styling */
#contact-form .cf7-overlay-message {
    font-size: 16px;
    margin-top: 20px;
}

/* Form Style Ended */

.page-header h2 {
    color: #656680;
    margin: 0;
}
.page-sub-title p {
    color: #515151;
}
.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.go-top {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 3%;
    padding: 20px;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
}
  .go-top:after {
    font-family: 'FontAwesome';
    content: "\f106";
    background-color: #E5E8F0;
    padding: 10px 15px;
    color: #6a6e7c;
    position: absolute;
    bottom: 10px;
    font-size: 28px;
}
  .go-top-btn {
	position: absolute;
	width: 60px;
	text-align: center;
	font-family: 'Questrial';
	line-height: 1.5;
	letter-spacing: 3px;
	font-size: 12px;
	margin: 20px 0 0 0;
}
.col {
    width: auto;
}
.col-1 {
    width: 10%;
}
.col-2 {
    width: 20%;
}
.col-3 {
    width: 33%;
}
.col-4 {
    width: 40%;
}
.col-5 {
    width: 50%;
}
.col-6 {
    width: 60%;
}
.col-7 {
    width: 70%;
}
.col-8 {
    width: 80%;
}
.col-9 {
    width: 90%;
}
.col-10 {
    width: 100%;
}
.g-2 {
    margin: 10px;
}
.gxr-2 {
    margin: 0px 50px 0px 15px;
}
.py-5 {
    padding: 5em 0;
}
.pb-5 {
    padding-bottom: 5em;
}
.content-area {
    margin: 0 auto;
}
.content {
    margin: 50px 0;
}

.img-fluid,
.image-fluid {
    width: 100%;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.flex {
    display: flex;
}
.inline-flex {
    display: inline-flex;
}
.align-items-center {
    align-items: center;
}
.justify-content-center {
    justify-content: center;
}
.justify-content-flex-start {
    justify-content: flex-start;
}
.justify-content-flex-end {
    justify-content: flex-end;
}
.justify-content-space-around {
    justify-content: space-around;
}
.g-1 {
    gap: 1em;
}
.g-2 {
    gap: 2em;
}
.g-3 {
    gap: 3em;
}

.about-us .content p, .about-us .wp-block-column p {
    margin-bottom: 15px;
}

.about-us .about-img img {
    object-fit: cover;
    margin-top: 15px;
    border-radius: 15px;
}

.about-sec {
    padding: 50px 0px;
}

.about h2 {
    margin-bottom: 15px;
    display: none;
    color: #a52a2a;
}
.about h3 {
    margin-bottom: 15px;
    display: inline-block;
    color: #a52a2a;
}
.about h2:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #ffa500;
    display: block;
    position: relative;
    top: 35px;
}
.about h3:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #ffa500;
    display: block;
    position: relative;
    top: 29px;
}
.about h2:after,
.about h3:after {
    content: "";
    width: 30%;
    height: 3px;
    background-color: #ffa500;
    display: block;
    position: relative;
    top: 5px;
}
.about-feature-img {
    width: 100%;
    margin: 0 20px 0px 0px;
}

/* Products */

.p-about {
    width: 70%;
    text-align: center;
    margin: 0px auto 35px auto;
}
.p-about .title {
    color: var(--secondary-color);
    font-size: 24px;
}

.p-about .description {
    margin-top: 10px;
}
.p-about .title:before {
    position: relative;
    content: "";
    height: 1px;
    width: 400px;
    background-color: #f8c291;
    display: block;
    top: 40px;
    left: 260px;
}
.p-about .title:after {
    position: relative;
    content: "";
    height: 5px;
    width: 65px;
    background-color: #ffa500;
    display: block;
    bottom: 0px;
    left: 430px;
}

.products {
    gap: 50px;
    margin: 50px 0;
}

.products-title {
    text-align: center;
}

.products img {
    width: 100%;
    height: auto;
}

.products img {
    border-radius: 10px;
}

.products-wide img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

.products .wp-block-media-text__content {
    padding: 25px !important;
}

.products .product-table {
    margin-top: 50px;
    margin-bottom: 15px;
}

.products .wp-block-list {
    margin-top: 5px;
    list-style: none;
    width: 100%;
    display: inline-flex;
    background-color: #ffeaa7;
}

.products .wp-block-list a {
    text-decoration: none;
}

.products .wp-block-list li {
    padding: 15px 25px;
}

.products .wp-block-list li:before {
    content: "\f061";
    font-family: 'FontAwesome';
    margin-right: 5px;
    color: #ff0000;
}
.products .wp-block-table thead {
    background-color: #c8d6e5;
}
.products .wp-block-table table,
.products .wp-block-table thead,
.products .wp-block-table td,
.products .wp-block-table th
 {
    border-color: #8395a7;
}

/* Products CPT on Hover style*/
.products-terms {
    margin-top: 5px;
    list-style: none;
    width: 100%;
    display: inline-flex;
    background-color: #ffeaa7;
}
.products-terms li:before {
    content: "\f061";
    font-family: 'FontAwesome';
    margin-right: 5px;
    color: #ff0000;
}
.products-terms li {
    padding: 15px 25px;
}
.products-terms a {
    text-decoration: none;
}
.products-grid {
    display: flex;
    margin-bottom: 35px;
}
.product-excerpt {
    display: none;
    position: absolute;
    top: 150px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
}

.product-excerpt p {
    color:#f2f2f2;
}

.product-item .product-link {
    display: none;
    position: relative;
    top: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    z-index: 11;
    transition: opacity 0.3s ease-in-out;
}

.product-item {
    overflow: hidden;
    width: 33.33%;
}

.product-image,
.product-image img {
    height: 350px;
    width: 100%;
}

.product-image img {
    object-fit: cover;
    object-position: center;
}
.product-image img,
.product-image img:hover {
    border-radius: 10px;
}
.product-item .product-image {
    position: relative;
    cursor: pointer;
}

.product-item .product-excerpt {
    display: none;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    z-index: 10;
}

.product-item .product-title {
    color: #273c75;
    margin: 10px 0px;
    text-align: center;
}

.product-title {
    text-decoration: none;
}

.product-item .product-image:hover .product-excerpt {
    display: block;
    opacity: 1;
    overflow: hidden;
    border-radius: 0px 0px 10px 10px;
}

.product-item .product-image:hover .product-link {
    display: block; /* Show the link when hovering over the image */
    opacity: 1;
}

/* Products page style */
.product-url {
    text-decoration: none;
    font-weight: 600;
}

/* Products single style */
.cta {
    padding: 50px 250px;
    text-align: center;
    background-color: var(--primary-color);
}
.cta p {
    font-size: 18px;
    color: #9e9ea4;
}
.cta h3 {
    color: #c7d2dd;
}
.cta .contact-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    color: #00cbff;
    border: solid 1px #0073aa;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: letter-spacing 0.3s ease;
}
.cta .contact-btn:hover {
    letter-spacing: 2px;
}
.single-product .product-image,
.single-product .product-image img {
    height: 450px;
    width: 100%;
}
.products .product-title {
    color: var(--primary-color);
    margin: 10px 0px 15px 0px;
}
.product-content ul {
    margin-left: 25px;
}
.product-content ol {
    margin-left: 35px;
}
.product-content li {
    color: var(--text-color);
    line-height: 1.5em;
}

/* Products archive style */
.products-archive .product-item .product-excerpt {
    display: none;
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
}
.products-archive .product-item .product-excerpt p {
    color: #fff !important;
    margin-top: 25px;
}

.products-archive .product-item .product-link {
    display: none; /* Initially hide the link */
    position: relative;
    top: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    z-index: 11;
    transition: opacity 0.3s ease-in-out; /* Smooth transition for appearance */
}

.products-archive .product-item .product-image:hover .product-excerpt {
    display: block;
    opacity: 1;
    overflow: hidden;
    border-radius: 10px;
}

.products-archive  .product-item .product-image:hover .product-link {
    display: block; /* Show the link when hovering over the image */
    opacity: 1;
}


/* Services */
.service-img,
.service-img img {
    width: 100%;
    border-radius: 10px;
    overflow:hidden;
}
.services .title {
    font-size: 20px;
    font-weight: 600;
    margin-left: 35px;
    margin-bottom: 10px;
}
.service-img img {
    height: 300px;
    object-fit: cover;
    overflow:hidden;
    transition: .3s ease-in-out;
}
.service-img img:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: .3s ease-in-out;
}
.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.logo img {
    width: auto;
    height: 80px;
    padding: 0 10px 0 0;
    margin-top: 4px;
}

.site-title {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
}
.site-description {
    color: var(--secondary-color);
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.checked {
    position: relative;
}
.checked li {
    color: var(--text-dark);
    list-style: none;
    line-height: 1.5em;
    margin-top: 5px;
    margin-left: 25px;
}
.checked li:before {
    position: absolute;
    content: "\f00c";
    font-family: 'FontAwesome';
    color: #a52a2a;
    left: 0;
}
.checked i {
    color: #a52a2a;
}

/* login-form */
.lw-login {
    margin: 70px auto !important;
}

.lw-login .login-form {
    padding: 25px 0px;
}

.lw-login .login-form input[type="text"],
.lw-login .login-form input[type="password"] {
    margin: 15px auto;
}

.lw-login .login-form .login-error {
    margin-top: 20px ;
    margin-bottom: 0px !important;
}


.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-container form {
    display: flex;
    flex-direction: column;
}

.login-container form p {
    margin-bottom: 15px;
}

.login-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-container input[type="checkbox"] {
    margin-right: 5px;
}

.login-container .login-submit {
    text-align: center;
}

.login-container .login-submit input[type="submit"] {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: #0073aa;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.login-container input[type="submit"] {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: #0073aa;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.login-container .login-submit input[type="submit"]:hover {
    background: #005f8d;
}

.login-container .login-error {
    color: red;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

header {
    display: block;
    background-color: #ffe4c4;
    border-bottom: solid 5px #ffa500;
   /* position: fixed; */
    top:0;
    width: 100%;
    z-index: 9999;
}

header .nav .greetings {
    display: none;
}

header .nav .greetings .dashboard-btn {
    padding: 10px;
    display: block;
    margin-top: 10px;
    border: solid 1px #deb887;
    border-radius: 5px;
}

.my-account .my-profile .dashboard-btn {
    padding: 10px;
    display: block;
    margin-top: 10px;
    border: solid 1px #deb887;
    border-radius: 5px;
    text-decoration: none;
    width: fit-content;
}

.header-main {
    height: 560px;
    align-content: center;
    width: 100%;
    position: relative;
}
.heading {
    color: #c7ecee;
}
.heading,
.highlight {
    font-family: 'Poppins', sans-serif;
    font-optical-sizing: auto;
    font-size: 64px;
    font-weight: 800;
}
.highlight {
    color: #A3CB38;
    margin-left: 15px;
}
.sub-heading {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-optical-sizing: auto;
    font-size: 20px;
    font-weight: 500;
}
.heading,
.highlight,
.sub-heading {
    text-shadow: 3px 1px 2px rgba(0,0,0,0.6);
    z-index: 100;
}
.featured {
    background-color: #ffe4c4;
    border-top: solid 5px #ffa500;
    border-bottom: solid 2px #ffa500;
    padding: 25px 0px;
}
.feature-box {
    padding: 20px;
    text-align: center;
}
.feature-box:nth-child(2) {
    border-left: solid 1px;
    border-right: solid 1px;
    border-color: #deb887;
}
.feature-box h2 {
    margin: 10px 0;
    color: #8b4513;
}
.feature-box p {
    color: #2f3542;
    line-height: 1.5em;
}
footer {
    background-color: #c8d6e5;
    padding: 5em 0 0 0;
}
.footer-nav {
    width: 25%;
}
.footer-nav span p {
    font-size: 20px;
    margin-left: 10px;
}
.footer-nav span p:before {
    content: "\f0c1";
    font-family: 'FontAwesome';
    color: #57606f;
    margin-right: 6px;
}
.footer-nav ul {
    list-style: none;
    margin-left: 20px;
}
.footer-nav ul li {
    margin: 8px 0px;
}
.footer-nav a {
    font-size: 17px;
    color: #57606f;
    text-decoration: none;
}
.company-info {
    width: 25%;
    margin: 0px 50px 0px 0px;
}
.company-info img {
    height: 24px;
    width: auto;
    margin-right: 5px;
}
.company-info span p {
    color: #3d4b6e;
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 600;
}
.address {
    width: 25%;
    padding: 0px 10px;
    margin-top: -20px !important;
}
.address i {
    display: block;
    position: relative;
    left: 0;
    top: 25px;
    font-size: 20px;
    color: #606c8c;
}
.address span:after {
    content: "";
    width: 85%;
    height: 1px;
    background-color: #8395a7;
    display: inline-block;
    top: -8px;
    position: relative;
}
.address span p {
    font-size: 20px;
    margin-left: 20px;
}
.address .phone {
    margin-top: 10px;
}
.address a {
    color: #57606f;
    text-decoration: none;
}
.social {
    width: 25%;
    align-content: center;
    text-align: center;
}
.social a {
    color: #8395a7;
    font-size: 24px;
    text-decoration: none;
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    align-content: center;
    border-radius: 50%;
    margin: 10px 3px;
}
.social a:hover {
    color: var(--primary-color);
}
.social span {
    font-size: 25px;
}
.copy {
    background-color: #8395a7;
    padding: 15px;
    text-align: left;
    margin-top: 5em;
    color: #f0f8ff;
}
.copy p {
    color: #ffffff;
}
.copy a {
    text-decoration: none;
    color: blanchedalmond;
}

.fa-circle {
    font-size: 2.5em;
    color: #ffffff;
    background-color: #ffa500;
    padding: 10px;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    align-content: center;
    text-align: center;
}
.fa-check {
    margin-right: 10px;
}
.h-widget-left {
    width: 25%;
}
.h-widget-right {
    width: 25%;
}
.services {
    width: 50%;
    padding: 0 25px;
}
.services ul {
    list-style: none;
}
.services li.icon {
    margin-bottom: 20px;
}
.services li.icon:before {
    display: inline-block;
    position: relative;
    top: 30px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.services li.icon:before {
    color: #a52a2a;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f3e5";
    margin-right: 10px;
    font-size: 28px;
    transform: rotateY(180deg);
}

/* Google maps */
.map-container {
    margin: 10px 25px 0px 0px;
    pointer-events: none;
    cursor: not-allowed;
    }
    .map-container h2 {
    margin-bottom: 20px;
    }
    .map-container h2:after {
    content: "\f149";
    font-family: 'FontAwesome';
    position: relative;
    top: 15px;
    left: 5px;
}

.maps .map-container iframe {
    border-radius: 10px;
    height: 360px;
}

/* Posts style */

#posts {
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
}

.post {
    margin-bottom: 50px;
}

#article {
    width: auto;
}
.article {
    padding: 50px 0px;
}

.posted-on {
    color: #8395a7;
    font-size: 14px;
    position: relative;
    top: -10px;
}

/* Archive Styles */
body.archive.category .page-header {
    display: none;
}
body.archive.category .page-title {
    text-align: left;
    margin-top: 20px;
    font-size: 26px;
}

/* Search Results Page Styles */
body.search .results,
body.search .no-results {
    min-height: 500px;
}
.error404 .row.content {
    height: 50vh;
    display: flex;
    align-items: center;
}

#s-results {
    text-align: center;
}
.search-field,
.search-submit {
    padding: 10px 15px;
}
.search-for {
    margin: 0px auto;
    width: 50%;
}
.search-for h2 {
    margin-top: 15px;
}
.search-field {
    width: 50%;
}
.widget .search-field {
    width: auto;
}
.results .sidebar {
    min-width: 300px;
}

.no-results {
    text-align: center;
    margin-top: 50px;
}
.search-results hr {
    display: none;
}
.search-results .results {
    margin-top: 50px;
}
.search-results .last-pub li {
    list-style: decimal-leading-zero;
    margin-left: 35px;
    color: #808080;
}
.search-no-results .search-form {
    margin-top: 25px;
}
.search-no-results .search-field {
    padding: 10px 15px;
    width: 30%;
}
.search-no-results div#sidebar {
    display: flex;
    justify-content: center;
}
.search-no-results .s-widget {
    display: flex;
    gap: 1em;
    align-items: center;
}
.search-no-results .s-widget li {
    list-style: decimal-leading-zero;
    margin-left: 25px;
    color: #808080;
}
.search-no-results .s-cat {
    display: none;
}
.search-title {
    text-align: center;
}
.s-page-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.no-results .widget {
    margin: 50px 0px;
}

.search-no-results .entry-header {
    margin-top: 50px;
}

.no-results ul.s-widget {
    display: flex;
    column-gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0;
}

.entry-title {
    font-size: 22px;
}

.entry-title a {
    text-decoration: none;
}

.entry-summary {
    margin-bottom: 20px;
}

.post-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.post-summary {
    margin: 15px 0;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.read-more:hover {
    background-color: #005177;
}

.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination .page-numbers {
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    margin: 0 5px;
}

.pagination .page-numbers:hover {
    background-color: #005177;
}


/* Sidebar style */
#sidebar {
    min-width: 300px;
    margin-top: -25px;
}
#sidebar .widget {
    margin: 40px 0px;
}
#sidebar .search-form input {
    padding: 8px 15px;
}
.widget-title {
    font-size: 20px;
}
.widget a {
    text-decoration: none;
}
.widget li {
    margin: 10px 0;
}
.cat-item,
.widget ul {
    list-style: none;
}
/* Breadcrumbs style */
#breadcrumbs {
    padding: 5px 0px;
    color: #a9a9a9;
}

.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.breadcrumb-item {
    margin-right: 5px;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #74B6D5;
}

.separator {
    margin-right: 5px;
    color: #999;
}


/* 404 page style */
.error-result p {
    margin-bottom: 20px;
}

#menu-bottom {
    display: none;
}

.my-panel a {
    text-decoration: none;
}

.my-panel i {
    font-size: 20px;
    color: #182C61;
    border: solid 1px #182C61;
    padding: 7px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media only screen and (min-width: 993px) {
    .logo img {
        height: 60px;
    }
    .navigation {
        padding: 0 20px;
    }
    .main-menu .navlinks a {
        font-size: 14px !important;
        margin-left: -10px !important;

    }
    #menu-blog-menu a {
        font-size: 14px !important;
       margin-left: -10px !important;
    }

    #lw-bg-slider {
        height: 450px !important;
    }

    .heading, .highlight {
        font-size: 56px;
    }

    .sub-heading {
        font-size: 18px;
    }

    .sticky-posts-fixed .headline {
        padding: 0px 15px 0px 100px;
        width: max-content;
    }

    .breadcrumbs {
        margin-left: 20px;
    }

    .p-about .title:before {
        width: 305px;
        top: 31px;
        left: 177px;
    }
    .p-about .title:after {
        bottom: 0px;
        left: 304px;
    }

    .about-feature-img {
        width: 100% !important;
    }

    .service-title {
        font-size: 1.3em !important;
    }

    .content {
        padding: 0px 20px;
    }
    .content-area {
        width: 100%;
    }
    .site-title {
        font-size: 18px;
    }
    .site-description {
        font-size: 15px;
    }

    .wp-block-column.about-text.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 60%;
    }
    .wp-block-column.about-image.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 40%;
    }

    .products .wp-block-list li {
        font-size: 14px;
    }

    .about-sec .about {
        padding: 0px 20px;
    }

    .products .products-grid {
        gap: 15px;
    }

    .product-image, .product-image img {
        width: 100%;
        height: fit-content;
    }

    .product-excerpt {
        top: 115px;
        font-size: 14px;
    }

    .posts #posts {
        padding: 0 20px;
    }
}

@media only screen and (min-width: 1200px) {
    .logo img {
        width: auto;
        height: 80px;
    }
    .main-menu .navlinks a {
        font-size: 18px !important;
        margin-left: 0px !important;

    }
    #menu-blog-menu a {
        font-size: 18px !important;
        margin-left: 0px !important;
    }

    #lw-bg-slider {
        height: 800px !important;
    }

    .heading, .highlight {
        font-size: 64px;
    }

    .sub-heading {
        font-size: 20px;
    }

    .p-about .title:before {
        width: 305px;
        top: 31px;
        left: 296px;
    }
    .p-about .title:after {
        bottom: 0px;
        left: 426px;
    }

    .about-feature-img {
        width: 100% !important;
    }

    .service-title {
        font-size: 1.5em !important;
    }

    .site-title {
        font-size: 24px;
    }
    .site-description {
        font-size: 19px;
    }
    .main-menu .navlinks a {
        font-size: 18px !important;
        margin-left: 10px;
    }
    .content-area {
        width: 1140px;
        margin: 0 auto;
    }
    .wp-block-column.about-text.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 50%;
    }
    .wp-block-column.about-image.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 50%;
    }

    .product-excerpt {
        top: 150px;
        font-size: 16px;
    }

}

@media only screen and (min-width: 1400px) {
    .site-title {
        font-size: 24px;
    }
    .content-area {
        width: 1320px;
        margin: 0 auto;
    }
    .wp-block-column.about-text.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 60%;
    }
    .wp-block-column.about-image.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 40%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .toggle {
        padding: 10px;
    }
    .sticky-posts-fixed .headline {
        padding: 0px 15px 0px 20px;
    }
    .content {
        padding: 0px 20px;
    }
    nav.main-menu {
        overflow-y: scroll;
        scrollbar-width: none;
    }

    .posts #posts {
        padding: 0px 20px;
    }

   .about {
    flex-wrap: wrap;
    }
    .about .custom-widget {
        text-align: center;
    }
    .about .h-widget-left {
        width: 100%;
        justify-content: center;
    }
    .about-feature-img {
        width: 50% !important;
        margin: 20px auto;
    }

    .about-us .about-img img {
        height: 600px;
    }

    .about .custom-widget ul {
        text-align: left;
    }
    .about .services {
        width: 60%;
    }
    .about .h-widget-right {
        width: 30%;
        margin-top: 20px;
    }

    .my-account .my-profile {
        padding-left: 20px;
    }

    .my-account .my-content {
        margin: 0px 20px;
        width: 60%;
    }

    .my-account .sidebar {
        padding-right: 20px;
    }

    /* About us */
    .about-us .content {
        margin: 50px 0;
        padding: 0px 20px;
    }

    .wp-block-column.about-text.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 100%;
    }
    .wp-block-column.about-image.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 100%;
    }

    /* Footer */
    footer {
        padding: 2em 0 0 0;
    }

    .footer .footer {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer .footer .footer-nav,
    .footer .footer .address {
        width: 30%;
    }

    .footer .footer .social {
        width: 100%;
        margin-top: 25px;
    }
    .copy {
        padding: 15px;
        text-align: left;
        margin-top: 2em;
    }

}

@media only screen and (min-width: 568px) and (max-width: 992px) and (orientation: landscape) {
    .my-panel {
        position: absolute;
        top: 32px;
        margin-left: 25px;
        margin-right: auto;
    }
    .my-panel i {
        color: #ffffff;
        border: solid 1px #ffffff;
    }
    .toggle {
        border-radius: 5px;
        padding: 10px;
        font-weight: 600;
        background-color: #182c61;
        color: #ffffff;
        border: navajowhite;
    }

    .sticky-posts-fixed .headline {
        padding: 0px 15px 0px 20px;
    }
    .breadcrumbs {
        margin-left: 20px;
    }
    nav.main-menu {
        overflow-y: scroll;
        scrollbar-width: none;
    }
    .navigation .user-menu-container {
        display: none;
    }

    header .nav .greetings {
        font-size: 24px;
        display: block;
        font-size: 20px;
        position: relative;
        top: -25px;
        left: -15px;
    }

    header .nav .greetings p {
        color: #6495ed;
    }
    
    header .nav .greetings i {
        color: #deb887;
        font-size: 20px;
    }

    .greetings a {
        color: #deb887;
        text-decoration: none;
    }

    .about {
    flex-wrap: wrap;
    justify-content: space-between;
    }
    .about .custom-widget {
        text-align: center;
    }
    .about .h-widget-left {
        width: 100%;
        justify-content: center;
    }
    .about-feature-img {
        width: 60%;
        margin: 20px auto;
    }
    .about .custom-widget ul {
        text-align: left;
    }
    .about .services {
        width: 48%;
    }
    .about .h-widget-right {
        width: 40%;
        margin-top: 20px;
    }

    .p-about .title:before {
        width: 305px !important;
        top: 31px;
        left: 153px !important;
    }
    .p-about .title:after {
        bottom: 0px;
        left: 284px !important;
    }

    /* About us */
    .about-us .content {
        margin: 50px 0;
        padding: 0px 20px;
    }

    .about-us .about-us {
        display: contents;
    }

    .wp-block-column.about-text.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 100% !important;
    }
    .wp-block-column.about-image.is-layout-flow.wp-block-column-is-layout-flow {
        max-width: 100% !important;
    }

    /* Products */
    .products .content {
        padding: 0px 20px;
    }

    .products .g-3 {
        gap: 1em;
    }

    .product-image, .product-image img {
        width: 100%;
        height: fit-content;
    }

    .wp-block-table table {
        border-collapse: collapse;
        width: 100%;
        font-size: 13px;
    }

    .products .wp-block-list li {
        padding: 10px 25px;
    }

    .products .wp-block-list li:before {
        position: absolute;
        left: 26px;
    }

    .products-terms {
        flex-wrap: wrap;
    }

    .products-terms li {
        padding: 10px 0px;
    }

    .posts #posts {
        padding: 0px 20px;
    }

    /* Contact us */
    .content {
        padding: 0px 20px;
    }

    .contact .maps {
        flex-basis: 40% !important;
    }

    .contact .contact-form {
        flex-basis: 60% !important;
    }

    .my-account .my-content {
        margin: 0px 20px !important;
    }

    .my-account .sidebar {
        position: relative;
        right: 20px;
        padding-left: 10px;
        min-width: 300px;
    }

    /* Footer */
    footer {
        padding: 2em 0 0 0;
    }

    .footer .footer {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer .footer .footer-nav,
    .footer .footer .address {
        width: 30%;
    }

    .footer .footer .social {
        width: 100%;
        margin-top: 25px;
    }
    .copy {
        padding: 15px;
        text-align: left;
        margin-top: 2em;
    }

    #menu-bottom {
        display: none;
        position: fixed;
        bottom: 0px;
        background-color: #182C61;
        width: 100%;
        padding: 22px 0px;
        margin: 0px auto;
        z-index: 9999;
    }

    #menu-bottom i {
        font-size: 28px;
        color: #c8d6e5;
    }

    .usermenu {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: nowrap;
        justify-content: center;
        margin: 0px 20px;
    }

    .usermenu ul {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        list-style: none;
    }
    .usermenu ul a {
        text-decoration: none;
    }

    .my-account .my-profile {
        display: none;
    }

    .my-account .my-content {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .my-panel {
        position: absolute;
        top: 32px;
        margin-left: 25px;
        margin-right: auto;
    }
    
    .my-panel i {
        color: #ffffff;
        border: solid 1px #ffffff;
    }
    .navigation {
        padding: 0px 20px;
    }
    nav.main-menu {
        overflow-y: scroll;
        scrollbar-width: none;
    }
    .navigation .user-menu-container {
        display: none;
    }
    .toggle {
        border-radius: 5px;
        padding: 6px;
        font-weight: 600;
        background-color: #182c61;
        color: #ffffff;
        border: navajowhite;
    }
    #breadcrumbs {
        margin-top: 93px;
    }
    .breadcrumbs {
        padding: 0px 20px;
        flex-wrap: wrap;
    }
    header {
        position: fixed;
    }

    header .nav .greetings {
        font-size: 24px;
        display: block;
        font-size: 20px;
        position: relative;
        top: -25px;
        left: -15px;
    }

    header .nav .greetings p {
        color: #6495ed;
    }
    
    header .nav .greetings i {
        color: #deb887;
        font-size: 20px;
    }

    .greetings a {
        color: #deb887;
        text-decoration: none;
    }

    .page-header {
        margin-top: 90px;
        padding: 35px 20px;
        display: flex;
        flex-direction: row;
    }
    #scroll-top {
        display: none !important;
    }    
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10 {
        width: 100%;
        padding: 0px 20px;
    }
    .flex {
        display: flex;
        flex-wrap: wrap;
    }
    .g-2 {
        margin: 10px 0;
    }
    .gxr-2 {
        margin: 0;
    }

    /* margin decrease */
    .pt-d-3 {
        margin-top: -3em;
    }

    .logo {
        width: 100%;
    }
    .brand {
        margin-left: 10px;
    }
    .site-title {
        font-size: 20px;
    }
    .site-description{
        font-size: 16px;
    }
    .about {
        margin-bottom: 50px;
    }
    .about-feature-img {
        width: 70%;
        margin: 0 auto;
    }
    
    .about-img {
        order: 1;
    }
    .about-text {
        order: 2;
    }

    .flex-box {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
    }
    .feature-box {
        padding: 25px;
    }
    .feature-box:nth-child(2) {
        border-top: solid 1px;
        border-bottom: solid 1px;
        border-color: #deb887;
    }
    .header-main {
        /* height: 560px; */
        align-content: center;
        width: 100%;
        position: relative;
    }
    .content-area {
        width: 100%;
    }
    .heading, .highlight {
        font-size: 34px;
        font-weight: 600;
    }
    .sub-heading {
        font-size: 20px;
        font-weight: 300;
    }
    
    #menu-bottom {
        display: none;
        position: fixed;
        bottom: 0px;
        background-color: #182C61;
        width: 100%;
        padding: 22px 0px;
        margin: 0px auto;
        z-index: 9999;
    }

    #menu-bottom i {
        font-size: 28px;
        color: #c8d6e5;
    }

    .usermenu {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: nowrap;
        justify-content: center;
        margin: 0px 20px;
    }

    .usermenu ul {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        list-style: none;
    }
    .usermenu ul a {
        text-decoration: none;
    }

    .footer .footer {
        flex-wrap: wrap;
    }

    .footer-nav {
        width: 100%;
    }
    .footer-nav {
        margin-top: -2em;
    }
    .footer-nav span p:before {
        margin-left: -10px;
    }
    .footer-nav ul {
        margin-left: 0px;
    }
    
    .footer-nav,
    .company-info,
    .address {
        padding: 0px 20px;
    }
    .company-info {
        width: 100%;
        margin: 0px;
    }
    .address {
        width: 100%;
        margin-top: 10px !important;
    }
    .address span:after {
        width: 100%;
    }
    .social {
        width: 100%;
        margin-top: 50px;
    }
    .copy {
        text-align: center;
        padding: 15px 30px;
        position: relative;
    }
    .maps {
        order: 2;
    }
    .maps .map-container iframe {
        height: 280px;
    }
    .contact-form {
        order: 1;
    }
    .map-container {
        width: 100%;
        margin: 0;
    }
    .map-containe,
    #contact-form {
        padding: 0px;
    }
    #contact-form input,
    #contact-form textarea {
        width: 90%;
    }

    .my-account .my-profile {
        display: none;
    }

    .my-account .my-content {
        margin: 0px 20px;
        width: 100%;
    }

    .content {
        padding: 0px 20px;
    }

    .post-title {
        font-size: 22px;
    }

    .single .post-meta {
        gap: 0;
        flex-wrap: wrap;
    }

    .h-widget-left {
        width: 100%;
        padding: 0px 50px;
    }
    .services {
        width: 100%;
        padding: 0px 20px;
    }
    .services .title {
        font-size: 18px;
        margin-left: 34px;
    }
    .services li.icon {
        display: inline-block;
        margin-bottom: 0px;
        align-content: center;
    }
    .services li.icon:before {
        position: relative;
        top: 30px;
    }
    .h-widget-right {
        width: 100%;
        margin-top: 25px;
        padding: 0 20px;
    }
    .sidebar .widget-area {
        padding: 0px 20px;
    }

    /* Products */
    .p-about {
        width: 100%;
        text-align: left;
    }
    
    .p-about .title:before,
    .p-about .title:after {
        display: none;
    }

    .products-grid {
        flex-wrap: wrap;
    }
    .product-item {
        width: 100%;
    }
    .product-link {
        position: relative; /* Ensure it’s not hidden behind other elements */
        z-index: 20; /* Ensure it's clickable */
    }
    
    .wp-block-table table {
        border-collapse: collapse;
        width: 100%;
        font-size: 13px;
    }

    .products .wp-block-list li {
        padding: 10px 25px;
    }

    .products .wp-block-list li:before {
        position: absolute;
        left: 26px;
    }

    .products-terms {
        flex-wrap: wrap;
    }

    .products-terms li {
        padding: 10px 0px;
    }
    
    #posts {
        flex-wrap: wrap;
        padding: 0px 20px;
    }

    .sticky-posts-fixed .headline {
        padding: 0px 15px 0px 15px;
    }
}

@media only screen and (max-width: 400px) {
    nav.main-menu {
        overflow-y: scroll;
        scrollbar-width: none;
    }
    header {
        height: 88px;
    }
    .site-title {
        font-size: 16px;
    }
    .site-description{
        font-size: 14px;
    }
    .about-feature-img {
        width: 90%;
    }
    .service-title {
        font-size: 22px;
    }
    .services .title {
        font-size: 16px;
    }

    .services li.icon:before {
        top: 28px;
    }
    .products .wp-block-list {
        flex-wrap: wrap;
    }
    .products .wp-block-list {
        font-size: 15px;
    }
    .contact-form legend {
        position: relative;
        top: 7px;
    }
}