/* eBuddha site footer: bento layout. Styles only, markup unchanged; the gradient background stays inline on <footer>. */
@property --ebf-a{syntax:"<angle>";inherits:false;initial-value:0deg}

footer:has(>.footer-section){position:relative;overflow:hidden;isolation:isolate;padding:0!important}
/* top light line */
footer:has(>.footer-section)::before{content:"";position:absolute;inset:0 0 auto;height:2px;z-index:2;background:linear-gradient(90deg,transparent,#00B9F1 25%,#FFB800 50%,#00B9F1 75%,transparent)}
/* dot texture fading down */
footer:has(>.footer-section)::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1.2px);background-size:24px 24px;-webkit-mask-image:linear-gradient(180deg,#000,transparent 60%);mask-image:linear-gradient(180deg,#000,transparent 60%)}

.footer-section{position:relative;padding:88px 0 0;color:#C9D4EE}
/* aurora glow */
.footer-section::before{content:"";position:absolute;z-index:0;pointer-events:none;width:900px;height:900px;left:50%;top:-520px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(0,185,241,.28),rgba(25,76,255,.14) 45%,transparent 70%);filter:blur(10px);animation:ebfGlow 14s ease-in-out infinite alternate}
@keyframes ebfGlow{0%{transform:translateX(-70%) scale(1)}100%{transform:translateX(-30%) scale(1.15)}}

/* ---------- one flat grid ---------- */
.footer-section>.container-main{position:relative;z-index:1;display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;grid-template-areas:
 "brand brand brand brand quick quick services services services contact contact contact"
 "crs crs crs crs crs crs free free free free free free"
 "links links links links links links links links links links links links"
 "copy copy copy copy copy copy copy copy copy copy copy copy"
 "mark mark mark mark mark mark mark mark mark mark mark mark"}
.footer-section>.container-main>.row,
.footer-section>.container-main>.row>[class*=col-],
.footer-section>.container-main>.row>[class*=col-]>[class*=col-],
.footer-section .col-xl-9>.row,
.footer-section .eb-secure,
.footer-section .eb-crs{display:contents!important}
.footer-section .eb-sep-links,.footer-section .eb-crs h5{display:none!important}

.footer-section>.container-main>.row:first-child>.col-xl-3{grid-area:brand}
.footer-section .col-xl-9>.row>div:nth-child(1){grid-area:quick}
.footer-section .col-xl-9>.row>div:nth-child(2){grid-area:services}
.footer-section .col-xl-9>.row>div:nth-child(3){grid-area:contact}
.footer-section .eb-crs>ul:not(.eb-free){grid-area:crs}
.footer-section .eb-crs>ul.eb-free{grid-area:free}
.footer-section .eb-links{grid-area:links}
.footer-section .copyright-footer{grid-area:copy}

/* ---------- tiles ---------- */
.footer-section .col-xl-9>.row>div,
.footer-section>.container-main>.row:first-child>.col-xl-3,
.footer-section .eb-crs>ul{position:relative;width:auto!important;max-width:none!important;margin:0!important;padding:28px!important;border-radius:24px;border:1px solid transparent!important;
 background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.025)) padding-box,linear-gradient(160deg,rgba(143,180,255,.45),rgba(255,255,255,.06) 40%,rgba(0,185,241,.3)) border-box;
 -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 20px 40px -24px rgba(0,0,0,.6);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.footer-section .col-xl-9>.row>div:hover,
.footer-section .eb-crs>ul:hover{transform:translateY(-4px);box-shadow:0 26px 50px -20px rgba(0,120,255,.45)}

/* brand tile: spinning gradient border + glow */
.footer-section>.container-main>.row:first-child>.col-xl-3{display:flex!important;flex-direction:column;justify-content:space-between;overflow:hidden;
 background:linear-gradient(160deg,#0A1A6B,#061033) padding-box,conic-gradient(from var(--ebf-a),#194CFF,#00B9F1,#FFB800,#194CFF) border-box;animation:ebfSpin 6s linear infinite}
@keyframes ebfSpin{to{--ebf-a:360deg}}
.footer-section>.container-main>.row:first-child>.col-xl-3::after{content:"";position:absolute;right:-80px;bottom:-80px;width:240px;height:240px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,185,241,.35),transparent);pointer-events:none}
.footer-section .company-info{position:relative;z-index:1}
.footer-section .company-info>ul{text-align:left!important;margin:0!important}
.footer-section .company-info>ul>li:first-child{justify-content:flex-start!important;margin:0 0 22px!important}
.footer-section .company-info img{width:176px;height:auto}
.footer-section .footer-disc{padding:0!important;margin:0!important}
.footer-section .footer-disc p{font-size:19px!important;line-height:1.45!important;font-weight:600!important;letter-spacing:-.01em;color:#fff!important;max-width:320px;
 background:linear-gradient(90deg,#fff,#BFD6FF 60%,#7FD8FF);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.footer-section .company-info>ul>li.d-lg-block{display:none!important}
.footer-section .eb-soc{gap:10px!important;margin:26px 0 0!important;justify-content:flex-start!important}
.footer-section .eb-soc a{flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:14px!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.07)!important}
.footer-section .eb-soc a[href]:hover,.footer-section .eb-soc a[href]:focus-visible{background:#fff!important;color:#0B1B4F!important;border-color:#fff!important;transform:translateY(-4px) rotate(-6deg)!important;box-shadow:0 12px 24px rgba(0,185,241,.45)!important}

/* headings */
.footer-section .footer-links-list>span,.footer-section .eb-ct-head>span,.footer-section .eb-crs>ul::before{display:flex!important;align-items:center;gap:10px;font-size:12px!important;font-weight:700!important;letter-spacing:.16em;text-transform:uppercase;color:#8FB4FF!important;margin:0 0 20px!important;line-height:1.4!important;padding:0!important}
.footer-section .footer-links-list>span::before,.footer-section .eb-ct-head>span::before{content:"";width:8px;height:8px;border-radius:50%;background:#00B9F1;box-shadow:0 0 0 4px rgba(0,185,241,.18),0 0 12px #00B9F1}
.footer-section .eb-ct-head{margin:0!important}
.footer-section .eb-ct-head>div{display:none!important}

/* link lists */
.footer-section .footer-links-list ul.ul-categories{margin:0!important;padding:0}
.footer-section .footer-links-list:not(.eb-ct) li{margin:0!important;font-size:15px!important;line-height:1.4!important}
.footer-section .footer-links-list:not(.eb-ct) li a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;color:#E2E9FF!important;text-decoration:none!important;transition:color .25s,padding .25s}
.footer-section .footer-links-list:not(.eb-ct) li a::after{content:"\2197"!important;display:block!important;position:static!important;width:auto!important;height:auto!important;background:none!important;transform:none!important;font-size:14px;opacity:0;color:#00B9F1;transition:opacity .25s,transform .25s}
.footer-section .footer-links-list:not(.eb-ct) li a:hover,.footer-section .footer-links-list:not(.eb-ct) li a:focus-visible{color:#fff!important;padding-left:6px}
.footer-section .footer-links-list:not(.eb-ct) li a:hover::after,.footer-section .footer-links-list:not(.eb-ct) li a:focus-visible::after{opacity:1}

/* contact tile */
.footer-section .eb-ct>ul{display:flex;flex-direction:column;margin:0!important;padding:0}
.footer-section .footer-links-list.eb-ct>ul>li{display:flex!important;align-items:flex-start;gap:14px;margin:0!important;padding:14px 0!important;border-bottom:1px dashed rgba(255,255,255,.14)}
.footer-section .footer-links-list.eb-ct>ul>li:first-child{padding-top:0!important}
.footer-section .footer-links-list.eb-ct>ul>li:last-child{border-bottom:0;padding-bottom:0!important}
.footer-section .eb-ct li>svg{flex:0 0 40px!important;min-width:40px;width:40px!important;height:40px!important;padding:10px;margin:0!important;border-radius:12px;background:linear-gradient(135deg,#194CFF,#00B9F1);color:#fff;stroke:#fff;box-shadow:0 8px 18px rgba(25,76,255,.45)}
.footer-section .eb-ct li>span{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:14px!important;line-height:1.5!important}
.footer-section .eb-ct .lbl{font-size:10.5px!important;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#8FB4FF!important;margin:0!important}
.footer-section .eb-ct li a{color:#fff!important;font-weight:700;text-decoration:none!important;word-break:break-word}
.footer-section .eb-ct li:first-child a{font-size:20px;letter-spacing:.01em}
.footer-section .eb-ct li a:hover{color:#7FD8FF!important}
.footer-section .eb-ct li>span>span:not(.lbl){color:#D7DEF5;font-size:13.5px}

/* course tiles */
.footer-section .eb-crs>ul{display:flex!important;flex-wrap:wrap;align-content:flex-start;gap:10px!important}
.footer-section .eb-crs>ul::before{flex:0 0 100%;margin-bottom:6px!important}
.footer-section .eb-crs>ul:not(.eb-free)::before{content:"Popular Certification Courses"}
.footer-section .eb-crs>ul.eb-free::before{content:"Free Master Classes"}
.footer-section .eb-crs>ul.eb-free::after{content:"FREE";position:absolute;right:24px;top:24px;font-size:10.5px;font-weight:800;letter-spacing:.12em;color:#0B1B4F;background:linear-gradient(90deg,#FFB800,#FFE07A);padding:5px 11px;border-radius:999px;box-shadow:0 6px 16px rgba(255,184,0,.35)}
.footer-section .eb-crs li{border:0!important;margin:0!important;padding:0!important;font-size:13.5px!important;line-height:1.3!important}
.footer-section .eb-crs li>a,.footer-section .eb-crs li>span{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);color:#E7ECFF!important;text-decoration:none!important;transition:background .25s,border-color .25s,color .25s,transform .25s}
.footer-section .eb-crs li>a::before{content:"";width:7px;height:7px;border-radius:50%;background:#00B9F1;box-shadow:0 0 8px #00B9F1}
.footer-section .eb-crs li>span::before{content:"";width:7px;height:7px;border-radius:50%;background:#FFB800;box-shadow:0 0 8px #FFB800}
.footer-section .eb-crs li>a:hover{background:#fff;border-color:#fff;color:#0B1B4F!important;transform:translateY(-2px)}

/* legal links */
.footer-section .eb-links{display:flex!important;flex-wrap:wrap;justify-content:center;gap:6px 4px!important;margin:10px 0 0!important;padding:0!important;border:0!important;order:0!important}
.footer-section .eb-links a{border:0!important;padding:7px 14px!important;border-radius:999px;font-size:13px!important;color:#B8C4E6!important;line-height:1.4!important;transition:background .25s,color .25s}
.footer-section .eb-links a:hover{background:rgba(255,255,255,.1);color:#fff!important;text-decoration:none!important}

/* copyright bar */
.footer-section .copyright-footer{display:flex!important;align-items:center;justify-content:space-between;gap:16px;margin:0!important;padding:16px 16px 16px 24px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:999px;background:rgba(0,8,37,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:13.5px!important;color:#D7DEF5!important;text-align:left!important}
.footer-section .copyright-footer .design-by{color:#7FD8FF!important}
.footer-section .eb-ct-btn{flex:0 0 auto;margin:0!important}

/* giant outlined wordmark */
.footer-section>.container-main::after{content:"eBuddha";grid-area:mark;display:block;text-align:center;font-weight:800;font-size:clamp(72px,17vw,232px);line-height:.78;letter-spacing:-.045em;margin:18px 0 -.12em;pointer-events:none;user-select:none;
 color:transparent;-webkit-text-stroke:1.2px rgba(160,195,255,.32);background:linear-gradient(180deg,rgba(127,216,255,.22),rgba(25,76,255,0) 75%);-webkit-background-clip:text;background-clip:text}

/* ---------- tablet ---------- */
@media (max-width:1199.98px){
 .footer-section>.container-main{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:
  "brand brand brand contact contact contact"
  "quick quick quick services services services"
  "crs crs crs crs crs crs"
  "free free free free free free"
  "links links links links links links"
  "copy copy copy copy copy copy"
  "mark mark mark mark mark mark"}
}

/* ---------- mobile ---------- */
@media (max-width:767.98px){
 .footer-section{padding-top:56px}
 .footer-section::before{width:600px;height:600px;top:-360px}
 .footer-section>.container-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-template-areas:
  "brand brand" "quick services" "contact contact" "crs crs" "free free" "links links" "copy copy" "mark mark"}
 .footer-section .col-xl-9>.row>div,
 .footer-section>.container-main>.row:first-child>.col-xl-3,
 .footer-section .eb-crs>ul{padding:22px 18px!important;border-radius:20px}
 .footer-section>.container-main>.row:first-child>.col-xl-3{text-align:center;align-items:center}
 .footer-section .company-info>ul{text-align:center!important}
 .footer-section .company-info>ul>li:first-child{justify-content:center!important;margin-bottom:16px!important}
 .footer-section .company-info img{width:156px}
 .footer-section .footer-disc p{font-size:17px!important;margin:0 auto!important;max-width:280px}
 .footer-section .eb-soc{justify-content:center!important;margin-top:20px!important}
 .footer-section .footer-links-list>span,.footer-section .eb-ct-head>span,.footer-section .eb-crs>ul::before{font-size:11px!important;letter-spacing:.14em;margin-bottom:12px!important}
 .footer-section .footer-links-list:not(.eb-ct) li{font-size:13.5px!important}
 .footer-section .footer-links-list:not(.eb-ct) li a{padding:6px 0}
 .footer-section .footer-links-list:not(.eb-ct) li a::after{display:none!important}
 .footer-section .eb-ct li:first-child a{font-size:18px}
 .footer-section .eb-crs>ul.eb-free::after{right:18px;top:20px}
 .footer-section .eb-crs li{font-size:12.5px!important}
 .footer-section .eb-crs li>a,.footer-section .eb-crs li>span{padding:8px 12px}
 .footer-section .eb-links a{font-size:12.5px!important;padding:6px 10px!important}
 .footer-section .copyright-footer{flex-direction:column-reverse;text-align:center!important;border-radius:20px;padding:16px!important;gap:12px}
 .footer-section .copyright-footer>div{font-size:12.5px}
 .footer-section .eb-ct-btn{width:100%;justify-content:center;text-align:center}
 .footer-section .col-xl-9>.row>div:hover,.footer-section .eb-crs>ul:hover{transform:none}
}
@media (max-width:359.98px){
 .footer-section>.container-main{grid-template-columns:1fr;grid-template-areas:"brand" "quick" "services" "contact" "crs" "free" "links" "copy" "mark"}
}
@media (prefers-reduced-motion:reduce){
 .footer-section::before,.footer-section>.container-main>.row:first-child>.col-xl-3{animation:none!important}
 .footer-section *{transition:none!important}
}
