/* Product Banner Area Styles */

/* Font Face for Glastone-Regular */
@font-face {
    font-family: 'Glastone-Regular';
    src: url('../fonts/Glastone-Regular.otf');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* 1. pr-banner-area background color */
.pr-banner-area {
    background-color: #a43937;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* 2. Inner h2 tag styling */
.pr-banner-area h2 {
    color: #f4e890!important;
    font-size: 72px;
    line-height: 1.2;
    font-weight: bold;
    font-family: Arial, sans-serif;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.pr-banner-area h2 span {
    font-family: 'Glastone-Regular', Arial, sans-serif;
}

/* 3-7. Product image positioning and animations */

/* 3. products-top-left */
.products-top-left {
    position: absolute;
    top: 100px;
    left: 0;
    animation: floatAnimation 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* 4. products-left-bottom */
.products-left-bottom {
    position: absolute;
    bottom: 70px;
    left: 0;
    animation: floatAnimation 5s ease-in-out infinite;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* 5. products-top-right */
.products-top-right {
    position: absolute;
    top: 100px;
    right: 0;
    animation: floatAnimation 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* 6. products-right-bottom */
.products-right-bottom {
    position: absolute;
    bottom: 0px;
    right: 0;
    animation: horizontalAnimation 5s ease-in-out infinite;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* 7. products-right-center */
.products-right-center {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: floatAnimation 4.5s ease-in-out infinite;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Animation for floating effect */
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
 }

/* Testimonials Area Styling */
.testimonails-area {
    background-color: #72c4a0;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Testimonials positioned elements with parallax */
.testimonials-top-left {
    position: absolute;
    top: 100px;
    left: 0;
    animation: floatAnimation 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    z-index: 2;
}

.testimonials-bottom-right {
    position: absolute;
    bottom: -20px;
    right: 0;
    animation: floatAnimation 5s ease-in-out infinite;
    transition: transform 0.3s ease;
    z-index: 2;
}

/* Testimonial Slider Container */
.testimonial-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
}

/* Desktop version - use min-height for screens 1200px and above */
@media (min-width: 1200px) {
    .testimonial-slider {
        min-height: 300px;
    }
}

/* Testimonial Slider Item */
.testimonial-slider-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

/* Testimonial Slider Item Left */
.testimonial-slider-item-left {
    width: 25%;
    background-image: url('../img/home/testimonial-left-arrow-border.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    padding: 20px;
    text-align: center;
    position: relative;
}

/* Testimonial Avatar Image */
.testimonial-avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    animation: zoomInOut 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.testimonial-slider-item:hover .testimonial-avatar-image {
    animation: zoomInOutContinuous 1s ease-in-out infinite;
}

/* Testimonial Slider Item Left Text */
.testimonial-slider-item-left h3,
.testimonial-slider-item-left h4 {
    color: #000000;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.testimonial-slider-item-left span {
    color: #7e7c7c;
    font-size: 16px;
    font-weight: 400;
}

/* Testimonial Slider Item Right */
.testimonial-slider-item-right {
    flex: 1;
    /* background-image: url('../img/home/testimonial-quote.png');
    background-repeat: no-repeat;
    background-position: right 150px center;
    background-size: auto; */
    padding: 20px;
    position: relative;
}

.testimonial-slider-item-right::before {
    content: '';
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background-image: url('../img/home/testimonial-quote.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: zoomInOutContinuous 2s ease-in-out infinite;
}

/* Testimonial Stars */
.testimonial-star {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-star img {
    width: 20px;
    height: 20px;
    animation: wobble 2s ease-in-out infinite;
}

.testimonial-star img:nth-child(1) { animation-delay: 0s; }
.testimonial-star img:nth-child(2) { animation-delay: 0.2s; }
.testimonial-star img:nth-child(3) { animation-delay: 0.4s; }
.testimonial-star img:nth-child(4) { animation-delay: 0.6s; }
.testimonial-star img:nth-child(5) { animation-delay: 0.8s; }

/* Testimonial Text */
.testimonial-slider-item-right p {
    color: #000000;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Testimonial Dots Navigation */
.testimonial-dots {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-dots .dot.active {
    background-color: #72c4a0;
    border-color: #fff;
    transform: scale(1.2);
}

/* Testimonial slider functionality */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-slider-item {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.testimonial-slider-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* Animations */
@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes zoomInOutContinuous {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-5deg) scale(1.05); }
    75% { transform: rotate(5deg) scale(1.05); }
}

@keyframes avatarZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes avatarZoomContinuous {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .testimonials-top-left,
    .testimonials-bottom-right {
        max-width: 80px;
    }
    
    .testimonial-slider-item {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }
    
    .testimonial-slider-item-left {
        width: 100%;
        background-position: center bottom;
        padding: 15px;
    }
    
    .testimonial-slider-item-right {
        background-position: center top;
        padding: 15px;
    }
    
    .testimonial-slider-item-right p {
        font-size: 24px;
    }
    
    .testimonial-dots {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .testimonails-area {
        padding: 60px 0;
    }
    
    .testimonials-top-left,
    .testimonials-bottom-right {
        max-width: 60px;
    }
    
    .testimonial-slider {
        height: auto;
    }
    
    .testimonial-slider-item-left h3,
    .testimonial-slider-item-left h4 {
        font-size: 18px;
    }
    
    .testimonial-slider-item-left span {
        font-size: 14px;
    }
    
    .testimonial-slider-item-right p {
        font-size: 20px;
    }
    
    .testimonal-avatar-image {
        width: 60px;
        height: 60px;
    }
}

/* Happy Customers Area Styling */
.happy-customers-area {
    background-image: url('../img/home/happy-customers-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

/* .happy-customers-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
} */

.happy-customers-area .row,
.happy-customers-area .col-md-12 {
    position: relative;
    z-index: 2;
}

.happy-customers-area h2 {
    font-size: 100px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1;
    font-family: 'ClashDisplay-Bold', Arial, sans-serif;
}

.happy-customers-area h3 {
    font-size: 42px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'ClashDisplay-Medium', Arial, sans-serif;
}

.happy-customers-area p {
    font-size: 20px;
    color: #000000;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive styles for Happy Customers Area */
@media (max-width: 991px) {
    .happy-customers-area {
        padding: 80px 0;
    }
    
    .happy-customers-area h2 {
        font-size: 60px;
    }
    
    .happy-customers-area h3 {
        font-size: 20px;
    }
    
    .happy-customers-area p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .happy-customers-area {
        padding: 60px 20px;
    }
    
    .happy-customers-area h2 {
        font-size: 48px;
    }
    
    .happy-customers-area h3 {
        font-size: 18px;
    }
    
    .happy-customers-area p {
        font-size: 13px;
        padding: 0 10px;
    }
}

/* Animation for horizontal movement */
@keyframes horizontalAnimation {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-15px);
    }
    100% {
        transform: translateX(0);
    }
}

/* Parallax effect on scroll */
.pr-banner-area img {
    transition: transform 0.5s ease;
}

/* Product row styling */
.pr-banner-area .product-row {
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.pr-banner-area .heading-row {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.pr-banner-area .container {
    position: relative;
    z-index: 2;
}

.pr-banner-area .product-image {
    display: block;
    background-color: #f4e890;
    border-radius: 0px;
    padding: 20px;
    position: relative;
    margin-bottom: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.pr-banner-area .product-image:hover {
    transform: scale(1.05);
}

.pr-banner-area .product-image img {
    transition: transform 0.5s ease;
}

.pr-banner-area .product-image:hover img {
    transform: scale(1.1);
}

.pr-banner-area .product-image span {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #fff;
    color: #a43937;
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 12px;
    letter-spacing: 2px;
}

.pr-banner-area .product-title {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0;
}

.pr-banner-area .product-title:hover {
    color: #f4e890!important;
    transform: translateY(-3px);
}

.pr-banner-area .product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #f4e890;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.pr-banner-area .product-title:hover::after {
    width: 70%;
}

/* View All Products Button Styling - Exact match to reference image */
.view-all-products {
    display: inline-block;
    background: transparent;
    color: #f4e890!important;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid #f4e890;
    position: relative;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.view-all-products:hover {
    background: #f4e890;
    color: #a43937;
    text-decoration: none;
    transform: translateY(-2px);
}

/* View All Products Arrow Styling - Exact match to reference image */
.view-all-products-arrow {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    text-decoration: none;
    position: relative;
    border: 2px solid #f4e890!important;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.view-all-products-arrow span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f4e890;
    transition: all 0.3s ease;
}

.view-all-products-arrow:hover {
    background: #f4e890;
    transform: translateY(-2px);
}

.view-all-products-arrow:hover span {
    color: #a43937;
}

.view-all-products-arrow svg {
    transition: all 0.3s ease;
}

.view-all-products-arrow svg path {
    stroke: #f4e890 !important;
}

.view-all-products-arrow:hover svg path {
    stroke: #a43937 !important;
}

/* Responsive styles */
@media (max-width: 991px) {
    .products-top-left,
    .products-left-bottom,
    .products-top-right,
    .products-right-bottom,
    .products-right-center {
        max-width: 100px;
    }
    
    .pr-banner-area h2 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .products-top-left,
    .products-left-bottom,
    .products-top-right,
    .products-right-bottom,
    .products-right-center {
        max-width: 70px;
    }
    
    .pr-banner-area h2 {
        font-size: 30px;
    }
    
    .pr-banner-area .product-row .col-md-3 {
        margin-bottom: 30px;
    }
    
    .view-all-products {
        padding: 12px 20px;
        font-size: 12px;
        margin-right: 10px;
        margin-bottom: 10px;
    }
    
    .view-all-products-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    /* Hide fancy animation elements that disturb text reading */
    .products-top-left,
    .products-left-bottom,
    .products-top-right,
    .products-right-bottom,
    .products-right-center {
        display: none;
    }
    
    /* Fix testimonial slider height for mobile */
    .testimonial-slider {
        height: auto;
    }
    
    .testimonial-slider-item {
        padding: 10px;
    }
    
    .testimonial-slider-item-left {
        padding: 10px;
    }
    
    .testimonial-slider-item-right {
        padding: 10px;
    }
    
    .testimonial-slider-item-right p {
        font-size: 18px;
        line-height: 1.3;
    }
}