/* ════════════════════════════════════════════════════════════════════════════
   Mobile-app page skin (galv app v0.1) — TOEFL comp CSS VERBATIM.
   Two skins, one CPT: app.css = GRE+SAT (byte-identical comps);
   app-toefl.css = TOEFL hero-card variant. Loaded on single `app_page` by
   includes/app_styles.php. Do NOT re-skin — fixes go through the comp.
   ════════════════════════════════════════════════════════════════════════════ */


        :root {
            --bg-navy: #13217c;
            --primary-blue: #3b5bff;
            --cta-magenta: #cc00cc;
            --accent-blue: #e6ebff;
            --text-white: #fffdfe;
            --text-dark: #333;
            --text-gray: #808080;
            --success-green: #2d8a4e;
            --font-heading: 'Poppins', sans-serif;
            --font-body: 'Inter', sans-serif;
            --container-width: 1920px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-body);
            color: var(--text-dark);
            line-height: 1.5;
            background-color: #e6ebff;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: var(--font-heading);
            font-weight: 600;
        }

        h2.section-title {
            font-size: 36px;
            line-height: 48px;
            color: var(--primary-blue);
            text-align: center;
            margin-bottom: 15px;
        }

        .container {
            width: 100%;
            max-width: var(--container-width);
            padding: 0 80px;
            margin: 0 auto;
        }

        section {
            display: flex;
            justify-content: center;
            padding: 60px 0;
        }

        .section-for-desktop {
            display: flex;
            justify-content: center;
            padding: 60px 0;
        }



        .btn {
            display: inline-block;
            padding: 12px 32px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all .3s ease;
            border: none;
            font-family: var(--font-heading);
        }

        .btn-magenta {
            background-color: var(--cta-magenta);
            color: var(--text-white);
        }

        .btn-magenta:hover {
            background-color: #a600a6;
        }

        .btn-blue {
            background-color: var(--primary-blue);
            border-radius: 10px;
            font-size: 18px;
            color: var(--text-white);
        }

        .btn-blue:hover {
            background-color: #13217c;
        }



        section {
            padding: 0 0 0px;
        }

        .hero {
            background-color: var(--bg-navy);
            color: var(--text-white);
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }

        .hero .container {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .hero-content,
        .hero-testimonial {
            min-width: 0;
        }

        .hero-content h1 {
            font-size: 42px;
            line-height: 1.2;
            margin-bottom: 20px;
            overflow-wrap: break-word;
        }

        .hero-content p {
            font-family: var(--font-heading);
            font-weight: 500;
            font-size: 22px;
            line-height: 30px;
            margin-bottom: 20px;
            overflow-wrap: break-word;
        }

        .hero-features {
            list-style: none;
            margin-bottom: 40px;
        }

        .hero-feature-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 20px;
            font-size: 18px;
            flex-wrap: nowrap;
        }

        .hero-feature-item img {
            width: 24px;
            height: 24px;
        }

        .hero-testimonial {
            flex: 1;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            justify-content: center;
        }




        /* Hero Carousel Styles */
        .hero-carousel-container {
            width: 100%;
            max-width: 700px;
            overflow: hidden;
            position: relative;
            padding: 20px 0px;
            margin: -20px -10px;
        }

        .hero-carousel-track {
            display: flex;
        }

        .hero-carousel-card {
            background: #fff;
            padding: 25px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            text-align: left;
            color: #333;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .hero-carousel-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
            width: 100%;
        }

        .hero-carousel-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #fecdec;
            flex-shrink: 0;
        }

        .hero-carousel-info {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .hero-carousel-name {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-dark);
            font-family: var(--font-body);
            margin: 0;
        }

        .hero-carousel-country {
            font-size: 20px;
            font-weight: 700;
            color: var(--cta-magenta);
            margin: 0;
        }

        .hero-carousel-score-box {
            border: 2px dashed var(--cta-magenta);
            border-radius: 12px;
            padding: 10px 20px;
            width: fit-content;
            margin-top: 5px;
        }

        .hero-carousel-score {
            font-size: 28px;
            font-weight: 700;
            color: #333;
        }

        .hero-carousel-score span {
            color: var(--cta-magenta);
        }

        .hero-carousel-testimonial {
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
            font-weight: 400;
        }

        /* Trusted Section Styles */
        .trust-section {
            background-color: #fff;
            padding: 60px 0;
            text-align: center;
        }

        .trust-section h2 {
            font-size: 36px;
            line-height: 48px;
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .trust-section p {
            font-family: var(--font-heading);
            font-size: 22px;
            line-height: 30px;
            color: var(--text-dark);
            margin-bottom: 40px;
            font-weight: 500;
        }

        .trust-cards-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .trust-card {
            background-color: var(--accent-blue);
            border-radius: 30px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: transform 0.3s ease;
        }

        .trust-card:hover {
            transform: translateY(-10px);
        }

        .trust-card-illustration-box {
            background-color: #fff;
            border-radius: 20px;
            width: 100%;
            height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            overflow: hidden;
        }

        .trust-card-img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
        }

        .trust-card-number {
            font-size: 36px;
            font-weight: 800;
            color: var(--primary-blue);
            margin-bottom: 5px;
        }

        .trust-card-label {
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
            font-weight: 600;
        }

        /* Get the App Section Styles */
        .get-app-section {
            background-color: #fff;
            padding: 60px 0;
            text-align: center;
        }

        .get-app-section h2 {
            font-size: 36px;
            line-height: 48px;
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .get-app-section .subheading {
            font-family: var(--font-heading);
            font-size: 22px;
            line-height: 30px;
            color: var(--text-dark);
            margin-bottom: 40px;
            font-weight: 500;
        }

        .get-app-card {
            background-color: var(--accent-blue);
            border-radius: 40px;
            padding: 40px 40px 0;
            position: relative;
            overflow: hidden;
            max-width: 1400px;
            margin: 0 auto;

        }

        .get-app-instruction {
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
            margin-bottom: 30px;
            font-weight: 500;
        }

        .download-methods {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 60px;
            position: relative;
            z-index: 5;
        }

        .qr-code-wrapper {
            display: flex;
            background: #fff;
            padding: 10px;
            border-radius: 20px;
            border: 2px solid #A0AEFF;
            align-items: center;
        }

        .qr-code-img {
            width: 120px;
            height: 120px;
            object-fit: contain;
        }

        .store-buttons-stack {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .store-download-btn {
            height: 50px;
            width: auto;
            transition: transform 0.3s ease;
        }

        .store-download-btn:hover {
            transform: scale(1.05);
        }

        .get-app-mockups {
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 0;
            margin-top: 20px;
            position: relative;
            height: 280px;
        }

        .mockup-glow {
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(204, 0, 204, 0.45) 0%, transparent 70%);
            top: 55%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 0;
            pointer-events: none;
        }

        .get-app-mockup {
            width: auto;
            height: 580px;
            object-fit: contain;
            position: relative;
            z-index: 2;
            margin-bottom: -290px;
        }

        .get-app-mockup.side {
            height: 500px;
            z-index: 1;
            margin-bottom: -300px;
        }

        .get-app-mockup.left {
            margin-right: -30px;
        }

        .get-app-mockup.right {
            margin-left: -30px;
        }

        /* Why Choose Us Section Styles */
        .why-choose-us {
            background-color: var(--accent-blue);
            padding: 0;
            /* Removing padding to allow full control of inner height */
            overflow: hidden;
            position: relative;
            min-height: 650px;
            display: flex;
            align-items: center;
        }

        .why-choose-flex-container {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            position: relative;
            z-index: 2;
            gap: 60px;
        }

        .why-choose-content {
            padding: 60px 0;
            flex: 0 1 560px;
        }

        .why-choose-content h2 {
            font-size: 36px;
            line-height: 48px;
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .why-choose-content p {
            font-family: var(--font-heading);
            font-size: 22px;
            line-height: 30px;
            color: var(--text-dark);
            margin-bottom: 40px;
            font-weight: 500;
            max-width: 600px;
        }

        .choose-feature-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .choose-feature-item {
            background: #fff;
            padding: 12px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all 0.3s ease;
            width: 100%;
            max-width: 560px;
        }

        .feature-item-icon-box {
            width: 56px;
            height: 56px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .feature-item-icon {
            width: 30px;
            height: 30px;
            object-fit: contain;
        }

        .feature-item-text {
            font-size: 20px;
            line-height: 30px;
            font-weight: 500;
            color: var(--text-dark);
        }

        .why-choose-mockup-wrapper {
            position: relative;
            flex: 0 0 500px;
            height: 600px;
            overflow: hidden;
            /* Clips the top and bottom of the mockup */
        }

        .why-choose-mockup-inner {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .why-choose-mockup-inner img {
            height: 160%;
            /* Taller than container to ensure top/bottom overflow */
            width: auto;
            max-width: none;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            object-fit: contain;
            z-index: 1;
        }

        .mockup-overlay-rect {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 50% 50%, transparent 20%, var(--accent-blue) 85%);
            z-index: 2;
            pointer-events: none;
        }


        /* Other Apps Section Styles */
        .other-apps-section {
            background-color: var(--accent-blue);
            padding: 60px 0;
            text-align: center;
        }

        .section-subtitle {
            font-size: 22px;
            line-height: 30px;
            color: var(--text-dark);
            margin-bottom: 40px;
            font-family: var(--font-heading);
            font-weight: 500;
        }

        .other-apps-card {
            background: #fff;
            border-radius: 50px;
            padding: 0;
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 0;
            align-items: stretch;
            text-align: left;
            max-width: 1400px;
            margin: 0 auto;
            overflow: hidden;
        }

        .other-apps-content {
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: start;
        }

        .other-apps-content h3 {
            font-size: 24px;
            line-height: 32px;
            color: var(--primary-blue);
            margin-bottom: 25px;
        }

        .other-apps-features {
            list-style: none;
            margin-bottom: 35px;
        }

        .other-apps-features li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 15px;
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
        }

        .other-apps-features li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--text-dark);
            font-weight: bold;
            font-size: 24px;
            line-height: 24px;
        }

        .other-apps-buttons {
            display: flex;
            gap: 20px;
        }

        .other-apps-buttons img {
            height: 55px;
            width: auto;
            transition: transform 0.3s ease;
        }

        .other-apps-buttons img:hover {
            transform: scale(1.05);
        }

        .other-apps-image {
            width: 100%;
            height: 100%;
            display: flex;
            position: relative;
            overflow: hidden;
        }

        .other-apps-image img {
            height: 260%;
            width: auto;
            max-width: none;
            position: absolute;
            top: 70%;
            left: -60%;
            transform: translateY(-50%);
            object-fit: contain;
        }

        .swiper-pagination-bullet-active {

            background-color: #3b5bff;
        }



        @media (max-width:1200px) {
            .container {
                padding: 0 40px;
            }

            .hero {
                padding: 40px 0;
            }

            .hero .container {
                grid-template-columns: 1.1fr 1fr;
                gap: 30px;
            }

            .hero-content h1 {
                font-size: 38px;
            }

            .hero-content p {
                font-size: 16px;
                margin-bottom: 20px;
            }

            .hero-feature-item {
                font-size: 16px;
                gap: 10px;
                margin-bottom: 20px;
            }

            .hero-features {
                margin-bottom: 30px;
            }

            .store-btn-img {
                width: auto;
                height: 40px;
            }

            .trust-section {
                padding: 40px 0;
            }

            .trust-cards-container {
                padding: 0px;
                gap: 20px;
            }

            .why-choose-content {
                padding: 40px 0;
            }

            .why-choose-mockup-wrapper {
                flex: 0 0 40%;
                width: 40%;
            }

            .why-choose-mockup-inner img {
                height: 150%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            .trust-card-illustration-box {
                height: 200px;
                /* Reduced from 250px */
                margin-bottom: 15px;
            }

            .trust-card {
                padding: 15px;
                border-radius: 25px;
            }

            .trust-card-number {
                font-size: 30px;
            }

            .trust-card-label {
                font-size: 16px;
            }

            .trust-section h2 {
                font-size: 30px;
                line-height: 40px;
                margin-bottom: 10px;
            }

            .trust-section p {
                font-size: 18px;
                line-height: 29px;
            }

            .why-choose-content h2 {
                font-size: 30px;
                line-height: 40px;
                margin-bottom: 10px;
            }

            .why-choose-content p {
                font-size: 18px;
                line-height: 29px;
            }

            .get-app-section {
                padding: 40px 0;
            }

            .get-app-section h2 {
                font-size: 30px;
                line-height: 40px;
                margin-bottom: 10px;
            }

            .get-app-section .subheading {
                font-size: 18px;
                line-height: 29px;
            }

            h2.section-title {
                font-size: 30px;
                line-height: 40px;
                margin-bottom: 10px;
            }

            .other-apps-section {
                padding: 40px 0;
            }

            .section-subtitle {
                font-size: 18px;
                line-height: 29px;
            }

            .other-apps-buttons img {
                height: 40px;
                width: auto;
            }

            .other-apps-image img {
                left: -70%;
                top: 50%;
            }
        }

        @media (max-width:991px) {

            .hero {
                padding: 40px 0;
            }

            .hero .container {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: left;
            }

            .hero-testimonial {
                width: 100%;
                justify-content: center;
                margin-top: 20px;
            }

            .trust-cards-container {
                grid-template-columns: 1fr;
                gap: 30px;
                max-width: 500px;
                margin: 0 auto;
            }

            .why-choose-us {
                min-height: auto;
                padding: 40px 0;
                align-items: start;
            }

            .why-choose-content {
                padding: 0;
                flex: none;
            }

            .why-choose-flex-container {
                flex-direction: column;
                text-align: center;
            }

            .why-choose-mockup-wrapper {
                display: none;
            }

            /* Mockup hidden */

            .other-apps-card {
                display: flex;
                flex-direction: column;
            }

            .other-apps-content {
                order: 2;
                padding: 40px 20px;
            }

            .other-apps-image {
                order: 1;
                width: 100%;
                height: 350px;
            }

            .other-apps-image img {
                left: 50%;
                top: 80%;
                transform: translate(-50%, -50%);
                height: 440%;
            }

            .download-methods {
                flex-wrap: wrap;
            }
        }

        @media (max-width:768px) {



            .container {
                padding: 0 20px;
            }

            h2.section-title {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 10px;
            }

            .hero {
                padding: 40px 0;
            }

            .hero .container {
                gap: 20px;
                padding: 0 20px;
            }



            .hero-content h1 {
                font-size: 36px;
                line-height: 42px;
                text-align: left;
                width: 100%;
                overflow-wrap: break-word;
                word-break: break-word;
                white-space: normal !important;
            }

            .hero-content p {
                font-size: 20px;
                margin-bottom: 20px;
            }

            .hero-feature-item {
                font-size: 16px;
                margin-bottom: 20px;
            }

            .hero-testimonial {
                margin-top: 30px;
            }

            .hero-carousel-header {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .hero-carousel-info {
                align-items: center;
            }

            .hero-carousel-score-box {
                margin: 5px auto 0;
            }

            .hero-carousel-name {
                font-size: 18px;
            }

            .hero-carousel-country {
                font-size: 18px;
            }

            .hero-carousel-testimonial {
                text-align: left;
            }




            .hero-store-buttons {
                justify-content: flex-start;
                gap: 15px;
            }

            .store-btn-img {
                height: 40px;
            }

            .trust-section {
                padding: 40px 0;
            }

            .trust-cards-container {
                max-width: 500px;
            }

            .trust-section h2 {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 10px;
            }

            .trust-section p {
                font-size: 18px;
                line-height: 29px;
            }

            .trust-card-illustration-box {
                height: 180px;
            }

            .trust-card-number {
                font-size: 30px;
                line-height: 40px;
                margin-bottom: 8px;
            }

            .why-choose-us {
                min-height: auto;
                padding: 40px 0;
            }

            .why-choose-content {
                padding: 0;
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            /* inherited from 991px block - mockup hidden */

            .why-choose-content h2 {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 10px;
            }

            .why-choose-content p {
                font-size: 18px;
                line-height: 29px;
            }

            .choose-feature-list {
                gap: 15px;
            }

            .choose-feature-item {
                padding: 15px;
                gap: 15px;
                border-radius: 15px;
            }

            .feature-item-icon-box {
                width: 50px;
                height: 50px;
            }

            .feature-item-icon {
                width: 25px;
                height: 25px;
            }

            .feature-item-text {
                font-size: 16px;
                line-height: 24px;
                text-align: left;
            }

            .get-app-section {
                padding: 40px 0;
            }

            .get-app-section h2 {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 10px;
            }

            .get-app-section .subheading {
                font-size: 18px;
                line-height: 29px;
                margin-bottom: 40px;
            }

            .get-app-card {
                padding: 40px 20px 0;
                border-radius: 30px;
                height: 420px;
            }

            .get-app-instruction {
                font-size: 16px;
                line-height: 26px;
            }

            .download-methods {
                flex-direction: row;
                justify-content: center;
                gap: 20px;
                align-items: center;
            }

            .qr-code-wrapper {
                padding: 6px;
                border-radius: 12px;
            }

            .qr-code-img {
                width: 80px;
                height: 80px;
            }

            .vertical-divider {
                height: 80px !important;
                margin: 0 10px !important;
            }

            .store-download-btn {
                height: 35px;
            }

            .store-buttons-stack {
                gap: 10px;
            }

            .get-app-mockups {
                height: 250px;
            }

            .mockup-glow {
                width: 400px;
                height: 400px;
                top: 50%;
            }

            .get-app-mockup {
                width: auto;
                height: 350px;
                margin-bottom: -85px;
            }

            .get-app-mockup.side {
                height: 220px;
                margin-bottom: -20px;
            }

            .other-apps-section {
                padding: 40px 0;
            }

            .other-apps-card {
                padding: 0;
            }

            .other-apps-content {
                order: 2;
                padding: 25px 20px;
                width: 100%;
                flex: none;
            }

            .other-apps-image {
                border-radius: 25px 25px 0 0;
                flex: none;
                height: 200px;
            }

            .other-apps-content h3 {
                font-size: 20px;
                line-height: 28px;
                margin-bottom: 20px;
            }

            .other-apps-features {
                margin-bottom: 15px;
            }

            .other-apps-features li {
                font-size: 16px;
                line-height: 24px;
                padding-left: 22px;
            }

            .other-apps-image img {
                left: 50%;
                top: 68%;
                transform: translate(-50%, -50%);
                height: 480%;
            }

            .other-apps-buttons {
                flex-direction: row;
                align-items: center;
                justify-content: flex-start;
            }

            .other-apps-buttons img {
                width: auto;
                height: 44px;
            }

            .section-subtitle {
                font-size: 18px;
                margin-bottom: 29px;
                margin-bottom: 40px;
            }
        }

        @media (max-width:400px) {
            .other-apps-buttons {
                gap: 15px;
            }

            .other-apps-buttons img {
                width: auto;
                height: 36px;
            }
        }
    

/* ════════════════════════════════════════════════════════════════════════════
   Bricks integration reset (galv app v0.1) — comp body: Inter on #e6ebff.
   ════════════════════════════════════════════════════════════════════════════ */
body.single-app_page #brx-content.brxe-container,
body.single-app_page .brxe-container.brxe-apprt,
body.single-app_page .brxe-text {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    gap: 0 !important;
    align-items: stretch !important;
}
body.single-app_page #brx-content.brxe-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.single-app_page {
    font-family: 'Inter', system-ui, sans-serif;
    color: #333;
    background: #e6ebff;
}
body.single-app_page h1,
body.single-app_page h2,
body.single-app_page h3,
body.single-app_page h4 {
    font-family: 'Poppins', sans-serif;
}
