/* ============================================================================
   PRIMEXEI INSTITUTE — PROFESSIONAL WHITE THEME LAYER  v1.0
   ----------------------------------------------------------------------------
   Loaded AFTER styles.css. Purely additive: it refines the white theme,
   keeps the background photographs (homepage hero slider + inner page
   banners) and arranges every breakpoint — mobile first — into a clean,
   corporate layout that works on phones, tablets and desktops.
   ========================================================================= */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    --pro-ink: #0f172a;
    --pro-ink-soft: #475569;
    --pro-ink-muted: #64748b;
    --pro-line: rgba(15, 23, 42, 0.08);
    --pro-canvas: #f6f8fc;
    --pro-surface: #ffffff;
    --pro-brand: #2563eb;
    --pro-brand-dark: #1d4ed8;
    --pro-brand-soft: #eef4ff;
    --pro-accent: #0ea5e9;
    --pro-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
    --pro-shadow-sm: 0 6px 16px -10px rgba(15, 23, 42, 0.22), 0 1px 3px rgba(15, 23, 42, 0.06);
    --pro-shadow-md: 0 18px 40px -22px rgba(15, 23, 42, 0.30), 0 4px 12px -8px rgba(15, 23, 42, 0.12);
    --pro-shadow-lg: 0 34px 70px -30px rgba(15, 23, 42, 0.35), 0 10px 24px -16px rgba(15, 23, 42, 0.16);
    --pro-radius-sm: 12px;
    --pro-radius: 16px;
    --pro-radius-lg: 22px;
    --pro-radius-xl: 28px;
    --pro-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --pro-header-h: 72px;
    --pro-bar-h: 66px;
}

/* ==========================================================================
   2. BASE, PAGE CANVAS & FLUID RHYTHM
   ========================================================================== */
body.pro-body {
    background: var(--pro-canvas);
    color: var(--pro-ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.pro-body.no-scroll { overflow: hidden; }

body.pro-body img,
body.pro-body iframe,
body.pro-body video,
body.pro-body svg {
    max-width: 100%;
}

/* Content always paints above the fixed ambience layer */
body.pro-body > .top-bar,
body.pro-body > section,
body.pro-body > footer {
    position: relative;
    z-index: 1;
}

/* Fluid section spacing for every page */
body.pro-body section {
    padding-top: clamp(3.25rem, 5.5vw, 5.25rem);
    padding-bottom: clamp(3.25rem, 5.5vw, 5.25rem);
}

body.pro-body .section-container {
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
}

body.pro-body .section-header { margin-bottom: clamp(2rem, 4vw, 3rem); }

body.pro-body .section-header h2 {
    font-size: clamp(1.55rem, 3.4vw, 2.45rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

body.pro-body .section-header p {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    line-height: 1.75;
}

/* ==========================================================================
   3. AMBIENCE — soft, static professional white canvas
   ========================================================================== */
.pro-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(58rem 30rem at 6% -8%, rgba(37, 99, 235, 0.10), transparent 62%),
        radial-gradient(52rem 28rem at 100% 2%, rgba(14, 165, 233, 0.10), transparent 60%),
        radial-gradient(48rem 30rem at 50% 108%, rgba(99, 102, 241, 0.07), transparent 62%),
        linear-gradient(180deg, #ffffff 0%, #f5f8ff 44%, #ffffff 100%);
}

.pro-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(ellipse 68% 52% at 50% 20%, #000 20%, transparent 76%);
    mask-image: radial-gradient(ellipse 68% 52% at 50% 20%, #000 20%, transparent 76%);
}

.pro-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.pro-bg-glow-1 {
    width: 40vw;
    height: 40vw;
    top: -12vw;
    right: -8vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 68%);
    animation: proGlow 36s var(--pro-ease) infinite alternate;
}

.pro-bg-glow-2 {
    width: 34vw;
    height: 34vw;
    bottom: -14vw;
    left: -10vw;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 68%);
    animation: proGlow 46s var(--pro-ease) infinite alternate-reverse;
}

@keyframes proGlow {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(2vw, -3vh, 0) scale(1.08); }
}

/* ==========================================================================
   4. TOP BAR & STICKY WHITE HEADER
   ========================================================================== */
body.pro-body .top-bar {
    background: linear-gradient(90deg, #0b1220 0%, #16224a 58%, #0f1b3d 100%);
    color: rgba(226, 232, 240, 0.86);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

body.pro-body .top-bar-container {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    min-height: 38px;
}

body.pro-body .notification-slider {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(147, 197, 253, 0.22);
}

body.pro-body .marquee-text {
    color: rgba(191, 219, 254, 0.95);
    font-size: 0.79rem;
    letter-spacing: 0.1px;
}

body.pro-body .header {
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--pro-line);
    box-shadow: none;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

body.pro-body.pro-scrolled .header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px -20px rgba(15, 23, 42, 0.35);
}

body.pro-body .header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.35), transparent);
    pointer-events: none;
}

body.pro-body .nav {
    height: var(--pro-header-h);
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
}

body.pro-body .logo img { height: 42px; }
body.pro-body .logo-title { letter-spacing: -0.6px; }

body.pro-body .nav-links a {
    font-weight: 600;
    color: #3f4a5f;
}

body.pro-body .nav-links a:hover,
body.pro-body .nav-links a.active {
    color: var(--pro-brand);
    background: var(--pro-brand-soft);
}

body.pro-body .nav-links .btn-outline {
    border-width: 1.5px;
    background: linear-gradient(135deg, var(--pro-brand), var(--pro-brand-dark));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 22px -14px rgba(37, 99, 235, 0.9);
}

body.pro-body .nav-links .btn-outline:hover {
    background: linear-gradient(135deg, var(--pro-brand-dark), #1e40af);
    color: #ffffff;
}

body.pro-body .mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--pro-line);
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* ==========================================================================
   5. HOMEPAGE HERO — auto-sliding photo panel + white content column
   ========================================================================== */
body.pro-body .hero {
    min-height: min(86svh, 880px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4.5vw, 4rem) clamp(1rem, 4vw, 1.5rem) clamp(4.5rem, 8vw, 7.5rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 60%, #ffffff 100%);
}

body.pro-body .hero-slider {
    max-width: 1140px;
    width: 100%;
    padding: 0;
}

body.pro-body .hero-slide .hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: 470px;
    padding: clamp(2rem, 3.6vw, 3.25rem) clamp(1.15rem, 3.2vw, 2.75rem) clamp(1.75rem, 3.2vw, 2.75rem);
    padding-right: 52%;
    border-radius: var(--pro-radius-xl);
    overflow: hidden;
    background: linear-gradient(120deg, #ffffff 0%, #ffffff 46%, rgba(255, 255, 255, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: var(--pro-shadow-lg);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
}

/* The photograph fills the right column of the card */
body.pro-body .hero-slide-bg { inset: 0 0 0 48%; }

body.pro-body .hero-slide-bg img {
    object-position: center 35%;
    transform: scale(1.02);
}

/* Feathered white fade so the photo blends into the white copy column */
body.pro-body .hero-slide-bg::after {
    background:
        linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 16%, rgba(255, 255, 255, 0.18) 46%, rgba(255, 255, 255, 0) 78%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(15, 23, 42, 0.06));
}

body.pro-body .hero h1 {
    font-size: clamp(1.9rem, 3.9vw, 3.05rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

body.pro-body .hero h1 span {
    background: linear-gradient(120deg, var(--pro-brand), #3b82f6 55%, var(--pro-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.pro-body .hero p {
    font-size: clamp(0.97rem, 1.35vw, 1.08rem);
    line-height: 1.75;
    color: var(--pro-ink-soft);
    max-width: 46ch;
}

body.pro-body .hero-badge {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: var(--pro-brand-dark);
    font-weight: 700;
    box-shadow: var(--pro-shadow-xs);
}

body.pro-body .hero-badge i { color: var(--pro-brand); }

body.pro-body .hero-slide-count {
    color: var(--pro-ink-muted);
    font-weight: 700;
}

body.pro-body .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 430px;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

body.pro-body .hero-stat {
    min-width: 0;
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-radius: var(--pro-radius-sm);
    background: rgba(246, 248, 252, 0.92);
    border: 1px solid var(--pro-line);
}

body.pro-body .stat-number {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--pro-ink);
}

body.pro-body .stat-label {
    font-size: 0.74rem;
    line-height: 1.35;
    color: var(--pro-ink-muted);
    font-weight: 600;
}

body.pro-body .hero-buttons {
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

body.pro-body .hero-trust {
    justify-content: flex-start;
    gap: 0.75rem 1.5rem;
}

/* Slider navigation (arrows, dots, autoplay progress) */
body.pro-body .slider-dots {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--pro-line);
    box-shadow: var(--pro-shadow-xs);
}

body.pro-body .slider-dot {
    width: 9px;
    height: 9px;
    background: rgba(15, 23, 42, 0.18);
}

body.pro-body .slider-dot.active {
    width: 30px;
    background: linear-gradient(90deg, var(--pro-brand), var(--pro-accent));
}

body.pro-body .slider-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid var(--pro-line);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--pro-shadow-sm);
}

body.pro-body .slider-arrow:hover {
    background: var(--pro-brand);
    border-color: var(--pro-brand);
}

body.pro-body .slider-arrow.prev { left: -0.5rem; }
body.pro-body .slider-arrow.next { right: -0.5rem; }

body.pro-body .slider-autoplay {
    left: clamp(1rem, 4vw, 1.5rem);
    right: clamp(1rem, 4vw, 1.5rem);
    height: 3px;
    background: rgba(15, 23, 42, 0.08);
}

body.pro-body .slider-autoplay span {
    background: linear-gradient(90deg, var(--pro-brand), var(--pro-accent));
}

body.pro-body .hero-wave { opacity: 0.9; }
body.pro-body .hero-wave svg { height: clamp(44px, 6vw, 80px); }

/* ==========================================================================
   6. INNER PAGE BANNER — background photo + white glass title card
   ========================================================================== */
body.pro-body .page-banner {
    position: relative;
    overflow: hidden;
    min-height: clamp(230px, 27vw, 340px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 1.5rem);
    text-align: center;
    background: #f2f6ff;
    border-bottom: 1px solid var(--pro-line);
}

body.pro-body .page-banner-bg { inset: 0; }

body.pro-body .page-banner-bg img {
    object-position: center 42%;
    transform: scale(1.03);
}

/* Light veil keeps the photograph visible behind the glass card */
body.pro-body .page-banner-bg::after {
    background: linear-gradient(120deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(255, 255, 255, 0.58) 45%,
        rgba(255, 255, 255, 0.66) 100%);
}

body.pro-body .page-banner-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.4rem, 3vw, 2.25rem) clamp(1.25rem, 4vw, 3rem);
    border-radius: var(--pro-radius-lg);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--pro-shadow-md);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
}

body.pro-body .page-banner h1 {
    font-size: clamp(1.6rem, 3.6vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--pro-ink);
    margin-bottom: 0.6rem;
}

body.pro-body .page-banner p {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    line-height: 1.7;
    color: var(--pro-ink-soft);
    margin-bottom: 0.9rem;
}

body.pro-body .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(238, 244, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.12);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--pro-ink-muted);
}

body.pro-body .breadcrumb a { color: var(--pro-brand); text-decoration: none; }

/* ==========================================================================
   7. CARDS, PANELS, BUTTONS & FORMS — one consistent professional surface
   ========================================================================== */
body.pro-body .feature-card,
body.pro-body .course-card,
body.pro-body .choose-card,
body.pro-body .testimonial-card,
body.pro-body .founder-card,
body.pro-body .offer-card,
body.pro-body .mv-card,
body.pro-body .journey-card,
body.pro-body .quick-contact-card,
body.pro-body .contact-detail-card,
body.pro-body .benefit-card,
body.pro-body .batch-card,
body.pro-body .info-card {
    background: var(--pro-surface);
    border: 1px solid var(--pro-line);
    border-radius: var(--pro-radius-lg);
    box-shadow: var(--pro-shadow-sm);
    transition: transform 0.35s var(--pro-ease), box-shadow 0.35s var(--pro-ease), border-color 0.35s ease;
}

body.pro-body .feature-card:hover,
body.pro-body .course-card:hover,
body.pro-body .choose-card:hover,
body.pro-body .testimonial-card:hover,
body.pro-body .founder-card:hover,
body.pro-body .offer-card:hover,
body.pro-body .mv-card:hover,
body.pro-body .journey-card:hover,
body.pro-body .quick-contact-card:hover,
body.pro-body .contact-detail-card:hover,
body.pro-body .benefit-card:hover,
body.pro-body .batch-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: var(--pro-shadow-md);
}

body.pro-body .section-badge {
    background: var(--pro-brand-soft);
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: var(--pro-brand-dark);
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 999px;
}

body.pro-body .btn {
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

body.pro-body .btn-primary {
    background: linear-gradient(135deg, var(--pro-brand), var(--pro-brand-dark));
    border: none;
    box-shadow: 0 14px 28px -18px rgba(37, 99, 235, 0.95);
}

body.pro-body .btn-primary:hover {
    background: linear-gradient(135deg, var(--pro-brand-dark), #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -18px rgba(37, 99, 235, 1);
}

body.pro-body .hero .btn-white,
body.pro-body .btn-white {
    background: #ffffff;
    color: var(--pro-ink);
    border: 1px solid var(--pro-line);
    box-shadow: var(--pro-shadow-xs);
}

body.pro-body .hero .btn-white:hover,
body.pro-body .btn-white:hover {
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--pro-brand);
}

/* Forms — comfortable touch targets, 16px inputs stop iOS zoom-on-focus */
body.pro-body input[type="text"],
body.pro-body input[type="email"],
body.pro-body input[type="tel"],
body.pro-body input[type="password"],
body.pro-body input[type="number"],
body.pro-body input[type="date"],
body.pro-body select,
body.pro-body textarea {
    font-size: 1rem;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--pro-line);
    background: #ffffff;
    width: 100%;
}

body.pro-body textarea { min-height: 130px; }

body.pro-body input:focus,
body.pro-body select:focus,
body.pro-body textarea:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.pro-body .contact-form,
body.pro-body .auth-container {
    border-radius: var(--pro-radius-lg);
    border: 1px solid var(--pro-line);
    box-shadow: var(--pro-shadow-md);
    background: #ffffff;
}

body.pro-body .map-container iframe,
body.pro-body iframe[src*="google.com/maps"] {
    width: 100%;
    border: 1px solid var(--pro-line);
    border-radius: var(--pro-radius);
    display: block;
    min-height: 300px;
}

/* Course card footer: price and action button stack instead of clipping */
body.pro-body .course-footer {
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.pro-body .course-footer .btn {
    flex: 1 1 190px;
    margin-top: 0;
}

/* Admin data tables scroll instead of breaking the layout on phones */
body.pro-body .admin-table { border-collapse: collapse; width: 100%; }
body.pro-body .admin-table th { background: var(--pro-brand-soft); color: var(--pro-ink); }

/* ==========================================================================
   8. QUICK-ACTION DOCK (desktop) + STICKY MOBILE ACTION BAR
   ========================================================================== */
.pro-dock {
    position: fixed;
    right: clamp(1rem, 2.5vw, 1.75rem);
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 997;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pro-dock-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    color: var(--pro-ink);
    border: 1px solid var(--pro-line);
    box-shadow: var(--pro-shadow-sm);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s var(--pro-ease), box-shadow 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.pro-dock-btn:hover {
    background: #ffffff;
    color: var(--pro-brand);
    transform: translateY(-3px);
    box-shadow: var(--pro-shadow-md);
}

.pro-dock-btn.pro-dock-wa { color: #16a34a; }
.pro-dock-btn.pro-dock-wa:hover { color: #15803d; }

.pro-dock-btn.pro-dock-primary {
    background: linear-gradient(135deg, var(--pro-brand), var(--pro-brand-dark));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 14px 28px -16px rgba(37, 99, 235, 0.95);
}

.pro-dock-btn.pro-dock-primary:hover { color: #ffffff; }

.pro-dock-tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--pro-ink);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s var(--pro-ease);
}

.pro-dock-btn:hover .pro-dock-tip,
.pro-dock-btn:focus-visible .pro-dock-tip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

#pro-scroll-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

#pro-scroll-top.pro-show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Arrow drawn with CSS so pages without the icon font still show it */
.pro-top-arrow {
    display: block;
    width: 10px;
    height: 10px;
    margin-top: 3px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

/* Sticky bottom bar — phones only */
.pro-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    display: none;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--pro-line);
    box-shadow: 0 -12px 26px -22px rgba(15, 23, 42, 0.55);
    transition: transform 0.3s var(--pro-ease);
}

.pro-mobile-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 52px;
    border-radius: 12px;
    text-decoration: none;
    color: #3f4a5f;
    font-size: 0.7rem;
    font-weight: 700;
    background: #f6f8fc;
    border: 1px solid var(--pro-line);
    transition: background 0.25s ease, color 0.25s ease;
}

.pro-mobile-bar a i { font-size: 1rem; color: var(--pro-brand); }
.pro-mobile-bar a.pro-bar-wa i { color: #16a34a; }

.pro-mobile-bar a.pro-bar-cta {
    background: linear-gradient(135deg, var(--pro-brand), var(--pro-brand-dark));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 24px -16px rgba(37, 99, 235, 1);
}

.pro-mobile-bar a.pro-bar-cta i { color: #ffffff; }

body.pro-body.nav-open .pro-mobile-bar { transform: translateY(130%); }

/* ==========================================================================
   9. RESPONSIVE ARRANGEMENT (mobile-first tuning for every breakpoint)
   ========================================================================== */
@media (min-width: 1440px) {
    body.pro-body .hero-slider { max-width: 1220px; }
    body.pro-body .hero-slide .hero-content { min-height: 500px; }
}

@media (max-width: 1200px) {
    body.pro-body .hero-slide .hero-content { min-height: 440px; }
    body.pro-body .nav-links { gap: 0.25rem; }
}

/* ---------- Tablet landscape: calmer ambience, tighter chrome ---------- */
@media (max-width: 1024px) {
    .pro-bg-glow { opacity: 0.35; }
    .pro-bg-grid { background-size: 56px 56px; }
    body.pro-body .nav { height: 68px; }
    body.pro-body .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    body.pro-body .hero-slide .hero-content { min-height: 410px; }
}

/* ---------- Tablet portrait: photo returns to a full-card backdrop ---------- */
@media (max-width: 991px) {
    body.pro-body .hero {
        min-height: auto;
        padding-top: 2.25rem;
        padding-bottom: 4.5rem;
    }

    body.pro-body .hero-slide .hero-content {
        min-height: 0;
        padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.15rem, 4vw, 2rem) clamp(1.5rem, 3.5vw, 2rem);
    }

    body.pro-body .hero-slide-bg { inset: 0; }

    body.pro-body .hero-slide-bg::after {
        background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.80) 48%,
            rgba(255, 255, 255, 0.93) 100%);
    }

    body.pro-body .hero p,
    body.pro-body .hero-stats { max-width: none; }

    body.pro-body .slider-arrow { display: none; }

    /* Wide minmax() grids are re-flowed so nothing overflows on tablets */
    body.pro-body .features-grid,
    body.pro-body .courses-grid,
    body.pro-body .courses-slider,
    body.pro-body .choose-grid,
    body.pro-body .testimonials-grid,
    body.pro-body .founders-grid,
    body.pro-body .offers-grid,
    body.pro-body .mv-grid,
    body.pro-body .journey-grid,
    body.pro-body .quick-contact-grid,
    body.pro-body .benefits-grid,
    body.pro-body .faq-grid,
    body.pro-body .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    body.pro-body .contact-grid { gap: 2rem; }
}

/* ---------- Small tablets / large phones: hamburger navigation ----------
   The desktop link row needs more room than 900px gives it, so the drawer
   takes over earlier than the base stylesheet assumed (no sideways scroll). */
@media (max-width: 900px) {
    body.pro-body .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body.pro-body .mobile-menu-btn span { margin: 0; }

    body.pro-body .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.3rem;
        padding: 4.5rem 1.25rem 2rem;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        z-index: 999;
        overflow-y: auto;
    }

    body.pro-body .nav-links.active { display: flex; }
    body.pro-body .nav-links li { width: 100%; }

    body.pro-body .nav-links a {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 0.85rem 1rem;
        border-radius: 12px;
        border: 1px solid transparent;
    }

    body.pro-body .nav-links a.active {
        border-color: rgba(37, 99, 235, 0.16);
    }

    body.pro-body .nav-links a.active::after { display: none; }
    body.pro-body .nav-links .nav-cta { margin-top: 0.85rem; }
    body.pro-body .nav-links .btn { width: 100%; }
}

/* ---------- Phones: the main mobile arrangement ---------- */
@media (max-width: 768px) {
    /* Top bar stacks into two tidy rows */
    body.pro-body .top-bar-container {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.45rem 0.9rem;
        text-align: center;
    }

    body.pro-body .top-bar-left { gap: 1rem; justify-content: center; }
    body.pro-body .top-bar-left .top-contact:nth-child(2),
    body.pro-body .top-bar-right { display: none; }
    body.pro-body .top-bar-center { width: 100%; }
    body.pro-body .notification-slider { max-width: 100%; padding: 0.2rem 0.85rem; }
    body.pro-body .marquee-text { font-size: 0.74rem; }

    /* Compact sticky header */
    body.pro-body .nav { height: 62px; }
    body.pro-body .logo { gap: 0.55rem; }
    body.pro-body .logo img { height: 36px; }
    body.pro-body .logo-title { font-size: 1.05rem; }
    body.pro-body .logo-subtitle { font-size: 0.55rem; letter-spacing: 1px; }

    /* Navigation drawer keeps its tabs clear of the bottom action bar */
    body.pro-body .nav-links {
        padding: 4.5rem 1.25rem calc(2rem + var(--pro-bar-h));
        background: rgba(255, 255, 255, 0.98);
    }

    /* Hero */
    body.pro-body .hero { padding-left: 0.85rem; padding-right: 0.85rem; }
    body.pro-body .hero-slide .hero-content { border-radius: var(--pro-radius-lg); }
    body.pro-body .hero h1 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
    body.pro-body .hero p { font-size: 0.95rem; line-height: 1.7; }
    body.pro-body .hero-badge { font-size: 0.76rem; padding: 0.4rem 0.85rem; }
    body.pro-body .hero-slide-count { font-size: 0.68rem; letter-spacing: 1.2px; }
    body.pro-body .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    body.pro-body .hero-buttons .btn { width: 100%; }
    body.pro-body .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    body.pro-body .hero-stats { gap: 0.5rem; }
    body.pro-body .hero-stat { padding: 0.6rem 0.7rem; }
    body.pro-body .slider-dots { margin-top: 1.5rem; }
    body.pro-body .slider-autoplay { display: none; }

    /* Inner page banner becomes an edge-to-edge photo header with a card */
    body.pro-body .page-banner {
        min-height: 210px;
        padding: 2.25rem 0.9rem;
        align-items: flex-end;
    }

    body.pro-body .page-banner-content {
        padding: 1.25rem 1.1rem;
        border-radius: var(--pro-radius);
        width: 100%;
    }

    body.pro-body .page-banner-bg::after {
        background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.72) 45%,
            rgba(255, 255, 255, 0.9) 100%);
    }

    /* One-column content grids, two-column stat grids */
    body.pro-body .features-grid,
    body.pro-body .courses-grid,
    body.pro-body .courses-slider,
    body.pro-body .choose-grid,
    body.pro-body .testimonials-grid,
    body.pro-body .founders-grid,
    body.pro-body .offers-grid,
    body.pro-body .mv-grid,
    body.pro-body .journey-grid,
    body.pro-body .quick-contact-grid,
    body.pro-body .benefits-grid,
    body.pro-body .faq-grid,
    body.pro-body .contact-grid,
    body.pro-body .about-grid,
    body.pro-body .about-highlights,
    body.pro-body .footer-grid,
    body.pro-body .dashboard-grid {
        grid-template-columns: 1fr;
    }

    body.pro-body .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.pro-body .features-grid,
    body.pro-body .courses-grid,
    body.pro-body .offers-grid,
    body.pro-body .journey-grid { gap: 1rem; }

    /* Touch-friendly cards, buttons and forms */
    body.pro-body .btn { min-height: 50px; padding-left: 1.25rem; padding-right: 1.25rem; }
    body.pro-body .btn-large { width: 100%; }
    body.pro-body .cta-buttons { flex-direction: column; align-items: stretch; }
    body.pro-body .cta-buttons .btn { width: 100%; }
    body.pro-body .contact-form { padding: 1.35rem; }
    body.pro-body .form-row,
    body.pro-body .form-row-2,
    body.pro-body .form-grid { grid-template-columns: 1fr; }
    body.pro-body .admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* Floating actions: dock collapses to "back to top", bar takes over */
    .pro-dock { right: 0.85rem; bottom: calc(1rem + var(--pro-bar-h)); }
    .pro-dock-btn:not(#pro-scroll-top) { display: none; }
    .pro-dock-btn { width: 44px; height: 44px; }
    .pro-dock-tip { display: none; }
    .pro-mobile-bar { display: flex; }

    body.pro-body.has-mobile-bar {
        padding-bottom: calc(var(--pro-bar-h) + env(safe-area-inset-bottom, 0px));
    }

    body.pro-body .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
    body.pro-body section {
        padding-top: 2.6rem;
        padding-bottom: 2.6rem;
    }

    body.pro-body .section-header h2 { font-size: 1.4rem; }
    body.pro-body .hero-slide .hero-content { padding: 1.45rem 1rem 1.35rem; }
    body.pro-body .hero h1 { font-size: 1.42rem; }
    body.pro-body .hero-badge { font-size: 0.7rem; padding: 0.35rem 0.75rem; }
    body.pro-body .hero-stat { padding: 0.55rem 0.6rem; }
    body.pro-body .stat-number { font-size: 1.15rem; }
    body.pro-body .stat-label { font-size: 0.66rem; }
    body.pro-body .trust-item { font-size: 0.78rem; }
    body.pro-body .about-image .experience-badge { left: 0.75rem; right: 0.75rem; }

    body.pro-body .page-banner { min-height: 190px; padding: 1.75rem 0.75rem; }
    body.pro-body .page-banner h1 { font-size: 1.5rem; }
    body.pro-body .page-banner p { font-size: 0.9rem; }
    body.pro-body .breadcrumb { font-size: 0.76rem; padding: 0.35rem 0.75rem; }

    body.pro-body .feature-card,
    body.pro-body .course-card,
    body.pro-body .choose-card,
    body.pro-body .testimonial-card,
    body.pro-body .founder-card,
    body.pro-body .offer-card,
    body.pro-body .mv-card,
    body.pro-body .journey-card,
    body.pro-body .contact-form { padding: 1.2rem; }

    .pro-mobile-bar a { font-size: 0.64rem; min-height: 48px; }
    .pro-mobile-bar a i { font-size: 0.95rem; }
    .pro-dock { right: 0.7rem; }
}

/* ---------- Extra small phones ---------- */
@media (max-width: 380px) {
    body.pro-body .hero h1 { font-size: 1.3rem; }
    body.pro-body .hero-stats { gap: 0.4rem; }
    body.pro-body .stat-label { font-size: 0.62rem; }
    body.pro-body .logo-subtitle { display: none; }
    .pro-mobile-bar { gap: 0.3rem; padding-left: 0.35rem; padding-right: 0.35rem; }
    .pro-mobile-bar a { font-size: 0.6rem; }
}

/* Touch devices: kill the tap flash for a cleaner feel */
@media (hover: none) {
    body.pro-body a,
    body.pro-body button { -webkit-tap-highlight-color: transparent; }
    body.pro-body .feature-card:hover,
    body.pro-body .course-card:hover,
    body.pro-body .choose-card:hover,
    body.pro-body .testimonial-card:hover,
    body.pro-body .founder-card:hover,
    body.pro-body .offer-card:hover { transform: none; }
}

/* ==========================================================================
   10. SCROLL REVEAL, ACCESSIBILITY & PRINT
   ========================================================================== */
.pro-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s var(--pro-ease), transform 0.75s var(--pro-ease);
    will-change: opacity, transform;
}

.pro-reveal.pro-in {
    opacity: 1;
    transform: none;
}

.pro-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--pro-brand);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 12px 0;
    font-weight: 700;
    text-decoration: none;
}

.pro-skip-link:focus {
    left: 0;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pro-reveal { opacity: 1; transform: none; transition: none; }
    .pro-bg-glow { animation: none; }
    body.pro-body .marquee-text { animation: none; }
}

@media print {
    .pro-bg,
    .pro-dock,
    .pro-mobile-bar,
    body.pro-body .top-bar { display: none !important; }
    body.pro-body { background: #ffffff; }
    body.pro-body .page-banner-bg,
    body.pro-body .hero-slide-bg { display: none; }
}

