/* ============================================
   INDUSTRIAL & COMMERCIAL PAGE SPECIFIC STYLES
   ============================================ */

/* Key metric titles (Industrial / Commercial) */

/* Hero Section */
.industrial-hero-section {
    position: relative;
    /* padding: 120px 0 60px; */
    /* background-color: #00399E; */
    color: black;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.industrial-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    /* color: rgba(255, 255, 255, 0.8); */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    /* color: white; */
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    /* color: rgba(255, 255, 255, 0.9); */
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #00399E, rgba(26, 54, 93, 0.7));
}

/* Hero Image with Overlay */
.hero-image-wrapper-overlay {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.hero-image-wrapper-overlay img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.overlay-text-bottom-right {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

/* Challenges Section */
.challenges-section {
    padding: 80px 0;
    background-color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .industrial-hero-section {
        padding: 100px 0 40px;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.9rem;
    }
    
    .key-metric-section {
        padding: 60px 0;
    }
    
    .key-metric-content-wrapper {
        height: auto !important;
        min-height: 200px;
        padding: 20px 0;
        align-items: flex-start !important;
    }
    
    .key-metric-chart {
        gap: 8px;
    }
    
    .key-metric-bar {
        padding: 12px 8px;
        min-width: 0;
    }
}

/* Fix alignment for 1024px resolution */
@media (min-width: 768px) and (max-width: 1024px) {
    .key-metric-section {
        overflow: hidden;
    }
    
    .key-metric-section .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }
    
    .key-metric-section .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    .key-metric-section .col-md-6 {
        padding-left: 15px;
        padding-right: 15px;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .key-metric-chart {
        gap: 6px;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .key-metric-bar {
        padding: 12px 8px;
        min-width: 0;
        flex: 1 1 0;
    }
    
    .key-metric-bar-label {
        font-size: 0.8rem;
    }
    
    .key-metric-bar-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .industrial-hero-section {
        padding: 80px 0 30px;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .overlay-text-bottom-right {
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
    
    .key-metric-section {
        padding: 40px 0;
    }
    
    .key-metric-content-wrapper {
        height: auto !important;
        min-height: 150px;
        padding: 15px 0;
        align-items: flex-start !important;
    }
    
    .key-metric-chart {
        gap: 6px;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .key-metric-bar {
        padding: 12px 6px;
        min-width: 0;
        flex: 1 1 0;
    }
    
    .key-metric-bar-label {
        font-size: 0.5rem;
        margin-bottom: 8px;
    }
    
    .key-metric-bar-value {
        font-size: 1rem;
    }
    
    .key-metric-section .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .key-metric-section .col-md-6 {
        padding-left: 15px;
        padding-right: 15px;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .key-metric-section .key-metric-chart {
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    .overlay-text-bottom-right {
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
        letter-spacing: 0.5px;
    }
}

/* ============================================
   APPLICATIONS SLIDER OVERRIDES
   ============================================ */
.applications-carousel-wrapper {
    position: relative;
    margin-top: 2rem;
}

.applications-carousel-content {
    overflow: hidden;
}

.applications-slider {
    width: 100%;
    overflow: visible;
    position: relative;
}

.applications-slider-track {
    --app-card-gap: 24px;
    display: flex;
    gap: var(--app-card-gap);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
    padding-left: calc((100vw - 100%) / 2);
    padding-right: 0;
}

.applications-slider-track .application-card {
    flex: 0 0 420px;
    max-width: 420px;
    min-width: 420px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.applications-nav-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Full width carousel with last item half hidden */
.applications-section .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
}

.applications-carousel-content {
    overflow: visible;
    width: 100vw;
    position: relative;
    margin-left: calc(-50vw + 50%);
    padding-right: 0;
    padding-top: 3rem;
}

@media (min-width: 1400px) {
    .applications-slider-track {
        padding-left: calc((100vw - 1320px) / 2 + 15px);
    }
    
    .applications-slider-track .application-card {
        flex: 0 0 450px;
        max-width: 450px;
        min-width: 450px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .applications-slider-track {
        padding-left: calc((100vw - 1140px) / 2 + 15px);
    }
    
    .applications-slider-track .application-card {
        flex: 0 0 420px;
        max-width: 420px;
        min-width: 420px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .applications-slider-track {
        padding-left: 15px;
    }
    
    .applications-slider-track .application-card {
        flex: 0 0 380px;
        max-width: 380px;
        min-width: 380px;
    }
}

@media (max-width: 991px) {
    .applications-carousel-content {
        overflow: hidden;
        width: 100%;
        margin-left: 0;
    }
    
    .applications-slider-track {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .applications-slider-track .application-card {
        flex: 0 0 calc(85% - 12px);
        max-width: calc(85% - 12px);
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .applications-slider-track {
        --app-card-gap: 16px;
        padding-left: 15px;
    }

    .applications-slider-track .application-card {
        flex: 0 0 calc(90% - 8px);
        max-width: calc(90% - 8px);
        min-width: 280px;
        min-height: 440px;
    }
}

@media (max-width: 576px) {
    .applications-carousel-wrapper {
        margin-top: 2rem;
    }

    .applications-carousel-nav {
        top: -71px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }
    
    .applications-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .applications-carousel-content {
        width: 100%;
    }

    .applications-slider-track .application-card {
        flex: 0 0 90%;
        max-width: 90%;
        min-width: unset;
        min-height: 420px;
    }
    
    .applications-section .section-title {
        text-align: center;
        margin-left: 0 !important;
    }
    
    .applications-section .section-description {
        text-align: center;
        margin-left: 0 !important;
    }
}

/* ============================================
   RESPONSIVE STYLES FOR LARGE SCREENS (1600px+)
   ============================================ */

/* Screens 1600px and above */
@media (min-width: 1600px) {
    /* General Section Spacing */
    section.py-5 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
    
    /* Hero Section */
    .industrial-hero-section {
        padding: 140px 0 80px;
        min-height: 600px;
    }
    
    .industrial-hero-content {
        margin-top: 60px !important;
    }
    
    .hero-badge {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 6rem;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
    }
    
    .hero-image-wrapper-overlay {
        margin-top: 3rem !important;
    }
    
    .hero-image-wrapper-overlay img {
        max-height: 600px;
        object-fit: cover;
    }
    
    /* Challenges Section */
    .challenges-section {
        padding: 100px 0;
    }
    
    .challenges-section .section-title {
        font-size: 3rem;
    }
    .key-metric-section-title {
        font-size: 3rem;
    }
    
    .challenges-section .section-description {
        font-size: 1.2rem;
        line-height: 1.7;
    }
    
    .challenge-card {
        padding: 35px !important;
        min-height: 320px;
    }
    
    .challenge-card-icon {
        margin-bottom: 20px;
    }
    
    .challenge-card-icon img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .challenge-card-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .challenge-card-description {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    /* Key Metric Section */
    .key-metric-content-wrapper {
        height: 400px !important;
        display: flex !important;
        align-items: flex-end !important;
        padding-bottom: 60px !important;
    }
    
    .key-metric-content {
        position: relative !important;
    }
    
    .key-metric-number {
        font-size: 6rem;
    }
    
    .key-metric-label {
        font-size: 1.5rem;
    }
    
    .key-metric-bar {
        min-width: 120px;
    }
    
    .key-metric-bar-label {
        font-size: 1.1rem;
    }
    
    .key-metric-bar-value {
        font-size: 1.8rem;
    }
    
    /* Providing Solutions Section */
    .providing-solutions-section {
        padding: 100px 0;
    }
    
    .providing-solutions-title {
        font-size: 3rem;
        margin-bottom: 50px;
    }
    
    .providing-solutions-grid {
        gap: 30px;
    }
    
    .company-logo-card {
        padding: 30px;
        min-height: 180px;
    }
    
    /* Applications Section */
    .applications-section {
        padding: 100px 0;
    }
    
    .applications-section .section-title {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }
    
    .applications-section .section-description {
        font-size: 1.3rem;
        line-height: 1.7;
        margin-bottom: 30px;
    }
    
    .applications-carousel-wrapper {
        margin-top: 2rem;
    }
    
    .applications-slider-track .application-card {
        flex: 0 0 calc((100% - (var(--app-card-gap) * 2)) / 3);
        max-width: calc((100% - (var(--app-card-gap) * 2)) / 3);
        min-width: 420px;
        min-height: 550px;
    }
    
    .application-image {
        height: 300px;
    }
    
    .application-content {
        padding: 35px;
    }
    
    .application-title {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }
    
    .application-description {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

/* Screens 1800px and above */
@media (min-width: 1800px) {
    /* Container max-width adjustment */
    .container {
        max-width: 1600px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    /* General Section Spacing */
    section.py-5 {
        padding-top: 7rem !important;
        padding-bottom: 7rem !important;
    }
    
    /* Hero Section */
    .industrial-hero-section {
        padding: 160px 0 100px;
        min-height: 700px;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-image-wrapper-overlay img {
        max-height: 700px;
    }
    
    /* Challenges Section */
    .challenges-section {
        padding: 120px 0;
    }
    
    .challenges-section .section-title {
        font-size: 3.5rem;
    }
    .key-metric-section-title {
        font-size: 3.5rem;
    }
    
    .challenges-section .section-description {
        font-size: 1.3rem;
    }
    
    .challenge-card {
        padding: 40px !important;
        min-height: 360px;
    }
    
    .challenge-card-title {
        font-size: 1.4rem;
    }
    
    .challenge-card-description {
        font-size: 1.1rem;
    }
    
    /* Key Metric Section */
    .key-metric-content-wrapper {
        height: 450px !important;
        display: flex !important;
        align-items: flex-end !important;
        padding-bottom: 80px !important;
    }
    
    .key-metric-content {
        position: relative !important;
    }
    
    .key-metric-number {
        font-size: 7rem;
    }
    
    .key-metric-label {
        font-size: 1.7rem;
    }
    
    /* Applications Section */
    .applications-section .section-title {
        font-size: 4rem;
    }
    
    .applications-section .section-description {
        font-size: 1.4rem;
    }
    
    .applications-slider-track .application-card {
        min-width: 450px;
        min-height: 600px;
    }
    
    .application-image {
        height: 350px;
    }
    
    .application-content {
        padding: 40px;
    }
    
    .application-title {
        font-size: 1.8rem;
    }
    
    .application-description {
        font-size: 1.1rem;
    }
}

/* Screens 2000px and above */
@media (min-width: 2000px) {
    .container {
        max-width: 1800px;
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    /* General Section Spacing */
    section.py-5 {
        padding-top: 8rem !important;
        padding-bottom: 8rem !important;
    }
    
    /* Hero Section */
    .industrial-hero-section {
        padding: 180px 0 120px;
        min-height: 800px;
    }
    
    .hero-title {
        font-size: 8rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .hero-image-wrapper-overlay img {
        max-height: 800px;
    }
    
    /* Challenges Section */
    .challenges-section {
        padding: 140px 0;
    }
    
    .challenges-section .section-title {
        font-size: 4rem;
    }
    .key-metric-section-title {
        font-size: 4rem;
    }
    
    .challenge-card {
        padding: 45px !important;
        min-height: 400px;
    }
    
    /* Key Metric Section */
    .key-metric-content-wrapper {
        height: 500px !important;
        display: flex !important;
        align-items: flex-end !important;
        padding-bottom: 100px !important;
    }
    
    .key-metric-content {
        position: relative !important;
    }
    
    .key-metric-number {
        font-size: 8rem;
    }
    
    .key-metric-label {
        font-size: 1.9rem;
    }
    
    /* Applications Section */
    .applications-section .section-title {
        font-size: 4.5rem;
    }
    
    .applications-section .section-description {
        font-size: 1.5rem;
    }
    
    .applications-slider-track .application-card {
        min-width: 480px;
        min-height: 650px;
    }
    
    .application-image {
        height: 400px;
    }
    
    .application-title {
        font-size: 2rem;
    }
}

/* Screens 2400px and above (Ultra-wide) */
@media (min-width: 2400px) {
    .container {
        max-width: 2000px;
        padding-left: 4rem;
        padding-right: 4rem;
    }
    
    /* General Section Spacing */
    section.py-5 {
        padding-top: 9rem !important;
        padding-bottom: 9rem !important;
    }
    
    /* Hero Section */
    .industrial-hero-section {
        padding: 200px 0 140px;
        min-height: 900px;
    }
    
    .hero-title {
        font-size: 9rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-image-wrapper-overlay img {
        max-height: 900px;
    }
    
    /* Challenges Section */
    .challenges-section {
        padding: 160px 0;
    }
    
    .challenges-section .section-title {
        font-size: 4.5rem;
    }
    .key-metric-section-title {
        font-size: 4.5rem;
    }
    
    .challenge-card {
        padding: 50px !important;
        min-height: 440px;
    }
    
    /* Key Metric Section */
    .key-metric-content-wrapper {
        height: 550px !important;
        display: flex !important;
        align-items: flex-end !important;
        padding-bottom: 120px !important;
    }
    
    .key-metric-content {
        position: relative !important;
    }
    
    .key-metric-number {
        font-size: 9rem;
    }
    
    .key-metric-label {
        font-size: 2.1rem;
    }
    
    /* Applications Section */
    .applications-section .section-title {
        font-size: 5rem;
    }
    
    .applications-section .section-description {
        font-size: 1.6rem;
    }
    
    .applications-slider-track .application-card {
        min-width: 520px;
        min-height: 700px;
    }
    
    .application-image {
        height: 450px;
    }
    
    .application-title {
        font-size: 2.2rem;
    }
}

/* Testimonials Carousel Section */
.testimonials-carousel-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials-carousel-section .section-title {
    margin-bottom: 6rem !important;
    margin-left: 15px !important;
    text-align: center;
    padding-left: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 2.5rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.testimonials-carousel-section .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
}

@media (min-width: 1920px) {
    .testimonials-carousel-nav {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .testimonials-slider-track {
        padding-left: calc((100vw - 1590px) / 2 + 15px);
    }
}

.testimonials-carousel-wrapper {
    position: relative;
    margin-top: 2rem;
}

.testimonials-carousel-nav {
    position: absolute;
    top: -77px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* Responsive alignment for testimonials section title and nav */
@media (min-width: 1200px) {
    .testimonials-carousel-nav {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 1400px) {
    .testimonials-carousel-nav {
        left: 50%;
        transform: translateX(-50%);
    }
}

.testimonials-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #00399E;
    color: #00399E;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    padding: 0;
    position: relative;
}

.testimonials-nav-btn:hover:not(.disabled) {
    background: rgba(0, 57, 158, 0.1);
    border-color: #00399E;
    color: #00399E;
}

.testimonials-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonials-nav-btn i {
    color: #00399E;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    line-height: 1;
}

.testimonials-nav-btn .fa-arrow-left {
    transform: translate(-50%, -50%) translateX(-1px); /* Slight left adjustment */
}

.testimonials-nav-btn .fa-arrow-right {
    transform: translate(-50%, -50%) translateX(1px); /* Slight right adjustment */
}

.testimonials-carousel-content {
    overflow: visible;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-right: 0;
}

.testimonials-slider {
    width: 100%;
    overflow: visible;
    position: relative;
}

.testimonials-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding-left: calc((100vw - 100%) / 2);
    padding-right: 0;
}

.testimonial-carousel-card {
    flex: 0 0 420px;
    max-width: 420px;
    min-width: 420px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
}

/* .testimonial-carousel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
} */

.testimonial-carousel-image-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #f0f0f0;
}

.testimonial-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #00399E;
    color: white;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.testimonial-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 22px;
}

/* .testimonial-carousel-card:hover .testimonial-carousel-image {
    transform: scale(1.08);
} */

.testimonial-carousel-content {
    padding: 30px 25px;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00399E;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.testimonial-company {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

.testimonial-slogan {
    font-size: 0.85rem;
    color: #00399E;
    margin: 12px 0 0 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.testimonial-play-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    border: 3px solid white;
    color: #00399E;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.4rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

.testimonial-play-button:hover {
    background: #FF0000;
    color: white;
    border-color: #FF0000;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.testimonial-play-button i {
    margin-left: 3px;
}

/* Full width testimonials carousel with last item half hidden */
@media (min-width: 1400px) {
    .testimonials-slider-track {
        padding-left: calc((100vw - 1320px) / 2 + 15px);
    }
    
    .testimonial-carousel-card {
        flex: 0 0 420px;
        max-width: 420px;
        min-width: 420px;
    }
    
    .testimonial-carousel-image-wrapper {
        height: 400px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .testimonials-slider-track {
        padding-left: calc((100vw - 1140px) / 2 + 15px);
    }
    
    .testimonial-carousel-card {
        flex: 0 0 400px;
        max-width: 400px;
        min-width: 400px;
    }
    
    .testimonial-carousel-image-wrapper {
        height: 500px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .testimonials-slider-track {
        padding-left: 15px;
    }
    
    .testimonial-carousel-card {
        flex: 0 0 380px;
        max-width: 380px;
        min-width: 380px;
    }
    
    .testimonial-carousel-image-wrapper {
        height: 450px;
    }
}

/* Responsive Styles for Testimonials Carousel */
@media (max-width: 991px) {
    .testimonials-carousel-content {
        overflow: hidden;
        width: 100%;
        margin-left: 0;
    }
    
    .testimonials-slider-track {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .testimonial-carousel-card {
        flex: 0 0 calc(85% - 12px);
        max-width: calc(85% - 12px);
        min-width: 320px;
    }
    
    .testimonial-carousel-image-wrapper {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel-content {
        overflow: hidden;
        width: 100%;
        margin-left: 0;
    }
    
    .testimonials-slider-track {
        padding-left: 15px;
        padding-right: 15px;
        gap: 16px;
    }
    
    .testimonial-carousel-card {
        flex: 0 0 calc(90% - 8px);
        max-width: calc(90% - 8px);
        min-width: 280px;
    }
    
    .testimonial-carousel-image-wrapper {
        height: 350px;
    }
    
    .testimonials-carousel-section {
        padding: 60px 0;
    }
    
    .testimonials-carousel-nav {
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .testimonial-play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        top: 15px;
        right: 15px;
        transform: none;
    }
    
    .testimonial-carousel-content {
        padding: 25px 20px;
    }
    
    .testimonial-name {
        font-size: 1.3rem;
    }
    
    .testimonials-carousel-section .section-title {
        font-size: 2rem;
        margin-bottom: 4rem !important;
    }
    
    .testimonials-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        background: transparent;
        border: 2px solid #00399E;
        color: #00399E;
    }
    
    .testimonials-nav-btn i {
        color: #00399E;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        line-height: 1;
    }
    
    .testimonials-nav-btn .fa-arrow-left {
        transform: translate(-50%, -50%) translateX(-1px);
    }
    
    .testimonials-nav-btn .fa-arrow-right {
        transform: translate(-50%, -50%) translateX(1px);
    }
    
    .testimonial-carousel-card {
        min-width: calc(50% - 12px);
    }
    
    .testimonial-carousel-image-wrapper {
        height: 320px;
    }
    
    .testimonial-play-button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 576px) {
    .testimonials-carousel-section {
        padding: 40px 0;
    }
    
    .testimonials-carousel-nav {
        top: -45px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .testimonials-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        background: transparent;
        border: 2px solid #00399E;
        color: #00399E;
    }
    
    .testimonials-nav-btn i {
        color: #00399E;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        line-height: 1;
    }
    
    .testimonials-nav-btn .fa-arrow-left {
        transform: translate(-50%, -50%) translateX(-1px);
    }
    
    .testimonials-nav-btn .fa-arrow-right {
        transform: translate(-50%, -50%) translateX(1px);
    }
    
    .testimonial-carousel-card {
        min-width: 100%;
    }
    
    .testimonial-carousel-image-wrapper {
        height: 300px;
    }
    
    .testimonial-play-button {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        /* top: 8px; */
        right: 8px;
    }
    
    .testimonials-slider-track {
        gap: 16px;
    }
}

@media (min-width: 1600px) {
    .testimonial-carousel-card {
        min-width: 400px;
    }
    
    .testimonial-carousel-image-wrapper {
        height: 450px;
    }
    
    .testimonial-play-button {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        top: 20px;
        right: 20px;
    }
}



