/* Study in Japan (/study-in-japan/) page skin — extracted verbatim from the designer comp
 * (tab4 of the 2026-07-18 4-page build spec). Enqueued by study_in_japan_styles.php, gated
 * to the study-in-japan page only.
 *
 * GALV ADDITIONS (marked, not part of the original comp):
 *  - Both the comp's "critical" and "below-fold" <style> blocks are merged into this one
 *    file (this repo enqueues a single stylesheet per page; there is no critical/async CSS
 *    split infrastructure here).
 *  - Bare :root / * / body / h1-h6 / nav a,button / section selectors — which would leak
 *    onto the REST of the site (shared <body>, shared header <nav>, any <section> anywhere)
 *    since this is a plain WP `page`, not a dedicated CPT template — are rescoped under the
 *    `.galv-study-japan` wrapper the shortcode renders around the partial. No other
 *    selectors were touched; declarations are otherwise verbatim.
 *  - rem -> px: none found in the source comp (0 occurrences) — no-op.
 */

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

        .galv-study-japan,
        .galv-study-japan * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

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

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

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

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

        .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;
        }

        .btn-ghost-blue {
            background: 0 0;
            border: 2px solid #3b5bff;
            color: #3b5bff;
        }

        .btn-ghost-blue:hover {
            background-color: #3b5bff;
            color: #fffdfe;
        }

        .galv-study-japan section {
            padding: 0 0 0px;
        }

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

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

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

        .hero-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-white);
            font-family: var(--font-body);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 6px 14px;
            border-radius: 20px;
            margin-bottom: 16px;
        }

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

        .hero-content p {
            font-size: 18px;
            margin-bottom: 30px;
            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 svg {
            color: var(--success-green);
            flex-shrink: 0;
            margin-top: 3px;
        }

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

        .carousel-container {
            position: relative;
            width: 100%;
            max-width: 450px;
            overflow: hidden;
            border-radius: 20px;
        }

        .carousel-track {
            display: flex;
            transition: transform .5s ease-in-out;
        }

        .carousel-slide {
            min-width: 100%;
        }

        .hero-testimonial-card {
            background: #fff;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
            color: var(--text-dark);
        }

        .testimonial-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .testimonial-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #F8D0F8;
        }

        .testimonial-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .testimonial-info h4 {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 18px;
            margin-bottom: 2px;
        }

        .testimonial-info p {
            font-size: 16px;
            color: var(--cta-magenta);
            font-weight: 600;
        }

        .from-to {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .from-to p {
            font-family: var(--font-body);
            font-size: 16px;
            font-weight: 400;
            color: var(--text-dark);
        }

        .uni-logo {
            width: 160px;
        }


        .testimonial-quote {
            font-style: normal;
            color: var(--text-dark);
            line-height: 1.6;
            font-size: 18px;
            margin-top: 10px;
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }

        .dot {
            width: 10px;
            height: 10px;
            background: rgba(255, 255, 255, .3);
            border-radius: 50%;
            cursor: pointer;
            transition: background .3s ease;
        }

        .dot.active {
            background: var(--cta-magenta);
        }

        .stats-bar {
            background: var(--text-white);
            border-radius: 20px;
            padding: 30px;
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
            margin-top: -60px;
            text-align: center;
            position: relative;
            z-index: 20;
        }

        .stat-item h2 {
            font-size: 42px;
            color: var(--bg-navy);
            margin-bottom: 4px;
            font-weight: 700;
        }

        .stat-item p {
            font-size: 14px;
            color: #333;
            line-height: 1.4;
            max-width: 180px;
            margin: 0 auto;
        }

        .stat-item p span {
            color: var(--cta-magenta);
            font-weight: 600;
        }
    

        .facts {
            background-color: var(--accent-blue);
            padding: 60px 0;
        }

        .facts h2 {
            font-size: 36px;
            color: var(--primary-blue);
            text-align: center;
            margin-bottom: 40px;
        }

        .facts-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;

        }

        .fact-card {
            background: #fff;
            border-radius: 20px;
            padding: 24px;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .fact-icon-box {
            width: 64px;
            height: 64px;
            background: #F5F7FF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            flex-shrink: 0;
        }

        .fact-icon-box img {
            width: 38px;
            height: 38px;
        }

        .fact-content {
            flex: 1;
        }

        .fact-label {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 5px;
            font-family: var(--font-body);
        }

        .fact-value {
            font-size: 18px;
            color: var(--text-dark);
            font-family: var(--font-body);
        }

        @media (max-width: 1024px) {
            .facts-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .facts-grid {
                grid-template-columns: 1fr;
            }

            .fact-card {
                padding: 20px;
            }
        }

        .why-japan {
            background-color: var(--text-white);
            padding: 60px 0;
        }

        .why-japan h2 {
            font-size: 36px;
            color: var(--primary-blue);
            text-align: center;
            margin-bottom: 40px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .feature-card {
            background: var(--accent-blue);
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            transition: all .2s ease;
            border: 2px solid transparent;
        }

        .feature-card:hover {
            border: 2px solid #a0aeff;
        }

        .feature-icon-box {
            width: 96px;
            height: 96px;
            margin: 0 auto 24px;
            background: var(--text-white);
            border-radius: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-icon-box img {
            width: 64px;
            height: 64px;
            object-fit: contain;
        }

        .feature-card h3 {
            font-size: 22px;
            color: var(--primary-blue);
            margin-bottom: 16px;
        }

        .trust {
            background-color: var(--accent-blue);
            padding: 60px 0;
        }

        .trust-header {
            margin-bottom: 40px;
        }

        .trust-header h2 {
            font-size: 36px;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }

        .trust-header p {
            font-family: var(--font-heading);
            font-size: 22px;
            color: var(--text-dark);
            font-weight: 500;
        }

        .trust-container {
            display: grid;
            grid-template-columns: 1.8fr 1fr;
            gap: 30px;
        }

        .trust-left-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .trust-card {
            background: #fff;
            border-radius: 20px;
            padding: 30px;
            display: flex;
            flex-direction: column;
        }

        .trust-card-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .trust-icon {
            width: 60px;
            height: 60px;
            background: var(--accent-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            flex-shrink: 0;
        }

        .trust-icon img {
            width: 36px;
            height: 36px;
        }

        .trust-card h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--primary-blue);
            line-height: 1.3;
        }

        .trust-card p {
            font-family: var(--font-body);
            font-size: 18px;
            color: var(--text-dark);
            line-height: 1.6;
        }

        .trust-feature-card {
            background: var(--bg-navy);
            color: #fff;
            border-radius: 20px;
            padding: 30px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .trust-feature-card .flex-head {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .trust-feature-card .trust-icon {
            background: #fff;
            color: var(--primary-blue);
            width: 60px;
            height: 60px;
            margin-bottom: 20px;
        }

        .trust-feature-card h3 {
            font-size: 18px;
            color: #fff;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .trust-feature-card p {
            font-family: var(--font-body);
            font-size: 18px;
            margin-bottom: 25px;
        }

        .trust-list-header {
            font-family: var(--font-body);
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            display: block;
        }

        .trust-list {
            list-style: none;
            margin-bottom: 25px;
        }

        .trust-list-item {
            font-family: var(--font-body);
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 10px;
            font-size: 18px;
        }

        .trust-list-item::before {
            content: "•";
            color: #fff;
            font-weight: bold;
        }

        .trust-feature-footer {
            font-size: 18px;
            margin-top: auto;
            margin-bottom: 30px;
        }

        @media (max-width: 1024px) {
            .trust-container {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 640px) {
            .trust-left-grid {
                grid-template-columns: 1fr;
            }
        }

        .galvanize-effect {
            background-color: var(--text-white);
            padding: 60px 0;
            text-align: center;
        }

        .galvanize-effect h2 {
            font-size: 36px;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }

        .galvanize-effect p {
            font-family: var(--font-heading);
            font-size: 22px;
            font-weight: 500;
            color: var(--text-dark);
            margin-bottom: 40px;
        }

        .galvanize-effect p span {
            color: #cc00cc;
            font-weight: 500;
        }

        .map-container {
            max-width: 1024px;
            margin: 0 auto;
        }

        .map-container img {
            width: 100%;
            height: auto;
        }

        .impact-stats {
            background-color: var(--bg-navy);
            padding: 60px 0;
        }

        .impact-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 140px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .impact-card {
            background: #fff;
            border-radius: 20px;
            padding: 15px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            position: relative;
            min-height: 140px;
        }

        .impact-value {
            font-family: var(--font-body);
            font-size: 42px;
            font-weight: 700;
            color: var(--bg-navy);
            margin-bottom: 8px;
            line-height: 1;
        }

        .impact-label {
            font-size: 16px;
            color: var(--text-dark);
            font-family: var(--font-body);
            line-height: 1.2;
        }

        .impact-icon-box {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .impact-icon-box img,
        .impact-icon-box svg {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        @media (max-width: 1024px) {
            .impact-grid {
                grid-template-columns: 1fr;
                gap: 30px;
                max-width: 400px;
            }
        }

        .feature-card p {
            font-size: 18px;
            color: #333;
            line-height: 1.6;
        }


        .partners {
            background: linear-gradient(to bottom, var(--bg-navy) 50%, #e6ebff 50%);
            padding: 60px 0 0;
            overflow: hidden;
        }

        .university-card {
            background: #fff;
            border-radius: 32px;
            padding: 50px 30px;
        }

        .university-card h3 {
            font-size: 22px;
            color: #3b5bff;
            margin-bottom: 40px;
            font-weight: 600;
        }

        .logo-carousel {
            width: 100%;
            overflow: hidden;
            position: relative;
            padding: 20px 0;
        }

        .logo-track {
            display: flex;
            width: calc(140px * 20);
            gap: 30px;
            animation: scroll 40s linear infinite;
        }

        .logo-track:hover {
            animation-play-state: paused;
        }

        .logo-item {
            width: 110px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
        }

        .logo-item img {
            height: 55px;
            width: auto;
            max-width: 180px;
            object-fit: contain;
            transition: all .5s ease;
        }

        .logo-item:hover img {
            transform: scale(1.08);
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(calc(-140px * 10));
            }
        }

        .testimonials-video {
            background-color: #fff;
            padding: 60px 0;
        }

        .testimonials-video h2 {
            font-size: 36px;
            font-family: var(--font-heading);
            color: var(--primary-blue);
            font-weight: 600;
            margin-bottom: 40px;
        }

        .video-carousel-container {
            position: relative;
            width: 100%;
            overflow: hidden;

        }

        .video-track {
            display: flex;
            transition: transform .5s ease;
            gap: 20px;
        }

        .video-card {
            background: var(--accent-blue);
            border-radius: 20px;
            overflow: hidden;
            flex: 0 0 297px;
            min-width: 0;
        }

        .video-thumbnail {
            position: relative;
            width: 297px;
            height: 285px;
            background: #E6EBFF;
        }

        .video-thumbnail img {
            width: 297px;
            height: 285px;
            object-fit: cover;
        }

        .video-info {
            padding: 20px;
        }

        .video-carousel-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .v-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #C7D0FF;
            cursor: pointer;
            transition: background-color .3s;
        }

        .v-dot.active {
            background: #cc00cc;
        }

        .video-snippet {
            font-size: 18px;
            color: #333;
            text-align: left;
            line-height: 1.5;
        }

        .diagnostic {
            background-color: var(--text-white);
            padding: 100px 0;
        }

        .diagnostic-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 50px;
        }

        .test-card {
            background: var(--accent-blue);
            border-radius: 20px;
            padding: 30px;
            border: 1px solid #e6ebff;
            display: flex;
            flex-direction: column;
        }

        .test-card.blue {
            background: #e6ebff;
            border: 2px solid var(--bg-navy);
        }

        .test-badge.badge-recommended {
            position: absolute;
            top: -15px;
            right: 20px;
            background: #13217C;
            color: #fff;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: .5px;
            margin: 0;
        }

        .test-title {
            font-size: 22px;
            color: var(--primary-blue);
            margin-bottom: 8px;
            font-weight: 600;
        }

        .test-card p {
            font-size: 18px;
            color: #808080;
            margin-bottom: 20px;
        }

        .test-details {
            display: flex;
            gap: 30px;
            margin-bottom: 15px;
        }

        .detail-item {
            font-size: 18px;
            color: #333;
        }

        .detail-item strong {
            font-weight: 600;
        }

        .test-divider {
            border: 0;
            border-top: 1px solid #C7D0FF;
            margin: 0 0 20px;
            width: 100%;
        }

        .test-features {
            list-style: none;
            margin-bottom: 10px;
            flex-grow: 1;
        }

        .test-feature-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 16px;
        }

        .test-feature-item svg {
            color: var(--success-green);
            flex-shrink: 0;
        }

        .test-button-container {
            text-align: center;
            margin-top: 20px;
        }

        .test-button-container .btn {
            width: 100%;
            box-sizing: border-box;
        }

        .accordion-item {
            background: #F5F7FF;
            border: 1px solid #C7D0FF;
            border-radius: 12px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: all .3s ease;
        }

        .accordion-header {
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-weight: 500;
            font-size: 18px;
            color: #333333;
            user-select: none;
        }

        .accordion-icon {
            font-size: 18px;
            color: #333;
            transition: transform .3s ease;
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height .3s ease-out, padding .3s ease;
            background: #F5F7FF;
        }

        .accordion-item.active .accordion-content {
            max-height: 500px;
            padding: 0 20px 20px;
        }

        .accordion-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .accordion-list li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 8px;
            font-size: 16px;
            color: #333333;
            line-height: 1.5;
        }

        .accordion-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: #333333;
            font-weight: 700;
        }

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

        .video-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .video-modal-overlay .video-modal-content {
            position: relative;
            width: min(90vw, 800px);
            aspect-ratio: 16/9;
            background: #000;
        }

        .video-modal-overlay .video-modal-content iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .video-modal-overlay .video-modal-close {
            position: absolute;
            top: -36px;
            right: 0;
            background: #fff;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-weight: bold;
        }

        @media (max-width:1200px) {
            .pricing-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width:1024px) {
            .diagnostic-grid {
                grid-template-columns: 1fr;
            }

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

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

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

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

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

            .carousel-container {
                max-width: 380px;
            }

            .testimonial-avatar {
                width: 100px;
                height: 100px;
            }

            .hero-testimonial-card {
                padding: 24px;
            }

            .testimonial-quote {
                font-size: 16px;
            }

            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .stat-item h2 {
                font-size: 30px;
            }

            .fact-label,
            .fact-value {
                font-size: 16px;
            }

            .feature-card h3 {
                font-size: 18px;
            }

            .feature-card p {
                font-size: 16px;
            }

            .trust-card h3 {
                font-size: 18px;
            }

            .trust-card p,
            .trust-feature-card p,
            .trust-list-item {
                font-size: 16px;
            }

            .trust-feature-card h3 {
                font-size: 18px;
            }
        }

        @media (max-width:768px) {

            .galv-study-japan nav button,
            .galv-study-japan nav a {
                padding: 10px 14px;
            }

            .galv-study-japan section {
                padding: 0 0;
            }

            .hero {
                padding: 40px 0 120px;
            }

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

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

            .hero-testimonial {
                width: 100%;
                justify-content: center;
            }

            .carousel-container {
                width: 100%;
                max-width: 100%;
            }

            .hero-testimonial-card {
                padding: 20px;
                text-align: center;
                width: 100%;
            }

            .testimonial-header {
                flex-direction: column;
                gap: 15px;
            }

            .testimonial-avatar {
                margin: 0 auto;
            }

            .testimonial-info {
                align-items: center;
                text-align: center;
            }

            .testimonial-quote {
                text-align: left;
                font-size: 16px;
            }

            .stat-item h2 {
                font-size: 26px;
            }

            .fact-label,
            .fact-value {
                font-size: 14px;
            }

            .feature-card h3 {
                font-size: 22px;
            }

            .feature-card p {
                font-size: 18px;
            }

            .trust-card h3 {
                font-size: 18px;
            }

            .trust-card p,
            .trust-feature-card p,
            .trust-list-item {
                font-size: 14px;
            }

            .trust-feature-card h3 {
                font-size: 18px;
            }

            .features-grid,
            .pricing-grid,
            .stats-bar {
                grid-template-columns: 1fr;
            }

            .video-carousel-container {
                max-width: 297px;
                margin: 0 auto;
            }

            .video-track {
                gap: 20px;
                justify-content: flex-start;
            }

            .video-card {
                flex: 0 0 297px;
                margin: 0;
            }

            .video-carousel-dots {
                display: flex;
            }

            .stats-bar {
                margin-top: -60px;
                padding: 20px 15px;
            }

            .pricing-featured {
                width: 100%;
            }
        }

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

            .hero .container {
                gap: 40px;
            }

            .hero-content h1 {
                font-size: 36px;
                overflow-wrap: break-word;
                word-break: break-word;
                white-space: normal !important;
            }

            .hero-content p {
                font-size: 18px;
                overflow-wrap: break-word;
                word-break: break-word;
                white-space: normal !important;
            }

            .hero-feature-item {
                font-size: 16px;
                align-items: flex-start;
                flex-wrap: nowrap;
            }

            .carousel-container {
                width: 100%;
                max-width: 100%;
                border-radius: 12px;
                overflow: hidden;
            }

            .carousel-dots {
                margin-top: 30px;
            }


            .testimonial-avatar {
                width: 100px;
                height: 100px;
            }

            .hero {
                padding: 30px 0 120px;
            }

            .stats-bar {
                margin-top: -60px;
                padding: 20px 15px;
            }

            .facts h2,
            .why-japan h2,
            .testimonials-video h2 {
                font-size: 22px;
                margin-bottom: 40px;
                font-weight: 600;
            }

            .trust-header h2,
            .galvanize-effect h2 {
                font-size: 22px;
                font-weight: 600;
            }

            .fact-label {
                font-size: 18px;
            }

            .fact-value {
                font-size: 16px;
            }

            .feature-card h3 {
                font-size: 18px;
            }

            .feature-card p {
                font-size: 18px;
            }

            .trust-header p {
                font-size: 18px;
            }

            .trust-card h3 {
                font-size: 18px;
            }

            .trust-card p,
            .trust-feature-card p,
            .trust-list-item {
                font-size: 18px;
            }

            .trust-feature-card h3 {
                font-size: 18px;
            }

            .galvanize-effect h2 {
                font-size: 22px;
            }

            .galvanize-effect p {
                font-size: 18px;
            }


        }

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

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

            .hero-testimonial-card {
                padding: 15px;
            }

            .testimonial-quote {
                font-size: 16px;
            }

            .carousel-dots {
                margin-top: 30px;
            }

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

            .stat-item h2 {
                font-size: 22px;
            }

            .facts h2,
            .why-japan h2,
            .testimonials-video h2 {
                font-size: 22px;
                margin-bottom: 40px;
                font-weight: 600;
            }

            .trust-header h2,
            .galvanize-effect h2 {
                font-size: 22px;
                font-weight: 600;
            }

            .fact-label {
                font-size: 18px;
            }

            .fact-value {
                font-size: 16px;
            }

            .feature-card h3 {
                font-size: 18px;
            }

            .feature-card p {
                font-size: 18px;
            }

            .trust-header p {
                font-size: 18px;
            }

            .trust-card h3 {
                font-size: 18px;
            }

            .trust-card p,
            .trust-feature-card p,
            .trust-list-item {
                font-size: 18px;
            }

            .trust-feature-card h3 {
                font-size: 18px;
            }

            .galvanize-effect p {
                font-size: 18px;
            }


        }

        @media (max-width:320px) {
            .hero-content h1 {
                font-size: 18px;
            }

            .hero-content p {
                font-size: 14px;
            }

            .btn {
                padding: 10px 20px;
                font-size: 14px;
            }
        }

        /* ===== CONTACT FORM ===== */
        .contact-form {
            padding: 60px 0;
            background-color: var(--bg-navy);
        }

        .contact-form-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .contact-form-left {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-form-left img {
            width: 100%;
            height: auto;
            border-radius: 20px;
        }

        .contact-form-right {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }


        /* ===== FAQ SECTION ===== */
        .faq-section {
            background: #fffdfe;
            padding: 60px 0;
        }

        .faq-layout {
            display: grid;
            grid-template-columns: 2fr 3fr;
            gap: 30px;
            align-items: start;
        }

        .faq-image-col img {
            width: 100%;
            max-width: 420px;
            height: auto;
            border-radius: 20px;
            display: block;
        }

        .faq-container {
            max-width: 100%;
            margin: 0;
            padding: 0;
        }

        .faq-title {
            font-family: var(--font-heading);
            font-size: 36px;
            line-height: 1.3;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 30px;
        }

        .faq-item {
            background: var(--primary-blue);
            margin-bottom: 18px;
            overflow: hidden;
            border-radius: 8px;
        }

        .faq-question {
            padding: 20px 50px 20px 20px;
            font-size: 18px;
            line-height: 1.5;
            font-weight: 400;
            color: var(--text-white);
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
            user-select: none;
            font-family: var(--font-body);
        }

        .faq-question::after {
            content: "›";
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%) rotate(0deg);
            font-size: 26px;
            color: #fff;
            font-weight: 400;
            transition: transform 0.3s ease;
            line-height: 1;
        }

        .faq-question.active::after {
            transform: translateY(-50%) rotate(90deg);
        }

        .faq-answer {
            background-color: var(--accent-blue);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 20px;
            font-size: 16px;
            line-height: 1.6;
            font-weight: 400;
            color: var(--primary-blue);
            font-family: var(--font-body);
        }

        .faq-answer.active {
            max-height: 800px;
            padding: 20px;
        }

        @media (max-width: 1024px) {
            .contact-form-wrapper {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .faq-layout {
                grid-template-columns: 1fr;
            }

            .faq-title {
                font-size: 22px;
            }

            .faq-image-col {
                display: none;
            }

            .faq-question {
                font-size: 16px;
            }

            .faq-answer {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .faq-title {
                font-size: 22px;
            }
        }
        /* CTA Banner - cross-bridge to ARI */
        .cta-banner {
            padding: 60px 0;
        }

        .cta-banner.cta-ari {
            background: var(--bg-navy);
        }

        .cta-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
            flex-wrap: wrap;
            background: #fff;
            border-radius: 20px;
            padding: 40px;
        }

        .cta-text {
            flex: 1;
            min-width: 260px;
        }

        .cta-text h2 {
            font-size: 28px;
            line-height: 38px;
            margin-bottom: 8px;
            color: var(--primary-blue);
        }

        .cta-text p {
            font-size: 16px;
            line-height: 26px;
            margin: 0;
            color: var(--text-dark);
        }

        @media (max-width: 768px) {
            .cta-banner {
                padding: 40px 0;
            }

            .cta-card {
                flex-direction: column;
                align-items: flex-start;
                padding: 28px;
            }

            .cta-text h2 {
                font-size: 22px;
                line-height: 30px;
            }
        }
