@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Quicksand:wght@500;600;700&display=swap');

/*
Theme Name: Shraddha Abacus
Theme URI: https://shraddhaabacus.com/
Author: Shraddha Abacus
Description: Cheerful, Child-Friendly & Parent-Engaging Theme for Shraddha Abacus & Vedic Math Institute
Version: 3.7.5
Text Domain: shraddha-abacus
*/

:root {
    /* Cheerful, Child-Friendly Palette (Duolingo / Prodigy Math inspired) */
    --sa-primary: #FF8F00;       /* Sunny Marigold Gold */
    --sa-primary-hover: #E67E00;
    --sa-coral: #FF5E62;         /* Playful Coral Red */
    --sa-blue: #3A86FF;          /* Friendly Ocean Blue */
    --sa-mint: #2EC4B6;          /* Fresh Mint Green */
    --sa-purple: #8338EC;        /* Creative Purple */
    --sa-dark: #2B2D42;          /* Deep Slate for high-contrast reading */
    --sa-muted: #6C757D;
    --sa-bg: #FFFDF9;            /* Warm cream friendly background */
    --sa-card-bg: #FFFFFF;
    --sa-border: #F1EADF;
    
    /* Child-Friendly Rounded Typography */
    --sa-font-heading: 'Fredoka', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --sa-font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing */
    --sa-space-xs: 0.25rem;
    --sa-space-sm: 0.5rem;
    --sa-space-md: 1rem;
    --sa-space-lg: 1.5rem;
    --sa-space-xl: 2rem;
    --sa-space-2xl: 3rem;
    --sa-space-section: 5.5rem;
    
    /* Playful Bubbly Borders */
    --sa-radius-sm: 12px;
    --sa-radius-md: 18px;
    --sa-radius-lg: 26px;
    --sa-radius-xl: 36px;
    --sa-radius-full: 9999px;

    /* Soft Friendly Shadows */
    --sa-shadow-sm: 0 4px 12px rgba(43, 45, 66, 0.06);
    --sa-shadow-md: 0 8px 24px rgba(43, 45, 66, 0.08);
    --sa-shadow-lg: 0 16px 36px rgba(43, 45, 66, 0.12);
    --sa-shadow-button: 0 6px 0 #D97706; /* 3D chunky button shadow */
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--sa-font-body);
    color: var(--sa-dark);
    background-color: var(--sa-bg);
    line-height: 1.65;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sa-font-heading);
    color: var(--sa-dark);
    line-height: 1.25;
    margin-bottom: var(--sa-space-md);
    font-weight: 600;
    letter-spacing: 0.3px;
}

a {
    color: var(--sa-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--sa-space-lg);
}

/* Playful Chunky 3D Buttons */
.sa-btn-primary {
    background: var(--sa-primary);
    color: #FFFFFF !important;
    font-family: var(--sa-font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    padding: 16px 32px;
    border-radius: var(--sa-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 0 #D97706, 0 10px 20px rgba(255, 143, 0, 0.3);
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
}

.sa-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #D97706, 0 14px 25px rgba(255, 143, 0, 0.4);
    color: #FFF !important;
}

.sa-btn-primary:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #D97706;
}

.sa-btn-secondary {
    background: #FFFFFF;
    color: var(--sa-blue) !important;
    font-family: var(--sa-font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    padding: 16px 32px;
    border-radius: var(--sa-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 0 #E2E8F0, 0 10px 20px rgba(0,0,0,0.05);
    border: 2px solid #E2E8F0;
    transition: all 0.15s ease;
}

.sa-btn-secondary:hover {
    border-color: var(--sa-blue);
    transform: translateY(-2px);
    box-shadow: 0 7px 0 var(--sa-blue), 0 14px 25px rgba(58, 134, 255, 0.2);
}

/* Benefit Card Fun Bounce Effect */
.benefit-card {
    background: #FFFFFF;
    border-radius: var(--sa-radius-lg);
    padding: 34px 28px;
    border: 3px solid #FFF5E4;
    box-shadow: var(--sa-shadow-sm);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--sa-shadow-lg) !important;
    border-color: var(--sa-primary) !important;
}

/* Course Cards */
.sa-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 32px;
}

.sa-course-card {
    background: #FFFFFF;
    border-radius: var(--sa-radius-lg);
    border: 3px solid #F3F4F6;
    box-shadow: var(--sa-shadow-sm);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

/* Header & Navigation Layout */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid #FFF3C4;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(43,45,66,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    gap: 24px;
}

.sa-nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Navigation Menu Colorful Items */
/* Navigation Menu Items (Premium Sleek Style) */
.sa-nav-item {
    font-family: var(--sa-font-heading), 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569 !important; /* Elegant slate grey by default */
    white-space: nowrap !important;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border: 1.5px solid transparent;
}

.sa-nav-blue:hover { color: #2563EB !important; background: #EFF6FF; }
.sa-nav-amber:hover { color: #D97706 !important; background: #FFFBEB; }
.sa-nav-rose:hover { color: #E11D48 !important; background: #FFF1F2; }
.sa-nav-green:hover { color: #059669 !important; background: #ECFDF5; }
.sa-nav-purple:hover { color: #7C3AED !important; background: #F5F3FF; }
.sa-nav-sky:hover { color: #0284C7 !important; background: #F0F9FF; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.phone-link:hover {
    background: #FFEA9F !important;
    transform: translateY(-2px);
}

.sa-header-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Footer Layout & Widgets */
.site-footer {
    background: #2B2D42;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    border-top: 6px solid #FF8F00;
    padding-top: 65px;
    padding-bottom: 90px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 45px;
    margin-bottom: 50px;
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-widget ul a:hover {
    color: #FFB800 !important;
    padding-left: 6px;
}

.social-links a:hover {
    background: #FF8F00 !important;
    border-color: #FF8F00 !important;
    transform: translateY(-3px);
}

/* Floating WhatsApp Pill */
.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(37,211,102,0.6) !important;
}

/* Mobile Sticky Bottom Bar (Hidden on Desktop, Visible on Mobile) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 2px solid #F1EADF;
    padding: 8px 16px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    justify-content: space-around;
    align-items: center;
}

.bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: var(--sa-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #4A5568;
    text-decoration: none;
    transition: color 0.2s;
}

.bottom-bar-item .icon {
    font-size: 1.35rem;
}

.bottom-bar-item:hover {
    color: var(--sa-primary);
}

/* Responsive Breakpoints */
@media screen and (max-width: 850px) {
    .main-navigation {
        display: none !important; /* Use bottom bar on mobile */
    }
    .phone-number {
        display: none; /* Hide number text on small screens, keep icon */
    }
    .header-inner {
        padding: 8px 0;
    }
    .mobile-bottom-bar {
        display: flex;
    }
    .site-footer {
        padding-bottom: 110px; /* Make space for bottom bar */
    }
}

/* === 10/10 POLISH UPGRADES === */

/* Floating Math Bubble Animation (used by hero section) */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(6deg); }
}

/* Gentle pulse for play buttons */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Utility: text-center */
.text-center { text-align: center; }

/* Smooth scroll offset for sticky header */
:target::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
}
html { scroll-padding-top: 100px; }

/* Video Card Hover Effects */
.sa-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12) !important;
    border-color: #FFB800 !important;
}

.sa-video-card:hover .play-btn {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.sa-video-thumb:hover .play-btn {
    animation: pulse 1.2s ease-in-out infinite;
}

/* Google Review Card Hover */
.sa-google-review-card {
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sa-google-review-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 36px rgba(0,0,0,0.14) !important;
    border-color: #FFB800 !important;
}

/* Footer social: preserve brand colors on hover */
.social-links a:hover {
    transform: translateY(-4px) scale(1.08) !important;
    filter: brightness(1.15);
}

/* Header social icon hover */
.sa-header-socials a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Scroll-to-top button */
.sa-scroll-top {
    position: fixed;
    bottom: 95px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: #2B2D42;
    color: #FFB800;
    border: 2px solid #FFB800;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 9997;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: all 0.25s ease;
    text-decoration: none;
}

.sa-scroll-top:hover {
    background: #FFB800;
    color: #2B2D42;
    transform: translateY(-4px);
}

/* Animated Stats Counter Row */
.sa-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 50px 0;
}

.sa-stat-item {
    text-align: center;
    min-width: 140px;
}

.sa-stat-number {
    font-family: var(--sa-font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--sa-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.sa-stat-label {
    font-family: var(--sa-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sa-dark);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero button subtle bounce on load */
@keyframes bounceIn {
    0% { transform: scale(0.9); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

.hero-actions a {
    animation: bounceIn 0.6s ease-out both;
}
.hero-actions a:nth-child(2) {
    animation-delay: 0.15s;
}

/* Responsive: review cards stack single column */
@media screen and (max-width: 650px) {
    .sa-stats-row {
        gap: 24px;
    }
    .sa-stat-number {
        font-size: 2.2rem;
    }
}

/* Premium Student Login Form Styling */
#sa-login-form {
    margin-top: 20px;
}
#sa-login-form p {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}
#sa-login-form label {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #1E293B;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: block;
}
#sa-login-form input[type="text"],
#sa-login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #CBD5E1;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.98rem;
    color: #1E293B;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
#sa-login-form input[type="text"]:focus,
#sa-login-form input[type="password"]:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
#sa-login-form .login-remember {
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 22px;
}
#sa-login-form .login-remember label {
    margin-bottom: 0;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
#sa-login-form .login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid #CBD5E1;
    cursor: pointer;
}
#sa-login-form .login-submit {
    margin-bottom: 0;
}
#sa-login-form input[type="submit"] {
    width: 100%;
    background: #2563EB;
    color: #FFFFFF !important;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 24px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}
#sa-login-form input[type="submit"]:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
#sa-login-form input[type="submit"]:active {
    transform: translateY(0);
}

/* ==========================================================================
   Modern & Child-Friendly WooCommerce Checkout Styling
   ========================================================================== */
.woocommerce-checkout,
.wc-block-checkout {
    font-family: var(--sa-font-heading);
    max-width: 1200px;
    margin: 30px auto 60px;
}

/* Checkout Headings & Step Titles */
.woocommerce-checkout h3,
.wc-block-components-checkout-step__heading,
.wc-block-components-title {
    font-family: var(--sa-font-heading) !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin-bottom: 16px !important;
}

/* Form Section Cards */
.wc-block-components-checkout-step,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
#customer_details .col-1,
#customer_details .col-2 {
    background: #FFFFFF !important;
    border: 2px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 26px 30px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
}

/* Input Fields (Pill Outlined Style) */
.wc-block-components-text-input input,
.wc-block-components-combobox input,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border-radius: 12px !important;
    border: 1.5px solid #CBD5E1 !important;
    padding: 13px 16px !important;
    font-size: 15px !important;
    font-family: var(--sa-font-body) !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    background-color: #FFFFFF !important;
    box-shadow: none !important;
    transition: all 0.2s ease-in-out !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
    outline: none !important;
}

/* Order Summary & Review Box */
.wc-block-components-sidebar,
.wc-block-components-order-summary,
#order_review {
    background: #F8FAFC !important;
    border: 2px solid #E2E8F0 !important;
    border-radius: 22px !important;
    padding: 26px 28px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
}

/* Order Summary Table */
.wc-block-components-order-summary-item,
#order_review table.shop_table {
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    background: transparent !important;
}

/* Payment Options Box */
.wc-block-components-radio-control,
.woocommerce-checkout #payment {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 18px 22px !important;
    margin-bottom: 20px !important;
}
.wc-block-components-radio-control-accordion-option {
    border-radius: 12px !important;
    border: 1.5px solid #E2E8F0 !important;
    margin-bottom: 10px !important;
    padding: 14px 18px !important;
    transition: all 0.2s ease !important;
}
.wc-block-components-radio-control-accordion-option--checked {
    border-color: #2563EB !important;
    background: #EFF6FF !important;
}

/* Place Order / Submit Button (Sunny Gold) */
.wc-block-components-checkout-place-order-button,
.woocommerce-checkout button#place_order,
.woocommerce-checkout input[type="submit"] {
    background: #FFB800 !important;
    color: #1E293B !important;
    font-family: var(--sa-font-heading) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    padding: 16px 36px !important;
    border-radius: 9999px !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.35) !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    text-align: center !important;
    margin-top: 15px !important;
}

.wc-block-components-checkout-place-order-button:hover,
.woocommerce-checkout button#place_order:hover,
.woocommerce-checkout input[type="submit"]:hover {
    background: #F59E0B !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.45) !important;
}

.wc-block-components-checkout-place-order-button:active,
.woocommerce-checkout button#place_order:active {
    transform: translateY(0) !important;
}

/* ==========================================================================
   Student Achievers & Champions Gallery Carousel
   ========================================================================== */
.sa-achievers-carousel-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 52px;
}

#sa-achievers-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 4px 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

#sa-achievers-track::-webkit-scrollbar {
    display: none;
}

.sa-achievers-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    background: #FFFFFF;
    color: #1E293B;
    border: 2.5px solid #CBD5E1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1;
    padding: 0;
}

.sa-achievers-btn-prev {
    left: 0;
}

.sa-achievers-btn-next {
    right: 0;
}

.sa-achievers-btn:hover {
    background: #1D4ED8 !important;
    color: #FFFFFF !important;
    border-color: #1D4ED8 !important;
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: 0 8px 24px rgba(29,78,216,0.3) !important;
}

.sa-achievers-btn:active {
    transform: translateY(-50%) scale(0.96) !important;
}

.sa-achiever-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 3px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    scroll-snap-align: start;
}

.sa-achiever-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
    border-color: #BFDBFE;
}

.sa-achiever-img-wrap {
    position: relative;
    height: 320px;
    background: #F8FAFC;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #F1F5F9;
}

.sa-achiever-img-wrap img {
    transition: transform 0.35s ease;
}

.sa-achiever-card:hover .sa-achiever-img-wrap img {
    transform: scale(1.03);
}

.sa-achiever-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FEF3C7;
    color: #D97706;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1.5px solid #FDE68A;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.sa-achiever-body {
    padding: 22px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

.sa-achiever-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 8px;
    line-height: 1.3;
}

.sa-achiever-desc {
    color: #64748B;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Responsive Breakpoints: Showing exact cards without cutting off */
@media (min-width: 992px) {
    /* Desktop: 3 cards clearly visible (2 gaps of 24px = 48px) */
    .sa-achiever-card {
        flex: 0 0 calc((100% - 48px) / 3) !important;
        min-width: calc((100% - 48px) / 3) !important;
        max-width: calc((100% - 48px) / 3) !important;
        width: calc((100% - 48px) / 3) !important;
    }
}

@media (min-width: 641px) and (max-width: 991px) {
    /* Tablet: 2 cards clearly visible (1 gap of 20px = 20px) */
    .sa-achievers-carousel-wrap {
        padding: 0 46px;
    }
    #sa-achievers-track {
        gap: 20px;
    }
    .sa-achiever-card {
        flex: 0 0 calc((100% - 20px) / 2) !important;
        min-width: calc((100% - 20px) / 2) !important;
        max-width: calc((100% - 20px) / 2) !important;
        width: calc((100% - 20px) / 2) !important;
    }
    .sa-achiever-img-wrap {
        height: 290px;
    }
}

@media (max-width: 640px) {
    /* Mobile: 1 card clearly visible */
    .sa-achievers-carousel-wrap {
        padding: 0 38px;
    }
    #sa-achievers-track {
        gap: 16px;
    }
    .sa-achievers-btn {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    .sa-achiever-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .sa-achiever-img-wrap {
        height: 260px;
    }
}

/* Mandatory Red Asterisk for Required Form Fields */
.woocommerce form .form-row label .required,
.woocommerce form .form-row label abbr.required,
abbr.required {
    color: #DC2626 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.15em !important;
    border-bottom: none !important;
    margin-left: 3px !important;
}

/* Completely Suppress Captions & Subtitles in Video Players */
.plyr__captions,
.plyr__captions *,
.plyr__caption,
.ytp-caption-window-bottom,
.ytp-caption-window-rollup,
.ytp-caption-window,
.ytp-caption-segment,
.caption-window,
.captions-text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}




