/* Creative Advertising Solutions Section Styles */
.ca-solutions-section {
    /* Premium deep dark background */
    padding: 100px 0 0;
    color: #ffffff;
    font-family: 'Outfit', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    overflow: hidden;
}



.ca-solutions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.ca-solutions-header-left {
    flex: 1.2;
}

.ca-solutions-header-right {
    flex: 1;
}

.ca-solutions-title {
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.ca-solutions-desc {
    line-height: 1.6;
    color: #FFFFFF;
    /* Muted gray for readability */
    margin: 0;
}

/* Responsive header for mobile */
@media (max-width: 991px) {


    .ca-solutions-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }


}

/* Grid Layout */
.ca-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .ca-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .ca-solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Card Style */
.ca-service-card {
    background: #141416;
    /* Dark card background */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 397px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Ambient glow on hover */
.ca-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 100%, rgba(133, 91, 255, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ca-service-card:hover {
    transform: translateY(-6px);
    background: #19191d;
    border-color: rgba(133, 91, 255, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 1px 1px rgba(133, 91, 255, 0.2);
}

.ca-service-card:hover::before {
    opacity: 1;
}

.ca-card-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Footer of the card containing arrow and icon */
.ca-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

/* Diagonal Arrow Button */
.ca-arrow-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ca-arrow-svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.ca-service-card:hover .ca-arrow-btn {
    background: #855bff;
    border-color: #855bff;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(133, 91, 255, 0.3);
}

.ca-service-card:hover .ca-arrow-svg {
    transform: translate(2px, -2px);
}

/* Gradient Icon Wrap */
.ca-icon-wrap {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.ca-service-card:hover .ca-icon-wrap {
    transform: scale(1.08) translateY(-2px);
    opacity: 1;
}

.wp-process-pane-body {
    display: grid;
    grid-template-columns: 30% 1fr !important;
}

.wp-process-pane-img img {
    width: 100%;
    display: block;
    height: 300px;
    object-fit: cover;
}

/* Why Hire Brandstory Section */
.whb-section {
    background-color: #0b0b0d;
    padding: 100px 0;
    color: #ffffff;
}

.whb-title {
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
}

.whb-header-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

.whb-img-wrap {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #141416;
    display: flex;
}

.whb-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.whb-list-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
    padding-left: 20px;
}

.whb-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.whb-icon-box {
    flex-shrink: 0;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whb-item-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #f0f0f5;
    margin: 0;
}

@media (max-width: 991px) {
    .whb-section {
        padding: 60px 0;
    }



    .whb-list-wrap {
        padding-left: 0;
        margin-top: 30px;
    }
}

/* Our Creative Specialties Section */
.ocs-section {
    background-color: #0b0b0d;
    padding: 100px 0;
    color: #ffffff;
}

.ocs-title {
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 50px;
}

.ocs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ocs-card {
    background-color: #141416;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px 24px;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ocs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(125.97% 125.97% at 50.11% -14.88%, #855BFF 0%, rgba(80, 55, 153, 0.2) 100%), linear-gradient(0deg, #000000, #000000);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: -1;
}

.ocs-card:hover::before {
    opacity: 1;
}

.ocs-card:hover {
    transform: translateY(-6px);
    border-color: rgba(133, 91, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(133, 91, 255, 0.2);
}

.ocs-card-top {
    position: relative;
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
}

.ocs-card-icon {
    position: absolute;
    left: calc(100% - 42px);
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: left 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s ease, opacity 0.45s ease;
}

.ocs-card:hover .ocs-card-icon {
    left: 0;
    opacity: 1;
    transform: scale(1.05);
}

.ocs-card-arrow {
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.6) rotate(-45deg);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.ocs-card:hover .ocs-card-arrow {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    background: rgba(255, 255, 255, 0.22);
}

.ocs-card-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
    transition: color 0.3s ease;
}

@media (max-width: 1199px) {
    .ocs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .ocs-section {
        padding: 60px 0;
    }

    .ocs-title {
        margin-bottom: 35px;
    }

    .ocs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ocs-card {
        min-height: 200px;
        padding: 24px 20px;
    }
}

/* How are We Different Section */
.hwd-section {
    background-color: #0b0b0d;
    padding: 100px 0;
    color: #ffffff;
}

.hwd-title {
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 24px;
}

.hwd-intro-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 32px;
}

.hwd-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.hwd-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hwd-icon-box {
    flex-shrink: 0;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hwd-item-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #f0f0f5;
    margin: 0;
}

.hwd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background-color: #ffffff;
    color: #0b0b0d;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 6px 6px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hwd-btn:hover {
    background-color: #f0f0f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(133, 91, 255, 0.3);
    color: #000000;
}

.hwd-btn-arrow-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #855BFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hwd-btn:hover .hwd-btn-arrow-circle {
    transform: translateX(3px);
    background-color: #7244f2;
}

.hwd-btn-arrow-svg {
    width: 18px;
    height: 18px;
}

.hwd-img-wrap {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background-color: #141416;
    display: flex;
}

.hwd-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

@media (max-width: 991px) {
    .hwd-section {
        padding: 60px 0;
    }



    .hwd-img-wrap {
        min-height: 380px;
        margin-top: 35px;
    }
}

/* KPI / Advertising Performance Section Header */
.kpi-header-wrap {
    text-align: center;
    margin: 0 auto 50px auto;
}

.kpi-header-title {
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 20px;
}

.kpi-header-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #b0b0b8;
    margin: 0;
}

@media (max-width: 767px) {
    .kpi-header-title {
        margin-bottom: 16px;
        text-align: start;
    }

    .kpi-header-wrap {
        margin-bottom: 35px;
        text-align: start;

    }
}

@media (max-width: 768px) {

    .premium-perf-section,
    .ca-solutions-section {
        padding: 0px 0px 0px;
    }

    .ca-card-title,
    .ocs-card-title {
        font-size: 20px;
    }

    .wp-process-flow-title {
        text-align: start !important;
    }
}