/* =================================
   CALL TO ACTION SPLIT SECTION
================================= */
.cta-section-split {
    display: flex;
    position: relative;
    width: 100%;
    min-height: 600px;
    background-color: #0b1130;
    /* Use a dark fallback or the hero image if appropriate. The user wants the tech/dark background look on the right. */
    background-image: linear-gradient(rgba(11, 17, 48, 0.85), rgba(11, 17, 48, 0.85)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position:left;
    overflow: hidden;
}

.cta-left {
    position: relative;
    width: 55%;
    background-color: #ffffff;
    z-index: 2;
    display: flex;
    align-items:left;
    justify-content: flex-start; /* Align content to the left */
    /* Dynamically calculate left padding to match a 1200px container with 40px side padding */
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: max(40px, calc(50vw - 600px + 40px));
    padding-right: 60px; /* Space before the curve */
}

/* The curved divider */
.cta-left::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -118px; /* Slightly less than the width to avoid subpixel gaps */
    width: 120px;
    height: calc(100% + 2px);
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 C 140,25 -40,75 100,100 L0,100 Z" fill="%23ffffff"/></svg>');
    background-size: 100% 100%;
    z-index: -1;
    pointer-events: none;
}

.cta-left-inner {
    max-width: 550px; /* Keep text readable */
    width: 100%;
}

/* Reset global !important padding and margins for section tag and title inside the split section */
.cta-left-inner .section-tag,
.cta-left-inner .section-title {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

.cta-left-inner .section-tag {
    margin-bottom: 15px !important;
}

.cta-left-inner .section-title {
    margin-bottom: 20px !important;
    line-height: 1.2;
    
}

.cta-left-inner p {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #000;
}

.cta-left-inner h3 {
    margin-bottom: 20px;
    
}
.cta-branding {
    margin-bottom: 25px;
}

.cta-logo {
    max-height: 40px;
    width: auto;
}
.text-highlight {
    color: #4a82c4; /* Matching the blue "Partner" in the image */
}
.cta-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

@media (max-width: 576px) {
    .cta-features-grid {
        grid-template-columns: 1fr;
    }
}

.cta-list-item {
    display: flex;
    align-items:left;
    gap: 12px;
}

.cta-list-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items:left;
    justify-content:left;
    color: #4a82c4;
}

.cta-list-icon svg {
    width: 20px;
    height: 20px;
}

.cta-list-item span {
    font-size: 15px;
    color: #000;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff6b35; /* Orange matching the image */
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-orange:hover {
    background-color: #e55a24;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(207, 201, 199, 0.4);
    color: #ffffff;
}

.btn-outline-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid #4a82c4;
    color: #4a82c4;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-blue:hover {
    background-color: #4a82c4;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Right side glowing dots effect */
.cta-right {
    width: 45%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-right-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(74, 130, 196, 0.2) 0%, transparent 70%);
}

/* =================================
   RESPONSIVE BREAKPOINTS
================================= */

@media (max-width: 1024px) {
    .cta-left {
        width: 60%;
    }
    .cta-right {
        width: 40%;
    }
    .cta-heading {
    }
}

@media (max-width: 768px) {
    .cta-section-split {
        flex-direction: column;
        background-position: top center;
    }
    
    .cta-left {
        width: 100%;
        padding: 60px 20px;
        justify-content: center;
    }
    
    .cta-left::after {
        display: none; /* Remove curve on mobile */
    }
    
    .cta-left-inner {
        max-width: 100%;
    }
    
    .cta-heading {
    }
    
    .cta-right {
        width: 100%;
        height: 300px; /* Give some height to the background on mobile */
    }
}

@media (max-width: 576px) {
    .cta-heading {
    }
    .cta-paragraph {
        max-width: 100%;
    }
    .btn-orange {
        width: 100%;
    }
}

/* =========================================
   TYPOGRAPHY STANDARDIZATION (USER REQUESTED)
   ========================================= */
/* Desktop */
.cta-section-split h2, .cta-heading { font-size: 40px !important; }
.cta-section-split h3 { font-size: 22px !important; }
.cta-section-split p, .cta-paragraph { font-size: 18px !important; line-height: 1.6 !important; }
.cta-section-split li { font-size: 18px !important; line-height: 1.6 !important; }

/* Tablet and Mobile (<= 1024px) */
@media (max-width: 1024px) {
    .cta-section-split h2, .cta-heading { font-size: 35px !important; }
    .cta-section-split h3 { font-size: 22px !important; }
    .cta-section-split p, .cta-paragraph { font-size: 18px !important; line-height: 1.6 !important; }
    .cta-section-split li { font-size: 18px !important; line-height: 1.6 !important; }
}