.branding-hero {
    min-height: 70vh;
    height: 70vh;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(39, 65, 147, 0.85) 0%, rgba(49, 27, 80, 0.8) 100%);
    z-index: 1;
}

.branding-hero .hero-title {
    font-size: 4.5rem;
}

.pillar-intro {
    padding: 100px 10%;
    background-color: white;
    text-align: center;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
}

.pillar-intro p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
}

.service-detail-section {
    display: flex;
    align-items: center;
    padding: 100px 10%;
    gap: 60px;
    background-color: white;
    overflow: hidden;
}

.service-detail-section.bg-off-white {
    background-color: var(--bg-off-white);
}

.service-detail-section.reverse-layout {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    height: 500px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-detail-section:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
    padding: 20px;
}

.service-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    display: block;
    margin-bottom: -20px;
    font-family: 'Montserrat', sans-serif;
}

.service-content h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.service-lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: block;
}

.service-features {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-left: 4px solid var(--accent-color);
    padding: 20px 0 20px 25px;
}

.service-features h4 {
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.service-features li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 25px;
    text-align: center;
}

.feature-content {
    width: 100%;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 10px;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-content strong {
    color: var(--dark-text);
    font-weight: 700;
}

.btn-toggle-green {
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-toggle-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #a8bd28;
}

.btn-toggle-green:active {
    transform: translateY(0);
}

.info-box-collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: #f8f9fa;
    margin-top: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.info-content-inner {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    white-space: pre-line;
}

.cta-branding {
    padding: 100px 10%;
    background: linear-gradient(135deg, var(--dark-text) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.button-group {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-white:hover {
    background-color: transparent;
    color: white;
}

.btn-secondary-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.view-all-container {
    width: 100%;
    display: block;
    text-align: center;
    padding: 80px 20px;
    background-color: #fcfcfc;
    box-sizing: border-box;
}

.btn-shine {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 22px 50px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a2c7a 100%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(49, 27, 80, 0.3);
    z-index: 1;
}

.btn-shine:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(49, 27, 80, 0.5);
    gap: 20px;
}

.btn-shine i {
    transition: transform 0.3s ease;
}

.btn-shine:hover i {
    transform: translateX(5px);
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: all 0.6s;
    z-index: -1;
}

.btn-shine:hover::before {
    left: 100%;
}


@media (max-width: 960px) {
    .service-detail-section {
        flex-direction: column;
        padding: 60px 5%;
        gap: 30px;
    }

    .service-detail-section.reverse-layout {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 300px;
    }

    .branding-hero .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .branding-hero .hero-title {
        font-size: 2.5rem;
    }

    .service-content h3 {
        font-size: 2rem;
    }

    .service-image {
        height: 250px;
    }


    .feature-content {
        display: block;
    }

    .feature-content strong {
        display: block;
        margin-bottom: 5px;
        color: var(--primary-color);
    }

    .service-content>div[style*="display: flex"] {
        flex-direction: column;
        width: 100%;
        gap: 10px !important;
    }

    .btn-toggle-green {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 0.9rem;
    }

    .btn-shine {
        width: 100%;
        padding: 20px;
        font-size: 0.9rem;
    }
}