/* --- UNIFIED SULY DARK MODE STYLES --- */
.suly-dark-mode {
    background-color: #05080d;
    background-image: 
        radial-gradient(ellipse at top right, rgba(229, 183, 68, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(0, 100, 255, 0.12), transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    font-family: 'Open Sans', sans-serif;
    color: #d1d5db;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.banner-title-overlay h1 {
    color: #ffffff;
    font-size: 2.5vw;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .banner-title-overlay h1 {
        font-size: 16px; 
    }
}

/* --- TYPOGRAPHY --- */
.suly-dark-mode h1, .suly-dark-mode h2, .suly-dark-mode h3, .suly-dark-mode h4, .suly-dark-mode .title {
    font-family: 'Montserrat', sans-serif !important;
    color: #e5b744 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.bottom-highlight {
    color: #e5b744;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 500;
    margin-top: 2.5rem;
    display: block;
}

.tech-column-title {
    color: #e5b744;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.tech-column-text {
    font-size: 1.5rem;
    color: #d1d5db;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2rem; /* Increased slightly to accommodate the line */
    position: relative;
    padding-top: 25px;
    padding-bottom: 15px; /* Adds space for the new fading line */
}

/* New fading line under each text point */
.tech-column-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 150px; /* Ensures the line stays small */
    height: 2px;
    background: linear-gradient(to right, transparent, #e5b744, transparent);
    opacity: 0.8;
}

/* --- UI ELEMENTS --- */
.tech-pill {
    border: 1px solid rgba(229, 183, 68, 0.4);
    border-radius: 30px;
    padding: 25px 35px;
    background: rgba(229, 183, 68, 0.05);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.tech-pill:hover {
    background: rgba(229, 183, 68, 0.15);
    transform: translateY(-5px);
    border-color: #e5b744;
    color: #ffffff;
}

.cta-button-unified {
    display: inline-block;
    padding: 18px 45px;
    background-color: #e5b744;
    color: #05080d !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-unified:hover {
    transform: translateY(-3px);
    background-color: #f1c453;
    box-shadow: 0 8px 25px rgba(229,183,68,0.4);
}

/* --- LAYOUT & SPACING --- */
.section-spacing {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.challenge-grid-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.pill-top-left { grid-column: 1; grid-row: 1; }
.pill-top-right { grid-column: 3; grid-row: 1; }
.pill-bottom-left { grid-column: 1; grid-row: 2; }
.pill-bottom-right { grid-column: 3; grid-row: 2; }

.challenge-center-img {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.list-small {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.6;
    text-align: left;
}
.list-small li {
    margin-bottom: 15px;
    color: #e2e8f0;
    font-weight: 400;
}
.list-small strong {
    color: #ffffff;
}

/* Replaced by individual text underlines, hidden to prevent rendering */
.benefit-line {
    display: none; 
}

/* --- IMAGES --- */
img.rounded, img.img-fluid {
    box-shadow: none !important;
    border: none !important;
}

.tech-image-float {
    border-radius: 30px; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(229, 183, 68, 0.15) !important;
    border: 2px solid rgba(229, 183, 68, 0.25) !important;
    animation: float 6s ease-in-out infinite;
    max-width: 380px; 
    height: auto;
    object-fit: cover;
}

.tech-image-float-large {
    max-width: 660px !important; 
}

.csi-image-styled {
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.csi-image-styled:hover {
    transform: translateY(-5px);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 991px) {
    .challenge-grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
    .pill-top-left { grid-column: 1; grid-row: 1; }
    .pill-top-right { grid-column: 1; grid-row: 2; }
    .challenge-center-img { 
        grid-column: 1; 
        grid-row: 3; 
        padding: 30px 0; 
    }
    .pill-bottom-left { grid-column: 1; grid-row: 4; }
    .pill-bottom-right { grid-column: 1; grid-row: 5; }

    .tech-image-float {
        max-width: 100%;
    }
}