/* Custom CSS for AI/ML Portfolio */
:root {
  --primary-color: #2563eb; /* blue-600 */
  --secondary-color: #0ea5e9; /* cyan-500 */
  --accent-color: #f59e0b; /* amber-500 (kept subtle) */
  --dark-color: #0b1220; /* deeper, professional background */
  --light-color: #f8fafc;
  --text-color: #334155; /* slate-600 */
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gradient: linear-gradient(135deg, #0b1220 0%, #0f2347 40%, #12306b 100%); /* restrained, pro gradient */
  --gradient-hover: linear-gradient(135deg, #12306b 0%, #0f2347 60%, #0b1220 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  scroll-behavior: smooth;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-color);
}

.site-logo {
  /* Adjust this height to fit your navbar/header */
  height: 50px; 
  width: auto; /* Maintain aspect ratio */
  display: block; /* Helps with alignment */
}

/* Navigation */
.navbar {
  background: #0b1220 !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(6, 182, 212, 0.1);
}

.spline-logo-cover {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 120px;
  height: 40px;
  background: #0b1220; /* match your hero section bg color */
  border-radius: 10px;
  z-index: 3;
  background: linear-gradient(180deg, #0b1220, #1e293b);

}

/* For mobile screens */
@media (max-width: 768px) {
  .spline-logo-cover {
    width: 80px;
    height: 25px;
  }
}



/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

spline-viewer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}


@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.typing-text {
  position: relative;
}

.typing-text::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-family: 'Pacifico', cursive;
  font-size: 1.25rem;
  color: rgba(68, 68, 68, 0.8);
  max-width: 600px;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.hero-buttons .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Make the Resume link match .btn-outline-primary */
/* For the container that holds the buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.hero-buttons a {
  min-width: 150px;
  margin: 0 !important;
  text-align: center;
}

/* Optional: Clean up the Bootstrap margins (me-3) if you use the 'gap' property above */
/* If you use 'gap', you might not need the me-3 classes in the HTML anymore, 
 but it's safe to leave them and override them here. */
@media (max-width: 576px) { 
  .hero-buttons .me-3 {
      margin-right: 0 !important;
  }
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Floating Elements */
.hero-image {
  position: relative;
  height: 500px;
  display: none; /* hide decorative right column on tablets/phones */
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay);
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 20%;
}

.floating-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
}

.floating-element:nth-child(4) {
  top: 40%;
  right: 40%;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
}

/* Section Styles */
.section-padding {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-content h3 {
  font-family: 'Uncial Antiqua', serif;
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.about-content p {
  font-family: 'Pacifico', cursive;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  text-align: justify;
  text-justify: inter-word;
}

.about-stats {
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

.about-image {
  position: relative;
}

.image-placeholder {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Profile Picture Styling */
.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills circle neatly */
  object-position: center;
  border-radius: 50%;
}

/* Remove/Hide the icon (optional, since we are using img now) */
.image-placeholder i {
  display: none;
}

/* Skills Section */
.skill-category h4 {
  color: var(--dark-color);
  font-weight: 600;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-header {
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center;
}

.progress {
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  border-radius: 4px;
  width: 0%;
  position: relative;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  animation: shimmer 2s infinite;
  animation-delay: 1.5s;
}

.progress-bar.animating::after {
  animation-delay: 0s;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(200%);
    opacity: 0;
  }
}

/* Skill Cards */
.skill-card,
.project-card {
  transform: translateZ(0);
}

.skill-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.skill-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.skill-card h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.skill-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Projects Section */
.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-icon {
  font-size: 4rem;
  color: white;
  z-index: 2;
  position: relative;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
}

.project-content {
  padding: 2rem;
}

.project-content h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.project-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: var(--light-color);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

/* Contact Section */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.form-group {
  position: relative;
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  outline: none;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.contact-info {
  padding: 2rem;
  text-align: center;
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.contact-info h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.contact-info p {
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .social-links {
  justify-content: flex-end;
}

.footer .social-link {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  margin-left: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .floating-elements {
    display: none;
  }

  .contact-form {
    padding: 2rem;
  }

  .skill-card,
  .project-card,
  .certificate-card {
    margin-bottom: 2rem;
  }

  .about-image .image-placeholder {
    width: 300px;
    height: 300px;
  }

  .timeline-item:hover .timeline-content {
    transform: translateX(0);
  }

  .certificate-card h5 {
    font-size: 1.3rem;
  }

  .timeline-content h4 {
    font-size: 1.3rem;
  }

  .journey-timeline::before {
    left: 20px;
    width: 2px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .certificate-card {
    padding: 2rem 1.5rem;
  }

  .certificate-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero-buttons {
    text-align: center;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .social-links {
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .about-image .image-placeholder {
    width: 250px;
    height: 250px;
    font-size: 3rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .journey-timeline::before {
    left: 15px;
  }

  .timeline-item {
    padding-left: 50px;
    margin-bottom: 2rem;
  }

  .timeline-marker {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .timeline-content h4 {
    font-size: 1.2rem;
  }

  .certificate-card {
    padding: 1.5rem 1rem;
  }

  .certificate-card h5 {
    font-size: 1.2rem;
  }

  .certificate-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .certificate-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Certificates Section */
.certificate-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  height: 100%;
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.certificate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s;
}

.certificate-card:hover::before {
  left: 100%;
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.certificate-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.certificate-icon::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: rotate 3s infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.certificate-card h5 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.certificate-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  min-height: 60px;
  transition: color 0.3s ease;
}

.certificate-card:hover p {
  color: var(--text-color);
}

.certificate-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
}

.certificate-link:hover {
  background: var(--gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  color: white;
}

.certificate-link i {
  font-size: 1rem;
}

/* Journey/Timeline Section */
.journey-timeline {
  position: relative;
  padding: 2rem 0;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: white;
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  z-index: 2;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.1);
  background: var(--gradient);
  color: white;
  border-color: var(--secondary-color);
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
  transform: translateX(10px);
}

.timeline-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-date i {
  font-size: 0.85rem;
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  transition: color 0.3s ease;
}

.timeline-item:hover .timeline-content p {
  color: var(--text-color);
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Button Loading State */
.btn-loader {
  display: inline-block;
}

.btn.loading .btn-text {
  opacity: 0;
}

.btn.loading .btn-loader {
  display: inline-block !important;
}

/* Success/Error States */
.form-success {
  background: #10b981;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
}

.form-error-message {
  background: #ef4444;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
}

/* 3D tilt base styles */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.tilt .tilt-shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px 200px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 5;
}
.tilt.is-hover .tilt-shine {
  opacity: 1;
}
