/* ============================================================
   NEELA ACADEMY WIDGETS — academy-widgets.css v10.0
   Design & GSAP Motion Pipeline matching About Us Page Widgets
   ============================================================ */

@keyframes gasFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25%      { transform: translateY(-12px) rotate(0.8deg); }
  50%      { transform: translateY(-6px) rotate(-0.5deg); }
  75%      { transform: translateY(-16px) rotate(1.2deg); }
}

/* Ambient Glow Background Blobs */
.nac-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}
.nac-glow--1 { top: -10%; left: -5%; width: 450px; height: 450px; background: radial-gradient(circle, rgba(125, 31, 61, 0.25) 0%, rgba(255, 255, 255, 0) 70%); }
.nac-glow--2 { bottom: -10%; right: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201, 162, 75, 0.22) 0%, rgba(255, 255, 255, 0) 70%); }

/* Corner Brackets Accent */
.nac-corner-accent {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid var(--neela-gold, #c9a24b);
    pointer-events: none;
    z-index: 5;
    transition: all 0.4s ease;
}
.nac-corner-accent--tl { top: -6px; left: -6px; border-right: none; border-bottom: none; border-top-left-radius: 8px; }
.nac-corner-accent--br { bottom: -6px; right: -6px; border-left: none; border-top: none; border-bottom-right-radius: 8px; }

/* Eyebrow Pill Tag with Glowing Dot */
.nac-eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(125, 31, 61, 0.06);
    border: 1px solid rgba(125, 31, 61, 0.15);
    border-radius: 30px;
    font-family: var(--neela-font-body, sans-serif);
    font-size: 0.78rem;
    font-weight: 700;
    color: #7d1f3d;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    width: fit-content;
    margin-bottom: 0.85rem;
}
.nac-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9a24b;
    box-shadow: 0 0 8px #c9a24b;
}

/* Two-Tone Line Divider */
.nac-accent-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7d1f3d 0%, #c9a24b 100%);
    border-radius: 2px;
    margin: 0.35rem 0 1.25rem;
}
.nac-accent-divider--center {
    margin: 0.35rem auto 1.5rem;
}

/* Floating Luxury Badge */
.nac-floating-badge {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.1rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(201, 162, 75, 0.35);
    border-radius: 50px;
    box-shadow: 0 14px 35px rgba(125, 31, 61, 0.14), 0 0 18px rgba(201, 162, 75, 0.15);
    animation: gasFloat 4s ease-in-out infinite;
}
.nac-badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7d1f3d, #521227);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a24b;
    flex-shrink: 0;
}
.nac-badge-text {
    font-family: var(--neela-font-heading, 'Playfair Display', serif);
    font-size: 0.8rem;
    font-weight: 700;
    color: #7d1f3d;
    white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════════
   1. ACADEMY HERO WIDGET (.nac-hero)
   ════════════════════════════════════════════════════════════════ */
.nac-hero {
    position: relative;
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: linear-gradient(180deg, #fdfbf7 0%, #ffffff 50%, #fcf8f2 100%);
    overflow: hidden;
}
.nac-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
}
@media (max-width: 960px) {
    .nac-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.nac-hero__title {
    font-family: var(--neela-font-heading, 'Playfair Display', serif) !important;
    font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #7d1f3d !important;
    margin-bottom: 0.75rem !important;
    background: linear-gradient(135deg, #7d1f3d 0%, #3e0c1d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nac-hero__subtitle {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.nac-hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.nac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-family: var(--neela-font-nav, 'Jost', sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}
.nac-btn--primary {
    background: linear-gradient(135deg, #7d1f3d 0%, #521227 100%);
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(125, 31, 61, 0.28);
}
.nac-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(125, 31, 61, 0.38);
    color: #ffffff !important;
}
.nac-btn--ghost {
    background: #ffffff;
    color: #7d1f3d !important;
    border: 1.5px solid rgba(125, 31, 61, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.nac-btn--ghost:hover {
    background: #7d1f3d;
    color: #ffffff !important;
    border-color: #7d1f3d;
    transform: translateY(-3px);
}

/* Stats Counter Row */
.nac-hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.nac-stat-item {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(125, 31, 61, 0.06);
}
.nac-stat-num {
    font-family: var(--neela-font-heading, 'Playfair Display', serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #7d1f3d;
}
.nac-stat-label {
    font-size: 0.78rem;
    color: #6b5a5f;
    font-weight: 600;
}

/* Image Column */
.nac-hero__img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px -15px rgba(125, 31, 61, 0.18), 0 0 0 1px rgba(201, 162, 75, 0.25);
    background: #ffffff;
    min-height: 440px;
    max-height: 480px;
    aspect-ratio: 4 / 5;
}
.nac-hero__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.nac-hero__img-wrap:hover img { transform: scale(1.05); }

/* ════════════════════════════════════════════════════════════════
   2. COURSES GRID WIDGET (.nac-courses)
   ════════════════════════════════════════════════════════════════ */
.nac-courses {
    position: relative;
    padding: clamp(4rem, 6vw, 6rem) 0;
    background: #ffffff;
}
.nac-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}
.nac-section-title {
    font-family: var(--neela-font-heading, 'Playfair Display', serif) !important;
    font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
    font-weight: 700 !important;
    color: #7d1f3d !important;
    margin-bottom: 0.5rem !important;
}

.nac-courses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nac-course-card {
    position: relative;
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(201, 162, 75, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(125, 31, 61, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}
.nac-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 55px rgba(125, 31, 61, 0.16), 0 0 0 1px rgba(201, 162, 75, 0.4);
}

.nac-course-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.nac-course-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.nac-course-card:hover .nac-course-card__img img { transform: scale(1.08); }

.nac-course-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #c9a24b, #a8812c);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nac-course-card__body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.nac-course-card__title {
    font-family: var(--neela-font-heading, 'Playfair Display', serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: #7d1f3d;
    margin: 0 0 0.65rem;
    line-height: 1.3;
}
.nac-course-card__desc {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.nac-course-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(201, 162, 75, 0.2);
    margin-bottom: 1.25rem;
}
.nac-course-card__price {
    font-family: var(--neela-font-heading, 'Playfair Display', serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #7d1f3d;
}
.nac-course-card__duration {
    font-size: 0.8rem;
    color: #6b5a5f;
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════
   3. BENEFITS LIST WIDGET (.nac-benefits)
   ════════════════════════════════════════════════════════════════ */
.nac-benefits {
    position: relative;
    padding: clamp(4rem, 6vw, 6rem) 0;
    background: linear-gradient(180deg, #fcf8f2 0%, #ffffff 100%);
}
.nac-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.nac-benefit-card {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 162, 75, 0.28);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 10px 30px rgba(125, 31, 61, 0.05);
    transition: all 0.35s ease;
}
.nac-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(125, 31, 61, 0.12);
}
/* Icon Circle Container for Benefits & Courses Grid */
.nac-benefit-icon,
.nac-course-card__icon-circle {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #7d1f3d 0%, #4a1942 100%) !important;
    border: 2px solid #c9a24b !important;
    color: #c9a24b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 8px 22px rgba(125, 31, 61, 0.25), 0 0 14px rgba(201, 162, 75, 0.25) !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nac-benefit-card:hover .nac-benefit-icon,
.nac-course-card:hover .nac-course-card__icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px rgba(125, 31, 61, 0.35), 0 0 20px rgba(201, 162, 75, 0.4);
}

.nac-benefit-icon i,
.nac-benefit-icon svg,
.nac-course-card__icon-circle i,
.nac-course-card__icon-circle svg,
.nac-benefit-icon *,
.nac-course-card__icon-circle * {
    color: #c9a24b !important;
    fill: #c9a24b !important;
}

.nac-benefit-icon svg path,
.nac-benefit-icon svg circle,
.nac-benefit-icon svg rect,
.nac-benefit-icon svg polygon,
.nac-benefit-icon svg line,
.nac-course-card__icon-circle svg path,
.nac-course-card__icon-circle svg circle,
.nac-course-card__icon-circle svg rect,
.nac-course-card__icon-circle svg polygon,
.nac-course-card__icon-circle svg line {
    fill: #c9a24b !important;
    color: #c9a24b !important;
}

.nac-benefit-title {
    font-family: var(--neela-font-heading, 'Playfair Display', serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #7d1f3d;
    margin-bottom: 0.6rem;
}
.nac-benefit-desc {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════
   4. SUCCESS STORIES WIDGET (.nac-stories)
   ════════════════════════════════════════════════════════════════ */
.nac-stories {
    position: relative;
    padding: clamp(4rem, 6vw, 6rem) 0;
    background: #ffffff;
}
.nac-stories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.nac-story-card {
    position: relative;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(201, 162, 75, 0.25);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 35px rgba(125, 31, 61, 0.06);
    transition: all 0.35s ease;
}
.nac-story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(125, 31, 61, 0.14);
}
.nac-story-stars { color: #E8AC0E; font-size: 1.05rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.nac-story-quote { font-style: italic; color: #444; line-height: 1.7; margin-bottom: 1.25rem; font-size: 0.95rem; }
.nac-story-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.nac-story-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c9a24b;
}
.nac-story-name { font-family: var(--neela-font-heading, 'Playfair Display', serif); font-size: 0.95rem; font-weight: 700; color: #7d1f3d; }
.nac-story-role { font-size: 0.75rem; color: #6b5a5f; }

/* ════════════════════════════════════════════════════════════════
   5. WEBINARS LIST WIDGET (.nac-webinars)
   ════════════════════════════════════════════════════════════════ */
.nac-webinars {
    position: relative;
    padding: clamp(4rem, 6vw, 6rem) 0;
    background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
}
.nac-webinars__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}
.nac-webinar-row {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 162, 75, 0.28);
    border-radius: 18px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(125, 31, 61, 0.05);
    transition: all 0.35s ease;
}
@media (max-width: 640px) {
    .nac-webinar-row { flex-direction: column; align-items: flex-start; }
}
.nac-webinar-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(125, 31, 61, 0.12);
}
.nac-webinar-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7d1f3d, #521227);
    color: #c9a24b;
    padding: 0.65rem 1.1rem;
    border-radius: 14px;
    min-width: 75px;
    text-align: center;
    flex-shrink: 0;
}
.nac-webinar-day { font-family: var(--neela-font-heading, 'Playfair Display', serif); font-size: 1.35rem; font-weight: 700; line-height: 1; }
.nac-webinar-month { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

.nac-webinar-info { flex: 1; }
.nac-webinar-title { font-family: var(--neela-font-heading, 'Playfair Display', serif); font-size: 1.15rem; font-weight: 700; color: #7d1f3d; margin: 0 0 0.35rem; }
.nac-webinar-meta { font-size: 0.82rem; color: #6b5a5f; }

/* ════════════════════════════════════════════════════════════════
   6. ENROLL CTA WIDGET (.nac-cta) — Full Bleed & Zero White Space
   ════════════════════════════════════════════════════════════════ */
.nac-cta {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #7d1f3d 0%, #4a1942 100%) !important;
    padding: clamp(4rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2.5rem) !important;
    color: #ffffff !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: -5px !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Force Elementor containers wrapping Enroll CTA to remove padding & set dark background #4A1942 */
.elementor-widget-neela-academy-enroll-cta,
.elementor-widget-neela-academy-enroll-cta .elementor-widget-container,
.elementor-widget-neela-academy-enroll-cta .elementor-element-populated {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background-color: #4A1942 !important;
    border: none !important;
    box-shadow: none !important;
}

.elementor-element:has(.nac-cta),
.elementor-section:has(.nac-cta),
.elementor-column:has(.nac-cta),
.e-con:has(.nac-cta),
.elementor-element:has(.elementor-widget-neela-academy-enroll-cta),
.elementor-section:has(.elementor-widget-neela-academy-enroll-cta),
.elementor-column:has(.elementor-widget-neela-academy-enroll-cta),
.e-con:has(.elementor-widget-neela-academy-enroll-cta) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background-color: #4A1942 !important;
    border: none !important;
    box-shadow: none !important;
}
.nac-cta__box {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 162, 75, 0.35);
    border-radius: 28px;
    padding: clamp(2.5rem, 5vw, 4rem) 2rem;
    box-shadow: 0 24px 70px rgba(0,0,0,0.25);
}
.nac-cta__title {
    font-family: var(--neela-font-heading, 'Playfair Display', serif) !important;
    font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 1rem !important;
}
.nac-cta__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 2rem;
    line-height: 1.7;
}
