/* =====================================================================
   EduVAULT — 3D layer
   Depth, motion and the new auto sections. Loaded after theme.css.
   Motion is switched off for visitors who ask for reduced motion.
   ===================================================================== */

:root{
  --ev-depth: 0 1px 0 rgba(255,255,255,.6) inset, 0 -2px 0 rgba(11,27,58,.05) inset, 0 18px 40px -18px rgba(11,27,58,.35), 0 6px 14px -8px rgba(11,27,58,.18);
  --ev-glass: rgba(255,255,255,.08);
  --ev-glass-line: rgba(255,255,255,.16);
}

body{ background: radial-gradient(1200px 600px at 100% 0%, #EEF4FD 0%, rgba(238,244,253,0) 60%), #fff; }

/* scroll progress */
.ev-scroll-progress{ position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--ev-progress, 0)); background: linear-gradient(90deg, var(--ev-accent), var(--ev-brand), var(--ev-indigo)); z-index: 2000; pointer-events: none; }

/* 3D buttons */
.btns{ box-shadow: 0 4px 0 #123F8F, 0 14px 26px -10px rgba(28,117,188,.75); }
.btns:hover{ box-shadow: 0 6px 0 #123F8F, 0 20px 34px -12px rgba(28,117,188,.85); }
.btns:active{ transform: translateY(3px); box-shadow: 0 1px 0 #123F8F, 0 6px 14px -8px rgba(28,117,188,.7); }
.btns.hwhite{ box-shadow: 0 4px 0 #B87406, 0 14px 26px -10px rgba(245,165,36,.75); }
.btns.hwhite:hover{ box-shadow: 0 6px 0 #B87406, 0 20px 34px -12px rgba(245,165,36,.8); }
.btns.brd{ box-shadow: 0 4px 0 #D5E2F2; }
.btns.brd.white{ box-shadow: 0 4px 0 rgba(255,255,255,.22); }

/* tilt + glare */
[data-tilt], .ev-tilt{ transform-style: preserve-3d; will-change: transform; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.ev-tilting{ transition: transform .08s linear, box-shadow .35s ease; }
.ev-glare{ position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .3s ease; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.55), rgba(255,255,255,0) 45%); mix-blend-mode: soft-light; }
.ev-tilting .ev-glare{ opacity: 1; }
.services, .product, .feature_block, .misvis, .add_block, .testi, .product_box, .blog, .ev-step, .ev-module-card, .ev-highlight{ position: relative; }
.services .cap, .feature_block > *, .product .dtl, .misvis > *, .add_block > *, .ev-step > *, .ev-module-card > *{ transform: translateZ(0); }
.ev-tilting .ev-pop{ transform: translateZ(40px); }

/* reveal on scroll */
.ev-reveal{ opacity: 0; transform: perspective(1000px) translate3d(0, 46px, 0) rotateX(14deg); transform-origin: 50% 100%; transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--ev-delay, 0s); }
.ev-reveal.ev-in{ opacity: 1; transform: none; }

/* section eyebrow + headers */
.ev-section-head{ text-align: center; margin-bottom: 44px; }
.ev-eyebrow{ display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 14px; border-radius: 999px; background: var(--ev-soft); color: var(--ev-brand); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ev-eyebrow:before{ content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ev-accent); box-shadow: 0 0 0 4px rgba(245,165,36,.22); }
.ev-eyebrow-light{ background: rgba(255,255,255,.1); color: #DCE8FA; border: 1px solid rgba(255,255,255,.2); }
.ev-section-head .global_title.text-center:before{ display: none; }
.global_title{ text-shadow: 0 1px 0 #fff, 0 10px 28px rgba(28,117,188,.12); }

/* ---------- Hero 3D ---------- */
.hero_sec{ perspective: 1600px; position: relative; }
.hero_sec .owl-carousel{ transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.8,.2,1); transform: rotateX(var(--ev-rx, 0deg)) rotateY(var(--ev-ry, 0deg)); }
.hero_sec .owl-carousel .owl-stage-outer{ box-shadow: 0 50px 80px -40px rgba(11,27,58,.55), 0 20px 40px -20px rgba(28,117,188,.35); }
.hero_sec .cap_info h2{ text-shadow: 0 2px 0 rgba(0,0,0,.15), 0 12px 30px rgba(0,0,0,.35); }
.ev-orbs{ position: absolute; inset: 18px 2.2vw 0; pointer-events: none; z-index: 3; overflow: hidden; border-radius: 28px; }
.ev-orb{ position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95) 0%, rgba(160,200,255,.55) 18%, rgba(59,79,216,.35) 55%, rgba(11,27,58,0) 72%); animation: ev-float 9s ease-in-out infinite; opacity: .85; }
.ev-orb.o1{ width: 110px; height: 110px; left: 44%; top: 12%; }
.ev-orb.o2{ width: 54px; height: 54px; left: 38%; bottom: 18%; animation-duration: 7s; animation-delay: -2s; }
.ev-orb.o3{ width: 80px; height: 80px; right: 6%; bottom: 26%; animation-duration: 11s; animation-delay: -4s; background: radial-gradient(circle at 30% 28%, #fff 0%, #FFD58A 20%, rgba(245,165,36,.5) 55%, rgba(245,165,36,0) 72%); }
@keyframes ev-float{ 0%,100%{ transform: translate3d(0,0,0) } 50%{ transform: translate3d(0,-22px,0) } }

/* highlight band that floats over the hero */
.ev-highlights{ position: relative; z-index: 5; margin-top: -54px; padding: 0 0 10px; }
.ev-highlights-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 18px; border-radius: 26px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--ev-shadow-lg); }
.ev-highlight{ display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--ev-line); box-shadow: var(--ev-depth); }
.ev-highlight strong{ display: block; color: var(--ev-ink); font-size: 16px; font-weight: 800; }
.ev-highlight span:not(.ev-highlight-icon){ display: block; color: var(--ev-text); font-size: 13.5px; line-height: 1.5; }
.ev-highlight-icon{ flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; background: var(--ev-grad); box-shadow: 0 4px 0 #123F8F, 0 12px 20px -8px rgba(28,117,188,.7); transform: translateZ(30px); }
.ev-highlight:nth-child(2) .ev-highlight-icon{ background: linear-gradient(135deg, #F5A524, #F97316); box-shadow: 0 4px 0 #B85C06, 0 12px 20px -8px rgba(245,165,36,.7); }
.ev-highlight:nth-child(3) .ev-highlight-icon{ background: linear-gradient(135deg, #10B981, #0EA5E9); box-shadow: 0 4px 0 #0B7A5C, 0 12px 20px -8px rgba(16,185,129,.6); }
.ev-highlight:nth-child(4) .ev-highlight-icon{ background: linear-gradient(135deg, #8B5CF6, #3B4FD8); box-shadow: 0 4px 0 #4C2FA8, 0 12px 20px -8px rgba(139,92,246,.6); }

/* about: 3D monitor */
.about_sec figure img{ transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.page-index .about_sec figure{ perspective: 1200px; }
.page-index .about_sec figure img{ transform: rotateY(14deg) rotateX(4deg); }
.page-index .about_sec figure:hover img{ transform: rotateY(0) rotateX(0) scale(1.02); }
.counter_info .counter_block{ box-shadow: var(--ev-depth); background: linear-gradient(180deg, #fff, var(--ev-surface)); }

/* services + products get layered depth */
.services, .product, .feature_block, .misvis, .add_block, .product_box, .testi{ box-shadow: var(--ev-depth); }
.services img{ transform-origin: 50% 100%; }
.services h3, .product h3, .feature_block h5{ transform: translateZ(26px); }

/* ---------- How it works ---------- */
.ev-steps{ position: relative; padding: 120px 0; background: var(--ev-ink); overflow: hidden; isolation: isolate; }
.ev-steps-bg{ position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .22; filter: saturate(1.1); transform: scale(1.08); }
.ev-steps:before{ content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 15% 0%, rgba(28,117,188,.55), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(59,79,216,.5), transparent 60%), linear-gradient(180deg, rgba(8,21,48,.55), rgba(8,21,48,.92)); }
.ev-steps .global_title{ color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,.4); max-width: 760px; margin-left: auto; margin-right: auto; }
.ev-step{ height: 100%; padding: 30px 26px 28px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid var(--ev-glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); overflow: hidden; }
.ev-step-num{ position: absolute; right: 18px; top: 8px; font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); letter-spacing: -0.04em; }
.ev-step-icon{ width: 58px; height: 58px; margin-bottom: 22px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--ev-ink); font-size: 22px; background: linear-gradient(135deg, #FFD58A, var(--ev-accent)); box-shadow: 0 5px 0 #B87406, 0 18px 30px -12px rgba(245,165,36,.8); transform: translateZ(40px); }
.ev-step h3{ color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 10px; transform: translateZ(24px); }
.ev-step p{ margin: 0; color: #B9C8E2; font-size: 15px; line-height: 1.7; }

/* ---------- Campus showcase: stacked 3D photos ---------- */
.ev-showcase{ padding: 120px 0; overflow: hidden; }
.ev-showcase .global_title{ font-size: 40px; }
.ev-showcase .check_list{ margin: 22px 0 30px; }
.ev-stack{ position: relative; height: 480px; perspective: 1400px; transform-style: preserve-3d; }
.ev-stack figure{ position: absolute; margin: 0; width: 74%; border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 40px 70px -30px rgba(11,27,58,.55); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ev-stack figure img{ width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ev-stack-1{ left: 0; top: 0; transform: rotateY(18deg) rotateX(6deg) translateZ(-60px); }
.ev-stack-2{ right: 0; top: 90px; transform: rotateY(-14deg) rotateX(4deg) translateZ(0); z-index: 2; }
.ev-stack-3{ left: 12%; bottom: 0; width: 56% !important; transform: rotateY(10deg) rotateX(-4deg) translateZ(60px); z-index: 3; }
.ev-stack:hover .ev-stack-1{ transform: rotateY(8deg) translateZ(-40px) translateX(-10px); }
.ev-stack:hover .ev-stack-2{ transform: rotateY(-6deg) translateZ(10px) translateX(10px); }
.ev-stack:hover .ev-stack-3{ transform: rotateY(4deg) translateZ(80px) translateY(10px); }

/* ---------- Clients: 3D tiles ---------- */
.client_sec .marquee-wrapper{ perspective: 900px; }
.client_sec .marquee-wrapper .row{ transform: rotateX(16deg) rotateZ(-4deg); }

/* ---------- Blog 3D ---------- */
.blog_main{ transform-style: preserve-3d; }
.blog_main .cap h3{ transform: translateZ(30px); }

/* ---------- Inner banner: floating cube ---------- */
.inner_banner .container{ position: relative; }
.ev-cube-wrap{ position: absolute; right: 9%; top: 50%; z-index: 2; width: 140px; height: 140px; margin-top: -70px; perspective: 800px; pointer-events: none; }
.ev-cube{ position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: ev-spin 18s linear infinite; }
.ev-cube i{ position: absolute; inset: 0; border-radius: 18px; border: 1px solid rgba(255,255,255,.35); background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(28,117,188,.18)); box-shadow: inset 0 0 30px rgba(255,255,255,.12); }
.ev-cube i:nth-child(1){ transform: translateZ(70px); }
.ev-cube i:nth-child(2){ transform: rotateY(180deg) translateZ(70px); }
.ev-cube i:nth-child(3){ transform: rotateY(90deg) translateZ(70px); }
.ev-cube i:nth-child(4){ transform: rotateY(-90deg) translateZ(70px); }
.ev-cube i:nth-child(5){ transform: rotateX(90deg) translateZ(70px); background: linear-gradient(135deg, rgba(245,165,36,.45), rgba(245,165,36,.1)); }
.ev-cube i:nth-child(6){ transform: rotateX(-90deg) translateZ(70px); }
.ev-cube-wrap.small{ right: 26%; top: 22%; width: 56px; height: 56px; margin-top: 0; opacity: .8; }
.ev-cube-wrap.small .ev-cube{ animation-duration: 12s; animation-direction: reverse; }
.ev-cube-wrap.small .ev-cube i{ border-radius: 10px; }
.ev-cube-wrap.small .ev-cube i:nth-child(1){ transform: translateZ(28px); }
.ev-cube-wrap.small .ev-cube i:nth-child(2){ transform: rotateY(180deg) translateZ(28px); }
.ev-cube-wrap.small .ev-cube i:nth-child(3){ transform: rotateY(90deg) translateZ(28px); }
.ev-cube-wrap.small .ev-cube i:nth-child(4){ transform: rotateY(-90deg) translateZ(28px); }
.ev-cube-wrap.small .ev-cube i:nth-child(5){ transform: rotateX(90deg) translateZ(28px); }
.ev-cube-wrap.small .ev-cube i:nth-child(6){ transform: rotateX(-90deg) translateZ(28px); }
@keyframes ev-spin{ from{ transform: rotateX(-18deg) rotateY(0) } to{ transform: rotateX(-18deg) rotateY(360deg) } }

/* ---------- Explore modules ---------- */
.ev-modules{ padding: 50px 0 30px; }
.ev-module-card{ display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--ev-line); box-shadow: var(--ev-depth); color: var(--ev-text); }
.ev-module-card:hover{ border-color: #CFE0F3; }
.ev-module-icon{ width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; background: var(--ev-grad); box-shadow: 0 4px 0 #123F8F, 0 12px 20px -8px rgba(28,117,188,.7); transform: translateZ(34px); }
.ev-module-group{ font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ev-accent-600); margin-bottom: 6px; }
.ev-module-card strong{ display: block; color: var(--ev-ink); font-size: 18px; font-weight: 800; margin-bottom: 8px; transform: translateZ(20px); }
.ev-module-text{ font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
.ev-module-link{ margin-top: auto; font-size: 14px; font-weight: 700; color: var(--ev-brand); display: inline-flex; gap: 8px; align-items: center; }
.ev-module-link i{ font-size: 11px; transition: transform .25s ease; }
.ev-module-card:hover .ev-module-link i{ transform: translateX(4px); }

/* ---------- CTA ---------- */
.ev-cta{ padding: 90px 0 110px; }
.ev-cta-card{ position: relative; padding: 60px 56px; border-radius: 32px; overflow: hidden; background: var(--ev-grad-dark); box-shadow: 0 50px 90px -40px rgba(11,27,58,.7); isolation: isolate; }
.ev-cta-card:before{ content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; }
.ev-cta-card h2{ color: #fff; font-size: 38px; line-height: 1.2; font-weight: 800; margin-bottom: 14px; transform: translateZ(30px); }
.ev-cta-card p{ color: #BCCBE4; margin: 0; }
.ev-cta-actions{ display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; transform: translateZ(40px); }
.ev-cta-orbs span{ position: absolute; border-radius: 50%; z-index: -1; animation: ev-float 10s ease-in-out infinite; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), rgba(59,79,216,.25) 50%, transparent 70%); }
.ev-cta-orbs span:nth-child(1){ width: 220px; height: 220px; right: -40px; top: -70px; }
.ev-cta-orbs span:nth-child(2){ width: 90px; height: 90px; right: 34%; bottom: -30px; animation-delay: -3s; background: radial-gradient(circle at 30% 30%, #fff, rgba(245,165,36,.55) 40%, transparent 70%); }
.ev-cta-orbs span:nth-child(3){ width: 50px; height: 50px; left: 46%; top: 20px; animation-delay: -6s; }

/* footer about line */
.ev-foot-about{ color: #9DACC6; font-size: 15px; max-width: 320px; margin-bottom: 22px; }

/* gallery captions */
.gallery_sec figure{ position: relative; background: #fff; }
.gallery_sec figcaption{ padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--ev-ink); }
.gallery_sec .gallery_grid{ columns: 3; }

/* ---------- Mobile quick bar ---------- */
.ev-mobile-bar{ position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1500; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; border-radius: 22px; background: rgba(11,27,58,.86); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 20px 40px -12px rgba(11,27,58,.6); border: 1px solid rgba(255,255,255,.12); }
.ev-mobile-bar a{ display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 16px; color: #C9D5EA; font-size: 11px; font-weight: 700; }
.ev-mobile-bar a i{ font-size: 17px; }
.ev-mobile-bar a:active{ background: rgba(255,255,255,.08); }
.ev-mobile-bar a.ev-mb-cta{ background: var(--ev-accent); color: var(--ev-ink); box-shadow: 0 3px 0 #B87406; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px){
  .ev-highlights-grid{ grid-template-columns: repeat(2, 1fr); }
  .ev-stack{ height: 420px; }
}
@media (max-width: 991px){
  body{ padding-bottom: 88px; }
  #return-to-top{ bottom: 96px; }
  .ev-highlights{ margin-top: -30px; }
  .ev-steps, .ev-showcase{ padding: 80px 0; }
  .ev-cta{ padding: 60px 0 70px; }
  .ev-cta-card{ padding: 44px 32px; }
  .ev-cta-card h2{ font-size: 30px; }
  .ev-cta-actions{ justify-content: flex-start; }
  .ev-modules{ padding: 70px 0 20px; }
  .ev-showcase .global_title{ font-size: 32px; }
  .ev-cube-wrap{ right: 5%; width: 100px; height: 100px; margin-top: -50px; }
  .ev-cube i:nth-child(1){ transform: translateZ(50px); } .ev-cube i:nth-child(2){ transform: rotateY(180deg) translateZ(50px); }
  .ev-cube i:nth-child(3){ transform: rotateY(90deg) translateZ(50px); } .ev-cube i:nth-child(4){ transform: rotateY(-90deg) translateZ(50px); }
  .ev-cube i:nth-child(5){ transform: rotateX(90deg) translateZ(50px); } .ev-cube i:nth-child(6){ transform: rotateX(-90deg) translateZ(50px); }
  .gallery_sec .gallery_grid{ columns: 2; }
}
@media (max-width: 767px){
  .ev-orbs{ inset: 12px 12px 0; border-radius: 22px; }
  .ev-orb.o1{ left: auto; right: 8%; top: 8%; width: 70px; height: 70px; }
  .ev-orb.o3{ display: none; }
  .ev-highlights{ margin-top: -24px; }
  .ev-highlights-grid{ grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; border-radius: 20px; }
  .ev-highlight{ flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .ev-highlight-icon{ flex-basis: auto; width: 44px; height: 44px; font-size: 17px; border-radius: 14px; }
  .ev-highlight strong{ font-size: 15px; }
  .ev-highlight span:not(.ev-highlight-icon){ font-size: 12.5px; }
  .ev-stack{ height: 320px; margin-top: 10px; }
  .ev-stack figure{ border-width: 4px; border-radius: 16px; }
  .ev-stack-2{ top: 70px; }
  .ev-cta-card{ padding: 36px 22px; border-radius: 26px; }
  .ev-cta-card h2{ font-size: 25px; }
  .ev-cta-actions .btns{ flex: 1 1 100%; }
  .ev-step-num{ font-size: 52px; }
  .ev-cube-wrap{ right: 6%; top: 18%; width: 70px; height: 70px; margin-top: 0; opacity: .7; }
  .ev-cube i:nth-child(1){ transform: translateZ(35px); } .ev-cube i:nth-child(2){ transform: rotateY(180deg) translateZ(35px); }
  .ev-cube i:nth-child(3){ transform: rotateY(90deg) translateZ(35px); } .ev-cube i:nth-child(4){ transform: rotateY(-90deg) translateZ(35px); }
  .ev-cube i:nth-child(5){ transform: rotateX(90deg) translateZ(35px); } .ev-cube i:nth-child(6){ transform: rotateX(-90deg) translateZ(35px); }
  .ev-cube-wrap.small{ display: none; }
  .page-index .about_sec figure img{ transform: rotateY(8deg); }
  .client_sec .marquee-wrapper .row{ transform: none; }
  .gallery_sec .gallery_grid{ columns: 1; }
}

@media (prefers-reduced-motion: reduce){
  .ev-reveal{ opacity: 1 !important; transform: none !important; transition: none !important; }
  .ev-orb, .ev-cube, .ev-cta-orbs span{ animation: none !important; }
  [data-tilt], .ev-tilt{ transform: none !important; }
}
