/* Custom properties for theme colors and spacing */
:root {
    --primary-color: #4e45f0;
    --primary-dark: #2418a0;
    --primary-light: #6366f1;
    --primary-gradient: linear-gradient(135deg, #4e45f0 0%, #2418a0 100%);
    --bg-page: #f4f6fc;
    --card-bg: #ffffff;
    --text-main: #1e1b4b;
    --text-muted: #5f6388;
    --accent-color: #ffd426;
    --accent-text: #1e1b4b;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(78, 69, 240, 0.12), 0 10px 10px -5px rgba(78, 69, 240, 0.06);

    --scratch-color: #ffab1a;
    --scratch-bg: #ffebeb;
    --python-color: #306998;
    --python-bg: #e0f2fe;
    --web-color: #10b981;
    --web-bg: #ecfdf5;
}

/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #edf0f8;
}

/* Typography styles */
h1,
h2,
h3,
h4 {
    font-weight: 700;
}

p {
    color: var(--text-muted);
}

/* Logo Navbar Header */
.logo-navbar {
    width: 100%;
    padding: 20px 0;
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
}

.navbar-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(36, 173, 227, 0.15));
    transition: transform 0.3s ease;
}

.navbar-logo-img:hover {
    transform: scale(1.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 32px;
    height: 32px;
    animation: pulseLogo 3s infinite ease-in-out;
}

.logo-text {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(78, 69, 240, 0.05);
}

.nav-link.active {
    color: #ffffff;
    background: var(--primary-color);
    box-shadow: 0 4px 10px rgba(78, 69, 240, 0.3);
}

.nav-link-btn {
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(78, 69, 240, 0.2);
}

.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(78, 69, 240, 0.2);
}

/* Button general styles */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--accent-text);
    box-shadow: 0 6px 15px rgba(255, 212, 38, 0.3);
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 212, 38, 0.5);
    background-color: #f5c71d;
}

/* Custom styling for Hero CTA button to match reference image */
.hero-cta {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-cta .btn-primary {
    background-color: #0A60DD;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 75%;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(10, 96, 221, 0.3);
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

/* CTA button inside interactive section only */
.interactive-section .hero-cta .btn-primary {
    width: 35%;
    padding: 22px 20px;
    font-size: 1.4rem;

}

.hero-cta .btn-primary:hover {
    background-color: #0850C4;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 96, 221, 0.4);
}

.hero-cta .btn-primary svg {
    flex-shrink: 0;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(78, 69, 240, 0.2);
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(36, 24, 160, 0.3);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--accent-text);
    box-shadow: 0 4px 12px rgba(255, 212, 38, 0.3);
    font-size: 1rem;
}

.btn-accent:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.btn-full {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #EFF2FA 0%, #EFF2FA 40%, #E5EDFB 100%);
    padding: 10px 0 20px 0;
    position: relative;
    color: #1e1b4b;
    overflow: hidden;
}

/* Decorative circles for hero background */
.hero-section::before {
    display: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: rgba(36, 173, 227, 0.12);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    position: relative;
    z-index: 2;
    gap: 40px;
    direction: ltr;
}

.hero-content {
    max-width: 100%;
    text-align: right;
    direction: rtl;
    border: 1px solid #ffffff;
    border-radius: 15px;
    background-color: #ffffff;
    padding: 5px 12px 12px 12px;
}

.hero-image-side {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 20px 40px rgba(36, 173, 227, 0.25));
    border-radius: 16px;
}

.hero-mobile-img {
    display: none;
}

.hero-title {
    font-size: clamp(1.2rem, 5vw, 4rem);
    line-height: 1.6;
    margin-bottom: 18px;
    color: #1e1b4b;
    text-align: right;
}

.hero-line {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 4px;
}

.hero-line span {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 900;
    color: #1e1b4b;
}

.hero-title .highlight {
    color: var(--accent-color);
    font-weight: 900;
}

.hero-subtitle {
    color: #272E3E;
    font-size: clamp(1.0rem, 1.8vw, 1.3rem);
    line-height: 1.3;
    margin-bottom: 12px;
    font-weight: 900;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e3ebfb;
    border-radius: 8px;
    padding: 6px 2px 6px 2px;
    background-color: #F5F8FF;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}

.hero-subtitle span {
    font-size: clamp(0.90rem, 1.8vw, 1.3rem);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 500;
    color: #000000;
}

/* Hero Info Badges (Side by Side) */
.hero-info-badges {
    display: flex;
    gap: 16px;
    margin: 0 auto 25px auto;
    max-width: 750px;
    width: 100%;
}

.hero-info-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    border-radius: 12px;
    flex: 1;
    border: 1px solid transparent;
}

.hero-info-badge:nth-child(2) {
    background-color: #EBF8FA;
    border-color: #D1F0F4;
}

.hero-info-badge:nth-child(1) {
    background-color: #F0EDFF;
    border-color: #E2DBFF;
}

.hero-info-icon {
    font-size: 1.9rem;
    flex-shrink: 0;
}

.hero-info-badge span {
    font-size: 1rem;
    font-weight: 900;
    color: #1e1b4b;
    line-height: 1.4;
    text-align: center;
    flex-grow: 1;
    font-family: Calibri, 'Calibri Light', sans-serif;
}

/* Certification Badges Row */
.hero-badges {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-badge-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.2s ease;
}

.hero-badge-img:hover {
    transform: scale(1.07);
}

/* Hero Stats Grid */
.hero-stats {
    display: grid;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 auto 20px auto;
    max-width: 750px;
    width: 100%;
    overflow: hidden;

}

.stat-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 24px 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #1e1b4b;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: 8px;
}

.stat-card:not(:last-child) {
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: auto;
    height: auto;
    margin-bottom: 0;
    opacity: 0.95;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-number {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
    color: #1e1b4b;
    text-align: center;
    white-space: nowrap;
}

.stat-prefix,
.stat-suffix {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 2px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e1b4b;
    text-align: center;
}

.stat-number-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3px;
    order: 1;
}

.stat-icon {
    order: 2;
}

/* Hero Wave Divider */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Floating Code Elements */
.floating-element {
    position: absolute;
    color: rgba(36, 173, 227, 0.35);
    font-family: monospace;
    font-weight: bold;
    user-select: none;
    z-index: 1;
}

.float-1 {
    font-size: 2.5rem;
    top: 10%;
    right: 15%;
    animation: floatElement1 5s infinite ease-in-out;
}

.float-2 {
    font-size: 2rem;
    bottom: 15%;
    left: 10%;
    animation: floatElement2 6s infinite ease-in-out;
}

.float-3 {
    top: 20%;
    left: 20%;
    color: rgba(36, 173, 227, 0.5);
    opacity: 0.8;
    animation: floatElement1 7s infinite ease-in-out;
}

.float-4 {
    bottom: 25%;
    right: 25%;
    color: rgba(36, 173, 227, 0.4);
    opacity: 0.7;
    animation: floatElement2 4s infinite ease-in-out;
}

/* Section Header Decoration */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-main);
    position: relative;
}

.title-dashes {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.dash {
    display: inline-block;
    height: 6px;
    border-radius: 3px;
}

.dash-1 {
    width: 35px;
    background-color: var(--primary-color);
}

.dash-2 {
    width: 18px;
    background-color: var(--accent-color);
}

.dash-3 {
    width: 8px;
    background-color: var(--web-color);
}

/* Features Section (Why kids learn with us) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-image-container {
    width: 100%;
    height: 160px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.feature-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card-desc {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-card:hover .course-img {
    transform: scale(1.08);
}

.course-header {
    padding: 15px 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.course-tag {
    font-size: 0.85rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 1px;
}

.scratch-header {
    background-color: var(--scratch-bg);
}

.scratch-header .course-tag {
    color: var(--scratch-color);
    background-color: rgba(255, 171, 26, 0.15);
}

.python-header {
    background-color: var(--python-bg);
}

.python-header .course-tag {
    color: var(--python-color);
    background-color: rgba(48, 105, 152, 0.15);
}

.webdev-header {
    background-color: var(--web-bg);
}

.webdev-header .course-tag {
    color: var(--web-color);
    background-color: rgba(16, 185, 129, 0.15);
}

/* Styling for Course Images */
.course-image-container {
    width: 100%;
    aspect-ratio: 1.77;
    /* 16:9 aspect ratio */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-body {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.course-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.01);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    position: absolute;
    top: 15px;
    left: 30px;
    font-size: 5rem;
    color: rgba(78, 69, 240, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    user-select: none;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(78, 69, 240, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(78, 69, 240, 0.15);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.parent-name {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 2px;
}

.rating {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: -1px;
}

/* Call To Action Section */
.cta-section {
    padding: 80px 0;
    background-color: #F7FAFF;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Floating decorative shapes */
.cta-float {
    position: absolute;
    font-weight: 800;
    pointer-events: none;
    user-select: none;
    animation: floatHero 4s infinite ease-in-out;
}

.cta-float.float-left {
    top: 15%;
    left: 8%;
    font-size: 2.5rem;
    color: #A9C5F5;
    opacity: 0.6;
}

.cta-float.float-right {
    top: 25%;
    right: 8%;
    font-size: 2.5rem;
    color: #FFDE89;
    opacity: 0.8;
}

.cta-dots {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(#A9C5F5 2px, transparent 2.5px);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
}

.dots-left {
    top: 18%;
    left: 6%;
}

.dots-right {
    top: 8%;
    right: 6%;
}

.cta-new-container {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-school-logo-container {
    margin-bottom: 0px;
    text-align: center;
}

.cta-school-logo {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(9, 83, 209, 0.1));
}

.cta-new-header {
    text-align: center;
    margin-bottom: -25px;
    width: 100%;
}

.cta-new-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 900;
    color: #1e1b4b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cta-title-underline {
    width: 120px;
    height: 4px;
    background-color: #24ADE3;
    margin: 8px auto 16px auto;
    border-radius: 10px;
}

.cta-new-subtitle {
    font-size: 1.4rem;
    color: #1e1b4b;
    font-weight: 600;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 1px auto;
}

.cta-new-price-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 900;
    color: #0953D1;
    margin-top: 10px;
    margin-bottom: 20px;
}

.price-tag-icon {
    color: #FFAB1A;
    font-size: 1.4rem;
}

/* White Form Card */
.cta-new-card {
    background-color: #ffffff;
    border: 1.5px solid #E5EBF5;
    border-radius: 32px;
    padding: 40px 30px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(9, 83, 209, 0.04);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-form-section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 5px;
    margin-bottom: 8px;
}

.cta-section-title-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0953D1;
}

.cta-section-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #0953D1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-section-icon-badge i {
    color: #ffffff;
    font-size: 1.1rem;
}

.cta-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-with-icon-wrapper {
    position: relative;
    width: 100%;
}

.cta-new-input {
    width: 100%;
    background-color: #ffffff;
    border: 1.5px solid #D6E1F5;
    border-radius: 16px;
    padding: 8px 8px 8px 50px;
    color: #1e1b4b;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: right;
}

.cta-new-input::placeholder {
    color: #7E87A5;
}

.cta-new-input:focus {
    outline: none;
    border-color: #0953D1;
    box-shadow: 0 0 0 4px rgba(9, 83, 209, 0.08);
}

.input-field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #0953D1;
    font-size: 1.25rem;
    pointer-events: none;
}

.cta-form-divider {
    border-top: 1.5px solid #F0F4FC;
    margin: 2px 0;
}

/* System Radio Cards style */
.cta-new-system-label {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0953D1;
    margin-bottom: 6px;
    display: block;
    text-align: right;
}

.cta-system-radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.cta-radio-card-wrapper {
    cursor: pointer;
    position: relative;
    display: block;
}

.cta-radio-card-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cta-radio-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border: 1.5px solid #EAEFFC;
    border-radius: 16px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    user-select: none;
}

.radio-card-left-part {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-card-icon {
    font-size: 1.25rem;
}

/* Card 1: National (Green/Teal Icon) */
.cta-radio-card-wrapper:first-of-type .radio-card-icon {
    color: #0B9AA6;
}

/* Card 2: International (Purple Icon) */
.cta-radio-card-wrapper:last-of-type .radio-card-icon {
    color: #7B62FF;
}

.radio-card-text {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e1b4b;
    text-align: center;
    flex-grow: 1;
}

.radio-card-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2.5px solid #D6E1F5;
    position: relative;
    transition: all 0.25s ease;
}

/* Checked States */
.cta-radio-card-wrapper input[type="radio"]:checked+.cta-radio-card {
    border-color: #0953D1;
    background-color: #F4F8FF;
}

.cta-radio-card-wrapper input[type="radio"]:checked+.cta-radio-card .radio-card-circle {
    border-color: #0953D1;
    background-color: #0953D1;
}

.cta-radio-card-wrapper input[type="radio"]:checked+.cta-radio-card .radio-card-circle::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Submit Button */
.cta-new-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 1px;
    padding: 16px;
    background: #0162e5;
    color: #ffffff;
    border-radius: 16px;
    border: none;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 134, 243, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-submit-check-icon {
    font-size: 1.35rem;
}

.cta-new-submit-btn:hover {
    background: #0075D6;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 134, 243, 0.35);
}

/* Privacy Footer */
.cta-new-privacy-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
    color: #7E87A5;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.privacy-lock-icon {
    color: #0953D1;
    font-size: 1rem;
}

/* Error message styling */
.form-error-msg {
    color: #e53935;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 4px;
    text-align: right;
    display: block;
}

/* Hide spinner */
.cta-new-input::-webkit-outer-spin-button,
.cta-new-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cta-new-input[type="number"] {
    -moz-appearance: textfield;
}

/* Form Success Message */
.form-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 10px;
    color: #1e1b4b;
    gap: 15px;
    animation: ctaFadeIn 0.5s ease forwards;
}

.success-icon {
    width: 60px;
    height: 60px;
    color: #2e7d32;
}

.form-success-message h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2e7d32;
}

.form-success-message p {
    color: #2d3a5e;
    font-size: 1.4rem;
    font-weight: 800;
}

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

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

/* Pulse animation for CTA button */
.pulse {
    animation: buttonPulse 2s infinite;
}

/* Footer styles */
.footer {
    background-color: #edf0f8;
    padding: 12px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.copyright {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}


/* ==========================================================================
   Learning Journey Section
   ========================================================================== */
.journey-section {
    padding: 10px 0;
    background-color: #F5F8FF;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.journey-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Floating decorative shapes for Journey */
.journey-decor {
    position: absolute;
    font-weight: 800;
    pointer-events: none;
    user-select: none;
}

.decor-triangle {
    top: 2%;
    left: 4%;
    font-size: 1.8rem;
    color: rgba(123, 98, 255, 0.25);
    transform: rotate(15deg);
}

.decor-circle {
    top: 5%;
    right: 4%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(36, 173, 227, 0.4);
}

.journey-logo-container {
    text-align: center;
    margin-bottom: 12px;
}

.journey-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(9, 83, 209, 0.08));
}

.journey-main-title {
    font-size: clamp(1.4rem, 4vw, 2.1rem);
    font-weight: 900;
    color: #1e1b4b;
    margin-bottom: 24px;
    line-height: 1.4;
    text-align: center;
}

.journey-main-title .highlight-blue {
    color: #0953D1;
}

/* Intro Card */
.journey-intro-card {
    background-color: #ffffff;
    border: 1.5px solid #E5EBF5;
    border-radius: 24px;
    padding: 24px 20px;
    margin-bottom: 12px;
    box-shadow: 0 8px 30px rgba(9, 83, 209, 0.02);
    text-align: center;
}

.journey-card-title {
    font-size: clamp(1.05rem, 3.5vw, 1.45rem);
    font-weight: 800;
    color: #1e1b4b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.journey-card-title .highlight-blue {
    color: #0953D1;
}

.journey-card-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 1px;
    background-color: #E2E8F0;
    margin: 16px 0;
    position: relative;
}

.divider-dot {
    width: 8px;
    height: 8px;
    background-color: #0B9AA6;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.journey-card-text {
    font-size: clamp(0.85rem, 2.5vw, 1.05rem);
    color: #333652;
    font-weight: 600;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}

/* Steps List */
.journey-steps-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.journey-steps-list * {
    font-family: 'Calibri', 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
}

.journey-step-row {
    background-color: #ffffff;
    border: 1.5px solid #E5EBF5;
    border-radius: 20px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(9, 83, 209, 0.01);
}

.step-icon-col {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.journey-step-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-content-col {
    flex-grow: 1;
    padding: 0 16px;
    text-align: right;
}

.step-row-title {
    font-size: clamp(0.95rem, 3vw, 1.25rem);
    font-weight: 800;
    margin-bottom: 4px;
}

.step-row-title.text-teal {
    color: #0B9AA6;
}

.step-row-title.text-blue {
    color: #0953D1;
}

.step-row-desc {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #5E6488;
    font-weight: 600;
    line-height: 1.4;
}

.step-number-col {
    flex-shrink: 0;
}

.step-number-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #EEF5FF;
    color: #0953D1;
    font-size: clamp(0.95rem, 3vw, 1.25rem);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bulb Card */
.journey-bulb-card {
    background-color: #EEF5FF;
    border: 1.5px solid #D6E4FA;
    border-radius: 10px;
    padding: 10px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.bulb-icon-col {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.journey-bulb-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bulb-content-col {
    flex-grow: 1;
    padding-left: 16px;
    text-align: right;
}

.bulb-card-text {
    font-size: clamp(1.2rem, 2.8vw, 1.02rem);
    color: #1e1b4b;
    font-weight: 800;
    line-height: 1.7;
}

.highlight-teal-inline {
    color: #0B9AA6;
    font-weight: 800;
}

.highlight-blue-inline {
    color: #0953D1;
    font-weight: 800;
}

.highlight-pink-inline {
    color: #E0407E;
    font-weight: 800;
}

/* CTA Container */
.journey-cta-container {
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

.journey-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: #0086F3;
    color: #ffffff;
    border-radius: 16px;
    text-decoration: none;
    font-size: clamp(0.95rem, 3vw, 1.25rem);
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(0, 134, 243, 0.25);
    transition: all 0.3s ease;
}

.journey-cta-btn:hover {
    background: #0075D6;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 134, 243, 0.35);
}

.journey-cta-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}


/* Animation keyframes */
@keyframes floatHero {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes floatElement1 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes floatElement2 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(10px) rotate(-8deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulseLogo {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 212, 38, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 212, 38, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 212, 38, 0);
    }
}

/* Responsive text display helpers */
.desktop-text {
    display: inline;
}

.mobile-text {
    display: none;
}

/* Responsive media queries */
@media (max-width: 991px) {
    .navbar {
        padding: 10px 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 20px;
        direction: rtl;
    }

    .hero-image-side {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        overflow: hidden;
    }

    .hero-mobile-img {
        display: block;
        margin: 10px auto 0 auto;
        width: 100%;
        max-width: 320px;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 15px 30px rgba(36, 173, 227, 0.2));
    }

    .hero-title {
        text-align: center;
        margin-bottom: 10px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    .hero-line {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-line span {
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        word-break: break-word;
        margin-bottom: 12px;
    }

    .hero-info-badges {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-badge-img {
        height: 45px;
    }

    .hero-section {
        background-position: 65% center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-cta .btn-primary {
        width: 100%;
    }

    .cta-banner {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 10px 10px;
    }

    .cta-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .robot-image-container {
        width: 120px;
        height: 120px;
    }

    .cta-form-container {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: inline;
    }

    .interactive-section .hero-cta .btn-primary {
        width: 100%;
        padding: 18px 25px;
        font-size: 1.1rem;
    }

    .hero-section {
        background-position: 70% center;
        background-size: cover;
        padding: 0 0 0px 0;
    }

    .logo-navbar {
        padding: 5px 0;
        margin-bottom: 0;
    }

    .float-3 {
        top: 3%;
        left: 5%;
    }

    .float-1 {
        top: 3%;
        right: 5%;
    }

    .float-4 {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 85px;
        left: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-lg);
        border-radius: 24px;
        padding: 30px 20px;
        flex-direction: column;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        border: 1px solid rgba(78, 69, 240, 0.08);
    }

    .nav-links.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
        border-radius: 12px;
    }

    .nav-link-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .section {
        padding: 60px 0;
    }

    .feature-card,
    .course-card,
    .testimonial-card {
        padding: 30px 20px;
    }
}

/* Responsive adjustments for Hero Stats */
@media (max-width: 850px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        max-width: 100%;
        padding: 3px 2px 3px 2px;
    }

    .stat-card {
        padding: 6px 2px;
        flex-direction: row;
        gap: 8px;
        justify-content: center;
    }

    .stat-icon {
        font-size: 1.2rem;
        order: 2;
    }

    .stat-number-row {
        order: 1;
        flex-direction: row;
        gap: 3px;
        flex-wrap: nowrap;
    }

    .stat-number {
        font-size: 0.68rem;
        white-space: nowrap;
        font-family: 'Cairo', sans-serif;
    }

    .stat-label {
        font-size: 0.68rem;
        font-family: 'Cairo', sans-serif;
    }

    .radio-group {
        flex-direction: row;
        gap: 8px;
    }

    .hero-info-badges {
        gap: 8px;
        margin: 0 auto 15px auto;
        max-width: 100%;
        width: 100%;
    }

    .hero-info-badge {
        padding: 6px 10px;
        gap: 12px;
        border-radius: 8px;
        flex: 1;
    }

    .hero-info-icon {
        font-size: 1.5rem;
    }

    .hero-info-badge span {
        font-size: 0.6rem;
        font-weight: 600;
        line-height: 1.4;
        font-family: Calibri, sans-serif;
        text-align: center;
        flex-grow: 1;
    }

    .hero-cta .btn-primary {
        padding: 18px 25px;
        font-size: 1.1rem;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
    }

    .hero-cta .btn-primary svg {
        width: 18px;
        height: 18px;
        stroke-width: 2;
    }
}

/* Mobile-only hero image below navbar */
.hero-mobile-top-img-wrapper {
    display: none;
}

@media (max-width: 768px) {
    .hero-mobile-top-img-wrapper {
        display: block;
        width: 100%;
        padding: 0;
        text-align: center;
        background: linear-gradient(160deg, #ffffff 0%, #d6eefa 40%, #5aaee0 75%, #3a8dc8 100%);
        position: relative;
    }

    .hero-mobile-top-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        filter: none;
        border-radius: 0;
    }

    /* Navbar overlays the image on mobile */
    .logo-navbar {
        display: none;
    }

    .navbar-logo-img {
        height: 45px;
    }

    /* Pull the image wrapper to the very top to be behind the navbar */
    .hero-section {
        padding-top: 0;
    }

    /* Hero container يطلع فوق الصورة من الأسفل */
    /* ⬇️ غيّر الـ margin-top عشان ترفع أو تنزل العنوان فوق الصورة */
    .hero-container {
        margin-top: -70px;
        /* ← زوّد الرقم عشان يطلع أعلى، قلّله عشان ينزل */
        position: relative;
        z-index: 10;
    }

    .hero-title {
        /* background: linear-gradient(to bottom, transparent 0%, #EFF2FA 35%); */
        padding: 0px 0px 0;
        border-radius: 20px 20px 0 0;
        margin-top: 0;
    }

    .hero-line span {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .hero-info-badge span {
        font-size: 0.75rem;
    }
}

/* Interactive Features Section */
.interactive-section {
    background-color: #F5F8FF;
    padding: 20px 0;
    direction: rtl;
    text-align: right;
    font-family: Calibri, 'Segoe UI', sans-serif;
}

.interactive-section *:not(i):not(.interactive-header):not(.interactive-header *):not(.hero-cta):not(.hero-cta *) {
    font-family: Calibri, 'Segoe UI', sans-serif;
}

.interactive-header {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Cairo', sans-serif;
}

.interactive-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 10px rgba(9, 83, 209, 0.15));
}

.interactive-main-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #1e1b4b;
    margin-bottom: 8px;
    line-height: 1.3;
    font-family: cairo, sans-serif;
}

.interactive-sub-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #0953D1;
    margin-bottom: 0;
    line-height: 1.3;
    font-family: cairo, sans-serif;
}

/* Feature Cards Grid */
.interactive-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 15px;
    margin-bottom: 15px;
}

.interactive-card {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #E5EBF5;
    padding: 30px 24px;
    display: flex;
    flex-direction: row-reverse;
    /* Icon on the left, text on the right */
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(9, 83, 209, 0.03);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.interactive-card:first-child {
    grid-column: span 2;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 24px;
}

.interactive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(9, 83, 209, 0.08);
}

.interactive-card:first-child:hover {
    box-shadow: none;
}

.card-icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon {
    font-size: 2rem;
}

.card-icon-img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.card-text {
    flex-grow: 1;
    font-size: 1.3rem;
    font-weight: 900;
    color: #1e1b4b;
    line-height: 1.55;
    font-family: Calibri, 'Segoe UI', sans-serif;
    text-align: center;
}

/* Card Icon Colors */
.gamepad-bg {
    background-color: #EBF3FF;
}

.gamepad-color {
    color: #0953D1;
}

.brain-bg {
    background-color: #EBF8FA;
}

.brain-color {
    color: #0B9AA6;
}

.rocket-bg {
    background-color: #F0EDFF;
}

.rocket-color {
    color: #4F35EA;
}

.highlight-teal {
    color: #0B9AA6;
    font-weight: 900;
}

.highlight-purple {
    color: #4F35EA;
    font-weight: 900;
}

/* List container and items */
.interactive-list-container {
    background-color: #f5f5f5;
    border-radius: 24px;
    border: 1px solid #E5EBF5;
    padding: 24px 12px 24px 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px rgba(9, 83, 209, 0.02);
}

.list-item-row {
    display: flex;
    flex-direction: row-reverse;
    /* Icon on the right, text on the left in RTL (using row-reverse since HTML has text first) */
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 16px;
    gap: 16px;
    transition: transform 0.2s ease;
}

.list-item-row:hover {
    transform: scale(1.02);
}

.list-item-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: #000000;
    line-height: 1.4;
    text-align: center;
    flex-grow: 0;
}

.list-item-icon-circle {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.list-icon {
    font-size: 1.3rem;
}

.list-icon-img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

/* List Item specific colors */
.row-blue {
    background-color: #dce8fd;
}

/* .star-circle { 
    background-color: #EBF3FF; 
    border: 1.5px solid #0953D1;
} */
.blue-icon {
    color: #0953D1;
}

.text-blue {
    color: #0953D1;
    font-weight: 900;
}

.row-teal {
    background-color: #d3f1f7;
}

/* .hand-circle { 
    background-color: #EBF8FA; 
    border: 1.5px solid #0B9AA6;
} */
.teal-icon {
    color: #0B9AA6;
}

.text-teal {
    color: #0B9AA6;
    font-weight: 900;
}

.row-purple {
    background-color: #e8e4f8;
}

/* .lightbulb-circle { 
    background-color: #F0EDFF; 
    border: 1.5px solid #4F35EA;
} */
.purple-icon {
    color: #4F35EA;
}

.text-purple {
    color: #7627c0;
    font-weight: 900;
}

.row-orange {
    background-color: #f7e8d2;
}

/* .paperplane-circle { 
    background-color: #FFF9F0; 
    border: 1.5px solid #ffab1a;
} */
.orange-icon {
    color: #ffab1a;
}

.text-orange {
    color: #c74c02;
    font-weight: 900;
}

.interactive-community-banner {
    background-color: #F0EDFF;
    border: 1px solid #E2DBFF;
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    flex-direction: row-reverse;
    /* Icon on the right, text on the left (using row-reverse since HTML has text first) */
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    box-shadow: 0 6px 15px rgba(79, 53, 234, 0.05);
}

.community-banner-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: #1e1b4b;
    line-height: 1.5;
    text-align: center;
    flex-grow: 0;
}

.community-banner-icon-container {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #4F35EA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.community-icon {
    color: #ffffff;
    font-size: 1.6rem;
}

/* CTA Button Container */
.interactive-cta-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.btn-interactive-cta {
    background: linear-gradient(135deg, #0A60DD 0%, #0953D1 100%);
    color: #ffffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(10, 96, 221, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: Calibri, 'Segoe UI', sans-serif;
    text-align: center;
}

.btn-interactive-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 96, 221, 0.5);
    background: linear-gradient(135deg, #0953D1 0%, #0846B5 100%);
}

.cta-calendar-icon {
    font-size: 1.5rem;
}

/* Responsive queries */
@media (max-width: 991px) {
    .interactive-cards {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .interactive-card:first-child {
        grid-column: auto;
        max-width: none;
        margin: 0;
        background-color: #ffffff;
        border: 1px solid #E5EBF5;
        box-shadow: 0 10px 25px rgba(9, 83, 209, 0.03);
    }

    .interactive-list-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .interactive-card {
        justify-content: space-between;
    }

    .card-text {
        flex-grow: 1;
        text-align: right;
    }
}

@media (max-width: 768px) {
    .interactive-section {
        padding: 10px 0 20px 0;
    }

    .interactive-header {
        margin-bottom: 30px;
    }

    .interactive-logo {
        height: 55px;
        margin-bottom: 15px;
    }

    .interactive-main-title,
    .interactive-sub-title {
        font-size: 1.3rem;
        font-family: 'Cairo', sans-serif;
    }

    .interactive-card {
        padding: 10px 8px;
        gap: 15px;
        background-color: #ffffff;
        border: 1px solid #E5EBF5;
        box-shadow: 0 10px 25px rgba(9, 83, 209, 0.03);
        justify-content: space-between;
    }

    .card-icon-container {
        width: 60px;
        height: 60px;
    }

    .card-icon {
        font-size: 1.6rem;
    }

    .card-text {
        font-size: 0.98rem;
    }

    .list-item-row {
        padding: 12px 8px;
        gap: 12px;
        justify-content: space-between;
    }

    .list-item-text {
        font-size: 1.0rem;
        flex-grow: 1;
        text-align: right;
    }

    .list-item-icon-circle {
        width: 42px;
        height: 42px;
    }

    .list-icon {
        font-size: 1.15rem;
    }

    .interactive-community-banner {
        padding: 15px 8px;
        gap: 15px;
        margin-bottom: 30px;
        justify-content: space-between;
    }

    .community-banner-text {
        font-size: 1.02rem;
        text-align: right;
        flex-grow: 1;
    }

    .desktop-br {
        display: none;
    }

    .community-banner-icon-container {
        width: 46px;
        height: 46px;
    }

    .community-icon {
        font-size: 1.3rem;
    }

    .btn-interactive-cta {
        padding: 14px 20px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
}

/* Responsive media queries for CTA */
@media (max-width: 768px) {
    .cta-section {
        padding: 1px 0;
        margin-top: 20px;
    }

    .cta-new-card {
        padding: 10px 18px;
        border-radius: 24px;
    }

    .cta-float {
        display: none;
    }

    .cta-dots {
        display: none;
    }

    .cta-new-privacy-footer {
        font-size: 0.6rem;
    }

    /* Keep National and International cards side-by-side and scale them down nicely on mobile */
    .cta-system-radio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cta-radio-card {
        padding: 10px 8px;
        border-radius: 12px;
    }

    .radio-card-left-part {
        gap: 6px;
    }

    .radio-card-icon {
        font-size: 1rem;
    }

    .radio-card-text {
        font-size: 1rem;
    }

    .radio-card-circle {
        width: 14px;
        height: 14px;
        border-width: 1.5px;
    }

    .cta-radio-card-wrapper input[type="radio"]:checked+.cta-radio-card .radio-card-circle::after {
        width: 4px;
        height: 4px;
    }
}

@media (max-width: 480px) {
    .cta-new-title {
        font-size: 1.6rem;
    }
}




/* =========================================================
   Exact mobile hero - coded HTML/CSS over supplied background
   ========================================================= */
.hero-exact-section {
    background: #edf1f6 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.hero-exact-section::before,
.hero-exact-section::after {
    display: none !important;
}

.hero-exact-stage {
    position: relative;
    width: 100vw;
    height: calc(100vw * 1993 / 941);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-image: url('../images/hero-stage-bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    direction: rtl;
    overflow: hidden;
}

.hero-exact-copy,
.hero-exact-benefits {
    position: absolute;
    inset: 0;
}

.hero-exact-title,
.hero-exact-message h2,
.hero-exact-message p,
.hero-exact-card h3,
.hero-exact-card p,
.personality-impact-title,
.personality-impact-quote-card p,
.personality-impact-card h3,
.personality-impact-card p {
    font-family: 'Cairo', sans-serif !important;
    letter-spacing: normal !important;
}

.hero-exact-title {
    position: absolute;
    top: 16vw;
    left: 0;
    right: 0;
    display: grid;
    gap: 0.8vw;
    justify-items: center;
    margin: 0;
    padding: 0;
}

.hero-exact-title span {
    display: block;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 99vw;
}

.hero-exact-title-blue {
    color: #145dbe;
    font-weight: 900;
    font-size: clamp(18px, 6.8vw, 60px);
}

.hero-exact-title-dark {
    color: #071d4d;
    font-weight: 900;
    font-size: clamp(13.4px, 5.05vw, 48px);
}

.hero-exact-message {
    position: absolute;
    top: 36.4vw;
    left: 9.8vw;
    width: 80.4vw;
    min-height: 15.4vw;
    background: rgba(240, 236, 255, 0.96);
    border: 0.18vw solid #d8cdf9;
    border-radius: 2.25vw;
    padding: 1.95vw 1.45vw 1.7vw;
    box-shadow: 0 0.4vw 1.4vw rgba(103, 55, 239, 0.05);
}

.hero-exact-message h2 {
    margin: 0 0 0.75vw;
    color: #b21a82;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 10px;
    white-space: nowrap;
    font-size: clamp(12px, 4.7vw, 44px);
}

.hero-exact-message p {
    margin: 0;
    color: #071d4d;
    font-weight: 800;
    line-height: 1.16;
    white-space: nowrap;
    font-size: clamp(8.8px, 3.32vw, 31px);
}

.hero-exact-card {
    position: absolute;
    left: 3.2vw;
    width: 93.6vw;
    height: 18.4vw;
    display: grid;
    grid-template-columns: 1fr 13.4vw;
    align-items: center;
    gap: 2.2vw;
    direction: ltr;
    background: rgba(255, 255, 255, 0.98);
    border: 0.13vw solid #cfd9e9;
    border-radius: 2.45vw;
    padding: 1.65vw 2.35vw 1.65vw 3.6vw;
    box-shadow: 0 0.7vw 2.3vw rgba(13, 50, 104, 0.12);
    overflow: hidden;
}

.hero-exact-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.25vw;
    bottom: 1.25vw;
    width: 0.72vw;
    border-radius: 0 1vw 1vw 0;
}

.hero-exact-card-text {
    direction: rtl;
    text-align: right;
    min-width: 0;
}

.hero-exact-card h3 {
    margin: 0 0 1vw;
    font-weight: 800;
    line-height: 2;
    white-space: nowrap;
    font-size: clamp(10px, 4vw, 30px);
}

.hero-exact-card p {
    margin: 0;
    color: #111b33;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    font-size: clamp(10px, 3.5vw, 30px);
}

.hero-exact-card-icon {
    width: 13.4vw;
    height: 13.4vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-exact-card-icon img {
    display: block;
    width: 13.4vw;
    height: 13.4vw;
    object-fit: contain;
}

.card-purple {
    top: 128.2vw;
}

.card-blue {
    top: 148.8vw;
}

.card-teal {
    top: 169.4vw;
}

.card-pink {
    top: 190vw;
}

.card-purple::before {
    background: #7b3ff2;
}

.card-blue::before {
    background: #0961dd;
}

.card-teal::before {
    background: #00a991;
}

.card-pink::before {
    background: #d100b3;
}

.card-purple h3 {
    color: #6737ef;
}

.card-blue h3 {
    color: #0a60dd;
}

.card-teal h3 {
    color: #009b84;
}

.card-pink h3 {
    color: #c600aa;
}

@media (max-width: 360px) {
    .hero-exact-title-blue {
        font-size: clamp(15.8px, 6.15vw, 23px);
    }

    .hero-exact-title-dark {
        font-size: clamp(12.4px, 4.85vw, 18px);
    }

    .hero-exact-message h2 {
        font-size: clamp(10.6px, 4.45vw, 16px);
    }

    .hero-exact-message p {
        font-size: clamp(7.8px, 3.18vw, 11.5px);
    }

    .hero-exact-card h3 {
        font-size: clamp(10.8px, 4.55vw, 16.2px);
    }

    .hero-exact-card p {
        font-size: clamp(7.8px, 3.18vw, 11.4px);
    }
}

@media (min-width: 769px) {
    .hero-exact-stage {
        width: 430px;
        height: calc(430px * 1993 / 941);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-exact-title {
        top: calc(430px * 0.129);
        gap: calc(430px * 0.008);
    }

    .hero-exact-title-blue {
        font-size: calc(430px * 0.0635);
    }

    .hero-exact-title-dark {
        font-size: calc(430px * 0.0505);
    }

    .hero-exact-message {
        top: calc(430px * 0.36);
        left: calc(430px * 0.098);
        width: calc(430px * 0.804);
        min-height: calc(430px * 0.154);
        border-width: calc(430px * 0.0018);
        border-radius: calc(430px * 0.0225);
        padding: calc(430px * 0.0195) calc(430px * 0.0145) calc(430px * 0.017);
    }

    .hero-exact-message h2 {
        font-size: calc(430px * 0.047);
        margin-bottom: calc(430px * 0.0075);
    }

    .hero-exact-message p {
        font-size: calc(430px * 0.0332);
    }

    .hero-exact-card {
        left: calc(430px * 0.032);
        width: calc(430px * 0.936);
        height: calc(430px * 0.184);
        grid-template-columns: 1fr calc(430px * 0.134);
        gap: calc(430px * 0.022);
        border-radius: calc(430px * 0.0245);
        padding: calc(430px * 0.0165) calc(430px * 0.0235) calc(430px * 0.0165) calc(430px * 0.036);
    }

    .hero-exact-card::before {
        top: calc(430px * 0.0125);
        bottom: calc(430px * 0.0125);
        width: calc(430px * 0.0072);
    }

    .hero-exact-card h3 {
        font-size: calc(430px * 0.049);
        margin-bottom: calc(430px * 0.01);
        line-height: 1.12;
    }

    .hero-exact-card p {
        font-size: calc(430px * 0.0358);
        line-height: 1.18;
    }

    .hero-exact-card-icon,
    .hero-exact-card-icon img {
        width: calc(430px * 0.134);
        height: calc(430px * 0.134);
    }

    .card-purple {
        top: calc(430px * 1.282);
    }

    .card-blue {
        top: calc(430px * 1.488);
    }

    .card-teal {
        top: calc(430px * 1.694);
    }

    .card-pink {
        top: calc(430px * 1.9);
    }
}



/* =========================================================
   Hero cards only: align text from right to left
   ========================================================= */
.hero-exact-card .hero-exact-card-text,
.hero-exact-card .hero-exact-card-text h3,
.hero-exact-card .hero-exact-card-text p,
.hero-exact-card h3,
.hero-exact-card p {
    text-align: right !important;
    direction: rtl !important;
}

.hero-exact-card .hero-exact-card-text {
    justify-self: stretch;
    padding-right: 0.6vw;
}

@media (min-width: 769px) {
    .hero-exact-card .hero-exact-card-text {
        padding-right: calc(430px * 0.006);
    }
}


/* Card 1 */
.hero-exact-card:nth-of-type(1) h3,
.hero-exact-card:nth-of-type(1) p,
.hero-exact-card:nth-of-type(2) h3,
.hero-exact-card:nth-of-type(2) p,
.hero-exact-card:nth-of-type(3) h3,
.hero-exact-card:nth-of-type(3) p,
.hero-exact-card:nth-of-type(4) h3,
.hero-exact-card:nth-of-type(4) p {
    letter-spacing: normal !important;
}

/* =========================================================
   Personality Impact Section - Slide Two
   ========================================================= */
.personality-impact-section {
    background: #edf1f6;
    padding: 18px 0 26px;
    overflow: hidden;
    direction: rtl;
}

.personality-impact-container {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 0 14px;
}

.personality-impact-header {
    position: relative;
    text-align: center;
    padding-top: 0;
    margin-bottom: 15px;
}

.personality-impact-logo {
    display: block;
    width: clamp(145px, 38vw, 205px);
    height: auto;
    margin: 0 auto 18px;
}

.personality-impact-title {
    margin: 0;
    display: grid;
    gap: 8px;
    justify-items: center;
    font-family: 'Cairo', sans-serif;
    letter-spacing: -0.035em;
}

.personality-impact-title span,
.personality-impact-title strong {
    display: inline-block;
    line-height: 1.15;
    font-weight: 900;
    white-space: nowrap;
}

.personality-impact-title .title-blue {
    color: #145dbe;
    font-size: clamp(2.15rem, 8.6vw, 3.2rem);
}

.personality-impact-title .title-mix {
    color: #145dbe;
    font-size: clamp(2rem, 7.9vw, 3rem);
}

.personality-impact-title .title-mix strong {
    color: #b21a82;
}

.personality-impact-spark {
    position: absolute;
    top: 75px;
    right: 9px;
    width: 44px;
    height: 44px;
    background:
        linear-gradient(70deg, transparent 47%, #ffb400 48%, #ffb400 58%, transparent 59%) 9px 8px/27px 8px no-repeat,
        linear-gradient(8deg, transparent 45%, #ffb400 46%, #ffb400 56%, transparent 57%) 8px 20px/30px 8px no-repeat,
        linear-gradient(-45deg, transparent 44%, #ffb400 45%, #ffb400 55%, transparent 56%) 10px 30px/27px 8px no-repeat;
    transform: rotate(8deg);
    opacity: 0.95;
}

.personality-impact-underline {
    display: block;
    width: 46%;
    height: 8px;
    margin: 9px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, #ffb400 15%, #ffb400 84%, transparent 100%);
    transform: rotate(-1.2deg);
}

.personality-impact-quote-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #bfd0e5;
    border-radius: 22px;
    padding: 20px 10px 20px;
    margin: 0 0 18px;
    box-shadow: 0 6px 15px rgba(13, 50, 104, 0.12);
    text-align: center;
}

.personality-impact-quote-card .quote-mark {
    position: absolute;
    top: -28px;
    right: 16px;
    font-size: clamp(4.4rem, 17vw, 6.2rem);
    line-height: 1;
    color: #1687f5;
    font-family: Arial, sans-serif;
    font-weight: 900;
}

.personality-impact-quote-card p {
    margin: 0;
    color: #071d4d;
    font-size: clamp(1rem, 4.1vw, 1.1rem);
    line-height: 1.78;
    font-weight: 800;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0em;
}

.personality-impact-list {
    display: grid;
    gap: 14px;
}

.personality-impact-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    min-height: 92px;
    background: #ffffff;
    border: 1.4px solid #bfd0e5;
    border-radius: 18px;
    padding: 12px 18px 12px 13px;
    box-shadow: 0 5px 14px rgba(13, 50, 104, 0.1);
    direction: rtl;
}

.impact-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
    font-size: clamp(2.15rem, 8vw, 3rem);
    font-weight: 900;
    line-height: 1;
    justify-self: center;
}

.impact-text {
    direction: rtl;
    text-align: center;
    min-width: 0;
}

.impact-text h3,
.impact-text p {
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
    letter-spacing: -0.035em;
}

.impact-text h3 {
    margin: 0 0 5px;
    font-size: clamp(1.34rem, 5.35vw, 2.05rem);
    line-height: 1.2;
    font-weight: 900;
}

.impact-text p {
    margin: 0;
    color: #071d4d;
    font-size: clamp(1.02rem, 4.1vw, 1.45rem);
    line-height: 1.25;
    font-weight: 800;
}

.impact-magenta .impact-number {
    background: #b20f80;
}

.impact-cyan .impact-number {
    background: #078eb2;
}

.impact-purple .impact-number {
    background: #5133db;
}

.impact-orange .impact-number {
    background: #df7a00;
}

.impact-teal .impact-number {
    background: #079f95;
}

.impact-magenta h3 {
    color: #b20f80;
}

.impact-cyan h3 {
    color: #078eb2;
}

.impact-purple h3 {
    color: #5133db;
}

.impact-orange h3 {
    color: #df7a00;
}

.impact-teal h3 {
    color: #079f95;
}

@media (max-width: 430px) {
    .personality-impact-container {
        padding: 0 12px;
    }

    .personality-impact-logo {
        margin-bottom: 14px;
    }

    .personality-impact-title .title-blue {
        font-size: clamp(1.82rem, 8vw, 2.35rem);
    }

    .personality-impact-title .title-mix {
        font-size: clamp(1.62rem, 7.1vw, 2.15rem);
    }

    .personality-impact-spark {
        top: 62px;
        right: 2px;
        transform: scale(0.78) rotate(8deg);
    }

    .personality-impact-quote-card {
        padding: 23px 15px 20px;
        border-radius: 19px;
    }

    .personality-impact-quote-card p {
        font-size: clamp(1.04rem, 4.75vw, 1.45rem);
        line-height: 1.72;
    }

    .personality-impact-card {
        grid-template-columns: 58px 1fr;
        min-height: 80px;
        border-radius: 15px;
        padding: 10px 14px 10px 10px;
    }

    .impact-number {
        width: 50px;
        height: 50px;
        font-size: clamp(1.78rem, 7.4vw, 2.25rem);
    }

    .impact-text h3 {
        font-size: clamp(1.05rem, 4.9vw, 1.36rem);
        margin-bottom: 3px;
    }

    .impact-text p {
        font-size: clamp(0.85rem, 3.82vw, 1.05rem);
    }
}

@media (max-width: 350px) {
    .impact-text h3 {
        font-size: 0.98rem;
    }

    .impact-text p {
        font-size: 0.78rem;
    }
}

/* =========================================================
   Slide 2 refinement: right-aligned larger card text + balanced height
   ========================================================= */
.personality-impact-list {
    gap: 15px !important;
}

.personality-impact-card {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    min-height: 105px !important;
    padding: 15px 13px 15px 18px !important;
    border-radius: 18px !important;
    align-items: center !important;
    overflow: hidden !important;
}

.personality-impact-card .impact-number {
    width: 46px !important;
    height: 46px !important;
    font-size: clamp(1.55rem, 6vw, 2rem) !important;
    justify-self: start !important;
    align-self: center !important;
    line-height: 1 !important;
}

.personality-impact-card .impact-text {
    width: 100% !important;
    min-width: 0 !important;
    direction: rtl !important;
    text-align: right !important;
    overflow: visible !important;
    padding: 0 !important;
}

.personality-impact-card .impact-text h3,
.personality-impact-card .impact-text p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    direction: rtl !important;
    text-align: right !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    transform-origin: right center !important;
}

.personality-impact-card .impact-text h3 {
    font-size: clamp(1.20rem, 5.15vw, 1.68rem) !important;
    line-height: 1.15 !important;
    margin: 0 0 7px 0 !important;
    letter-spacing: normal !important;
    font-weight: 900 !important;
}

.personality-impact-card .impact-text p {
    font-size: clamp(0.90rem, 3.86vw, 1.18rem) !important;
    line-height: 1.22 !important;
    margin: 0 !important;
    letter-spacing: normal !important;
    font-weight: 800 !important;
    color: #071d4d !important;
}

@media (max-width: 430px) {
    .personality-impact-list {
        gap: 13px !important;
    }

    .personality-impact-card {
        grid-template-columns: 43px minmax(0, 1fr) !important;
        column-gap: 10px !important;
        min-height: 92px !important;
        padding: 13px 10px 13px 15px !important;
        border-radius: 16px !important;
    }

    .personality-impact-card .impact-number {
        width: 40px !important;
        height: 40px !important;
        font-size: clamp(1.32rem, 5.8vw, 1.65rem) !important;
    }

    .personality-impact-card .impact-text h3 {
        font-size: clamp(1.02rem, 4.65vw, 1.26rem) !important;
        line-height: 1.12 !important;
        margin-bottom: 5px !important;
        letter-spacing: normal !important;
    }

    .personality-impact-card .impact-text p {
        font-size: clamp(0.75rem, 3.48vw, 0.92rem) !important;
        line-height: 1.18 !important;
        letter-spacing: normal !important;
    }
}

@media (max-width: 350px) {
    .personality-impact-card {
        grid-template-columns: 39px minmax(0, 1fr) !important;
        column-gap: 8px !important;
        min-height: 86px !important;
        padding: 11px 8px 11px 12px !important;
    }

    .personality-impact-card .impact-number {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.25rem !important;
    }

    .personality-impact-card .impact-text h3 {
        font-size: 0.92rem !important;
        letter-spacing: normal !important;
    }

    .personality-impact-card .impact-text p {
        font-size: 0.66rem !important;
        letter-spacing: normal !important;
    }
}

/* =========================================================
   Slide 2 refinement: compact card height
   ========================================================= */
.personality-impact-list {
    gap: 11px !important;
}

.personality-impact-card {
    min-height: 84px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.personality-impact-card .impact-text h3 {
    margin-bottom: 7px !important;
    line-height: 1.4 !important;
}

.personality-impact-card .impact-text p {
    line-height: 1.14 !important;
}

@media (max-width: 430px) {
    .personality-impact-list {
        gap: 10px !important;
    }

    .personality-impact-card {
        min-height: 76px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .personality-impact-card .impact-text h3 {
        margin-bottom: 2px !important;
        line-height: 1.1 !important;
    }

    .personality-impact-card .impact-text p {
        line-height: 1.12 !important;
    }
}

@media (max-width: 350px) {
    .personality-impact-card {
        min-height: 70px !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }
}

/* =========================================================
   Final hero cards tuning for narrow screens (360px)
   Keeps wider screens unchanged and improves text size/spacing
   ========================================================= */
@media (min-width: 361px) and (max-width: 430px) {
    .hero-exact-card {
        grid-template-columns: 1fr 11.2vw !important;
        gap: 1.1vw !important;
        padding: 1.35vw 1.1vw 1.35vw 2.8vw !important;
    }

    .hero-exact-card-icon,
    .hero-exact-card-icon img {
        width: 11.2vw !important;
        height: 11.2vw !important;
    }

    .hero-exact-card h3 {
        font-size: clamp(14.8px, 4.35vw, 18.8px) !important;
        line-height: 1.22 !important;
        margin-bottom: 3.5px !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        letter-spacing: normal !important;
    }

    .hero-exact-card p {
        font-size: clamp(11.6px, 3.65vw, 15.8px) !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        letter-spacing: normal !important;
    }
}

@media (max-width: 360px) {
    .hero-exact-card {
        grid-template-columns: 1fr 9.1vw !important;
        gap: 0.75vw !important;
        padding: 1.05vw 0.7vw 1.05vw 2.5vw !important;
    }

    .hero-exact-card .hero-exact-card-text {
        min-width: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
    }

    .hero-exact-card h3 {
        font-size: 15.4px !important;
        line-height: 1.22 !important;
        margin-bottom: 8px !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
    }

    .hero-exact-card p {
        font-size: 12.4px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        letter-spacing: -0.01em !important;
    }

    .hero-exact-card-icon,
    .hero-exact-card-icon img {
        width: 9.1vw !important;
        height: 9.1vw !important;
    }

    .hero-exact-card:nth-of-type(1) h3,
    .hero-exact-card:nth-of-type(2) h3,
    .hero-exact-card:nth-of-type(3) h3,
    .hero-exact-card:nth-of-type(4) h3,
    .hero-exact-card:nth-of-type(4) p {
        letter-spacing: normal !important;
    }
}


/* =========================================================
   Slide 2 cards only: safer spacing on 360px screens
   This block does NOT touch hero-exact-card / hero section.
   ========================================================= */
@media (min-width: 351px) and (max-width: 430px) {
    .personality-impact-list {
        gap: 11px !important;
    }

    .personality-impact-card {
        grid-template-columns: 42px minmax(0, 1fr) !important;
        column-gap: 10px !important;
        min-height: 84px !important;
        padding: 9px 10px 9px 14px !important;
        align-items: center !important;
    }

    .personality-impact-card .impact-number {
        width: 39px !important;
        height: 39px !important;
        font-size: 1.38rem !important;
        justify-self: start !important;
    }

    .personality-impact-card .impact-text {
        min-width: 0 !important;
        text-align: right !important;
        direction: rtl !important;
    }

    .personality-impact-card .impact-text h3 {
        font-size: clamp(1.08rem, 4.82vw, 1.32rem) !important;
        line-height: 1.18 !important;
        margin: 0 0 8px 0 !important;
        letter-spacing: normal !important;
        white-space: nowrap !important;
    }

    .personality-impact-card .impact-text p {
        font-size: clamp(0.82rem, 3.68vw, 1rem) !important;
        line-height: 1.22 !important;
        margin: 0 !important;
        letter-spacing: normal !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 350px) {
    .personality-impact-card {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        column-gap: 8px !important;
        min-height: 78px !important;
        padding: 8px 8px 8px 11px !important;
    }

    .personality-impact-card .impact-number {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.22rem !important;
    }

    .personality-impact-card .impact-text h3 {
        font-size: 0.98rem !important;
        line-height: 1.16 !important;
        margin-bottom: 4px !important;
        letter-spacing: -0.045em !important;
    }

    .personality-impact-card .impact-text p {
        font-size: 0.73rem !important;
        line-height: 1.18 !important;
        letter-spacing: -0.055em !important;
    }
}

/* =========================================================
   CTA plan title color only
   ========================================================= */
.cta-plan-title {
    color: #ad0774 !important;
}