/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
:root {
  --red-color: #A72024;
  --green-color: #2F5130;
  --black-color: #000000;
  --white-color: #ffffff;
}

/* General CSS */
[type=button], [type=submit], button{color: var(--red-color); border-color: var(--red-color)}
[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus, button:hover{background-color: var(--red-color);}

/* Header CSS */
/* Smooth top bar slide */
.top-bar {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.hide-topbar {
    transform: translateY(-100%);
    opacity: 0;
}

/* Home Page CSS */
body.home .pns-breadcrumbs-wrp{display: none;}


/* Base smooth transition for header */
.site-header {
    transition: transform 0.4s ease, background-color 0.3s ease, top 0.4s ease;
    will-change: transform, top;
}

/* Sticky mode */
.smooth-sticky {
    position: fixed !important;
    width: 100%;
    z-index: 9999;
    background-color: rgba(14, 14, 14, 1.0);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.pns-header-wrap .elementor-widget-image a img[src$=".svg"]{width: 120px;}

/* ⭐ Remove Elementor vertical offset */
.no-offset {
    top: 0 !important;  
    transform: translateY(0) !important; /* ensures smooth start */
}

/* Common Styles */
.pns-services-carousel {
    padding: 20px 0;
    position: relative;
}
.pns-service-item {
    height: auto;
    margin-top: 10px;
    margin-bottom: 50px;
}
.pns-service-image {
    position: relative;
    overflow: hidden;
}
.pns-service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.pns-service-item:hover .pns-service-image img {
    transform: scale(1.1);
}
.pns-services-carousel .pns-service-excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.pns-read-more-btn {
    display: inline-block;
    margin-top: 15px;
    background: var(--red-color);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pns-read-more-btn:hover {
    background: #7a0d13;
    transform: translateY(-2px);
}


/* Design 1 - Modern Card */
.pns-design-1 .pns-service-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.pns-design-1 .pns-service-item:hover {
    transform: translateY(-10px);
}
.pns-design-1 .pns-service-content {
    padding: 30px;
}
.pns-design-1 .pns-service-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #2c3e50;
}
.pns-design-1 .pns-service-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.pns-design-1 .pns-service-title a:hover {
    color: var(--red-color);
}
.pns-design-1 .pns-service-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.pns-design-1 .pns-service-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    color: #000;
}
.pns-services-carousel .swiper-pagination{bottom: 0 !important;}

/* Design 2 - Overlay Card */
.pns-design-2 .pns-service-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}
.pns-design-2 .pns-service-image {
    height: 100%;
}
.pns-design-2 .pns-service-image img {
    height: 100%;
}
.pns-design-2 .pns-service-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    transition: opacity 0.3s ease;
}
.pns-design-2 .pns-service-item:hover .pns-service-image::after {
    opacity: 0.95;
}
.pns-design-2 .pns-service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.pns-design-2 .pns-service-item:hover .pns-service-content {
    transform: translateY(0);
}
.pns-design-2 .pns-service-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #fff;
}
.pns-design-2 .pns-service-title a {
    color: inherit;
    text-decoration: none;
}
.pns-design-2 .pns-service-excerpt {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}
.pns-design-2 .pns-service-item:hover .pns-service-excerpt {
    opacity: 1;
}
.pns-design-2 .pns-service-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    color: #2c3e50;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}
.pns-design-2 .pns-read-more-btn {
    background: var(--red-color);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    margin-top: 12px;

    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.pns-design-2 .pns-service-item:hover .pns-read-more-btn {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------
   ⭐ DESIGN 3 - Split Horizontal Premium Card
-------------------------------------------- */

.pns-design-3 .swiper-slide {
    height: auto !important;
}

.pns-design-3 .pns-service-item {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f3f3f3;
    min-height: 260px;
}

.pns-design-3 .pns-service-item:hover {
    transform: translateY(-8px);
}

/* Left Image */
.pns-design-3 .pns-service-image {
    flex: 0 0 45%;
    position: relative;
}

.pns-design-3 .pns-service-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Category Badge */
.pns-design-3 .pns-service-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--red-color);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    letter-spacing: 0.5px;
}

/* Right Content */
.pns-design-3 .pns-service-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pns-design-3 .pns-service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.pns-design-3 .pns-service-title a {
    text-decoration: none;
    color: inherit;
}

.pns-design-3 .pns-service-excerpt {
    color: #555;
    line-height: 1.6;
    max-width: 95%;
    margin-bottom: 15px;
}

/* Read More Button */
.pns-design-3 .pns-read-more-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-color);
    padding: 10px 22px;
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.pns-design-3 .pns-read-more-btn:hover {
    background: #1f3d22;
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pns-design-3 .pns-service-item {
        flex-direction: column;
        min-height: auto;
    }
    .pns-design-3 .pns-service-image {
        flex: 0 0 auto;
        height: 200px;
    }
}



/* Navigation Arrows */
.pns-services-carousel .swiper-button-next,
.pns-services-carousel .swiper-button-prev {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    top: -10px;
    right: 0;
    display: flex;
    gap: 12px;
}
.pns-services-carousel .swiper-button-next:after,
.pns-services-carousel .swiper-button-prev:after {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 900;
}
.pns-services-carousel .swiper-button-next:hover,
.pns-services-carousel .swiper-button-prev:hover {
    background: var(--red-color);
}
.pns-services-carousel .swiper-button-next:hover:after,
.pns-services-carousel .swiper-button-prev:hover:after {
    color: #fff;
}

/* Pagination Dots */
.pns-services-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #bdc3c7;
    opacity: 1;
}
.pns-services-carousel .swiper-pagination-bullet-active {
    background: var(--red-color);
    width: 20px;
    border-radius: 6px;
}

.pns-services-carousel .swiper-button-prev,
.pns-services-carousel .swiper-button-next{transform: translateY(-50%);}
.pns-services-carousel .swiper-button-prev{left: unset; right: 40px;}
.pns-services-carousel .swiper-button-next{right: 0;}

/* Our Brands Slider Shortcode */
/* ------------------------------
   MASTER WRAPPER
------------------------------ */
.pns-brand-master-wrapper {
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* ------------------------------
   MAIN SLIDER DESIGN
------------------------------ */
.pns-brand-main-box {
    background: #ffffff;
    padding: 40px 30px;
    transition: all 0.3s ease;
    opacity: 0;
}

.swiper-slide-active .pns-brand-main-box {
    opacity: 1;
}

.pns-brand-main-box h2 {
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

.pns-brand-content {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
}

/* ------------------------------
   THUMBNAIL SLIDER DESIGN
------------------------------ */
.pns-thumb-slider {
    margin-top: 10px;
}
.pns-thumb-slider .swiper-wrapper{justify-content: center;}
.pns-thumb-box {
    height: 110px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    cursor: pointer;
}

.pns-thumb-box img {
    width: 100%;
    object-fit: cover;
    transition: 0.25s ease;
}

.pns-thumb-slider .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.pns-thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 768px) {
    .pns-brand-main-box {
        padding: 25px 20px;
    }
    .pns-brand-main-box h2 {
        font-size: 22px;
    }
    .pns-thumb-box {
        width: 80px;
        height: 80px;
    }
}


/* Animation */
.fade-in { animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Product Page CSS */
.elementor-widget-n-tabs .e-n-tab-title{flex-basis: 33.33%;}

/* Contact Us Page CSS */
.pns-cnt-form-wrp{display: flex; flex-wrap: wrap; width: 100%; gap: 20px;}
.pns-cnt-form-field{flex-basis: 48.2%;}
.pns-cnt-form-field p{margin: 0 !important;}
.pns-cnt-form-field textarea{resize: none !important;}
.pns-cnt-form-fw-field{flex-basis: 100%;}