.elementor-element p {
    padding: 0;
    margin: 0;
}

.elementor-element ul {
    padding-left: 40px;
}

.e-con.e-flex>.e-con-inner {
    position: relative;
}

/* -------------------------------------------------
   Custom Image Box Widget
   ------------------------------------------------- */
.custom-image-box {
    --gap: 10px;
    --color-primary: #209E2E;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Image */
.custom-image-box__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Content */
.custom-image-box__content {
    font-family: 'Inter', sans-serif;
    padding: 21px 15px 25px;
    background-color: #F9FFF8;
    display: flex;
    gap: var(--gap);
    flex-direction: column;
}

/* Title */
.custom-image-box__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* SVG icon */
.custom-image-box__icon {
    flex-shrink: 0;
}

/* Description */
.custom-image-box__desc {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    color: #323B40;
}

/* -------------------------------------------------
   Responsive tweaks
   ------------------------------------------------- */
@media (max-width: 767px) {
    .custom-image-box {
        flex-direction: row;
    }
    .custom-image-box__title {
        font-size: 15px;
        line-height: 19px;
    }
    .custom-image-box__desc {
        font-size: 15px;
        line-height: 21px;
    }
    .custom-image-box__content, .custom-image-box__image {
        justify-content: center;
        flex: 1;
    }
}

@media (max-width: 450px) {
    .custom-image-box {
        align-items: center;
    }
}

/* -------------------------------------------------
   Product Highlight Widget
   ------------------------------------------------- */
.elementor-widget-product_highlight {
    width: 100%;
}

.product-highlight-grid {
    --gap: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-highlight-item {
    position: relative;
    background: #fff;
    border: 1px solid #73CE7D;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    padding: 13px;
    gap: 15px;
}

.product-highlight-item:hover {
    transform: translateY(-6px);
    border-color: #209E2E;
}

/* Full-card clickable link (valid HTML) */
.product-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: transparent;
}

.product-link:focus {
    outline: 2px solid #209E2E;
    outline-offset: -2px;
}

/* Hover glow overlay */
.product-highlight-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(32, 158, 46, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 10px;
}

.product-highlight-item.hovered::before {
    opacity: 1;
}

.product-highlight-image {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: solid 1px #CCCED0;
    overflow: hidden;
}

/* Image */
.product-highlight-image img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

/* Content */
.product-highlight-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', sans-serif;
}

.product-rating {
    display: flex;
    gap: 4px;
}

.star-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.product-title {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    color: #323B40;
}

.product-highlight-item:hover .product-title {
    color: #209E2E;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------
   Custom Statistics Widget
   ------------------------------------------------- */
.custom-statitics-wrapper {
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 8px;
    overflow: hidden;
}

/* ----- Video Section ----- */
.statitics-video {
    position: relative;
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
}
.statitics-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    width: 80px; height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, background .2s;
}
.statitics-play-btn:hover {
    background: rgba(0,0,0,0.7);
    transform: translate(-50%, -50%) scale(1.1);
}
.statitics-play-btn svg {
    fill: #fff;
    width: 36px; height: 36px;
}

/* ----- Overlay (modal) ----- */
.statitics-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.statitics-iframe-wrap {
    position: relative;
    width: 90%;
    max-width: 900px;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.statitics-iframe-wrap iframe {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    border: none;
}
.statitics-close {
    position: absolute;
    top: -40px; right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* ----- Statistics Items ----- */
.statitics-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    gap: 0;
    padding: 15px 0;
    background: #fff;
}
.statitics-item {
    text-align: center;
    border-right: solid 1px #209E2E;
}
.statitics-items .statitics-item:last-child {
    border-right: none;
}
.statitics-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    color: #209E2E;
}
.statitics-desc {
    font-size: 16px;
    line-height: 22px;
    color: #209E2E;
    line-height: 1.5;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .statitics-items {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 15px;
        row-gap: 20px;
    }
    .statitics-title { 
        font-size: 1.8rem; 
    }
    .statitics-items .statitics-item:nth-child(2n) {
        border-right: none;
    }
}
@media (max-width: 480px) {
    .statitics-video { height: 280px; }
    .statitics-play-btn { width: 60px; height: 60px; }
    .statitics-play-btn svg { width: 28px; height: 28px; }
}

@media (max-width: 450px) {
    .statitics-items {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .statitics-items .statitics-item {
        border-right: none;
    }
}

/* -------------------------------------------------
   Elementor News Widget – Mobile-first
   Font: Inter (load via theme or Google Fonts)
   ------------------------------------------------- */
@import url('https://rsms.inter/font/inter.css');

.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    font-family: 'Inter', sans-serif;
    margin: 0 auto;
}

.post-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.post-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 393/306;
    border-radius: 12px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 16px 0 6px;
    font-size: 14px;
    line-height: 18px;
    color: #787878;
    align-items: center;
}

.post-meta > * {
    margin: 0;
}

.post-cat {
    background: #3EC64D;
    color: #fff;
    padding: 4px 10px;
    border-radius: 57px;
    font-size: 10px;
    line-height: 18px;
}

.post-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.post-title {
    font-size: 20px;
    line-height: 26px;
    padding: 8px 16px 0 6px;
    font-weight: 700;
}

.post-title a {
    color: #222;
    text-decoration: none;
}

.post-title a:hover {
    color: #3EC64D;
}

.post-excerpt {
    margin: 8px 16px 16px 6px;
    font-size: 14px;
    line-height: 18px;
    color: #787878;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tablet – 2 columns */
@media (min-width: 640px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop – 3 columns */
@media (min-width: 992px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .post-item { background: #1a1a1a; }
    .post-title a { color: #eee; }
    .post-excerpt { color: #ccc; }
}


/* -------------------------------------------------
   Custom About Us Widget
   ------------------------------------------------- */

.custom-about-us-widget {
    display: flex;
    flex-direction: row;
    gap: 95px;
}

.about-us-section .section-title {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    color: #209E2E;
}

.about-us-section .section-title::before {
    content: '01';
    display: inline-flex;
    height: 45px;
    width: 45px;
    border-radius: 45px;
    background-color: #EAFEF1;
    border: solid 1px #A1EEAA;
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    color: #209E2E;
    margin-right: 11px;
}

.about-us-section-1 {
    width: 60%;
    max-width: 656px;
}

.about-us-section-2 {
    flex-grow: 1;
}

.about-us-section-2 .section-title::before {
    content: '02';
}

.about-us-quote-box {
    margin-top: 38px;
    display: flex;
    gap: 14px;
    width: 90%;
    font-size: 16px;
    line-height: 22px;
}

.about-us-quote-box img {
    width: 30px;
    height: 30px;
}

.about-us-description p {
    column-count: 2;
    column-gap: 48px;
    padding: 14px 0;
    font-size: 16px;
    line-height: 22px;
    text-align: justify;
}

.about-us-image img {
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .custom-about-us-widget {
        flex-direction: column;
        gap: 30px;
    }

    .about-us-section-1 {
        width: 100%;
        max-width: unset;
    }
}

/* -------------------------------------------------
   About Us Image Box
   ------------------------------------------------- */
.about-us-img-box-wrapper {
    width: 100%;
    margin: 0 auto;
}

.about-us-img-box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.about-us-img-box-item {
    position: relative;
    background: #209E2E;
    padding: 45px 34px;
    flex: 1;
    border-radius: 8px;
}

.about-us-img-box-image {
    height: 150px;
    width: 150px;
    position: absolute;
    top: -62px;
    right: 22px;
    z-index: 1;
}

.about-us-img-box-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.about-us-img-box-item:hover .about-us-img-box-image img {
    transform: scale(1.08);
}

.about-us-img-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 30px 0;
    line-height: 28px;
}

.about-us-img-box-desc {
    font-size: 16px;
    color: #fff;
    line-height: 22px;
    margin: 0;
}
.about-us-img-mask {
    position: absolute;
    width: 193px;
    height: 154px;
    background-image: url(../images/assets/asset_1.png);
    background-repeat: no-repeat;
    top: 0;
    right: 0;
    border-radius: 0 8px 0 0;;
}
.about-us-img-box-content {
    z-index: 2;
    position: relative;
}

/* Responsive */
@media (max-width: 992px) {
    .about-us-img-box-container {
        gap: 24px;
    }
    .about-us-img-box-item {
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .about-us-img-box-container {
        flex-direction: column;
        align-items: center;
    }
    .about-us-img-box-item {
        max-width: 100%;
        min-width: auto;
    }
    .about-us-img-box-content {
        padding: 24px 18px;
    }
    .about-us-img-box-title {
        font-size: 1.35rem;
    }
}
/* -------------------------------------------------
   Contact Us Info widget
   ------------------------------------------------- */
.eow-info-list {
    border-spacing: 0 6px;
}

.eow-contact-us-info {
    display: flex;
    gap: 27px;
}

.eow-col {
    flex: 1;
}

.eow-col-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 189px 6px 151px;
}

.eow-col-right {
    max-width: 629px;
    position: relative;
    padding: 30px 50px 30px 30px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.eow-title {
    line-height: 1.4;
    font-size: 24px;
    font-weight: 700;
    color: #323B40;
}

.eow-asset {
    position: absolute;
    right: 0;
    top: 0;
}

.eow-info-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    line-height: 18px;
    color: #209E2E;
}

.eow-info-left {
    width: 0;
    white-space: nowrap;
    padding: 0 16px 0 0;
}

.eow-value {
    font-size: 14px;
    line-height: 18px;
    vertical-align: top;
    color: #323B40;
}

@media (max-width: 992px) {
    .eow-col-right {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .eow-contact-us-info {
        flex-direction: column;
    }

    
    .eow-col-right {
        max-width: 100%;
    }
}

@media (max-width: 490px) {
    .eow-info-left {
        padding-right: 8px;
        width: auto;
        min-width: 110px;
        white-space: inherit;
    }
}

/* -------------------------------------------------
   Contact Us Form widget
   ------------------------------------------------- */
.contact-us-grid {
    display: flex;
    gap: 0;
}

.contact-us-map {
    flex: 1;
    flex-grow: 1;
}

.contact-us-map iframe {
    width: 100%;
    height: 100%;
}

.contact-us-form {
    flex: 1;
    max-width: 629px;
    padding: 40px 88px 42px 36px;
    background-color: #088416;
}

.contact-us-form * {
    color: #fff;
}

.contact-us-form h2 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}

.contact-us-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-us-form form input[type="text"],
.contact-us-form form input[type="email"],
.contact-us-form form input[type="tel"],
.contact-us-form form textarea {
    width: 100%;
    padding: 10px 13px;
    border-radius: 6px;
    background: #fff;
    border: none;
    font-size: 16px;
    line-height: 22px;
    font-family: 'Inter', sans-serif;
    color: #323B40;
}

.contact-us-form form input::placeholder,
.contact-us-form form textarea::placeholder {
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
    color: #787878;
    font-style: normal;
    margin-left: 5px;
    font-family: 'Inter', sans-serif;
}

.contact-us-form form input:focus,
.contact-us-form form textarea:focus{
    box-shadow: #A1D9CF 0px 1px 4px, #A1D9CF 0px 0px 0px 3px;
}

.contact-us-form label.required::after {
    content: '*';
    color: #FDBB5A;
    padding-left: 5px;
}

.contact-us-form label {
    display: block;
    padding-bottom: 12px;
}

.contact-us-form br {
    display: none;
}

.contact-us-form p {
    width: 100%;
}

.contact-us-form p:nth-child(3),
.contact-us-form p:nth-child(4) {
    width: calc((100% - 24px) / 2);
}

.contact-us-form p:nth-last-child(2) {
    direction: rtl;
}

.contact-us-form button[type="submit"] {
    direction: ltr;
    background-color: #EAFEF1;
    font-family: "Inter", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    fill: #209E2E;
    color: #209E2E;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #209E2E;
    border-radius: 30px 30px 30px 30px;
    padding: 11px 24px 11px 24px;
    transition: transform linear 0.2s;
    cursor: pointer;
    font-weight: 700;
}

.contact-us-form button[type="submit"]::after {
    content: "\f105";
    padding-left: 11px;
    font-family: 'FontAwesome';
}

.contact-us-form button[type="submit"]:hover {
    transform: translateY(-10px);
}

@media (max-width: 767px) {
    .contact-us-grid {
        flex-direction: column;
    }

    .contact-us-map iframe {
        min-height: 400px;
    }
    
    .contact-us-form {
        max-width: 100%;        
        padding: 40px 20px 42px;
    }
}

@media (max-width: 490px) {
    .contact-us-form p:nth-child(3),
    .contact-us-form p:nth-child(4) {
        width: 100%;
    }
}

/* Custom Gallery Widget */
.custom-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.custom-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
    transition: transform 0.4s ease;
}

.custom-gallery-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.custom-gallery-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(36, 148, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.custom-gallery-item:hover .custom-gallery-mask {
    opacity: 1;
}

.custom-gallery-icon {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Responsive */
@media (max-width: 1024px) {
    .custom-gallery-grid {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .custom-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Editor Mode Adjustments */
.elementor-editor-active .custom-gallery-mask {
    opacity: 0.3;
}

.elementor-lightbox .elementor-slideshow__header .e-eicon-frame-expand,
.elementor-lightbox .elementor-swiper-button[aria-label="Fullscreen"] {
    display: none !important;
}

/* Breadcrumbs */

.entry-header {
    height: 50vh;
    max-height: 450px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    gap: 24px;
}

.entry-header h1 {
    font-size: 36px;
    line-height: 45px;
    font-weight: 700;
    max-width: 1290px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px;
}

.theme-breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 1290px;
    flex-wrap: wrap;
    padding: 0 15px;
}

.theme-breadcrumbs a {
    color: #fff;
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-size: 16px;
    line-height: 22px;
}

.theme-breadcrumbs a:hover {
    text-decoration: underline;
}

.theme-breadcrumbs p {
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
}

.featured-image {
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: 0;
    padding: 0;
}

.featured-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Header */
.site-main {
    padding-top: 0;
}
header:not(.elementor-slideshow__header) {
    background-color: #fff;
}
nav.main-menu {
    background: transparent;
    flex-grow: 1;
}

nav.main-menu ul li a {
    padding: 0;
}

.site-brand img {
    height: 80px;
    width: 80px;
}
.mid-header {
    padding: 0;
}
.mid-header .header-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 150px;
    align-items: center;
}
.mid-header .container {
    width: 100%;
    max-width: 1440px;
    padding: 10px 130px;
}
.mid-header .mobile-menu {
    color: #323B40;
    font-size: 30px;
}
.header-row .menu-main li a {
    font-size: 20px;
    font-weight: 700;
    color: #323B40;
    text-decoration: none;
}
.header-row .menu-main li a:hover,
.header-row .menu-main li.current-menu-item a {
    color: #209E2E;
}
.header-search {
    position: relative;
}
.header-search-form {
    position: fixed;
    inset: 0;
    display: none;
}
ul.menu-main {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media (max-width: 1300px) {
    .mid-header .container {
        padding: 10px 75px;
    }

    .mid-header .header-row {
        gap: 100px;
    }
}

@media (max-width: 991px) {
    .mid-header .container {
        width: 100%;
        padding: 15px;
    }

    .mid-header .header-row {
        gap: 20px;
    }

    .site-brand {
        flex-grow: 1;
    }

    nav.main-menu {
        flex-grow: unset;
        position: relative;
    }

    ul.menu-main {
        display: block;
        width: 270px;
        left: unset;
        right: -50px;
        padding: 10px 15px;
        background-color: #fff;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    .main-menu ul li a {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-brand {
        text-align: left;
    }
}
