/* ===== GENERATION AI THEME STYLES ===== */

/* Loader */
#ai-loader { position:fixed; inset:0; z-index:9999; background:#f8f7fc; display:flex; flex-direction:column; align-items:center; justify-content:center; transition:opacity 0.6s ease, visibility 0.6s ease; }
#ai-loader.hide { opacity:0; visibility:hidden; pointer-events:none; }
#ai-loader canvas { position:absolute; inset:0; width:100%; height:100%; }
.loader-content { position:relative; z-index:2; text-align:center; }
.loader-brain { width:80px; height:80px; margin:0 auto 24px; position:relative; }
.loader-brain::before { content:''; position:absolute; inset:0; border-radius:50%; border:2px solid transparent; border-top-color:#ba9eff; border-right-color:#3adffa; animation:loaderSpin 1s linear infinite; }
.loader-brain::after { content:''; position:absolute; inset:8px; border-radius:50%; border:2px solid transparent; border-bottom-color:#ec63ff; border-left-color:#ba9eff; animation:loaderSpin 1.5s linear infinite reverse; }
.loader-brain-core { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:20px; height:20px; border-radius:50%; background:radial-gradient(circle,#ba9eff 0%,transparent 70%); animation:loaderPulse 1.2s ease-in-out infinite; }
@keyframes loaderSpin { to { transform:rotate(360deg); } }
@keyframes loaderPulse { 0%,100%{transform:translate(-50%,-50%) scale(1);opacity:0.7} 50%{transform:translate(-50%,-50%) scale(1.4);opacity:1} }
.loader-text { font-family:'Space Grotesk',sans-serif; font-size:0.8rem; letter-spacing:0.3em; text-transform:uppercase; color:#ba9eff; margin-bottom:16px; }
.loader-bar { width:200px; height:2px; background:rgba(186,158,255,0.15); border-radius:2px; overflow:hidden; margin:0 auto; }
.loader-bar-fill { height:100%; width:0%; background:linear-gradient(90deg,#ba9eff,#3adffa,#ec63ff); border-radius:2px; animation:loaderProgress 2s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes loaderProgress { 0%{width:0%} 30%{width:45%} 60%{width:70%} 100%{width:100%} }

/* Scroll Reveal */
.reveal { opacity:0; transform:translateY(60px); transition:opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1); }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-left { opacity:0; transform:translateX(-80px); transition:opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1); }
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right { opacity:0; transform:translateX(80px); transition:opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1); }
.reveal-right.visible { opacity:1; transform:translateX(0); }
.reveal-scale { opacity:0; transform:scale(0.85); transition:opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1); }
.reveal-scale.visible { opacity:1; transform:scale(1); }
.stagger-children .reveal { transition-delay:calc(var(--i,0) * 0.12s); }

/* Scroll Progress */
#scroll-progress { position:fixed; top:0; left:0; height:3px; background:linear-gradient(90deg,#ba9eff,#3adffa,#ec63ff); z-index:9998; width:0%; transition:width 0.1s linear; }

/* Hero */
.hero-dark { background:linear-gradient(135deg,#ede0ff 0%,#d4f4ff 35%,#ffd6fb 65%,#d6eeff 100%); position:relative; overflow:hidden; }
.hero-dark::before {
    content:'';
    position:absolute; inset:0;
    background:
        radial-gradient(ellipse at 10% 50%,  rgba(132,85,239,0.16)  0%, transparent 45%),
        radial-gradient(ellipse at 88% 20%,  rgba(58,223,250,0.15)  0%, transparent 40%),
        radial-gradient(ellipse at 55% 100%, rgba(236,99,255,0.14)  0%, transparent 42%),
        radial-gradient(ellipse at 70% 55%,  rgba(186,158,255,0.11) 0%, transparent 38%),
        radial-gradient(ellipse at 30% 10%,  rgba(58,223,250,0.10)  0%, transparent 35%);
    z-index:1;
}

/* vivid floating color blobs behind the mesh */
.hero-dark::after {
    content:'';
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background:
        radial-gradient(circle at 20% 70%,  rgba(186,158,255,0.20) 0%, transparent 30%),
        radial-gradient(circle at 80% 30%,  rgba(58,223,250,0.17)  0%, transparent 28%),
        radial-gradient(circle at 50% 50%,  rgba(236,99,255,0.10)  0%, transparent 40%),
        radial-gradient(circle at 10% 20%,  rgba(132,85,239,0.12)  0%, transparent 25%),
        radial-gradient(circle at 90% 80%,  rgba(58,223,250,0.11)  0%, transparent 25%);
    animation: heroBlobShift 10s ease-in-out infinite alternate;
}
@keyframes heroBlobShift {
    0%   { opacity:1;   transform:scale(1)   translateX(0px); }
    50%  { opacity:0.8; transform:scale(1.06) translateX(12px); }
    100% { opacity:1;   transform:scale(1)   translateX(0px); }
}

@keyframes float { 0%,100%{transform:translateY(0px) rotate(0deg)} 50%{transform:translateY(-8px) rotate(1deg)} }
.float-badge { animation:float 4s ease-in-out infinite; }
.float-badge:nth-child(2) { animation-delay:-1s; }
.float-badge:nth-child(3) { animation-delay:-2s; }
.float-badge:nth-child(4) { animation-delay:-0.5s; }
.float-badge:nth-child(5) { animation-delay:-2.5s; }

@keyframes orbit { to { transform:rotate(360deg); } }
.orbit-ring { position:absolute; border:1px solid rgba(186,158,255,0.08); border-radius:50%; animation:orbit linear infinite; }

@keyframes pulseDot { 0%,100%{transform:scale(1);opacity:0.6} 50%{transform:scale(1.5);opacity:1} }

/* Pathway Cards */
.pathway-card { position:relative; border-radius:1.5rem; overflow:hidden; transition:transform 0.5s cubic-bezier(0.23,1,0.32,1), box-shadow 0.5s ease; }
.pathway-card::before { content:''; position:absolute; inset:0; border-radius:1.5rem; padding:2px; background:linear-gradient(135deg,rgba(186,158,255,0.5),rgba(58,223,250,0.4),rgba(236,99,255,0.4)); -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:0; transition:opacity 0.5s ease; }
.pathway-card:hover::before { opacity:1; }
.pathway-card:hover { transform:translateY(-14px) scale(1.02); box-shadow:0 30px 80px rgba(132,85,239,0.25), 0 0 60px rgba(186,158,255,0.08); }

/* Tech Cards */
.tech-card { transition:all 0.4s cubic-bezier(0.23,1,0.32,1); }
.tech-card:hover { transform:translateY(-8px) scale(1.05); box-shadow:0 20px 50px rgba(132,85,239,0.2); }

/* Section Wave */
.section-wave { position:relative; }
.section-wave::after { content:''; position:absolute; bottom:-1px; left:0; right:0; height:80px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23f9f8fd' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center; background-size:cover; pointer-events:none; z-index:3; }

/* Stats Animation */
.stat-item { opacity:0; transform:translateY(40px) scale(0.8); transition:opacity 0.7s cubic-bezier(0.23,1,0.32,1) var(--delay), transform 0.7s cubic-bezier(0.23,1,0.32,1) var(--delay); }
.stat-item.animate-in { opacity:1; transform:translateY(0) scale(1); }
.stat-number { transition:transform 0.3s cubic-bezier(0.23,1,0.32,1); }
.stat-item.animate-in .stat-number { animation:statPop 0.6s cubic-bezier(0.23,1,0.32,1) var(--delay) both; }
@keyframes statPop { 0%{transform:scale(0.5);opacity:0} 60%{transform:scale(1.15)} 100%{transform:scale(1);opacity:1} }
.stat-item:hover .stat-number { transform:scale(1.12); }
.stat-bar { transition:width 0.8s cubic-bezier(0.23,1,0.32,1) calc(var(--delay) + 0.4s); }
.stat-item.animate-in .stat-bar { width:48px; }
.stat-label { opacity:0; transform:translateY(8px); transition:opacity 0.5s ease calc(var(--delay) + 0.3s), transform 0.5s ease calc(var(--delay) + 0.3s); }
.stat-item.animate-in .stat-label { opacity:1; transform:translateY(0); }

/* Offer Cards */
.glass-card-light {
    background: linear-gradient(135deg, rgba(186,158,255,0.15), rgba(58,223,250,0.1), rgba(236,99,255,0.1)) !important;
    border: 1.5px solid rgba(186,158,255,0.4) !important;
    box-shadow: 0 4px 24px rgba(132,85,239,0.08);
}
.offer-card {
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}
.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 28px 60px rgba(132,85,239,0.2), 0 0 40px rgba(186,158,255,0.08);
    border-color: rgba(132,85,239,0.6) !important;
}
.offer-card:hover .material-symbols-outlined {
    animation: iconBounce 0.5s cubic-bezier(0.23,1,0.32,1);
}
.offer-card:hover h3 {
    color: #8455ef;
    transition: color 0.3s ease;
}
@keyframes iconBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.25) rotate(-5deg); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width:768px) {
    #footer-main-grid { grid-template-columns:repeat(2,1fr) !important; gap:24px !important; padding:40px 16px 32px !important; }
    .reveal { transform:translateY(40px); }
    .reveal-left, .reveal-right { transform:translateY(40px); }
}
@media (max-width:480px) {
    #footer-main-grid { grid-template-columns:1fr !important; }
}

/* Global Section Padding */
section { padding: 32px 24px 32px 24px; }
/* Override Tailwind py utilities on sections */
section.py-6, section.py-8, section[class*="py-6"], section[class*="py-8"],
section[class*="py-10"], section[class*="py-14"] { padding: 32px 24px 32px 24px; }

/* WP Specific */
.custom-logo { max-width:140px; height:auto; }
.custom-logo-link { display:block; }

/* Level Badges */
.level-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 99px;
    border: 1.5px solid;
}
.badge-beginner {
    color: #10b981;
    border-color: #10b981;
}
.badge-intermediate {
    color: #6366f1;
    border-color: #6366f1;
}
.badge-advanced {
    color: #ef4444;
    border-color: #ef4444;
}

/* Course Cards */
.course-card {
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(132, 85, 239, 0.12);
}
.course-card a[href="#enroll"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}
.course-card a[href="#enroll"]:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(132, 85, 239, 0.3);
}

/* Testimonial Cards */
.testimonial-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(132, 85, 239, 0.12);
}

/* ===== SHARED UTILITIES ===== */

/* Text Utilities */
.text-primary-dim { color: #8455ef; }
.text-primary-fixed { color: #8455ef; }
.text-gradient {
    background: linear-gradient(to right, #ba9eff, #3adffa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Textures */
.pathways-texture {
    background-color: #f9fafb;
    background-image: radial-gradient(circle at 20% 50%, rgba(132,85,239,0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(58,223,250,0.03) 0%, transparent 40%);
}
.neural-mesh-light {
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at 30% 70%, rgba(186,158,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(58,223,250,0.05) 0%, transparent 45%);
}

/* Animated Background Orbs */
.animated-bg-1 { background: rgba(132,85,239,0.12); animation: animBg1 8s ease-in-out infinite; }
.animated-bg-2 { background: rgba(58,223,250,0.10); animation: animBg2 10s ease-in-out infinite; }
.animated-bg-3 { background: rgba(236,99,255,0.08); animation: animBg3 12s ease-in-out infinite; }
.animated-bg-4 { background: rgba(132,85,239,0.10); animation: animBg4 14s ease-in-out infinite; }
@keyframes animBg1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(30px,-20px) scale(1.1)} }
@keyframes animBg2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-20px,30px) scale(1.05)} }
@keyframes animBg3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(20px,20px) scale(1.08)} }
@keyframes animBg4 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-30px,-10px) scale(1.12)} }

/* ===== CTA FORM STYLES ===== */
.cta-form-wrap {
    background: #ffffff;
    border: 1px solid rgba(186,158,255,0.25);
    border-radius: 1.5rem;
    padding: 48px;
    box-shadow: 0 12px 48px rgba(132,85,239,0.08);
}
.cta-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cta-field-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}
.cta-input {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    color: #111827;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cta-input:focus {
    border-color: #ba9eff;
    box-shadow: 0 0 0 3px rgba(186,158,255,0.12);
}
.cta-textarea {
    resize: vertical;
    min-height: 80px;
}
.cta-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(to right, #ba9eff, #3adffa);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(132,85,239,0.3);
}
.cta-submit:active {
    transform: translateY(0);
}

@media (max-width:768px) {
    .cta-form-wrap { padding: 32px 20px; }
}

/* ===== PROFESSIONAL COURSE SINGLE PAGE ===== */

/* Base */
.prose-professionals {
    font-family: 'Manrope', sans-serif;
    color: #374151;
    line-height: 1.8;
    font-size: 1rem;
}

/* Intro paragraph */
.prose-professionals > p:first-child {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.85;
    border-left: 3px solid #ba9eff;
    padding-left: 20px;
    margin-bottom: 2rem;
}
.prose-professionals p { margin-bottom: 1rem; }

/* Section headings (h2) */
.prose-professionals h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 2.5rem 0 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(186,158,255,0.3);
}

/* Sub-headings (h3) — used for Technical Skills / Professional Skills */
.prose-professionals h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #8455ef;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 1.5rem 0 0.6rem;
}

/* Meta table — Duration, Sessions, Level, Prerequisites, Investment */
.prose-professionals table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.9rem;
}
.prose-professionals table tr {
    border-bottom: 1px solid rgba(186,158,255,0.15);
}
.prose-professionals table tr:last-child { border-bottom: none; }
.prose-professionals table td {
    padding: 12px 8px;
    vertical-align: top;
}
.prose-professionals table td:first-child {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    width: 180px;
}
.prose-professionals table td:last-child {
    color: #6b7280;
}

/* Scholarship / italic note */
.prose-professionals em {
    font-size: 0.85rem;
    color: #9ca3af;
    font-style: italic;
    display: block;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

/* Module list (ol) */
.prose-professionals ol {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    counter-reset: module-counter;
}
.prose-professionals ol li {
    counter-increment: module-counter;
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(186,158,255,0.12);
    font-size: 0.95rem;
    color: #374151;
}
.prose-professionals ol li:last-child { border-bottom: none; }
.prose-professionals ol li::before {
    content: counter(module-counter, decimal-leading-zero);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: #8455ef;
    background: rgba(132,85,239,0.08);
    border-radius: 6px;
    padding: 2px 8px;
    flex-shrink: 0;
}

/* Skills bullet list (ul) */
.prose-professionals ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}
.prose-professionals ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.92rem;
    color: #4b5563;
}
.prose-professionals ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ba9eff, #3adffa);
    flex-shrink: 0;
    margin-top: 8px;
}

/* strong */
.prose-professionals strong { color: #111827; font-weight: 700; }

/* links */
.prose-professionals a { color: #8455ef; text-decoration: underline; }
.prose-professionals a:hover { color: #3adffa; }


/* ── Announcement / Marquee Bar ── */
.marquee-bar {
  background: rgba(15,10,30,0.82);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}
.marquee-content {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}
.marquee-content span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #d4b8ff;
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
body { padding-bottom: 40px; } /* prevent content hidden behind fixed bar */

/* ── Choose Your Path cards ── */
.path-card {
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(132, 85, 239, 0.14);
  border-color: #8455ef;
}
.path-card:hover a { color: #8455ef; }
.path-link {
  color: #111827;
  transition: color 0.3s ease;
}
.path-link:hover {
  color: #8455ef;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.path-link:hover .path-link-arrow { transform: translateX(4px); }
