:root {
    --primary-color: #7c3aed;
    word-break: auto-phrase;
}

.custom-container > .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1300px;
  }

.carousel-inner {
    height: 80dvh;
}

.sub-heading > p {
    font-size: 19px;
}

.custom-btn {
    background-color: var(--primary-color);
    border: none;
    text-decoration: none;
    font-size: 0.75rem;
    height: 40px;
    line-height: 2.4;
}

.slider-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slider-content>.slider-heading {
    font-size: 24px;
    font-weight: 500;
}

.slider-content>.slider-heading2 {
    font-size: 46px;
    font-weight: 600;
}

.heading2 {
    font-size: 14px;
    color: var(--primary-color);
    letter-spacing: 0.88px;
}

.sub-heading h3 {
    font-size: 2rem;
    font-weight: 600;
    color: rgb(17, 24, 39);
    ;
}

.service-main {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.service-main>h3 {
    font-size: 23px;
}

.service-main> p{
    hyphens: auto;
    word-spacing: 2px;
}


.service-content {
    background: rgba(124, 58, 237, 0.1);
    top: -20%;
    border-radius: 10px;
}

.bg-start {
    background: #5d3b9c;
}

.headingDo::before {
    content: "";
    width: 50px;
    height: 50px;
    background: url('/assets/check.png');
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
    position: absolute;
    left: -15%;
}

.video-main .play_btn{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.testi {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-para {
    text-align: justify;
    hyphens: auto;
    word-spacing: 5px;
}

.testi > h3 {
    font-size: 21px;
}

.testi > .testi-content {
    font-size: 18px;
    hyphens: auto;

}
.corporate .modal-dialog {
    max-width: 70%;
}

/* Data Agile Updates Section Styles - Perfect Uniformity */
.update-item {
    background: transparent;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.update-image-container {
    width: 100%;
    margin-bottom: 25px;
    text-align: center;
    height: 280px;
    overflow: hidden;
}

.update-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.shadow-pic {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.update-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

/* BONDBRIDGE UPDATES - Same styling as TALK TO US */
.update-title-bondbridge {
    color: rgb(17, 24, 39);
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    line-height: 1.3;
    height: 30px;
    display: flex;
    align-items: center;
    text-align: left; /* Left aligned, not centered */
}

.update-title-bondbridge span {
    color: var(--primary-color); /* Purple color for "UPDATES" */
}

/* Regular DATA AGILE UPDATES styling */
.update-title {
    color: #4285f4;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    line-height: 1.3;
    height: 30px;
    display: flex;
    align-items: center;
    text-align: left;
}

.update-text {
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.justified-text {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 0;
    hyphens: auto;
}

.dashboard-preview-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
}

.dashboard-preview-uniform {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0;
}

/* Ensure perfect grid alignment */
.row {
    display: flex;
    align-items: stretch;
}

.row .col-md-6 {
    display: flex;
    flex-direction: column;
}

/* Clean layout */
.bg-light {
    background-color: #ffffff !important;
}

.qoutes {
    color: rgba(33, 37, 41, 0.75) !important;
    font-size: 18px;
}

.logo_cor {
    position: absolute;
   text-align: center;
    width: 100%;
    z-index: 2;
}

.logo_cor img {
    width: 350px;
}


/* Force uniform heights at different breakpoints */

@media (max-width: 992px) {
    
    .service-content {
        position: static !important;
        transform: translateX(0) !important;
    }

    .carousel-item {
        height: 100%;
    }

    .carousel-item > img {
        height: 100%;
        object-fit: cover;
    }

    .pl-5 {
        margin-bottom: 1rem;
    }

    .pl-5 > h4 {
        padding-left: 3rem;
    }

    .pl-5 > p {
        text-align: left;
        padding-left: 3rem;
    }

    .headingDo::before {
        left: 0;
    }

    .service-main {
        height: auto;
    }


}

@media (min-width: 768px) {
    .update-item {
        min-height: 500px;
    }
    
    .update-image-container {
        height: 280px;
    }
    
    .update-content {
        min-height: 200px;
    }
}

@media (max-width: 767px) {
    .update-item {
        margin-bottom: 40px;
    }
    
    .update-image-container {
        height: 220px;
        margin-bottom: 20px;
    }
    
    .update-title,
    .update-title-bondbridge {
        font-size: 20px;
        height: auto;
    }
    
    .update-text {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .update-title,
    .update-title-bondbridge {
        font-size: 18px;
    }
    
    .update-image-container {
        height: 200px;
    }
}

/* Additional uniformity rules */
.update-item:nth-child(1) .dashboard-preview-uniform,
.update-item:nth-child(2) .dashboard-preview-uniform {
    max-height: 125px;
}

/* Ensure text blocks end at same level */
.update-content {
    justify-content: space-between;
}
