/* Swiper Custom Styles for Centered Look */
.testimonial-swiper {
    padding: 30px 0 60px !important;
    overflow: visible !important;
}

.testimonial-swiper .swiper-slide {
    height: auto;
    opacity: 0.4;
    transition: all 0.5s ease;
    transform: scale(0.9);
}

.testimonial-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 10;
}

/* Card Styling inside Swiper */
.testimonial-card-v2 {
    background: #fff;
    padding: 25px 20px; /* Reduced padding */
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    position: relative;
    height: auto; /* Allow dynamic height */
    margin: 0 10px;
}

.swiper-slide-active .testimonial-card-v2 {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.testimonial-avatar-v2 {
    width: 65px; /* Reduced from 80px */
    height: 65px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testimonial-avatar-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder-v2 {
    width: 100%;
    height: 100%;
    background: #3d9130;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Smaller font */
    font-weight: 700;
}

.testimonial-rating-v2 {
    color: #ffc107;
    margin-bottom: 12px;
    font-size: 13px; /* Smaller stars */
}

.testimonial-text-v2 {
    font-size: 13.5px; /* Slightly smaller text */
    line-height: 1.6;
    color: #666;
    margin-bottom: 0px; /* Removed bottom margin */
    min-height: auto; /* Removed fixed height */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show fewer lines by default for compactness */
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-info-v2 h4 {
    font-size: 16px; /* Smaller name */
    font-weight: 700;
    margin: 0 0 2px;
    color: #111;
}

.testimonial-info-v2 p {
    font-size: 12px; /* Smaller designation */
    color: #3d9130;
    font-weight: 600;
    margin: 0 0 8px;
}

/* Nav Buttons Customization */
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: 800;
}

.swiper-button-next, .swiper-button-prev {
    color: #333 !important;
    background: #fff;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.testimonial-swiper .swiper-pagination-bullet-active {
    background: #3d9130 !important;
    width: 20px;
    border-radius: 5px;
}
/* Home Banner Slider Styles */
.home-banner-slider {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.promo-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    aspect-ratio: 12 / 3; /* More natural wide banner ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 12px;
    width: 100%;
}

.promo-text {
    flex: 1;
    z-index: 1;
}

.promo-banner.promo-dark {
    color: #fff;
    background-color: #0b1d12;
}

.promo-banner.promo-light {
    color: #1a1a1a;
    background-color: #f1f8ee;
}

.promo-text h3 {
    font-size: 32px;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1.2;
}

.promo-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ff8a00;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.promo-btn {
    display: inline-block;
    background: #ff8a00;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1;
}

.promo-btn:hover {
    background: #e67e00;
    transform: translateY(-2px);
    color: #fff;
}

.promo-btn-dark {
    background: #3d9130;
}

.promo-btn-dark:hover {
    background: #327a27;
}

@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        min-height: auto;
    }
    .promo-text h3 {
        font-size: 24px;
    }
    .promo-btn {
        margin-top: 25px;
    }
}

.promo-banner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

@media (max-width: 576px) {
    .promo-banner {
        aspect-ratio: 12 / 6; /* Taller on mobile for better visibility */
        padding: 20px;
    }
}

.info-blocks {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* Equal width cards */
    gap: 30px !important;
    margin: 40px 0 !important;
}

.info-card {
    aspect-ratio: 2 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.background-style-card {
    position: relative;
    overflow: hidden;
    color: white !important;
    background-size: cover !important; /* Avoid stretching by using cover */
    background-repeat: no-repeat;
    background-position: center;
}

.background-style-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
    z-index: 1;
}

.background-style-card .info-card-body {
    position: relative;
    z-index: 2;
}

.background-style-card h3, .background-style-card p {
    color: white !important;
}

@media (max-width: 992px) {
    .info-card {
        aspect-ratio: 2 / 1;
    }
}

@media (max-width: 576px) {
    .info-blocks {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin: 20px 0 !important;
    }
    .info-card {
        aspect-ratio: 16 / 7;
    }
}

/* Promo Banners Grid */
.promo-banners-section {
    padding: 40px 0;
}
.promo-banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.promo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4.1; /* Taller portrait ratio matching the reference */
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
@media (max-width: 992px) {
    .promo-banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
@media (max-width: 576px) {
    .promo-banners-section {
        padding: 20px 0;
    }
    .promo-banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }
    .promo-card {
        aspect-ratio: 2 / 3;
        border-radius: 8px;
    }
}
