/* Home Page Theme - Sofiya Enterprises */
body.home {
    background-color: #ffffff;
    color: #555555;
    font-family: 'Open Sans', sans-serif;
}

body.home a {
    color: #F26522;
    transition: all 0.3s ease;
}

body.home a:hover {
    color: #2a4e21;
    text-decoration: none;
}

/* Headings */
body.home h1,
body.home h2,
body.home h3,
body.home h4,
body.home h5,
body.home h6 {
    color: #2a4e21;
}

body.home .title {
    color: #2a4e21;
    font-weight: 700;
}

body.home .sub-title,
body.home .highlight-orange {
    color: #F26522 !important;
}

/* About Section on Home */
body.home .video-text .title {
    color: #2a4e21;
    font-size: 40px;
    margin-bottom: 20px;
}

body.home .video-text hr {
    border-top: 3px solid #F26522;
    width: 60px;
    margin-left: 0;
    margin-bottom: 25px;
}

body.home .video-text .description strong {
    color: #2a4e21;
}

body.home .btn-all .button-outline {
    background: linear-gradient(135deg, #F26522, #d14f12);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(242, 101, 34, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

body.home .btn-all .button-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 101, 34, 0.5);
    color: #ffffff;
}

/* Generic Utility Classes */
.bg-green {
    background-color: #2a4e21 !important;
}

.bg-orange {
    background-color: #F26522 !important;
}

.text-green {
    color: #2a4e21 !important;
}

.text-orange {
    color: #F26522 !important;
}

/* Global Reach Section */
.global-reach-section {
    background: linear-gradient(to bottom, #f8fbf4, #ffffff);
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

.global-reach-map {
    width: 100%;
    max-width: 1000px;
    height: 450px;
    object-fit: cover;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    display: block;
    transition: transform 0.3s ease;
}

.global-reach-map:hover {
    transform: translateY(-5px);
}

.markets-title {
    background-color: #2a4e21;
    color: #ffffff !important;
    display: inline-block;
    padding: 10px 40px;
    border-radius: 30px 30px 0 0;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 700;
}

.markets-divider {
    height: 4px;
    background: linear-gradient(90deg, transparent, #2a4e21, transparent);
    margin-bottom: 40px;
}

/* Marquee Slider */
.flag-slider-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.flag-slider {
    display: inline-block;
    animation: slide-flags 25s linear infinite;
}

.flag-slider:hover {
    animation-play-state: paused;
}

.flag-item {
    display: inline-block;
    text-align: center;
    margin: 0 40px;
    vertical-align: top;
}

.flag-item img,
.flag-item .flag-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    border: 3px solid #fff;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.flag-item .flag-icon-wrap i {
    font-size: 50px;
    color: #2a4e21;
}

.flag-item h4 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin: 0;
}

@keyframes slide-flags {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* About Section Text */
.about-desc-primary {
    font-size: 26px;
    line-height: 1.5;
    color: #2d3748;
    margin-bottom: 25px;
}

.about-desc-primary strong {
    color: #2a4e21;
    font-weight: 800;
}

.about-desc-secondary {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 35px;
}

/* Global Reach Section Text */
.global-reach-title {
    font-size: 60px !important;
    font-weight: 800;
    color: #2a4e21 !important;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.global-reach-subtitle {
    font-size: 22px;
    color: #555;
    margin-bottom: 20px;
}

/* Shop By Categories Theme Override */
.block-products .nav-tabs,
.block-product-cats .item-product-cat-content {
    border: 2px dashed #2a4e21 !important;
}

.products-list.grid .product-wapper .products-thumb .product-thumb-hover .post-image {
    border: 2px dotted #2a4e21 !important;
}

.products-list.grid .product-wapper .products-content h3.product-title a {
    color: #F26522 !important;
}

.block-products .nav-tabs .nav-item .nav-link.active,
.block-products .nav-tabs .nav-item .nav-link:hover,
.block-products .nav-tabs .nav-item.active .nav-link {
    color: #F26522 !important;
    font-weight: bold;
}

.block-products .nav-tabs .nav-item .nav-link.active:before {
    background-color: #F26522 !important;
}

/* Newsletter Section Text & Glassmorphism */
.newsletter-glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-title-theme {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    text-shadow: none;
    margin-bottom: 15px;
    line-height: 1.2;
}

.newsletter-subtitle-theme {
    font-size: 18px;
    color: #555555;
    font-weight: 500;
    text-shadow: none;
    line-height: 1.6;
}

/* Client Cards */
.block-image.slider .item-image {
    box-shadow: 0px 10px 25px -10px rgba(0, 0, 0, 0.15) !important;
    border-radius: 12px;
    padding: 15px;
    background: #fff;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 10px;
}

.block-image.slider .item:nth-child(odd) .item-image {
    border-color: #F26522;
}

.block-image.slider .item:nth-child(even) .item-image {
    border-color: #2a4e21;
}

.block-image.slider .item-image:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 30px -5px rgba(0, 0, 0, 0.25) !important;
}

.client-continuous-slider {
    display: block;
    width: 100%;
    opacity: 1;
    overflow: hidden;
}

.client-continuous-slider .item {
    display: block;
    float: left;
    height: 100%;
    min-height: 1px;
}

/* Index Home Styles extracted from inline */
.profile-image-fixed-height {
    height: 245px;
}

.spices-section-bg {
    background: linear-gradient(135deg, rgba(22, 64, 36, 0.85) 0%, rgba(13, 40, 22, 0.95) 100%), url('../../media/spices_bg_clean.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.spices-section-title,
.spices-section-title strong {
    color: #F26522 !important;
    font-weight: 800;
}

.product-cats-intro .description {
    color: #e6f0e9 !important;
    font-size: 18px;
}

.product-cats-list .item-title {
    color: #F26522 !important;
    font-weight: 700;
    padding: 10px 0;
}

.products-thumb-styled {
    border-radius: 10px;
    border: 2px dotted #2a4e21;
    box-shadow: 0 1rem 3rem rgba(31, 45, 61, .125) !important;
}

.client-card-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* ---- Testimonials Section ---- */
.testimonials-section {
    background: linear-gradient(180deg, #fffcf7 0%, #fff 100%);
    padding: 70px 0;
}

.testimonials-row {
    align-items: flex-start;
}

.testimonials-left-panel {
    background: #fff;
    border-radius: 20px;
    padding: 40px 35px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.testimonials-label {
    color: #2a4e21;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.testimonials-left-panel h2 {
    color: #1a1a1a;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.testimonials-divider {
    width: 45px;
    height: 4px;
    background: #2a4e21;
    border-radius: 3px;
    margin-bottom: 20px;
}

.testimonials-description {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.stat-box-left {
    padding-right: 8px;
}

.stat-box-right {
    padding-left: 8px;
}

.stat-box-red {
    background: #cc5200;
    border-radius: 12px;
    padding: 18px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-box-green {
    background: #f0f9e8;
    border-radius: 12px;
    padding: 18px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon-orange {
    color: #F26522;
    font-size: 26px;
}

.stat-icon-green {
    color: #2a4e21;
    font-size: 26px;
}

.stat-number {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 800;
    display: block;
}

.stat-label {
    color: #888;
    font-size: 12px;
}

.stat-box-red .stat-icon-orange,
.stat-box-red .stat-number,
.stat-box-red .stat-label {
    color: #ffffff !important;
}

.testimonials-right-panel {
    padding-left: 30px;
}

.testimonial-card-item {
    background: #fff;
    border-radius: 16px;
    padding: 22px 25px;
    margin-bottom: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.2s ease;
}

.testimonial-card-item:hover {
    transform: translateY(-3px);
}

.testimonial-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2a4e21;
    flex-shrink: 0;
}

.testimonial-body {
    flex: 1;
}

.testimonial-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.testimonial-body strong {
    color: #1a1a1a;
    font-size: 15px;
}

.testimonial-quote-icon {
    color: #F26522;
    font-size: 22px;
    opacity: 0.4;
    flex-shrink: 0;
    margin-top: 5px;
}

.testimonial-scroll-panel::-webkit-scrollbar {
    width: 5px;
}

.testimonial-scroll-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.testimonial-scroll-panel::-webkit-scrollbar-thumb {
    background: #2a4e21;
    border-radius: 10px;
}

.testimonial-scroll-panel {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Cool Image Effect for About Section */
.cool-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    display: inline-block;
    /* Ensure wrapper hugs the image for shine effect */
}

.cool-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        left: -150%;
    }

    15% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.cool-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(42, 78, 33, 0.4);
}

.cool-image {
    transition: transform 0.7s ease;
    border-radius: 15px;
    display: block;
    width: 100%;
}

.cool-image-wrapper:hover .cool-image {
    transform: scale(1.06);
}
/* Fade Overlay Animation for Category Cards */
.fade-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.fade-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}
.fade-card-front {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}
.fade-card:hover .fade-card-front {
    transform: scale(1.05);
}
.fade-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 78, 33, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 10px;
}
.fade-card:hover .fade-card-back {
    opacity: 1;
}
.fade-title {
    color: white !important;
    font-size: 26px !important;
    font-weight: 700;
    margin-top: 15px;
    text-transform: capitalize;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}
.fade-card:hover .fade-title {
    transform: translateY(0);
}

/* --- Extracted Inline Styles from index.php --- */
.fade-card-container { position: relative; overflow: hidden; border-radius: 10px; }
.fade-card-link { display: block; height: 100%; text-decoration: none; }
.fade-card-image-wrap { height: 100%; }
.fade-card-img-rect { width: 100%; height: 100%; object-fit: cover; }
.fade-card-icon { font-size: 48px; color: white; }
.product-title-white { color: #ffffff; font-weight: 700; text-transform: uppercase; text-decoration: none; font-size: 18px; }
.explore-cat-slide { /* Let slick handle the slide layout */ }
.explore-cat-card { position: relative; overflow: hidden; border-radius: 10px; border: 2px dashed #2a4e21; background-color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.08); height: 100%; margin: 15px; }
.fade-card-img-square { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-title-green { color: #2a4e21; font-weight: 700; text-transform: uppercase; text-decoration: none; font-size: 18px; }


.stretched-link::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; content: ""; }

html, body { overflow-x: clip !important; width: 100% !important; max-width: 100% !important; position: relative; }
.page-wrapper { overflow-x: clip !important; width: 100%; max-width: 100%; }
.row { margin-left: 0 !important; margin-right: 0 !important; }
.container, .container-fluid { overflow-x: clip !important; }


/* Footer bottom overrides */
#site-footer .footer-bottom, .footer-bottom { background-color: #2a4e21 !important; color: white !important; }
#site-footer .footer-bottom .copyright, .footer-bottom .copyright { color: white !important; }

