#divi-global-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* shown with `.show` */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

#divi-global-popup.show {
    display: flex;   /* ⬅️ Make sure this is here */
    opacity: 1;
}
.popup-main-container {
    max-width: 880px;
    width: 100%;
    max-height: 100vh;      /* prevent overflowing screen */
    background: transparent;     /* optional */
    overflow: auto;        /* scroll within container if needed */
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 80px;
    position: fixed;
}


.popup-content-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

#divi-global-popup.show .popup-content-container {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 34px;
    color: #666;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    
    color: rgba(241, 41, 41, 0.759);
    background-color: rgba(0,0,0,0.05);
    transform: rotate(90deg);
}

/* Testimonial Section */
.testimonial-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 15px;
    height: 100%;
    position: relative;
}

.testimonial-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.testimonial-content p.text-muted {
    font-size: 10px;
    margin-bottom: 8px !important;
}
.testimonial-card-body{
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card p {
    font-size: 10px;
    line-height: 1.4;
    margin-bottom: 8px !important;
}

.testimonial-img-container {
    margin-bottom: 10px;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    position: relative;
    padding: 0 5px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-quote h6 {
    font-size: 12px;
    margin-bottom: 2px;
}

.testimonial-quote small {
    font-size: 9px;
    margin-bottom: 8px !important;
}

.testimonial-quote::before {
    content: '"';
    font-size: 40px;
    color: rgba(13, 110, 253, 0.1);
    position: absolute;
    top: -15px;
    left: 0;
    line-height: 1;
    font-family: Georgia, serif;
}

.stars img {
    width: 80px;
    height: auto;
    margin-top: 5px;
}

/* Form Section */
.form-section {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    gap:50px;
}

.form-section h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.form-section p.text-muted {
    font-size: 10px;
    margin-bottom: 5px !important;
}

.custom-form-wrapper input,
.custom-form-wrapper select,
.custom-form-wrapper textarea {
    font-size: 12px !important;
    padding: 6px 8px !important;
    height: 30px !important;
}

.custom-form-wrapper textarea {
    height: 70px !important;
    min-height: 70px !important;
}

.popup-content-container .wpcf7-not-valid-tip {
    font-size: 10px !important;
    margin-top: 0px;
    line-height: 15px;
}

.popup-content-container .wpcf7 form .wpcf7-response-output {
    border-radius: 6px !important;
    font-size: 9px !important;
    margin: 5px 0 !important;
    padding: 5px !important;
}

.popup-content-container p {
    margin-bottom: 1px !important;
}

.popup_submit_btn_style {
    font-size: 12px !important;
    padding: 6px !important;
    height: auto !important;
}

/* Bottom Bar */
.bottom-bar {
    background-color: #ffff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    margin-bottom: 8px;
    margin-top: 8px;
}

.bottom-bar-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.bottom-bar span {
    font-weight: 600;
}

.stats-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-bottom: 15px;
}

.stats-section p {
    margin-bottom: 5px;
    font-size: 12px;
    white-space: nowrap;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 10px;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.award-card {
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    min-width: 150px;
    height: 50px;
    flex-shrink: 0;
}

.award-card img {
    height: 30px;
    width: auto;
    margin-right: 8px;
    object-fit: contain;
}

.award-card span {
    font-size: 10px;
    font-weight: 600;
}

/* Carousel Controls */
.carousel-control-prev, 
.carousel-control-next {
    width: 25px !important;
    height: 25px !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.carousel-control-prev {
    left: -15px;
}

.carousel-control-next {
    right: -15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 12px !important;
    height: 12px !important;
}

/* Form Elements */
.custom-form-wrapper .custom-input,
.custom-form-wrapper .custom-textarea,
.custom-form-wrapper .custom-select {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 5px 8px;
    font-size: 10px !important;
    width: 100%;
    box-sizing: border-box;
}

.custom-form-wrapper .custom-textarea {
    max-height: 70px;
    resize: vertical;
}

.popup_submit_btn_style {
    background-color: #ff7c00 !important;
    color: #ffff !important;
    font-weight: 700 !important;
    border: 0px solid #ff7c00 !important;
    border-radius: 6px;
    font-size: 12px !important;
    transition: background-color 0.3s ease;
    padding: 30px 20px !important;
}

.popup_submit_btn_style:hover {
	border:1px solid #e96f00 !important;
    background-color: #e96f00 !important;
    color: #ffff;
    cursor: pointer;
}

.custom-form-wrapper input:focus,
.custom-form-wrapper textarea:focus,
.custom-form-wrapper select:focus {
    box-shadow: none !important;
    outline: none;
}
.form-body-scroll .wpcf7-spinner{
    position: absolute !important;
    margin-top: 5px !important;
    right: 40px !important;
}
.form-body-scroll .et_pb_button:after{
    display: none !important;
}
.form-info-style {
    margin-top: 10px !important;
}

.form-info-style p {
    line-height: 3px !important;
    margin-bottom: 0px; /* or 5px depending on desired spacing */
}

/* Animations */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .bottom-bar-content {
        flex-direction: row;
        align-items: center;
    }
    
    .stats-section {
        margin-bottom: 0;
        padding-right: 15px;
        border-right: 1px solid #dee2e6;
        margin-right: 15px;
    }
    
    .marquee-container {
        flex: 1;
    }
    
    
    
    .testimonial-img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    #divi-global-popup {
        padding: 10px;
        align-items: flex-start;
    }
    
    .popup-main-container {
        margin-top: 60px;
        margin-bottom: 20px;
    }
    
    .popup-content-container {
        padding: 15px;
    }
    
    .row.g-2 {
        flex-direction: column;
    }
    
    .col-lg-6 {
        width: 100%;
    }
    
    .testimonial-section, 
    .form-section {
        padding: 15px;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }
    
    .stats-section p {
        white-space: normal;
        font-size: 11px;
        text-align: center;
    }
    
    .award-card {
        min-width: 140px;
        padding: 6px 10px;
    }
}

@media (max-width: 576px) {
    .popup-content-container {
        padding: 12px;
    }
    
    .bottom-bar {
        padding: 8px;
    }
    
    .testimonial-img {
        width: 50px;
        height: 50px;
    }
    
    .form-section h3 {
        font-size: 16px;
    }
    
    .award-card {
        min-width: 120px;
        height: 45px;
    }
    
    .award-card img {
        height: 25px;
    }
    
    .award-card span {
        font-size: 9px;
    }
    
    .stats-section p {
        font-size: 10px;
    }
}


  