:root {
    --navy: #1a3a52;
    --dark-navy: #0f1f2d;
    --white: #ffffff;
    --beige: #f5f1ed;
    --light-gray: #e8e6e3;
    --accent: #E0949F;
    --accent-dark: #d67a89;
    --text-dark: #2c3e50;
    --text-light: #666666;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] {
    --navy: #f3f4f6;
    --dark-navy: #ffffff;
    --white: #191b22;
    --beige: #0f1015;
    --light-gray: #2c2f3b;
    --text-dark: #f3f4f6;
    --text-light: #a1a5b3;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.65);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--beige);
    color: var(--text-dark);
    line-height: 1.6;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    color: inherit;
    text-decoration: none;
}

/* Logo */
.brand-logo {
    width: 55px;
    height: 55px;
    position: relative;
}

.clock {
    width: 50px;
    height: 50px;
    border: 6px solid #f45b82;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
}

/* الساعة مفتوحة من الجزء العلوي اليمين */
.clock::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 4px;
    background: #f45b82;
    right: -8px;
    top: 4px;
    transform: rotate(-27deg);
    border-radius: 50px;
}

/* عقارب الساعة */
.clock-hand {
    position: absolute;
    background: #f45b82;
    left: 50%;
    top: 50%;
    transform-origin: bottom center;
    border-radius: 5px;
}

.clock-hand.hour {
    width: 4px;
    height: 14px;
    transform: translate(-50%, -100%) rotate(0deg);
}

.clock-hand.minute {
    width: 4px;
    height: 19px;
    transform: translate(-50%, -100%) rotate(90deg);
}

.clock::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    background: #f45b82;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* الاسم */
.brand-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: #102c4b;
    white-space: nowrap;
}

.brand-name span {
    color: #f45b82;
    font-style: italic;
    font-weight: 500;
}

/* الجملة تحت الاسم */
.brand-tagline {
    margin-top: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.2px;
    color: #ff5d84;
    align-self: center;
}

.comic-button {
    display: inline-block;
    padding: 7px 8px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #d9858e;
    border: 2px solid #000;
    border-radius: 15px;
    box-shadow: 0px 4px 5px #a6e765;
    transition: all 0.3s ease;
    cursor: pointer;
}

.comic-button:hover {
    background-color: #fff;
    color: #ff5252;
    border: 2px solid #ff5252;
    box-shadow: 5px 5px 0px #ff5252;
}

.comic-button:active {
    background-color: #fcf414;
    box-shadow: none;
    transform: translateY(4px);
}

/* Navigation Bar */
.navbar {
    background: var(--white);
    border-bottom: 2px solid var(--light-gray);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
    background-color: rgba(224, 148, 159, 0.08);
}

.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 4px;
    background: var(--accent);
    border-radius: 7px;
}

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 2rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224, 148, 159, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    padding: 0.7rem 1.5rem;
    border: 1.5px solid var(--accent);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224, 148, 159, 0.3);
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 4rem 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #a6e765b0 0%, #cf4ed5bd 100%);
    color: var(#160c0c);
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
    border-radius: 12px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero .accent-text {
    color: var(#b0db60);
}

.hero p {
    font-size: 1.3rem;
    color: #060c0ad4;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Titles */
h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--navy);
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.card h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ============================= */
/* Speaking Test Section */
/* ============================= */

.speaking-test-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed rgba(92, 62, 170, 0.3);
}

.speaking-test-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.speaking-test-title>i {
    font-size: 34px;
    color: #6941c6;
    margin-top: 2px;
}

.speaking-test-title h4 {
    margin: 0 0 5px;
    font-size: 18px;
}

.speaking-test-title p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}


/* ============================= */
/* Google Meet Button */
/* ============================= */


/* .home-level-card__meet-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-level-card__meet-link > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-level-card__meet-link b {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: #444;
    padding: 7px 12px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
} */

.google-meet-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.home-level-card__meet-link {
    width: 100%;
    min-height: 52px;
    padding: 0 14px 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    background: #5b36b6;
    color: #fff;

    border-radius: 14px;
    text-decoration: none;
    box-sizing: border-box;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.home-level-card__meet-link:hover {
    background: #4d2da0;
    transform: translateY(-2px);
}

.home-level-card__meet-link>span {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    font-weight: 600;
}

.home-level-card__meet-link>span i {
    font-size: 21px;
}

.hero-cta .home-level-card__meet-link {
    width: auto;
    display: inline-flex;
    min-height: 48px;
    padding: 0 14px 0 16px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.hero-cta .home-level-card__meet-link:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}


/* ============================= */
/* Google Meet Badge */
/* ============================= */
.choice-card {
    position: relative;
    overflow: hidden;
}

/* الصورة في الخلفية */
.choice-image-wrapper {
    position: relative;
    z-index: 0;
    top: 0px;
    left: 112px;
    width: 100%;
    height: 55px;
    pointer-events: none;
}


/* الصورة نفسها */
.choice-image-wrapper .choice-card-image {
    position: absolute;

    width: 300px;
    height: 132px;

    object-fit: contain;

    /* تحكم في مكان الصورة براحتك */
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    z-index: 0;
}

/* كل محتوى الكارد فوق الصورة */
.choice-card>*:not(.choice-image-wrapper) {
    position: relative;
    z-index: 2;
}

.home-level-card__meet-link b {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: #444;
    padding: 7px 12px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}


.google-meet-icon {
    width: 30px;
    height: 26px;
    object-fit: fill;
}

.card-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* Product Card */
.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--light-gray);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-price .old-price {
    font-size: 1.15rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.product-price .discount-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(244, 91, 130, 0.12);
    color: var(--accent);
    border: 1px solid rgba(244, 91, 130, 0.28);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.product-duration {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-level {
    display: inline-block;
    background: rgba(224, 148, 159, 0.1);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-button {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 16px;

    background: #fffafa;
    border: 2px solid #c9959d;
    border-radius: 12px;

    font-size: 20px;
    color: #777;

    cursor: pointer;
}

.arrow {
    font-size: 25px;
    transition: transform 0.2s ease;
}

.custom-select.open .arrow {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;

    top: 58px;
    left: 0;

    width: 100%;
    max-height: 480px;

    overflow-y: auto;

    background: white;

    border: 1px solid #c9959d;
    border-radius: 10px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);

    display: none;

    z-index: 999999;
}

.custom-select.open .select-options {
    display: block;
}

.select-option {
    position: relative;

    padding: 8px 20px 8px 30px;

    font-size: 19px;
    color: #333;

    cursor: pointer;
}

.select-option:hover {
    background: #f7eeee;
}

.select-option.selected::before {
    content: "✓";

    position: absolute;
    left: 9px;

    color: #b87882;
    font-weight: bold;
}

.select-options::-webkit-scrollbar {
    width: 10px;
}

.select-options::-webkit-scrollbar-thumb {
    background: #c8c8c8;
    border-radius: 10px;
}

/* Features List */
.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    color: var(--text-light);
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Badge - Recommended */
.badge-recommended {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Form */
form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-weight: 600;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* ============================= */
/* Testimonials Marquee Slider   */
/* ============================= */

.testimonials-section {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}

.testimonials-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0 2rem;
    cursor: default;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.testimonials-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
}

.testimonials-group {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    flex-shrink: 0;
    animation: testimonialsMarquee 26s linear infinite;
    will-change: transform;
}

/* Pause animation on hover */
.testimonials-marquee:hover .testimonials-group,
.testimonials-marquee:focus-within .testimonials-group {
    animation-play-state: paused;
}

@keyframes testimonialsMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 1.5rem));
    }
}

.testimonial {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 350px;
    max-width: 85vw;
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonials-marquee:hover .testimonial:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(224, 148, 159, 0.6);
}

.stars {
    color: #f59e0b;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f45b82, #a78bfa);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(244, 91, 130, 0.3);
}

.testimonial-author {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.98rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-level {
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 700;
    background: rgba(244, 91, 130, 0.12);
    color: #e04a74;
}

.testimonial-program {
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 2px 0 0;
}

/* Dark Mode styles for Testimonials */
[data-theme="dark"] .testimonial {
    background: #191b22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .testimonial-author {
    color: #ffffff;
}

[data-theme="dark"] .testimonial-text {
    color: #c9cdd8;
}

[data-theme="dark"] .testimonial-author-wrapper {
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .badge-level {
    background: rgba(244, 91, 130, 0.22);
    color: #ff7597;
}

@media (max-width: 768px) {
    .testimonial {
        width: 290px;
        flex: 0 0 290px;
        padding: 1.3rem;
    }
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 0;
}

.tab {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab:hover {
    color: var(--accent);
}

.tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Responsive Design */
/* White Section Background */
.white-section {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 3rem;
}

/* Navy & Final CTA Section */
.navy-section,
.final-cta {
    background: linear-gradient(135deg, #102a3a 0%, #162f43 50%, #0d1e2b 100%);
    color: #ffffff;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 3.5rem;
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(16, 42, 58, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.navy-section::before,
.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f45b82, #ff85a2, transparent);
}

.navy-section h2,
.final-cta h2 {
    color: #ffffff !important;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.navy-section h2 span,
.final-cta h2 span {
    color: #f45b82;
}

.navy-section .section-subtitle,
.final-cta p {
    color: #cbd5e1 !important;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 2rem;
}

/* Step Number */
.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* About Section Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-photo {
    background: var(--beige);
    padding: 2rem;
    border-radius: 10px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.about-photo-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* FAQs Container */
.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-title {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #162f43 0%, #0d1e2b 100%);
    color: var(--white);
    padding: 3.5rem 2rem 2.8rem;
    text-align: center;
    margin-top: 5rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f45b82, #ff85a2, transparent);
    border-radius: 2px;
}

footer p {
    margin-bottom: 1rem;
}

footer .footer-tagline {
    color: #9bb0c1;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 0.6rem auto 1.5rem;
}

footer .footer-secondary {
    color: #aaa;
}

.footer-credit {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #9bb0c1;
}

.footer-credit .credit-label {
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.footer-credit .credit-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(244, 91, 130, 0.35);
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.footer-credit .credit-author .author-brand {
    color: #ffffff;
    letter-spacing: 0.3px;
}

.footer-credit .credit-author .author-brand span {
    color: #f45b82;
    transition: color 0.25s ease;
}

.footer-credit .credit-author i.fa-code {
    font-size: 0.82rem;
    color: #f45b82;
    transition: transform 0.25s ease;
}

.footer-credit .credit-author .credit-arrow {
    font-size: 0.75rem;
    color: #cbd5e1;
    transition: all 0.25s ease;
}

.footer-credit .credit-author:hover {
    background: rgba(244, 91, 130, 0.16);
    border-color: #f45b82;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 91, 130, 0.35);
    color: #ffffff;
}

.footer-credit .credit-author:hover .author-brand span {
    color: #ff7d9f;
}

.footer-credit .credit-author:hover i.fa-code {
    transform: scale(1.15);
    color: #ff7d9f;
}

.footer-credit .credit-author:hover .credit-arrow {
    transform: translate(2px, -2px);
    color: #ffffff;
}

/* ==========================================================================
   WhatsApp Floating Widget & Interactive Popup Chat Box
   ========================================================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
    font-family: inherit;
}

/* Floating Trigger Button */
.whatsapp-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38), 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    outline: none;
    user-select: none;
    animation: whatsapp-subtle-float 4.2s ease-in-out infinite;
}

.whatsapp-trigger-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid rgba(37, 211, 102, 0.65);
    opacity: 0;
    animation: whatsapp-subtle-wave 4.2s ease-out infinite;
    pointer-events: none;
}

.whatsapp-trigger-btn:hover {
    animation: none;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.48), 0 4px 10px rgba(0, 0, 0, 0.14);
    background: linear-gradient(135deg, #2ae06e 0%, #0f9e8a 100%);
}

.whatsapp-trigger-btn:hover::before {
    animation: none;
}

.whatsapp-trigger-btn:active {
    transform: translateY(-1px) scale(0.97);
}

.whatsapp-trigger-icon {
    position: relative;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.whatsapp-trigger-icon .icon-whatsapp {
    position: absolute;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-trigger-icon .icon-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg) scale(0.7);
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 1.15rem;
}

.whatsapp-widget.is-open .whatsapp-trigger-btn {
    animation: none;
    background: linear-gradient(135deg, #102a3a 0%, #16425b 100%);
    box-shadow: 0 6px 20px rgba(16, 42, 58, 0.4);
}

.whatsapp-widget.is-open .whatsapp-trigger-btn::before {
    display: none;
}

.whatsapp-widget.is-open .whatsapp-trigger-icon .icon-whatsapp {
    opacity: 0;
    transform: rotate(90deg) scale(0.7);
}

.whatsapp-widget.is-open .whatsapp-trigger-icon .icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.whatsapp-trigger-text {
    letter-spacing: 0.2px;
    font-weight: 600;
}

.whatsapp-trigger-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 20px;
    height: 20px;
    background: #f45b82;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(244, 91, 130, 0.5);
    animation: whatsapp-badge-pulse 2s infinite;
}

.whatsapp-widget.is-open .whatsapp-trigger-badge,
.whatsapp-widget.has-opened .whatsapp-trigger-badge {
    display: none !important;
}

@keyframes whatsapp-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

/* Chat Popup Box */
.whatsapp-chat-box {
    position: absolute;
    bottom: calc(100% + 14px);
    right: 0;
    width: 320px;
    max-width: calc(100vw - 28px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.94);
    transform-origin: bottom right;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

.whatsapp-widget.is-open .whatsapp-chat-box {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Header */
.chat-box__header {
    background: linear-gradient(135deg, #102a3a 0%, #16425b 100%);
    padding: 16px 18px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    border-bottom: 2px solid #f45b82;
}

.chat-box__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.chat-box__avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f45b82;
    font-size: 1.25rem;
}

.chat-box__online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #25d366;
    border: 2px solid #102a3a;
    border-radius: 50%;
}

.chat-box__info {
    flex: 1;
    min-width: 0;
}

.chat-box__name {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-box__badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 7px;
    background: rgba(244, 91, 130, 0.25);
    color: #ff85a2;
    border: 1px solid rgba(244, 91, 130, 0.4);
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.chat-box__status {
    margin: 3px 0 0;
    font-size: 0.76rem;
    color: #9bb0c1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-box__status .status-indicator {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #25d366;
    border-radius: 50%;
}

.chat-box__close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #cbd5e1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-box__close:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    transform: scale(1.08);
}

/* Body */
.chat-box__body {
    padding: 18px 16px;
    background: #f8fafc;
    background-image: radial-gradient(#cbd5e1 0.75px, transparent 0.75px);
    background-size: 12px 12px;
}

.chat-box__msg {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.chat-box__bubble {
    background: #ffffff;
    padding: 13px 15px 9px;
    border-radius: 4px 16px 16px 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    max-width: 92%;
    border-left: 3px solid #25d366;
}

.chat-box__bubble p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #1e293b;
    font-weight: 500;
}

.chat-box__time {
    display: block;
    margin-top: 6px;
    font-size: 0.68rem;
    color: #94a3b8;
    text-align: right;
}

/* Footer / CTA */
.chat-box__footer {
    padding: 12px 16px 16px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-box__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.chat-box__btn i {
    font-size: 1.2rem;
}

.chat-box__btn:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #ffffff !important;
}

/* Dark Mode support */
[data-theme="dark"] .whatsapp-chat-box {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .chat-box__body {
    background: #090e17;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.75px, transparent 0.75px);
    background-size: 12px 12px;
}

[data-theme="dark"] .chat-box__bubble {
    background: #16202e;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border-left-color: #25d366;
}

[data-theme="dark"] .chat-box__bubble p {
    color: #f1f5f9;
}

[data-theme="dark"] .chat-box__time {
    color: #64748b;
}

[data-theme="dark"] .chat-box__footer {
    background: #0f172a;
    border-top-color: rgba(255, 255, 255, 0.06);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 16px;
        right: 14px;
    }

    .whatsapp-trigger-btn {
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.42);
    }

    .whatsapp-trigger-text {
        display: none;
    }

    .whatsapp-trigger-icon {
        width: 24px;
        height: 24px;
        font-size: 1.45rem;
    }

    .whatsapp-trigger-badge {
        top: -2px;
        left: -2px;
        width: 17px;
        height: 17px;
        font-size: 0.65rem;
    }

    .whatsapp-chat-box {
        right: 0;
        width: calc(100vw - 28px);
        max-width: 320px;
        bottom: calc(100% + 12px);
    }

    footer {
        padding-bottom: 4.5rem;
    }
}

/* Subtle, organic floating micro-animations */
@keyframes whatsapp-subtle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    18% {
        transform: translateY(-5px) scale(1.03);
    }
    30% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-2.5px) scale(1.015);
    }
    52% {
        transform: translateY(0) scale(1);
    }
}

@keyframes whatsapp-subtle-wave {
    0%, 55% {
        transform: scale(0.95);
        opacity: 0;
    }
    68% {
        opacity: 0.75;
    }
    100% {
        transform: scale(1.38);
        opacity: 0;
    }
}

/* About page */
.about-main {
    padding-top: 2rem;
}

.about-page .navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

.about-page .navbar .brand {
    display: none;
}

.about-page .nav-container {
    justify-content: flex-end;
}

@media (min-width: 769px) {
    .about-page .nav-container {
        position: relative;
    }

    .about-page .nav-menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.about-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
    min-height: 475px;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5.5rem);
    border-radius: 24px;
    background: linear-gradient(120deg, #173a52 0%, #204c68 60%, #275673 100%);
    color: var(--white);
}

.about-hero::before,
.about-hero::after {
    position: absolute;
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.about-hero::before {
    width: 32rem;
    height: 32rem;
    top: -18rem;
    left: -11rem;
    background: rgba(224, 148, 159, 0.15);
}

.about-hero::after {
    width: 17rem;
    height: 17rem;
    right: 26%;
    bottom: -12rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.about-hero__content,
.about-portrait {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin-bottom: 0.85rem;
    color: var(--accent-dark);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-hero .eyebrow,
.about-cta .eyebrow {
    color: #f5b9c1;
}

.about-hero h1 {
    max-width: 650px;
    margin: 0 0 1.15rem;
    color: #556393;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.about-hero h1 span {
    color: #f0a8b2;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 500;
}

.about-hero__lead {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

.about-hero__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.about-hero .btn-primary,
.about-cta .btn-primary {
    background: #f1a4b0;
    color: #173a52;
}

.about-hero .btn-primary:hover,
.about-cta .btn-primary:hover {
    background: #fff;
}

.about-text-link {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.about-text-link span {
    display: inline-block;
    margin-left: 0.35rem;
    transition: transform 0.2s ease;
}

.about-text-link:hover span {
    transform: translateY(3px);
}

.about-portrait {
    display: grid;
    min-height: 330px;
    place-items: center;
}

.about-portrait__glow {
    position: absolute;
    width: min(100%, 348px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.24), transparent 38%), linear-gradient(135deg, rgba(233, 181, 191, 0.58), rgba(74, 132, 162, 0.72));
    box-shadow: 0 18px 40px rgba(4, 20, 31, 0.16);
}

.about-portrait__content {
    display: flex;
    width: 214px;
    height: 214px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: linear-gradient(145deg, #fce8e8, #f3cbcf);
    box-shadow: 0 22px 45px rgba(7, 22, 34, 0.28);
    color: var(--navy);
    font-size: 1.12rem;
    font-weight: 800;
}

.about-page .about-portrait__content {
    opacity: 0;
    transform: translateY(-1.2rem) scale(0.78);
}

.about-page.about-profile-ready .about-portrait__content {
    animation: about-profile-arrival 0.7s cubic-bezier(.22, 1, .36, 1) both;
}

.about-portrait__icon {
    margin-bottom: 0.3rem;
    font-size: 4.25rem;
}

.about-logo-target {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.65rem;
    color: var(--navy);
}

.about-logo-target .brand-logo {
    width: 2.35rem;
    height: 2.35rem;
}

.about-logo-target .clock {
    width: 2.2rem;
    height: 2.2rem;
    border-width: 0.28rem;
}

.about-logo-target .clock::after {
    width: 0.9rem;
    height: 0.2rem;
    right: -0.4rem;
    top: 0.18rem;
}

.about-logo-target .clock-hand.hour {
    width: 0.18rem;
    height: 0.62rem;
}

.about-logo-target .clock-hand.minute {
    width: 0.18rem;
    height: 0.84rem;
}

.about-logo-target .clock::before {
    width: 0.32rem;
    height: 0.32rem;
}

.about-logo-target .brand-name {
    font-size: 1.06rem;
    letter-spacing: -0.05em;
}

.about-logo-target .brand-content {
    align-items: flex-start;
}

.about-portrait__content small {
    color: var(--accent-dark);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes about-profile-arrival {
    0% {
        opacity: 0;
        transform: translateY(-1.2rem) scale(0.78);
    }

    65% {
        opacity: 1;
        transform: translateY(0.12rem) scale(1.04);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
}

.about-intro h2,
.about-section h2,
.about-connect h2,
.about-cta h2 {
    margin-bottom: 1.3rem;
    text-align: left;
}

.about-intro__copy>p:not(.eyebrow),
.about-connect>div>p:not(.eyebrow) {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.06rem;
}

.about-quote {
    position: relative;
    padding: 2.1rem 2rem 1.85rem;
    border-left: 4px solid var(--accent);
    border-radius: 0 14px 14px 0;
    background: #f8ebe8;
}

.about-quote__mark {
    position: absolute;
    top: -1.25rem;
    left: 1.25rem;
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
}

.about-quote p {
    color: var(--navy);
    font-family: Georgia, serif;
    font-size: 1.28rem;
    font-style: italic;
    line-height: 1.5;
}

.about-quote>span:last-child {
    display: block;
    margin-top: 1rem;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 800;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 4.5rem;
    border: 1px solid #eadeda;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-stats>div {
    display: flex;
    min-height: 120px;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 2rem;
}

.about-stats>div+div {
    border-left: 1px solid #eadeda;
}

.about-stats strong {
    color: var(--navy);
    font-size: 2.25rem;
    line-height: 1;
}

.about-stats strong span {
    color: var(--accent);
}

.about-stats>div>span {
    margin-top: 0.55rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.about-section {
    margin-bottom: 4.5rem;
}

.about-section>.eyebrow,
.about-section>h2 {
    text-align: center;
}

.about-credentials {
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.about-credentials .card {
    position: relative;
    overflow: hidden;
    border: 1px solid #eee3df;
}

.about-card__icon {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.5rem;
    place-items: center;
    border-radius: 10px;
    background: #f9e6e8;
    font-size: 1.55rem;
}

.about-credentials .features-list {
    margin-bottom: 0;
}

.about-section--soft {
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 20px;
    background: #f8eeeb;
}

.about-approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 2.5rem;
    border: 1px solid #eadbd6;
    border-radius: 12px;
    overflow: hidden;
}

.about-approach-grid article {
    min-height: 205px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.57);
}

.about-approach-grid article:nth-child(odd) {
    border-right: 1px solid #eadbd6;
}

.about-approach-grid article:nth-child(-n+2) {
    border-bottom: 1px solid #eadbd6;
}

.about-approach-grid article>span {
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.about-approach-grid h3 {
    margin: 0.5rem 0 0.6rem;
    color: var(--navy);
    font-size: 1.2rem;
}

.about-approach-grid p {
    color: var(--text-light);
}

.about-connect {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 3rem;
    margin-bottom: 4.5rem;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.linkedin-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid #d9e1e8;
    border-radius: 13px;
    background: #f7fafc;
    color: #173a52;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.linkedin-card:hover {
    border-color: #0a66c2;
    box-shadow: 0 12px 26px rgba(10, 102, 194, 0.13);
    transform: translateY(-4px);
}

.linkedin-card__icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 7px;
    background: #0a66c2;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.linkedin-card strong,
.linkedin-card small {
    display: block;
}

.linkedin-card small {
    margin-top: 0.18rem;
    color: #627483;
    font-size: 0.77rem;
}

.linkedin-card__arrow {
    margin-left: auto;
    color: #0a66c2;
    font-size: 1.5rem;
}

.linkedin-card--hero {
    width: min(100%, 390px);
    margin-top: 1.75rem;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.linkedin-card--hero:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(4, 20, 31, 0.25);
}

.linkedin-card--hero .linkedin-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    background: #fff;
    color: #0a66c2;
    font-size: 1.55rem;
}

.linkedin-card--hero small {
    color: rgba(255, 255, 255, 0.72);
}

.linkedin-card--hero .linkedin-card__arrow {
    color: var(--white);
}

/* ─────────────────────────────────────────────────── */
/* Audio / Voice Note Card                             */
/* ─────────────────────────────────────────────────── */
.audio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid #d9e1e8;
    border-radius: 14px;
    background: #f7fafc;
    color: #173a52;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.audio-card:hover {
    border-color: var(--accent, #E0949F);
    box-shadow: 0 12px 26px rgba(224, 148, 159, 0.2);
    transform: translateY(-3px);
}

.audio-card__icon {
    display: grid;
    width: 2.85rem;
    height: 2.85rem;
    place-items: center;
    border-radius: 50%;
    border: none;
    background: var(--accent, #E0949F);
    color: #ffffff;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(224, 148, 159, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.audio-card:hover .audio-card__icon {
    transform: scale(1.08);
}

/* Wave positioned in the top-right corner */
.audio-card__wave {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 22px;
    z-index: 2;
}

.audio-card__wave .bar {
    width: 3px;
    height: 6px;
    background: #f45b82;
    border-radius: 2px;
    transition: height 0.2s ease;
}

.audio-card.is-playing .audio-card__wave .bar {
    animation: soundWave 0.6s ease-in-out infinite alternate;
}

.audio-card.is-playing .audio-card__wave .bar:nth-child(1) {
    animation-delay: 0.0s;
}

.audio-card.is-playing .audio-card__wave .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.audio-card.is-playing .audio-card__wave .bar:nth-child(3) {
    animation-delay: 0.4s;
}

.audio-card.is-playing .audio-card__wave .bar:nth-child(4) {
    animation-delay: 0.1s;
}

@keyframes soundWave {
    0% {
        height: 4px;
    }

    100% {
        height: 20px;
    }
}

.audio-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.audio-card strong {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: inherit;
    display: block;
}

.audio-card small {
    color: #627483;
    font-size: 0.8rem;
    display: block;
}

.audio-card__right {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 0.15rem;
}

.audio-card__vol-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0.85rem;
    border-radius: 25px;
    box-sizing: border-box;
}

.audio-card__vol-btn {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    cursor: pointer;
    font-size: 0.95rem;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease;
}

.audio-card__vol-btn:hover {
    transform: scale(1.15);
}

.audio-card__vol-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.2);
    outline: none;
    cursor: pointer;
}

.audio-card__vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--accent, #E0949F);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}

.audio-card__vol-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.audio-card__vol-slider::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: none;
    background: var(--accent, #E0949F);
    cursor: pointer;
}

/* Hero Variant Matching About Page */
.audio-card--hero {
    width: min(100%, 390px);
    margin-top: 1.5rem;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.audio-card--hero:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 30px rgba(4, 20, 31, 0.25);
}

.audio-card--hero .audio-card__icon {
    background: #ffffff;
    color: #f45b82;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.audio-card--hero strong {
    color: #ffffff;
}

.audio-card--hero small {
    color: rgba(255, 255, 255, 0.78);
}

.audio-card--hero .audio-card__wave .bar {
    background: #ffffff;
}

.audio-card--hero .audio-card__vol-wrap {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.audio-card--hero .audio-card__vol-slider {
    background: rgba(255, 255, 255, 0.35);
}

.audio-card--hero .audio-card__vol-slider::-webkit-slider-thumb {
    background: #ffffff;
}

.audio-card--hero .audio-card__vol-slider::-moz-range-thumb {
    background: #ffffff;
}

.audio-card--hero.is-playing {
    border-color: rgba(244, 91, 130, 0.7);
    background: rgba(244, 91, 130, 0.18);
}

/* ─────────────────────────────────────────────────── */
/* Voice Card Wrapper & Cool Animated Curly Arrow     */
/* ─────────────────────────────────────────────────── */
.audio-card-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
}

.audio-card-wrapper .audio-card--hero {
    margin-top: 0;
    flex-shrink: 0;
}

.voice-arrow-pointer {
    position: absolute;
    left: 395px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
    z-index: 4;
    animation: arrowFloat 2.6s ease-in-out infinite;
}

.voice-arrow-text {
    font-family: 'Caveat', 'Segoe Script', cursive, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffd6dc;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 16px rgba(244, 91, 130, 0.5);
    transform: rotate(-6deg);
    margin-bottom: -12px;
    margin-left: 24px;
    letter-spacing: 0.03em;
    user-select: none;
}

.voice-curly-arrow {
    width: 140px;
    height: 110px;
    filter: drop-shadow(0 3px 12px rgba(244, 91, 130, 0.6));
    overflow: visible;
}

.voice-curly-arrow .arrow-path {
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    animation: drawArrow 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
}

.voice-curly-arrow .arrow-head {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawArrow 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards 1.3s;
}

@keyframes drawArrow {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes arrowFloat {

    0%,
    100% {
        transform: translateY(-50%) rotate(0deg);
    }

    50% {
        transform: translateY(-57%) rotate(-2deg);
    }
}

@media (max-width: 1100px) {
    .voice-arrow-pointer {
        left: 360px;
        transform: translateY(-50%) scale(0.85);
    }

    @keyframes arrowFloat {

        0%,
        100% {
            transform: translateY(-50%) scale(0.85) rotate(0deg);
        }

        50% {
            transform: translateY(-57%) scale(0.85) rotate(-2deg);
        }
    }
}

@media (max-width: 900px) {
    .voice-arrow-pointer {
        display: none;
    }
}

.about-cta {
    margin-bottom: 3rem;
    padding: 4.5rem 2rem;
    border-radius: 20px;
    background: linear-gradient(125deg, #173a52, #0f293b);
    text-align: center;
}

.about-cta h2,
.about-cta p {
    text-align: center;
}

.about-cta h2 {
    color: var(--white);
}

.about-cta>p:not(.eyebrow) {
    margin: -0.5rem 0 1.8rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .about-main {
        padding-top: 1rem;
    }

    .about-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 2.5rem 1.5rem;
    }

    .about-hero__actions {
        flex-wrap: wrap;
    }

    .about-portrait {
        min-height: 230px;
    }

    .about-portrait__glow {
        width: 245px;
    }

    .about-portrait__content {
        width: 175px;
        height: 175px;
    }

    .about-logo-target {
        gap: 0.3rem;
    }

    .about-logo-target .brand-logo {
        width: 2rem;
        height: 2rem;
    }

    .about-logo-target .clock {
        width: 1.85rem;
        height: 1.85rem;
    }

    .about-logo-target .brand-name {
        font-size: 0.88rem;
    }

    .about-intro,
    .about-connect {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        margin-bottom: 3rem;
    }

    .about-stats>div+div {
        border-top: 1px solid #eadeda;
        border-left: 0;
    }

    .about-approach-grid {
        grid-template-columns: 1fr;
    }

    .about-approach-grid article:nth-child(odd) {
        border-right: 0;
    }

    .about-approach-grid article:not(:last-child) {
        border-bottom: 1px solid #eadbd6;
    }

    .about-approach-grid article:nth-child(2) {
        border-bottom: 1px solid #eadbd6;
    }

    .about-connect {
        margin-bottom: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .about-page .about-portrait__content {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .whatsapp-btn,
    .whatsapp-btn:hover .whatsapp-icon,
    .whatsapp-btn:hover::before {
        animation: none;
        transition: none;
    }

    .whatsapp-btn:hover {
        transform: none;
    }
}

/* Button Group */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Dark Navy Card for How it Works */
.how-it-works-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent);
}

.how-it-works-card h3 {
    color: var(--text-dark);
}

.how-it-works-card p {
    color: #231b1b;
}

/* Feature List - Used in product cards */
.features-list-secondary li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    color: var(--text-light);
    position: relative;
}

.features-list-secondary li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Text styling utilities */
.text-light {
    color: var(--text-light);
}

.text-navy {
    color: var(--navy);
}

.text-accent {
    color: var(--accent);
}

.text-white {
    color: var(--white);
}

.text-muted {
    color: #aaa;
    font-size: 0.9rem;
}

/* Margin utilities */
.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

/* Centering utilities */
.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Warm, personal learning visual system */
:root {
    --navy: #264653;
    --dark-navy: #1f3b4d;
    --beige: #faf7f3;
    --light-gray: #e9e2db;
    --accent: #d9858e;
    --accent-dark: #bb6e79;
    --text-dark: #34445a;
    --text-light: #6f7480;
    --cyan: #93c5b5;
    --shadow: 0 6px 20px rgba(62, 57, 51, 0.08);
    --shadow-lg: 0 14px 30px rgba(62, 57, 51, 0.14);
}

body {
    background-image: none;
}

.navbar {
    background: rgba(255, 253, 251, 0.97);
    border-bottom: 1px solid var(--light-gray);
    padding: 1rem 0;
    backdrop-filter: none;
}

.navbar-image {
    opacity: 0.1;
    filter: none;
}

.nav-container {
    max-width: 1440px;
    gap: 1rem;
}

.logo {
    flex-shrink: 0;
}

.nav-menu {
    gap: 0.1rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.9rem;
    padding: 0.65rem 0.72rem;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: rgba(217, 133, 142, 0.09);
}

.nav-link.active::after {
    background: var(--accent);
}

.nav-cta {
    gap: 0.75rem;
    margin-left: 0;
    flex-shrink: 0;
}

.btn-primary,
.card-btn {
    background: var(--accent);
    border-radius: 7px;
}

.btn-primary {
    padding: 0.72rem 1.2rem;
    font-size: 0.85rem;
}

.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 7px 16px rgba(217, 133, 142, 0.26);
}

.btn-secondary {
    background: transparent;
    padding: 0.72rem 1.2rem;
    border: 1.5px solid var(--accent);
    color: var(--navy);
    border-radius: 7px;
    font-size: 0.85rem;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #ffffff;
}

.hero {
    background-color: #d7c4c4;
    background-image: radial-gradient(circle, rgba(143, 205, 137, 0.55) 1.5px, transparent 1.7px);
    background-position: 28px 78px;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    border: 1px solid rgba(24, 58, 82, 0.04);
    border-radius: 35px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 14px 30px rgba(31, 59, 77, 0.1);
}

.hero::before {
    position: absolute;
    z-index: -1;
    width: 330px;
    height: 330px;
    top: -175px;
    left: -115px;
    display: block;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(209, 239, 201, 0.96), rgba(236, 247, 231, 0.72));
    content: '';
    transform: rotate(-18deg);
}

.hero::after {
    position: absolute;
    z-index: -1;
    width: 390px;
    height: 310px;
    right: -175px;
    bottom: -180px;
    border-radius: 48% 52% 0 0;
    background: linear-gradient(135deg, rgba(255, 224, 229, 0.62), rgba(247, 192, 204, 0.8));
    content: '';
    transform: rotate(-23deg);
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero .accent-text {
    color: #b0db60;
}

@media (max-width: 768px) {
    .hero {
        background-position: 18px 60px;
    }

    .hero::before {
        width: 250px;
        height: 250px;
        top: -140px;
        left: -115px;
    }

    .hero::after {
        width: 265px;
        height: 220px;
        right: -140px;
        bottom: -145px;
    }
}

.card,
.testimonial {
    background: var(--white);
    border: 1px solid #eee8e2;
    border-radius: 12px;
    backdrop-filter: none;
}

.card:hover {
    border-color: rgba(217, 133, 142, 0.55);
}

.product-card,
form:not(.info-card form):not(#userForm) {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
}

/* Booking payment section */
.payment-section {
    background: var(--beige);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.payment-section h2 {
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
}

.payment-intro,
.payment-note {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

.payment-intro {
    margin-bottom: 1rem;
}

.payment-methods {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.payment-method {
    flex: 1;
    min-width: 180px;
    padding: 0.9rem 1.1rem;
    border: 2px solid var(--light-gray);
    border-radius: 9px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.payment-method__logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    vertical-align: middle;
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--accent);
    background: rgba(217, 133, 142, 0.1);
    color: var(--accent-dark);
}

.payment-method:hover {
    transform: translateY(-2px);
}

.payment-panel {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.payment-panel[hidden] {
    display: none;
}

.payment-panel-title {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.payment-number-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.payment-number {
    flex: 1;
    padding: 0.75rem;
    border: 1px dashed var(--accent);
    border-radius: 6px;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

.copy-payment-number {
    padding: 0.7rem 1rem;
    border: 1px solid var(--navy);
    border-radius: 6px;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.copy-payment-number:hover {
    background: var(--navy);
    color: var(--white);
}

.payment-steps {
    margin: 0 0 1.2rem 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

.payment-upload-label {
    display: block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#payment-screenshot {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    background: var(--beige);
}

.payment-note {
    margin-top: 0.9rem;
}

.booking-error {
    background: #fff1f2;
    border-left: 4px solid #c94e5c;
    color: #963541;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.white-section {
    background: var(--white);
    border: 1px solid #eee8e2;
    border-radius: 12px;
}

.navy-section {
    background: linear-gradient(135deg, #315967 0%, var(--dark-navy) 100%);
    border-radius: 12px;
}

.badge-recommended {
    background: var(--accent);
}

/* Learning-goal image cards */
.choice-card {
    padding-top: 0;
    overflow: hidden;
}

.choice-card-image {
    display: block;
    width: calc(100% + 4rem);
    height: 160px;
    margin: 0 -2rem 1.5rem;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border: none;
}

.choice-card .card-icon,
.choice-card h3,
.choice-card p,
.choice-card .card-btn {
    margin-left: 0;
    margin-right: 0;
}

.choice-card .card-icon {
    margin-top: 2rem;
}

@media (max-width: 1200px) and (min-width: 769px) {
    .nav-container {
        padding: 0 1.25rem;
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.55rem 0.48rem;
        font-size: 0.82rem;
    }

    .nav-cta {
        gap: 0.5rem;
    }

    .nav-cta .btn-primary,
    .nav-cta .btn-secondary {
        padding: 0.62rem 0.8rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    .choice-card-image {
        height: 145px;
    }

    .payment-method {
        min-width: 100%;
    }

    .payment-number-row {
        align-items: stretch;
        flex-direction: column;
    }

    .navbar {
        padding: 0.65rem 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0 1rem;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .clock {
        width: 36px;
        height: 36px;
        border-width: 4px;
    }

    .clock::after {
        width: 14px;
        height: 3px;
        right: -6px;
        top: 2px;
    }

    .clock-hand.hour {
        height: 10px;
        width: 3px;
    }

    .clock-hand.minute {
        height: 14px;
        width: 3px;
    }

    .brand-name {
        font-size: 24px;
    }

    .brand-tagline {
        display: none;
    }

    .nav-menu {
        display: flex;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-link {
        padding: 0.4rem 0.85rem;
        font-size: 0.88rem;
        border-radius: 20px;
    }

    .nav-cta {
        margin-left: 0;
        width: 100%;
        display: grid;
        grid-template-columns: auto 1fr 1fr;
        gap: 0.5rem;
        align-items: center;
    }

    .theme-toggle {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1rem;
        margin-right: 0;
    }

    .nav-cta .btn-primary,
    .nav-cta .btn-secondary {
        width: 100%;
        padding: 0.58rem 0.5rem;
        font-size: 0.82rem;
        text-align: center;
        white-space: nowrap;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Intro, mobile navigation and scroll-to-top controls */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    isolation: isolate;
    background: transparent;
    transition: opacity 0.42s ease, visibility 0.42s ease;
}

.site-loader::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #fffdfb 0%, #f7ece8 100%);
    content: '';
    transition: opacity 0.46s ease;
}

.site-loader--leaving {
    opacity: 0;
    visibility: hidden;
}

body.is-loading {
    overflow: hidden;
}

.site-loader__logo {
    display: flex;
    align-items: center;
    gap: clamp(0.7rem, 2vw, 1.2rem);
    max-width: calc(100vw - 2.5rem);
    animation: loader-brand-reveal 0.8s cubic-bezier(.22, 1, .36, 1) both;
    position: relative;
    z-index: 1;
}

body.is-loading .navbar .brand {
    opacity: 0;
    visibility: hidden;
}

.site-loader--transitioning {
    pointer-events: none;
}

.site-loader--transitioning::before {
    opacity: 0;
}

.site-loader--transitioning .site-loader__logo {
    transition: transform 0.62s cubic-bezier(.22, 1, .36, 1);
}

.site-loader__logo .brand-logo {
    width: clamp(3rem, 7vw, 4.3rem);
    height: clamp(3rem, 7vw, 4.3rem);
}

.site-loader__logo .clock {
    width: clamp(2.75rem, 6.5vw, 4rem);
    height: clamp(2.75rem, 6.5vw, 4rem);
    border-width: clamp(0.28rem, 0.7vw, 0.45rem);
}

.site-loader__logo .clock-hand.hour {
    height: clamp(0.8rem, 1.8vw, 1.2rem);
}

.site-loader__logo .clock-hand.minute {
    height: clamp(1.05rem, 2.4vw, 1.55rem);
}

.site-loader__logo .brand-name {
    font-size: clamp(1.85rem, 5vw, 3.55rem);
    width: 0;
    overflow: hidden;
    border-right: 2px solid var(--accent);
    white-space: nowrap;
    animation: loader-type 0.85s steps(14, end) 0.1s forwards, loader-caret 0.65s step-end 2;
}

.site-loader__logo .brand-tagline {
    margin-top: clamp(0.3rem, 1vw, 0.55rem);
    font-size: clamp(0.7rem, 1.75vw, 1rem);
    opacity: 0;
    animation: loader-tagline 0.3s ease 0.82s forwards;
}

.logo--intro {
    animation: navbar-logo-reveal 0.55s cubic-bezier(.22, 1, .36, 1) both;
}

.scroll-to-top {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy, #162c46) 0%, #224268 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(22, 44, 70, 0.28), 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(1.2rem) scale(0.82);
    transition:
        opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1),
        visibility 0.35s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
    will-change: transform, opacity;
}

.scroll-to-top--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #e08b94 0%, #c86f7a 100%);
    box-shadow: 0 8px 24px rgba(217, 133, 142, 0.45), 0 3px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px) scale(1.06);
}

.scroll-to-top:active {
    transform: translateY(-1px) scale(0.94);
    box-shadow: 0 4px 12px rgba(217, 133, 142, 0.35);
    transition-duration: 0.1s;
}

.scroll-to-top:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.scroll-to-top svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: #ffffff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-to-top:hover svg {
    animation: scroll-arrow-up 0.6s ease-in-out infinite alternate;
}

@keyframes scroll-arrow-up {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-3px);
    }
}

.whatsapp-icon i {
    font-size: 22px;
}

@keyframes loader-brand-reveal {
    from {
        opacity: 0;
        transform: translateY(0.6rem) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes navbar-logo-reveal {
    from {
        opacity: 0;
        transform: translateY(-0.7rem) scale(1.08);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .navbar {
        transform: translateY(0);
        opacity: 1;
        transition: transform 0.36s cubic-bezier(.22, 1, .36, 1), opacity 0.28s ease;
        will-change: transform, opacity;
    }

    .navbar.navbar--hidden {
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
    }

    .scroll-to-top {
        left: 1rem;
        bottom: 1rem;
        width: 2.8rem;
        height: 2.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .site-loader,
    .site-loader__logo,
    .logo--intro,
    .navbar,
    .scroll-to-top {
        animation: none;
        transition-duration: 0.01ms;
    }

    .site-loader__logo .brand-name {
        width: 13.5ch;
        border-right: 0;
        animation: none;
    }

    .site-loader__logo .brand-tagline {
        opacity: 1;
        animation: none;
    }
}

.product-card {
    position: relative;
    overflow: visible;
}

.custom-select {
    position: relative;
    width: 100%;
}

.dropdown {
    position: relative;
    width: 100%;
}

/* Dropdown button */
.dropdown summary {
    list-style: none;
    cursor: pointer;
    position: relative;

    width: 100%;
    padding: 0.8rem 1rem;

    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 6px;

    font-size: 1rem;
    color: inherit;

    user-select: none;
}

/* Remove default arrow */
.dropdown summary::-webkit-details-marker {
    display: none;
}

.dropdown summary::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #777;
    border-bottom: 2px solid #777;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
    pointer-events: none;
}

/* Arrow when opened */
.dropdown[open] summary::after {
    transform: translateY(-25%) rotate(-135deg);
}

/* Dropdown menu */
/* Main dropdown panel — direct child ul only */
.dropdown>ul {
    position: absolute;

    top: calc(100% + 6px);
    left: 0;

    width: 100%;

    margin: 0;
    padding: 6px;

    list-style: none;

    background: #ffffff;

    border: 1px solid #c9959d;
    border-radius: 10px;

    max-height: 320px;
    overflow-y: auto;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

    z-index: 999999;
}

/* Dropdown category header */
.dropdown .dropdown-category-title {
    padding: 10px 12px 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy);
    background: #fbf3f4;
    border-radius: 6px;
    margin: 8px 0 4px 0;
    pointer-events: none;
    user-select: none;
    border-left: 3px solid var(--accent);
}

.dropdown .dropdown-category-title:first-child {
    margin-top: 0;
}

/* Dropdown items */
.dropdown li {
    margin: 0;
    padding: 0;
}

.dropdown label {
    display: block;

    padding: 10px 12px;

    border-radius: 7px;

    cursor: pointer;

    color: #333;
    font-size: 16px;

    transition: background-color 0.15s ease;
}

.dropdown label:hover {
    background: #f7eeee;
}

/* Radio buttons */
.dropdown input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@keyframes loader-type {
    to {
        width: 13.5ch;
    }
}

@keyframes loader-caret {
    50% {
        border-color: transparent;
    }
}

@keyframes loader-tagline {
    to {
        opacity: 1;
    }
}

/* Selected option */
.dropdown label.is-selected {
    background: #d9858e;
    color: var(--white);
    font-weight: 600;
}

.dropdown label.is-selected:hover {
    background: #c6737d;
}

.dropdown label:has(input[type="radio"]:focus-visible) {
    outline: 3px solid rgba(217, 133, 142, 0.45);
    outline-offset: -3px;
}

/* Scrollbar — main list only */
.dropdown>ul::-webkit-scrollbar {
    width: 8px;
}

.dropdown>ul::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown>ul::-webkit-scrollbar-thumb {
    background: #c8c8c8;
    border-radius: 10px;
}

.dropdown>ul::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa;
}

/* ─────────────────────────────────────────────────── */
/* Nested / Sub-topic Styles                           */
/* ─────────────────────────────────────────────────── */

/* Parent row that triggers expand */
.topic-parent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 12px;
    border-radius: 7px;
    cursor: pointer;

    color: #333;
    font-size: 16px;
    font-weight: 500;

    transition: background-color 0.15s ease;
    user-select: none;
}

.topic-parent-row:hover {
    background: #f7eeee;
}

.topic-parent-row:focus-visible {
    outline: 3px solid rgba(217, 133, 142, 0.45);
    outline-offset: -3px;
}

/* Expand arrow — rotates when open */
.topic-expand-arrow {
    font-size: 18px;
    font-weight: 400;
    color: #c09095;
    transition: transform 0.25s ease;
    line-height: 1;
    flex-shrink: 0;
}

.topic-parent-item[data-expanded="true"]>.topic-parent-row .topic-expand-arrow {
    transform: rotate(90deg);
    color: var(--accent);
}

/* Highlight parent row when expanded */
.topic-parent-item[data-expanded="true"]>.topic-parent-row {
    background: rgba(224, 148, 159, 0.08);
    color: var(--accent-dark);
    font-weight: 600;
}

/* Sub-list container — inline accordion, 0.25s animation */
.topic-sub-list {
    position: static !important;
    max-height: 0;
    overflow: hidden !important;
    transition: max-height 0.25s ease;

    margin: 0;
    padding: 0;
    list-style: none;

    /* Reset any inherited dropdown ul styles */
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    top: auto;
    left: auto;
    width: auto;
    z-index: auto;
}

/* Sub-item labels */
.topic-sub-list label {
    display: block;
    padding: 8px 12px 8px 30px;
    border-radius: 6px;
    cursor: pointer;
    color: #555;
    font-size: 14.5px;
    position: relative;
    transition: background-color 0.15s ease;
}

.topic-sub-list label::before {
    content: '›';
    position: absolute;
    left: 16px;
    color: #c09095;
    font-size: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.topic-sub-list label:hover {
    background: #f7eeee;
    color: #333;
}

.topic-sub-list label.is-selected {
    background: #d9858e;
    color: #ffffff;
    font-weight: 600;
}

.topic-sub-list label.is-selected::before {
    content: '✓';
    color: #ffffff;
}

.topic-sub-list label.is-selected:hover {
    background: #c6737d;
}

/* ─── Dark Mode ─── */
[data-theme="dark"] .topic-parent-row {
    color: #e2e5ec;
}

[data-theme="dark"] .topic-parent-row:hover {
    background: #262934;
}

[data-theme="dark"] .topic-parent-item[data-expanded="true"]>.topic-parent-row {
    background: rgba(244, 91, 130, 0.12);
    color: #f45b82;
}

[data-theme="dark"] .topic-expand-arrow {
    color: #7a6070;
}

[data-theme="dark"] .topic-parent-item[data-expanded="true"]>.topic-parent-row .topic-expand-arrow {
    color: #f45b82;
}

[data-theme="dark"] .topic-sub-list label {
    color: #a1a5b3;
}

[data-theme="dark"] .topic-sub-list label::before {
    color: #7a6070;
}

[data-theme="dark"] .topic-sub-list label:hover {
    background: #262934;
    color: #e2e5ec;
}

/* ==========================================================================
   DYNAMIC BOOKING PRICE CARD
   ========================================================================== */
.booking-price-card {
    margin-top: 1rem;
    padding: 1.25rem 1.4rem;
    background: linear-gradient(135deg, rgba(224, 148, 159, 0.08) 0%, rgba(26, 58, 82, 0.04) 100%);
    border: 1.5px solid rgba(224, 148, 159, 0.35);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    animation: priceCardSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
}

@keyframes priceCardSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.booking-price-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--navy);
    background: rgba(26, 58, 82, 0.08);
    padding: 3px 9px;
    border-radius: 6px;
    width: fit-content;
}

.booking-price-topic-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.35;
}

.booking-price-amount-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.booking-price-current {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--accent-dark);
    line-height: 1;
}

.booking-price-original {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: line-through;
}

.booking-price-discount {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(244, 91, 130, 0.14);
    color: var(--accent);
    border: 1px solid rgba(244, 91, 130, 0.3);
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.booking-price-footer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(224, 148, 159, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.booking-price-savings {
    font-weight: 600;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

[data-theme="dark"] .booking-price-card {
    background: linear-gradient(135deg, rgba(244, 91, 130, 0.12) 0%, rgba(26, 31, 46, 0.5) 100%);
    border-color: rgba(244, 91, 130, 0.3);
}

[data-theme="dark"] .booking-price-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

[data-theme="dark"] .booking-price-topic-title {
    color: #f3f4f6;
}

[data-theme="dark"] .booking-price-current {
    color: #f45b82;
}

[data-theme="dark"] .booking-price-original {
    color: #7e879d;
}

[data-theme="dark"] .booking-price-discount {
    background: rgba(244, 91, 130, 0.22);
    color: #ff7597;
    border-color: rgba(244, 91, 130, 0.45);
}

[data-theme="dark"] .booking-price-footer {
    border-top-color: rgba(244, 91, 130, 0.25);
    color: #94a3b8;
}

[data-theme="dark"] .booking-price-savings {
    color: #34d399;
}

/* ==========================================================================
   SERVICES CARDS LANGUAGE TOGGLE
   ========================================================================== */
.services-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.services-header-title h2 {
    margin-bottom: 0.35rem;
}

.cards-lang-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(26, 58, 82, 0.06);
    border: 1.5px solid rgba(224, 148, 159, 0.35);
    padding: 4px;
    border-radius: 999px;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cards-lang-btn {
    border: none;
    background: transparent;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cards-lang-btn:hover {
    color: var(--accent-dark);
}

.cards-lang-btn.active {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(224, 148, 159, 0.4);
}

[data-theme="dark"] .cards-lang-toggle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(244, 91, 130, 0.35);
}

[data-theme="dark"] .cards-lang-btn {
    color: #cbd5e1;
}

[data-theme="dark"] .cards-lang-btn.active {
    background: #f45b82;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(244, 91, 130, 0.45);
}

/* Service Card RTL & Text Styling when in Arabic */
.choice-card[data-card-lang="ar"] {
    text-align: right;
    direction: rtl;
}

.choice-card[data-card-lang="ar"] .card-title,
.choice-card[data-card-lang="ar"] .card-subtitle,
.choice-card[data-card-lang="ar"] .card-desc,
.choice-card[data-card-lang="ar"] h3,
.choice-card[data-card-lang="ar"] h5,
.choice-card[data-card-lang="ar"] p {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* Fix Level Test illustration in Arabic: shift image inward with clean breathing room */
.choice-card[data-card-lang="ar"] .choice-image-wrapper {
    left: -70px;
}

.choice-card[data-card-lang="ar"] .choice-image-wrapper .choice-card-image {
    transform: translateX(-50%) scaleX(-1);
}

.choice-card[data-card-lang="ar"] .speaking-test-title {
    text-align: right;
}

.choice-card[data-card-lang="ar"] .home-level-card__meet-link {
    direction: ltr;
}

@media (max-width: 768px) {
    .services-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .choice-card[data-card-lang="ar"] .choice-image-wrapper {
        left: -50px;
    }
}

.footer-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: #e7e7e7;
    white-space: nowrap;
}

.footer-name span {
    color: #f45b82;
    font-style: italic;
    font-weight: 500;
}

/* ==========================================================================
   THEME TOGGLE BUTTON & DARK MODE OVERRIDES
   ========================================================================== */

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: #000000;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, background-color 0.28s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
    margin-right: 0.25rem;
    padding: 0;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
    width: 17px;
    height: 17px;
    fill: #ffffff;
}

/* Smooth Theme Transition */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease !important;
    transition-delay: 0s !important;
}

/* Dark Mode Active Styles - Luxury Obsidian / Charcoal Palette */
[data-theme="dark"] body {
    background-color: #0f1015;
    color: #f3f4f6;
}

[data-theme="dark"] .navbar {
    background: rgba(18, 19, 25, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav-link {
    color: #cbd5e1;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: #f45b82;
}

[data-theme="dark"] .theme-toggle {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.28) !important;
}

[data-theme="dark"] .theme-toggle:hover {
    background: #f0f0f0 !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.42) !important;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
    width: 19px;
    height: 19px;
    stroke: #000000;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #111319 0%, #1a1c24 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .hero h1 {
    color: #ffffff;
}

[data-theme="dark"] .hero p {
    color: #a1a5b3;
}

[data-theme="dark"] .white-section {
    background: #14151b;
    color: #f3f4f6;
}

[data-theme="dark"] .product-card,
[data-theme="dark"] .card,
[data-theme="dark"] .quiz-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .resource-card,
[data-theme="dark"] .level-card,
[data-theme="dark"] .about-approach-grid article,
[data-theme="dark"] form.white-section {
    background: #191b22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #f3f4f6;
}

[data-theme="dark"] .product-card h3,
[data-theme="dark"] .card h3,
[data-theme="dark"] .faq-title,
[data-theme="dark"] .section-padding h2,
[data-theme="dark"] form h2 {
    color: #ffffff;
}

[data-theme="dark"] .product-card p,
[data-theme="dark"] .card p,
[data-theme="dark"] .faq-item p,
[data-theme="dark"] .features-list li,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .about-approach-grid article p {
    color: #aeb3c2;
}

/* Choice Card (Find Your Level) in Dark Mode */
[data-theme="dark"] .choice-card {
    background: #191b22;
}

[data-theme="dark"] .choice-card-image {
    background: transparent !important;
    border-bottom: none !important;
}

[data-theme="dark"] .choice-card h3 {
    color: #ffffff !important;
}

[data-theme="dark"] .choice-card h5 {
    color: #aeb3c2 !important;
}

[data-theme="dark"] .choice-card p {
    color: #aeb3c2 !important;
}

[data-theme="dark"] .speaking-test-box {
    border-top-color: rgba(142, 104, 232, 0.35) !important;
}

[data-theme="dark"] .speaking-test-title h4 {
    color: #ffffff !important;
}

[data-theme="dark"] .speaking-test-title p {
    color: #aeb3c2 !important;
}

[data-theme="dark"] .speaking-test-title>i {
    color: #a78bfa !important;
}

[data-theme="dark"] .home-level-card__meet-link {
    background: #5b36b6;
    color: #ffffff;
}

[data-theme="dark"] .home-level-card__meet-link:hover {
    background: #4d2da0;
}

[data-theme="dark"] .home-level-card__meet-link b {
    background: #ffffff;
    color: #222222;
}

[data-theme="dark"] .dropdown summary {
    background: #191b22;
    border-color: #353845;
    color: #f3f4f6;
}

[data-theme="dark"] .dropdown summary::after {
    border-color: #cbd5e1;
}

[data-theme="dark"] .dropdown>ul {
    background: #191b22;
    border-color: #353845;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .dropdown .dropdown-category-title {
    background: #121318;
    color: #f45b82;
    border-left-color: #f45b82;
}

[data-theme="dark"] .dropdown label {
    color: #e2e5ec;
}

[data-theme="dark"] .dropdown label:hover {
    background: #262934;
}

[data-theme="dark"] .dropdown label.is-selected {
    background: #d9858e;
    color: #ffffff;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: #191b22 !important;
    color: #ffffff !important;
    border-color: #353845 !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #6d7280;
}

[data-theme="dark"] label {
    color: #e2e5ec !important;
}

[data-theme="dark"] .btn-primary,
[data-theme="dark"] .card-btn,
[data-theme="dark"] .comic-button,
[data-theme="dark"] .step-number,
[data-theme="dark"] .whatsapp-btn {
    color: #ffffff !important;
}

[data-theme="dark"] .btn-secondary {
    border-color: rgba(244, 91, 130, 0.7) !important;
    color: #ffffff !important;
    background: transparent !important;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #f45b82 !important;
    color: #ffffff !important;
    border-color: #f45b82 !important;
    box-shadow: 0 6px 16px rgba(244, 91, 130, 0.35) !important;
}

[data-theme="dark"] .payment-section {
    background: #14151b !important;
    border-color: #2c2f3b !important;
    color: #f3f4f6;
}

[data-theme="dark"] .payment-section h2 {
    color: #ffffff !important;
}

[data-theme="dark"] .payment-intro,
[data-theme="dark"] .payment-note {
    color: #aeb3c2 !important;
}

[data-theme="dark"] .payment-panel {
    background: #121318;
    border-color: #353845;
    color: #f3f4f6;
}

[data-theme="dark"] .payment-panel-title {
    color: #f3f4f6;
}

[data-theme="dark"] .payment-panel-title strong {
    color: #f45b82;
}

[data-theme="dark"] .payment-method {
    background: #191b22;
    border-color: #353845;
    color: #f3f4f6;
}

[data-theme="dark"] .payment-method.active {
    background: #d9858e;
    color: #ffffff;
    border-color: #d9858e;
}

[data-theme="dark"] .payment-number-row {
    background: #191b22;
    border-color: #353845;
}

[data-theme="dark"] .payment-number {
    color: #f45b82;
}

[data-theme="dark"] .copy-payment-number {
    background: #252833;
    border: 1px solid #353845;
    color: #f3f4f6;
}

[data-theme="dark"] .copy-payment-number:hover {
    background: #f45b82;
    color: #ffffff;
    border-color: #f45b82;
}

[data-theme="dark"] .payment-steps li {
    color: #cbd5e1;
}

[data-theme="dark"] .payment-upload-label {
    background: #191b22;
    border-color: #3d4253;
    color: #f3f4f6;
}

[data-theme="dark"] .payment-upload-label:hover {
    border-color: #f45b82;
    background: #222530;
}

[data-theme="dark"] footer {
    background: #090a0d;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .navy-section {
    background: #101117;
}

/* Brand Logo & Name in Dark Mode */
[data-theme="dark"] .brand-name {
    color: #000000 !important;
}

[data-theme="dark"] .brand-name span {
    color: #f45b82 !important;
}

[data-theme="dark"] .brand-tagline {
    color: #ff6b8b !important;
}

[data-theme="dark"] .clock {
    border-color: #f45b82 !important;
}

[data-theme="dark"] .clock::after,
[data-theme="dark"] .clock-hand,
[data-theme="dark"] .clock::before {
    background: #f45b82 !important;
}

/* Site Loader in Dark Mode */
[data-theme="dark"] .site-loader::before {
    background: linear-gradient(135deg, #0f1015 0%, #191b22 100%) !important;
}

[data-theme="dark"] .site-loader__logo .brand-name {
    color: #ffffff !important;
    border-right-color: #f45b82 !important;
}

[data-theme="dark"] .site-loader__logo .brand-name span {
    color: #f45b82 !important;
}

[data-theme="dark"] .site-loader__logo .brand-tagline {
    color: #ff6b8b !important;
}

/* Footer Brand */
[data-theme="dark"] footer {
    background: linear-gradient(180deg, #0d0f14 0%, #06070a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] footer::before {
    background: linear-gradient(90deg, transparent, #f45b82, #ff6b8b, transparent);
}

[data-theme="dark"] .footer-name {
    color: #ffffff !important;
}

[data-theme="dark"] .footer-name span {
    color: #f45b82 !important;
}

[data-theme="dark"] footer .footer-tagline {
    color: #64748b;
}

[data-theme="dark"] .footer-credit {
    border-top-color: rgba(255, 255, 255, 0.06);
    color: #64748b;
}

[data-theme="dark"] .footer-credit .credit-label {
    color: #94a3b8;
}

[data-theme="dark"] .footer-credit .credit-author {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(244, 91, 130, 0.3);
    color: #f1f5f9;
}

[data-theme="dark"] .footer-credit .credit-author:hover {
    background: rgba(244, 91, 130, 0.2);
    border-color: #f45b82;
    box-shadow: 0 0 25px rgba(244, 91, 130, 0.45);
}

[data-theme="dark"] .btn-secondary {
    border-color: #f45b82;
    color: #f8fafc;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #f45b82;
    color: #ffffff;
}

/* ==========================================================================
   ABOUT PAGE DARK MODE ENHANCEMENTS
   ========================================================================== */

[data-theme="dark"] .about-page .navbar {
    background: rgba(18, 19, 25, 0.94) !important;
}

[data-theme="dark"] .about-hero {
    background: linear-gradient(120deg, #101217 0%, #171b24 60%, #12141c 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .about-section--soft {
    background: #14151b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .about-section--soft h2,
[data-theme="dark"] #teaching-title {
    color: #ffffff !important;
}

[data-theme="dark"] .about-section--soft .eyebrow {
    color: #f45b82 !important;
}

[data-theme="dark"] .about-approach-grid {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #14151b !important;
    border-radius: 12px;
}

[data-theme="dark"] .about-approach-grid article {
    background: #191b22 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .about-approach-grid article:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .about-approach-grid article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .about-approach-grid article>span {
    color: #f45b82 !important;
    font-weight: 800;
}

[data-theme="dark"] .about-approach-grid article h3 {
    color: #ffffff !important;
}

[data-theme="dark"] .about-approach-grid article p {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .about-quote {
    background: #191b22 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 4px solid #f45b82 !important;
}

[data-theme="dark"] .about-quote p {
    color: #f3f4f6 !important;
}

[data-theme="dark"] .about-quote>span:last-child {
    color: #ff7597 !important;
}

[data-theme="dark"] .about-quote__mark {
    color: rgba(244, 91, 130, 0.35) !important;
}

[data-theme="dark"] .about-stats {
    background: #191b22 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .about-stats>div+div {
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .about-stats strong {
    color: #ffffff !important;
}

[data-theme="dark"] .about-stats>div>span {
    color: #aeb3c2 !important;
}

[data-theme="dark"] .about-credentials .card {
    background: #191b22 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .about-credentials .card h3 {
    color: #ffffff !important;
}

[data-theme="dark"] .about-card__icon {
    background: rgba(244, 91, 130, 0.16) !important;
    color: #f45b82 !important;
}

[data-theme="dark"] .about-connect {
    background: #14151b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .about-connect h2 {
    color: #ffffff !important;
}

[data-theme="dark"] .about-intro__copy>p:not(.eyebrow),
[data-theme="dark"] .about-connect>div>p:not(.eyebrow) {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .linkedin-card,
[data-theme="dark"] .audio-card {
    background: #191b22 !important;
    border: 1px solid #353845 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .linkedin-card strong,
[data-theme="dark"] .audio-card strong {
    color: #ffffff !important;
}

[data-theme="dark"] .linkedin-card small,
[data-theme="dark"] .audio-card small {
    color: #aeb3c2 !important;
}

[data-theme="dark"] .about-cta {
    background: linear-gradient(135deg, #101218 0%, #191c26 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .about-cta h2 {
    color: #ffffff !important;
}

[data-theme="dark"] .about-cta p {
    color: #cbd5e1 !important;
}

/* ==========================================================================
   PRODUCTS & PACKAGES DARK MODE
   ========================================================================== */

[data-theme="dark"] .product-price {
    color: #f45b82 !important;
}

[data-theme="dark"] .product-price .old-price {
    color: #7e879d !important;
}

[data-theme="dark"] .product-price .discount-badge {
    background: rgba(244, 91, 130, 0.2) !important;
    color: #ff7597 !important;
    border-color: rgba(244, 91, 130, 0.4) !important;
}

[data-theme="dark"] .product-level {
    background: rgba(244, 91, 130, 0.16) !important;
    color: #ff7597 !important;
}

[data-theme="dark"] .product-duration {
    color: #aeb3c2 !important;
}

[data-theme="dark"] .badge-recommended {
    background: #f45b82 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   PLACEMENT TEST & QUIZ DARK MODE
   ========================================================================== */

[data-theme="dark"] .option-label {
    background: #191b22 !important;
    border-color: #353845 !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .option-label:hover {
    border-color: #f45b82 !important;
    background: rgba(244, 91, 130, 0.12) !important;
}

[data-theme="dark"] .option-label.selected {
    border-color: #f45b82 !important;
    background: rgba(244, 91, 130, 0.2) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .question-title {
    color: #ffffff !important;
}

[data-theme="dark"] .question-meta {
    color: #f45b82 !important;
}

[data-theme="dark"] .progress-track {
    background: #252834 !important;
}

[data-theme="dark"] .progress-bar {
    background: #f45b82 !important;
}

[data-theme="dark"] .breakdown-item {
    background: #191b22 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .breakdown-item strong {
    color: #ffffff !important;
}

[data-theme="dark"] .breakdown-item span {
    color: #aeb3c2 !important;
}

[data-theme="dark"] #resultDescription {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .level-pill {
    background: rgba(244, 91, 130, 0.2) !important;
    color: #ff7597 !important;
}

/* ==========================================================================
   HOMEPAGE & GENERAL COMPONENTS DARK MODE
   ========================================================================== */

[data-theme="dark"] .how-it-works-card {
    background: #191b22 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .how-it-works-card h3 {
    color: #ffffff !important;
}

[data-theme="dark"] .how-it-works-card p {
    color: #aeb3c2 !important;
}

[data-theme="dark"] .tab {
    color: #aeb3c2 !important;
    border-bottom-color: transparent !important;
}

[data-theme="dark"] .tab:hover {
    color: #f45b82 !important;
}

[data-theme="dark"] .tab.active {
    color: #f45b82 !important;
    border-bottom-color: #f45b82 !important;
}

[data-theme="dark"] .tabs {
    border-bottom-color: #2c2f3b !important;
}

[data-theme="dark"] .about-photo {
    background: #191b22 !important;
    color: #aeb3c2 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .final-cta {
    background: linear-gradient(135deg, #101217 0%, #191c25 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   RESPONSIVE SYSTEM — Full Breakpoint Coverage
   ========================================================================== */

/* ── 1100px: Large tablet / small laptop ─────────────────────────────────── */
@media (max-width: 1100px) {

    .container,
    .nav-container {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .section-padding {
        padding: 3rem 1.5rem;
    }

    .hero {
        padding: 4.5rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .about-hero {
        padding: 3rem 1.5rem;
    }
}

/* ── 900px: Tablet landscape ─────────────────────────────────────────────── */
@media (max-width: 900px) {

    .container,
    .nav-container {
        padding: 0 1.25rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.95rem;
    }

    .section-padding {
        padding: 2.5rem 1.25rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.25rem;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1.25rem;
    }

    .about-intro,
    .about-connect {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .payment-methods {
        flex-direction: column;
    }

    .payment-method {
        min-width: unset;
        width: 100%;
    }
}

/* ── 768px: Tablet portrait — reinforcing existing ───────────────────────── */
@media (max-width: 768px) {

    .container,
    .nav-container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 2rem 1rem;
    }

    .hero {
        padding: 3rem 1rem;
        margin-bottom: 2rem;
        border-radius: 8px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card,
    .card {
        padding: 1.5rem;
    }

    .dropdown>ul {
        max-height: 260px;
    }

    .topic-sub-list label {
        font-size: 14px;
        padding: 7px 10px 7px 26px;
    }

    .topic-parent-row {
        font-size: 15px;
        padding: 9px 10px;
    }

    .payment-section {
        padding: 1.25rem;
    }

    .white-section {
        padding: 1.5rem 1rem;
    }

    .footer-name {
        font-size: 26px;
    }
}

/* ── 640px: Mobile landscape / small tablet ──────────────────────────────── */
@media (max-width: 640px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        padding: 0 0.75rem;
    }

    .brand {
        justify-content: center;
    }

    .brand-tagline {
        display: none;
    }

    .brand-name {
        font-size: 22px;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
    }

    .clock {
        width: 32px;
        height: 32px;
        border-width: 4px;
    }

    .nav-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.25rem;
        margin: 0;
        padding: 0;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
        border-radius: 16px;
    }

    .nav-cta {
        display: grid;
        grid-template-columns: auto 1fr 1fr;
        gap: 0.4rem;
        margin-left: 0;
        width: 100%;
    }

    .nav-cta .btn-primary,
    .nav-cta .btn-secondary {
        font-size: 0.78rem;
        padding: 0.5rem 0.4rem;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .hero {
        padding: 2.5rem 0.85rem;
        border-radius: 6px;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }

    .product-card {
        padding: 1.25rem;
    }

    .product-card h3 {
        font-size: 1.15rem;
    }

    .dropdown>ul {
        max-height: 240px;
        border-radius: 8px;
    }

    .dropdown summary {
        font-size: 0.92rem;
        padding: 0.7rem 0.85rem;
    }

    .topic-parent-row {
        font-size: 14px;
        padding: 8px 10px;
    }

    .topic-expand-arrow {
        font-size: 16px;
    }

    .topic-sub-list label {
        font-size: 13px;
        padding: 6px 10px 6px 24px;
    }

    .topic-sub-list label::before {
        left: 12px;
    }

    .booking-error {
        font-size: 0.88rem;
    }

    .footer-name {
        font-size: 22px;
    }

    .audio-card--hero {
        width: 100%;
        padding: 1.15rem 1rem;
    }

    .audio-card strong.audio-card__title,
    .audio-card strong {
        font-size: 0.95rem;
    }

    .audio-card__vol-slider {
        width: 48px;
    }
}

/* ── 480px: Small phones ─────────────────────────────────────────────────── */
@media (max-width: 480px) {

    .container,
    .nav-container {
        padding: 0 0.75rem;
    }

    .section-padding {
        padding: 1.5rem 0.75rem;
    }

    .hero {
        padding: 2rem 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: 1.55rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.45rem;
        margin-bottom: 0.75rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    .brand-name {
        font-size: 19px;
    }

    .brand-logo,
    .clock {
        width: 28px;
        height: 28px;
    }

    .cards-grid {
        gap: 0.85rem;
    }

    .product-card,
    .card {
        padding: 1.1rem;
        border-radius: 8px;
    }

    .product-card h3 {
        font-size: 1.05rem;
    }

    .white-section {
        padding: 1.25rem 0.85rem;
        border-radius: 8px;
    }

    .dropdown>ul {
        max-height: 200px;
        padding: 4px;
    }

    .dropdown summary {
        font-size: 0.88rem;
        padding: 0.65rem 0.75rem;
    }

    .dropdown .dropdown-category-title {
        font-size: 11px;
        padding: 6px 8px 4px;
    }

    .topic-parent-row {
        font-size: 13px;
        padding: 7px 8px;
    }

    .topic-sub-list label {
        font-size: 12.5px;
        padding: 6px 8px 6px 22px;
    }

    .topic-sub-list label::before {
        left: 10px;
        font-size: 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .card-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Prevents iOS auto-zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px;
    }

    .payment-section {
        padding: 1rem 0.85rem;
    }

    .copy-payment-number {
        width: 100%;
        text-align: center;
    }

    .about-hero {
        padding: 2rem 0.75rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .audio-card--hero {
        width: 100%;
        padding: 1rem 0.85rem;
        gap: 0.7rem;
    }

    .audio-card strong.audio-card__title,
    .audio-card strong {
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .audio-card__icon {
        width: 2.45rem;
        height: 2.45rem;
        font-size: 1rem;
    }

    .audio-card__nav-btn {
        width: 1.95rem;
        height: 1.95rem;
        font-size: 0.75rem;
    }

    .audio-card__vol-slider {
        width: 38px;
    }

    .audio-card__vol-wrap {
        padding: 0.25rem 0.45rem;
        gap: 0.3rem;
    }

    .footer-name {
        font-size: 18px;
    }

    .scroll-to-top {
        width: 2.5rem;
        height: 2.5rem;
        left: 0.75rem;
        bottom: 0.75rem;
    }

    .scroll-to-top svg {
        width: 1.1rem;
        height: 1.1rem;
    }
}