/* ================================================================
   CUSTOM PAGE TEMPLATE - style-1.css
   All CSS scoped under .custom-page-container
   Using EXACT styles from site modules
   ================================================================ */

.custom-page-container {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-primary);
}

.custom-page-container h1,
.custom-page-container h2,
.custom-page-container h3,
.custom-page-container h4 {
    color: var(--color-white);
}

.custom-page-container p {
    color: var(--color-white);
    opacity: 0.8;
}

/* ================================================================
   BANNER
   ================================================================ */
.custom-page-container .cp-banner {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

}

.custom-page-container .cp-banner-desc {
    margin-top: 20px;
    max-width: 800px;
    color: #fff;
    opacity: 0.9;
    font-size: 1.2rem;
}

.custom-page-container .cp-banner-link {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 600;
}

.custom-page-container .cp-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.custom-page-container .cp-banner-content {
    position: relative;
    z-index: 10;
}

.custom-page-container .section-label {
    text-transform: uppercase;
    color: var(--color-pink);
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.custom-page-container .btn-pink {
    background: var(--color-pink);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

.custom-page-container .btn-pink:hover {
    background: white;
    color: var(--color-pink);
}

/* ================================================================
   SUBNAV
   ================================================================ */
.custom-page-container .cp-subnav {
    background: var(--color-black);
    border-bottom: 1px solid #444;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.custom-page-container .cp-subnav-inner {
    display: flex;
    align-items: center;
    height: 70px;
}

.custom-page-container .cp-subnav-breadcrumb {
    display: flex;
    align-items: center;
}

.custom-page-container .cp-subnav-home {
    color: white;
}

.custom-page-container .cp-subnav-separator {
    color: #fff;
    margin-left: 10px;
    opacity: 0.7;
}

.custom-page-container .cp-subnav-divider {
    width: 1px;
    height: 70px;
    background: #444;
    margin: 0 40px;
}

.custom-page-container .cp-subnav-links {
    display: flex;
    gap: 30px;
}

.custom-page-container .cp-subnav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    height: 70px;
    display: flex;
    align-items: center;
}

.custom-page-container .cp-subnav-links a.active {
    color: white;
    border-bottom: 3px solid var(--color-blue);
}

/* ================================================================
   INTRODUCTION (CommonIntroduction)
   ================================================================ */
.custom-page-container .intro-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 40px;
}

.custom-page-container .intro-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.custom-page-container .intro-box img {
    height: 400px;
    object-fit: cover;
    border-radius: 30px;
    width: 100%;
}

.custom-page-container .intro-gapcontent {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 991px) {
    .custom-page-container .intro-flex {
        flex-direction: column;
    }

    .custom-page-container .intro-box {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
    }

    .custom-page-container .intro-box:nth-child(2) {
        flex-direction: column;
    }

    .custom-page-container .intro-box img {
        height: auto;
    }
}

/* ================================================================
   THREE CARD
   ================================================================ */
.custom-page-container .threecard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.custom-page-container .threecard-card {
    background: #1A1A1A;
    border-radius: 24px;
    padding: 40px;
    transition: 0.3s;
    border: 1px solid #333;
}

.custom-page-container .threecard-imgbox {
    background: var(--color-pink);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.custom-page-container .threecard-imgbox img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.custom-page-container .threecard-card:hover {
    background: linear-gradient(180deg, var(--color-pink) 0%, #82234E 100%);
    border-color: transparent;
    transform: translateY(-10px);
}

.custom-page-container .threecard-card:hover .threecard-imgbox {
    background: white;
}

.custom-page-container .threecard-card:hover img {
    filter: invert(34%) sepia(76%) saturate(4867%) hue-rotate(318deg) brightness(95%) contrast(91%);
}

@media (max-width: 768px) {
    .custom-page-container .threecard-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   INDUSTRIES (Development Services)
   ================================================================ */
.custom-page-container .industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.custom-page-container .industries-card {
    transition: 0.3s ease;
}

.custom-page-container .industries-imageWrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.custom-page-container .industries-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.custom-page-container .industries-imageOverlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.custom-page-container .industries-card:hover .industries-imageOverlay {
    opacity: 1;
}

.custom-page-container .industries-viewBtn {
    background: white;
    color: black;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
}

.custom-page-container .industries-content {
    padding-top: 25px;
}

.custom-page-container .cp-dark-section {
    background-color: #0d0d0d;
    border-radius: 40px;
}

/* ================================================================
   ABOUT PAGE 2
   ================================================================ */
.custom-page-container .about-flex {
    display: flex;
    gap: 60px;
}

.custom-page-container .about-left {
    width: 45%;

    img {
        border-radius: 20px;
    }
}

.custom-page-container .about-rightWrapper {
    width: 55%;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    color: #333;
}

.custom-page-container .about-right {
    height: 550px;
    overflow-y: auto;
    padding-right: 20px;
}

.custom-page-container .about-textContent p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.custom-page-container .about-textContent h3 {
    color: #000;
    margin-bottom: 15px;
}

/* ================================================================
   FAQ
   ================================================================ */
.custom-page-container .faqCard {
    background: #1A1A1A;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.custom-page-container .faqHeader {
    padding: 25px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: white;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

.custom-page-container .faqContent {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
}

.custom-page-container .faqCard.active .faqContent {
    max-height: 500px;
    padding-bottom: 25px;
}

/* ================================================================
   CTA
   ================================================================ */
.custom-page-container .cta-box {
    background: linear-gradient(135deg, #5C405C 0%, #292929 100%);
    border-radius: 30px;
    padding: 50px 20px 0px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.custom-page-container .primary-btn {
    background: #2F2FB0;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.custom-page-container .cta-content {
    flex: 1;
}



.custom-page-container .cta-desc {
    margin-top: 20px;
    color: #fff;
    opacity: 0.8;
    margin-bottom: 20px;
}

.custom-page-container .btn-outline-white {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: inline-block;
}

.custom-page-container .cta-image-wrapper {
    flex: 0 0 35%;
}

.custom-page-container .cta-image {
    width: 100%;
    border-radius: 30px;
}

.text-center {
    text-align: center;
}

.custom-page-container .cp-whats-sets-us {
    position: relative;
}

.custom-page-container .cp-whats-sets-us::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(278.53deg, rgba(0, 0, 0, 0) 33.44%, rgba(0, 0, 0, 0.35) 62.52%);
    pointer-events: none;
    z-index: 1;
}

.custom-page-container .cp-inner-container {
    width: 100%;
    max-width: 750px;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(102.5px);
    z-index: 10;
}

.custom-page-container .cp-inner-container h2 {
    padding: 0 80px 0 0px;
}

@media screen and (max-width: 768px) {
    .custom-page-container .cp-inner-container {
        padding: 20px;
    }
}

/* Why Choose Brandstory Section */
.custom-page-container .cp-why-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.custom-page-container .cp-why-flex .left {
    width: 52%;
}

.custom-page-container .cp-why-flex .right {
    width: 48%;
}

.custom-page-container .cp-why-bottom {
    margin-top: 30px;
}

.custom-page-container .cp-why-bottom .left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-page-container .cp-why-bottom img {
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .custom-page-container .cp-why-flex {
        flex-direction: column;
        gap: 20px;
    }

    .custom-page-container .cp-why-flex .left,
    .custom-page-container .cp-why-flex .right {
        width: 100%;
    }

    .custom-page-container .cp-why-bottom {
        flex-direction: column-reverse;
        display: flex;
    }
}

/* ================================================================
   /* ================================================================
   SERVICES COMPARISON (Premium Comparison Table)
   ================================================================ */
.custom-page-container .cp-comparison-section {
    background: radial-gradient(circle at bottom right, #121212 0%, var(--color-black) 100%);
    position: relative;
    overflow: hidden;
}

/* Background Glowing Effect */
.custom-page-container .cp-comparison-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 40%;
    background: radial-gradient(circle, rgba(127, 86, 217, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.custom-page-container .comparison-grid {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
    align-items: stretch;
    /* Cards will have the same height */
}

.custom-page-container .comparison-card {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 40px;
    flex: 1;
    color: #111;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.custom-page-container .comparison-card:hover {
    transform: translateY(-5px);
}

.custom-page-container .comparison-card-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.custom-page-container .other-agencies .comparison-card-title {
    color: #912018;
    background: linear-gradient(135deg, #FFF1F0 0%, #FEE2E2 100%);
    margin: -40px -40px 35px -40px;
    padding: 35px 40px;
    border-radius: 30px 30px 0 0;
    display: flex;
    align-items: center;
}

.custom-page-container .brandstory {
    border: 2px solid #2D6A4F;
    box-shadow: 0 30px 60px rgba(45, 106, 79, 0.15);
}

.custom-page-container .brandstory .comparison-card-title {
    color: #1B4332;
    background: linear-gradient(135deg, #EAF7F0 0%, #D8F3DC 100%);
    margin: -40px -40px 40px -40px;
    padding: 35px 40px;
    border-radius: 30px 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-page-container .brandstory .comparison-card-title::after {
    content: 'Recommended';
    font-size: 12px;
    background: #2D6A4F;
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-page-container .comparison-list {
    display: flex;
    flex-direction: column;
}

.custom-page-container .comparison-item {
    padding: 22px 0;
    border-top: 1px solid #F2F4F7;
    transition: all 0.3s ease;
}

.custom-page-container .comparison-item:first-child {
    border-top: none;
}

.custom-page-container .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.custom-page-container .item-icon-title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.custom-page-container .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    /* Squircle style */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.custom-page-container .other-agencies .icon-circle {
    background: #FEF3F2;
    color: #000;
    border: 1px solid #FECDCA;
}

.custom-page-container .brandstory .icon-circle {
    background: #ECFDF3;
    color: #039855;
    border: 1px solid #D1FADF;
}

.custom-page-container .item-title {
    font-size: 20px;
    font-weight: 700;
    color: #101828;
    transition: color 0.3s ease;
}

.custom-page-container .comparison-item:hover .item-title {
    color: var(--color-pink);
}

.custom-page-container .item-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F9F5FF;
    color: #7F56D9;
    border: 1px solid #E9D7FE;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-page-container .item-toggle-btn svg {
    width: 20px;
    height: 20px;
    transform: rotate(0deg);
    transition: transform 0.4s ease;
}

.custom-page-container .item-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding-left: 50px;
}

.custom-page-container .comparison-item.active {
    background: #F9FAFB;
    margin: 5px -10px;
    padding: 22px 10px;
    border-radius: 16px;
    border-top-color: transparent;
}

.custom-page-container .comparison-item.active+.comparison-item {
    border-top-color: transparent;
}

.custom-page-container .comparison-item.active .item-content {
    max-height: 300px;
    margin-top: 20px;
    opacity: 1;
}

.custom-page-container .item-content p {
    color: #475467 !important;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.custom-page-container .comparison-item.active .item-toggle-btn {
    background: #7F56D9;
    color: #fff;
    transform: rotate(180deg);
}

.custom-page-container .comparison-item.active .icon-circle {
    transform: scale(1.1);
}

@media screen and (max-width: 991px) {
    .custom-page-container .comparison-grid {
        flex-direction: column;
        gap: 30px;
    }
}

/* ================================================================
   PRICING TABLE (Packages)
   ================================================================ */
.custom-page-container .cp-package-section {
    background: var(--color-black);
    text-align: center;
}

.custom-page-container .package-subtitle {
    margin-bottom: 50px;
    opacity: 0.8;
}

.custom-page-container .package-table-container {
    background: #eeddff;
    /* Aesthetic light pink background from image */
    border-radius: 30px;
    overflow: hidden;
    margin-top: 40px;
    color: #111;
    max-width: 100%;
}

.custom-page-container .package-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-page-container .package-table th,
.custom-page-container .package-table td {
    padding: 22px 30px;
    text-align: center;
    font-size: 16px;
    border: none;
}

.custom-page-container .package-table th:first-child,
.custom-page-container .package-table td:first-child {
    text-align: left;
    font-weight: 800;
}

.custom-page-container .package-table thead tr {
    background: transparent;
}

.custom-page-container .package-table thead th {
    font-size: 18px;
    font-weight: 800;
    color: #111;
}

.custom-page-container .package-table tbody tr:nth-child(even) {
    background: #FFFFFF;
}

.custom-page-container .package-table tbody tr:nth-child(odd) {
    background: transparent;
}

.custom-page-container .package-btn {
    background: white;
    color: black;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 40px;
    transition: 0.3s;
    border: 1px solid #ddd;
}

.custom-page-container .package-btn:hover {
    background: var(--color-pink);
    color: white;
    border-color: var(--color-pink);
}

@media screen and (max-width: 768px) {
    .custom-page-container .package-table-container {
        overflow-x: auto;
    }

    .custom-page-container .package-table {
        min-width: 810px;
    }

    .custom-page-container .industries-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .custom-page-container .industries-image {
        height: auto;
    }

    .custom-page-container .about-flex {
        flex-direction: column;

        .about-left,
        .about-rightWrapper {
            width: 100%;
        }
    }

    .custom-page-container .cta-box {
        flex-direction: column;

        .cta-image {
            display: none;
        }

        .cta-buttonGroup {
            display: flex;
            flex-direction: column;
            text-align: center;
            gap: 20px;
        }
    }
}

/* ================================================================
   MARKETING TRENDS (Trends Comparison)
   ================================================================ */
.custom-page-container .cp-trends-section {
    background: var(--color-black);
}

.custom-page-container .trends-table-container {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.custom-page-container .trends-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-page-container .trends-table thead tr {
    background: #eeddff;
    /* Light warm pink header */
}

.custom-page-container .trends-table th {
    padding: 25px 30px;
    text-align: left;
    font-size: 19px;
    font-weight: 800;
    color: #000;
    /* Red accent color */
}

.custom-page-container .trends-table td {
    padding: 25px 30px;
    border-bottom: 1px solid #F0F2F5;
    font-size: 16px;
    color: #475467;
    line-height: 1.6;
}

.custom-page-container .trends-table tr:last-child td {
    border-bottom: none;
}

.custom-page-container .trends-table td:first-child {
    font-weight: 800;
    color: #101828;
    width: 30%;
}

.custom-page-container .trends-table td:nth-child(2),
.custom-page-container .trends-table td:nth-child(3) {
    width: 35%;
}

@media screen and (max-width: 768px) {
    .custom-page-container .trends-table-container {
        overflow-x: auto;
    }

    .custom-page-container .trends-table {
        min-width: 850px;
    }
}

/* ================================================================
   HOW IT WORKS (Campaign Launch Steps)
   ================================================================ */
.custom-page-container .cp-how-launch-section {
    background: var(--color-black);
}

.custom-page-container .launch-tabs {
    background: #FFFFFF;
    border-radius: 50px;
    padding: 6px;
    display: inline-flex;
    gap: 10px;
    margin-bottom: 50px;
}

.custom-page-container .launch-tab {
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    background: transparent;
    color: #111;
    font-size: 15px;
}

.custom-page-container .launch-tab.active {
    background: var(--color-pink);
    color: #fff;
}

.custom-page-container .launch-flex {
    display: flex;
    gap: 80px;
    align-items: center;
}

.custom-page-container .launch-left {
    flex: 1;
}

.custom-page-container .launch-right {
    flex: 0 0 42%;
}

.custom-page-container .launch-right img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.custom-page-container .launch-step {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    align-items: flex-start;
}

.custom-page-container .launch-step:last-child {
    border-bottom: none;
}

.custom-page-container .step-box {
    background: #e8c0d2;
    /* Soft pink from reference */
    border-radius: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-page-container .step-number {
    font-size: 26px;
    font-weight: 850;
    color: var(--color-pink);
    line-height: 1;
}

.custom-page-container .step-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: #111;
    margin-top: 2px;
}

.custom-page-container .step-desc {
    font-size: 19px;
    color: #fff;
    line-height: 1.4;
    font-weight: 500;
}

.custom-page-container .launch-cta {
    background: white;
    color: black;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 40px;
    transition: 0.3s;
}

.custom-page-container .launch-cta:hover {
    background: var(--color-blue);
    color: white;
}

.custom-page-container .opacity-8 {
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .custom-page-container .launch-flex {
        flex-direction: column;
        gap: 50px;
    }

    .custom-page-container .launch-right {
        width: 100%;
        max-width: 600px;
        order: -1;
        /* Image first on mobile if desired, or leave below */
    }
}

.custom-page-container .font-large {
    font-size: 1.25rem;
}

.custom-page-container .font-bold {
    font-weight: 700;
}

.custom-page-container .method-content {
    display: none;
}

.custom-page-container .method-content.active {
    display: block;
    animation: fadeInLaunch 0.5s ease;
}

@keyframes fadeInLaunch {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}