/* ===============================================
   EDU NOVA — 3D & HOVER ANIMATIONS
   Shared site-wide. Linked after page CSS.
   Do not remove keyframes used by multiple pages.
   =============================================== */

/* ========== SHARED KEYFRAMES (define once) ========== */

/* Floating hero icons — up/down + Y rotation */
@keyframes floatIcon {
  0%   { transform: translateY(0) rotateY(0deg) rotateX(0deg); }
  25%  { transform: translateY(-12px) rotateY(90deg) rotateX(6deg); }
  50%  { transform: translateY(0) rotateY(180deg) rotateX(0deg); }
  75%  { transform: translateY(12px) rotateY(270deg) rotateX(-6deg); }
  100% { transform: translateY(0) rotateY(360deg) rotateX(0deg); }
}

/* Eyebrow star / icon gentle scale pulse */
@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

/* Full 360° spin (academics circle image) */
@keyframes rotateFull {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

/* 3D cube continuous spin */
@keyframes rotateCube {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

/* Lightbox image open */
@keyframes lightboxZoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* Campus tour modal open */
@keyframes tourModalPop {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Success check pop */
@keyframes successPop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

/* Admissions hero image float */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Apply form card entrance */
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== 3D CUBE (home / special blocks) ========== */
.scene {
  width: 300px;
  height: 300px;
  perspective: 1200px; /* lower = stronger 3D */
}

.cube {
  width: 170%;
  height: 170%;
  position: relative;
  transform-style: preserve-3d; /* required for 3D children */
  animation: rotateCube 12s infinite linear;
}

.cube:hover {
  animation-play-state: paused;
}

.cube-face {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 4px solid #7ED6A5;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(44, 62, 80, 0.2);
}

.cube-face img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.face-front  { transform: rotateY(0deg) translateZ(150px); }
.face-right  { transform: rotateY(90deg) translateZ(150px); }
.face-back   { transform: rotateY(180deg) translateZ(150px); }
.face-left   { transform: rotateY(-90deg) translateZ(150px); }

/* ========== FLIP CARDS (generic / programs) ========== */
.flip-card {
  perspective: 1200px;
  height: 420px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.flip-card-back {
  background: var(--navbar);
  color: var(--white);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.flip-card-back h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.flip-card-back p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: var(--white);
}

/* News cards — flip on X */
.news-card {
  perspective: 1200px;
}

.news-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.news-card:hover .news-card-inner {
  transform: rotateX(180deg);
}

.news-card-front,
.news-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.news-card-back {
  transform: rotateX(180deg);
}

/* Award cards — flip on Y */
.award-card {
  perspective: 1200px;
}

.award-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.award-card:hover .award-card-inner {
  transform: rotateY(180deg);
}

.award-card-front,
.award-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.award-card-back {
  transform: rotateY(180deg);
}

/* ========== PROGRAMS / TILT CARDS ========== */
.tilt-card {
  perspective: 1000px;
}

.tilt-card-inner {
  transform: rotateX(0deg) rotateY(0deg) translateZ(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.tilt-card:hover .tilt-card-inner {
  transform: rotateX(6deg) rotateY(-8deg) translateZ(10px);
  box-shadow: 0 25px 40px rgba(44, 62, 80, 0.18);
}

.tilt-card:hover {
  box-shadow: 0 25px 45px rgba(44, 62, 80, 0.12);
}

.tilt-card-inner i {
  transition: transform 0.4s ease;
}

.tilt-card:hover .tilt-card-inner i {
  transform: translateZ(20px) scale(1.1);
}

/* ========== ACADEMICS ========== */
.approach-item {
  perspective: 800px;
}

.approach-icon {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.approach-item:hover .approach-icon {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 15px 25px rgba(44, 62, 80, 0.2);
}

.subject-pill {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subject-pill:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 20px rgba(44, 62, 80, 0.12);
}

.ah-pillnav a {
  transition: color 0.25s ease, border-color 0.25s ease;
}

.pill-icon {
  transition: transform 0.35s ease;
}

.ah-pillnav a:hover .pill-icon {
  transform: rotateY(360deg) scale(1.1);
}

.ah-pillnav a:hover {
  color: var(--navbar);
  border-bottom-color: var(--navbar);
}

/* Circle image — continuous rotation */
.ah-image {
  transform: perspective(800px) rotateY(0deg) translateZ(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.ah-image-inner {
  animation: rotateFull 6s linear infinite;
}

.ah-image:hover .ah-image-inner {
  animation-play-state: paused;
}

/* Month cards flip */
.month-card {
  perspective: 1000px;
}

.month-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.month-card:hover .month-card-inner {
  transform: rotateY(180deg);
}

.month-front,
.month-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.month-back {
  transform: rotateY(180deg);
}

.timeline-dot {
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
}

.event-pill,
.holiday-pill {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-pill:hover,
.holiday-pill:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 24px rgba(44, 62, 80, 0.15);
}

.ptm-card {
  perspective: 800px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ptm-card:hover {
  transform: rotateX(6deg) translateY(-6px);
  box-shadow: var(--shadow);
}

.year-item i {
  transition: transform 0.3s ease;
}

.year-item:hover i {
  transform: rotateY(360deg) scale(1.1);
}

.lib-stat {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lib-stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.lib-stat i {
  transition: transform 0.4s ease;
}

.lib-stat:hover i {
  transform: rotateY(360deg) scale(1.1);
}

.lib-feature-card {
  perspective: 900px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.lib-feature-card:hover {
  transform: rotateX(5deg) translateY(-6px);
  box-shadow: 0 20px 35px rgba(44, 62, 80, 0.15);
}

.lab-card {
  perspective: 1000px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.lab-card:hover {
  transform: rotateX(4deg) rotateY(-4deg) translateY(-8px);
  box-shadow: 0 25px 45px rgba(44, 62, 80, 0.18);
}

.lab-icon {
  transition: transform 0.4s ease;
}

.lab-card:hover .lab-icon {
  transform: rotateY(360deg) scale(1.1);
}

.cc-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.cc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.cc-icon {
  transition: transform 0.5s ease;
}

.cc-card:hover .cc-icon {
  transform: rotateY(360deg) scale(1.15);
}

/* ========== FLOATING HERO ICONS (all pages) ========== */
/* Base: any .floating-icon gets the float animation */
.floating-icon {
  animation: floatIcon 5.5s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 600px;
}

.floating-icon.icon-1,
.icon-1 { animation-duration: 5s; }
.floating-icon.icon-2,
.icon-2 { animation-duration: 6.2s; animation-delay: 0.6s; }
.floating-icon.icon-3,
.icon-3 { animation-duration: 4.8s; animation-delay: 1.1s; }
.floating-icon.icon-4,
.icon-4 { animation-duration: 5.8s; animation-delay: 0.4s; }
.icon-5 { animation-duration: 5.5s; animation-delay: 0.8s; }
.icon-6 { animation-duration: 5.8s; animation-delay: 1.2s; }
.icon-7 { animation-duration: 4.8s; animation-delay: 0.3s; }
.icon-8 { animation-duration: 6.2s; animation-delay: 1.8s; }

/* Pause float when hovering that page’s hero */
.campus-hero:hover .floating-icon,
.news-hero:hover .floating-icon,
.contact-hero-section:hover .floating-icon,
.admissions-hero:hover .floating-icon,
.gallery-hero:hover .floating-icon,
.testi-hero:hover .floating-icon,
.faq-hero:hover .floating-icon,
.privacy-hero:hover .floating-icon,
.terms-hero:hover .floating-icon,
.fee-hero:hover .floating-icon {
  animation-play-state: paused;
}

/* Page-specific duration tweaks (same animation name) */
.news-hero .floating-icon,
.contact-hero-section .floating-icon,
.admissions-hero .floating-icon,
.gallery-hero .floating-icon,
.testi-hero .floating-icon,
.faq-hero .floating-icon {
  animation-name: floatIcon;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.news-hero .icon-1,
.contact-hero-section .icon-1,
.admissions-hero .icon-1,
.gallery-hero .icon-1,
.testi-hero .icon-1,
.faq-hero .icon-1 { animation-duration: 5s; }

.news-hero .icon-2,
.contact-hero-section .icon-2,
.admissions-hero .icon-2,
.gallery-hero .icon-2,
.testi-hero .icon-2,
.faq-hero .icon-2 { animation-duration: 6.2s; animation-delay: 0.6s; }

.news-hero .icon-3,
.contact-hero-section .icon-3,
.admissions-hero .icon-3,
.gallery-hero .icon-3,
.testi-hero .icon-3,
.faq-hero .icon-3 { animation-duration: 4.8s; animation-delay: 1.1s; }

/* Eyebrow icon pulse (site-wide) */
.eyebrow i {
  display: inline-block;
  animation: pulseIcon 2.2s ease-in-out infinite;
}

.campus-hero .eyebrow i {
  animation: pulseIcon 2s ease-in-out infinite;
}

/* ========== CAMPUS LIFE ========== */
.pill-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.pill-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 24px rgba(44, 62, 80, 0.15);
  background: var(--white);
}

.pill-card i {
  transition: transform 0.4s ease;
}

.pill-card:hover i {
  transform: rotateY(360deg);
}

.role-card {
  perspective: 800px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.role-card:hover {
  transform: rotateX(8deg) translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.role-card i {
  transition: transform 0.4s ease;
}

.role-card:hover i {
  transform: scale(1.2);
}

.event-icon-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.event-icon-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 20px 35px rgba(44, 62, 80, 0.18);
}

.event-icon-card i {
  transition: transform 0.4s ease;
}

.event-icon-card:hover i {
  transform: rotateY(360deg) scale(1.15);
}

.achievement-card {
  perspective: 1000px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.achievement-card:hover {
  transform: rotateY(-6deg) translateY(-8px);
  box-shadow: 0 25px 45px rgba(44, 62, 80, 0.3);
}

.campus-image {
  overflow: hidden;
  border-radius: var(--radius);
  border: 5px solid var(--mint-hover);
}

.campus-image img {
  transition: transform 0.5s ease;
}

.campus-image:hover img {
  transform: scale(1.08);
}

/* ========== NEWS ========== */
.filter-btn {
  transition: all 0.3s ease;
}

.filter-btn:hover:not(.active) {
  background: #E2EEFB;
  transform: translateY(-2px);
}

.featured-image {
  overflow: hidden;
}

.featured-image img {
  transition: transform 0.6s ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.08);
}

.news-card-item {
  perspective: 1000px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(44, 62, 80, 0.18);
}

.news-card-image {
  overflow: hidden;
}

.news-card-image img {
  transition: transform 0.5s ease;
}

.news-card-item:hover .news-card-image img {
  transform: scale(1.1);
}

.announcement-item i {
  transition: transform 0.3s ease;
}

.announcement-item:hover i {
  transform: rotate(-15deg) scale(1.2);
}

.load-more-wrapper .btn i {
  transition: transform 0.3s ease;
}

.load-more-wrapper .btn:hover i {
  transform: translateY(3px);
}

/* ========== CONTACT ========== */
.info-card {
  perspective: 800px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.info-card:hover {
  transform: rotateX(6deg) translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.info-icon {
  transition: transform 0.4s ease;
}

.info-card:hover .info-icon {
  transform: rotateY(360deg) scale(1.1);
}

.inquiry-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.inquiry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(44, 62, 80, 0.18);
}

.inquiry-icon {
  transition: transform 0.4s ease;
}

.inquiry-card:hover .inquiry-icon {
  transform: rotateY(360deg) scale(1.1);
}

.dept-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--white);
}

.dept-card i {
  transition: transform 0.4s ease;
}

.dept-card:hover i {
  transform: scale(1.2);
}

.faq-question i {
  transition: transform 0.35s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.social-icons-large a {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.social-icons-large a:hover {
  transform: translateY(-6px) rotateY(360deg) scale(1.1);
  box-shadow: 0 15px 25px rgba(44, 62, 80, 0.25);
}

.btn-360-icon {
  display: inline-block;
  transition: transform 0.5s ease;
}

.btn-360:hover .btn-360-icon {
  transform: rotateY(360deg) rotateX(360deg);
}

.mini-gallery img {
  transition: transform 0.4s ease;
}

.mini-gallery img:hover {
  transform: scale(1.08);
}

.contact-form input,
.contact-form textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navbar);
  box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.15);
}

/* ========== ADMISSIONS ========== */
.process-tab-btn {
  transition: all 0.3s ease;
}

.process-tab-btn:hover:not(.active) {
  background: #E2EEFB;
  transform: translateY(-2px);
}

.step-circle {
  transition: transform 0.35s ease, background 0.3s ease;
}

.step-item:hover .step-circle {
  transform: scale(1.15) rotateY(360deg);
}

.step.active .step-circle {
  transform: scale(1.12);
}

.step-body i {
  transition: transform 0.35s ease;
}

.step-item:hover .step-body i {
  transform: scale(1.2);
}

.doc-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.2s ease;
}

.doc-item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 20px rgba(44, 62, 80, 0.12);
  background: var(--white);
}

.feature-card-item {
  perspective: 800px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card-item:hover {
  transform: rotateX(6deg) translateY(-8px);
  box-shadow: 0 20px 35px rgba(44, 62, 80, 0.15);
}

.feature-card-item i {
  transition: transform 0.4s ease;
}

.feature-card-item:hover i {
  transform: rotateY(360deg) scale(1.15);
}

.date-dot {
  transition: transform 0.3s ease;
}

.date-item:hover .date-dot {
  transform: scale(1.4);
}

.admission-enquiry-form input:focus,
.admission-enquiry-form select:focus,
.admission-enquiry-form textarea:focus {
  border-color: var(--navbar);
  box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.15);
}

.adh-image img {
  animation: gentleFloat 4s ease-in-out infinite;
}

/* ========== PHOTO GALLERY ========== */
.gmasonry-item img {
  transition: transform 0.5s ease;
}

.gmasonry-item:hover img {
  transform: scale(1.1);
}

.gmasonry-overlay {
  transition: opacity 0.35s ease;
}

.gmasonry-item:hover .gmasonry-overlay {
  opacity: 1;
}

.gmasonry-overlay i {
  transition: transform 0.4s ease;
}

.gmasonry-item:hover .gmasonry-overlay i {
  transform: scale(1.2) rotate(10deg);
}

.gfilter-btn {
  transition: all 0.3s ease;
}

.gfilter-btn:hover:not(.active) {
  background: #E2EEFB;
  transform: translateY(-2px);
}

.lightbox-content img {
  animation: lightboxZoomIn 0.35s ease;
}

.lightbox-close,
.lightbox-nav {
  transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--navbar);
  transform: scale(1.1);
}

.lightbox-nav.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1) translateX(-3px);
}

.lightbox-nav.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1) translateX(3px);
}

/* ========== TESTIMONIALS ========== */
.testi-stat {
  transition: transform 0.3s ease;
}

.testi-stat:hover {
  transform: translateY(-6px);
}

.testi-stat i {
  transition: transform 0.4s ease;
}

.testi-stat:hover i {
  transform: rotateY(360deg) scale(1.15);
}

.tfilter-btn {
  transition: all 0.3s ease;
}

.tfilter-btn:hover:not(.active) {
  background: #E2EEFB;
  transform: translateY(-2px);
}

.testi-card-item {
  perspective: 1000px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testi-card-item:hover {
  transform: rotateX(4deg) rotateY(-4deg) translateY(-8px);
  box-shadow: 0 25px 45px rgba(44, 62, 80, 0.18);
}

.testi-quote-icon {
  transition: transform 0.4s ease, color 0.4s ease;
}

.testi-card-item:hover .testi-quote-icon {
  transform: scale(1.2) rotate(-8deg);
  color: var(--mint);
}

.rating-stars i {
  transition: transform 0.2s ease, color 0.2s ease;
}

.rating-stars i:hover {
  transform: scale(1.2);
}

/* ========== FAQs ========== */
.faq-search-box {
  transition: box-shadow 0.3s ease;
}

.faq-search-box:focus-within {
  box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.2), var(--shadow);
}

.ffilter-btn {
  transition: all 0.3s ease;
}

.ffilter-btn:hover:not(.active) {
  background: #E2EEFB;
  transform: translateY(-2px);
}

.faq-question {
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.faq-question:hover {
  color: var(--navbar);
  padding-left: 6px;
}

.faq-category-heading i {
  transition: transform 0.3s ease;
}

.faq-category-heading:hover i {
  transform: scale(1.15);
}

/* ========== CAMPUS TOUR MODAL ========== */
.tour-modal-box {
  animation: tourModalPop 0.35s ease;
}

.tour-modal-icon {
  transition: transform 0.3s ease;
}

.tour-modal-box:hover .tour-modal-icon {
  transform: scale(1.08) rotate(-4deg);
}

.tour-success-icon {
  animation: successPop 0.4s ease;
}

/* ========== PRIVACY / TERMS / FEES ========== */
.policy-icon,
.terms-icon {
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.policy-card:hover .policy-icon,
.terms-card:hover .terms-icon {
  transform: rotateY(360deg) scale(1.1);
}

.policy-card,
.terms-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.policy-card:hover,
.terms-card:hover {
  transform: translateY(-8px);
}

.contact-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-4px) scale(1.02);
}

.contact-item i {
  transition: transform 0.35s ease;
}

.contact-item:hover i {
  transform: scale(1.2) rotateY(360deg);
}

.bottom-cta .btn-primary {
  transition: all 0.35s ease;
}

.bottom-cta .btn-primary i {
  transition: transform 0.3s ease;
}

.bottom-cta .btn-primary:hover i {
  transform: translateX(3px);
}

/* ========== APPLY ========== */
.apply-card {
  animation: cardFadeIn 0.5s ease;
}

.btn-primary {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* ========== GLOBAL NAV / FOOTER POLISH ========== */
.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.04);
}

.logo i {
  transition: transform 0.4s ease;
}

.logo:hover i {
  transform: rotateY(360deg);
}

.footer-links a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(93, 173, 226, 0.5);
  outline-offset: 3px;
}
