/* ========== Global Reset & Variables ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --primary: #830202;
  --secondary: #ff0015;
  --space: #0a1128;
  --accent-blue: #1565c0;
  --accent-red: #d32f2f;
  --text: #ffffff;
  --hover-blue: #0d47a1;
  --hover-red: #b71c1c;
}

/* ========== Body ========== */
body {
  background-image: url("photo/back.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
}

p {
  text-align: justify;
}


/* ========== Topbar Styling ========== */
.topbar {
  background-color: var(--accent-blue);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.topbar-left a,
.topbar-right a {
  font: 1.3rem sans-serif;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 1 rem;
  transition: color 0.3s ease;
}

.topbar-left a:hover,
.topbar-right a:hover {
  color: #ff0000;
}

.topbar i {
  font-size: 1.7rem;
  margin-right: 10px;
}

/* ========== Mobile Menu Button ========== */
/* Hide menu button on desktop */
@media (max-width: 769px) {
  .topbar a {
    font-size: 1rem;
  }

  .topbar-left {
    margin-left: 20px;
  }

  .topbar-right {
    gap: 1rem;
    margin-top: 20px;
  }

  .topbar-right a {
    text-align: center;
    font-size: 2.5rem;
  }

  .topbar-right i {
    align-items: center;
    font-size: 1.2rem;
    margin-left: 28px;
  }
}

/* ========== Navbar ========== */
#navbar {
  position: fixed;
  width: 100%;
  top: 15;
  left: 0;
  right: 0;
  padding: 1rem;
  background: transparent;
  z-index: 1000;
  transition: background 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#navbar.scrolled {
  position: fixed;
  top: 0%;
  background: linear-gradient(to right, #ffffff, #ffffff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.8rem;
  color: var(--text);
}

.logo-text {
  color: var(--secondary);
  text-decoration: none;
}

/* ========== Nav Links ========== */
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links button {
  background: none;
  border: none;
  color: var(--space);
  font-weight: bold;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: solid;
}

.nav-links button:hover {
  color: var(--secondary);
}

/* CTA Button */
.cta-button {
  background-color: var(--secondary) !important;
  border-radius: 0.375rem;
}

.cta-button:hover {
  background-color: #d14050 !important;
  color: var(--text) !important;
}

/* ========== Dropdown Menu ========== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--space);
  min-width: 200px;
  border-radius: 0.375rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ========== Mobile Menu Button ========== */
/* Hide menu button on desktop */
@media (min-width: 769px) {
  #mobile-menu-btn {
    display: none;
  }

  .close-btn {
    display: none;
  }
}

/* Show mobile menu button only on mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide desktop nav on mobile */
  }

  .logo-text {
    font-size: 1.5rem;
  }

  #mobile-menu-btn {
    /* display: fixed;  */
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--space, #000);
    /* position: fixed; */
    top: 5rem;
    right: 1rem;
    z-index: 10001;
  }

  #nav-menu.scrolled {
    /* position: fixed; */
    top: 0%;
  }

  /* Off-canvas nav menu */
  .nav-menu {
    position: fixed;
    top: 7%;
    right: -300px; /* Hidden off screen */
    width: 280px;
    height: 100%;
    background-color: var(--space, #222);
    box-shadow: -3px 0 8px rgba(0, 0, 0, 0.3);
    padding: 2rem 1rem;
    transition: right 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
  }

  /* Show menu when open */
  .nav-menu.open {
    right: 0;
  }

  .nav-menu .close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text, #fff);
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 0rem;
  }

  .nav-menu .nav-links {
    flex-direction: column;
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
  }

  .nav-menu .dropdown {
    position: relative;
    display: block;
  }

  .nav-menu .dropdown-content {
    position: static; /* Make dropdown content relative to nav-menu */
    display: none;
    background-color: var(--space, #333);
    padding-left: 1rem;
    margin-top: 0.5rem;
    border-radius: 0.3rem;
  }

  /* Show dropdown content when active */
  .nav-menu {
    display: block;
  }
  /* For dropdown toggle */
  .dropdown .dropdown-content {
    display: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .nav-menu .dropdown-content a {
    color: var(--text, #fff);
    padding: 0.5rem 0;
    display: block;
    text-decoration: none;
  }

  .nav-menu .dropdown-content a:hover {
    background-color: var(--primary, #555);
  }

  /* Buttons inside menu */
  .nav-menu button {
    color: var(--text, #fff);
    background: none;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: left;
    width: 100%;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 6%;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #e3f2fd 0%, #fce4ec 100%);
}

/* Hero Left */
.hero-left {
  flex: 1 1 500px;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #0d47a1;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.span {
  color: #e53935;
}

.hero-content h4 {
  font-size: 1.2rem;
  text-align: justify;
  font-weight: bold;
  color: #000000;
  margin-bottom: 1rem;
}

#typed-text {
  color: #e53935;
}

/* .cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: #0d47a1;
    animation: blink 0.7s infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
   */

.hero-content p {
  text-align: justify;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #333;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: #e53935;
  color: white;
}
.btn-primary:hover {
  background: #c62828;
}

.btn-secondary {
  background: #0d47a1;
  color: white;
}
.btn-secondary:hover {
  background: #08306b;
}

/* Hero Right */
.hero-right {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 500px;
}

.orbit-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 400px;
}

/* Student Image */
.student-img {
  position: absolute;
  top: 68%;
  left: 40%;
  width: 500px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Orbits */
.orbit {
  position: absolute;
  border: 2px dotted;
  border-radius: 50%;
  top: 65%;
  left: 55%;
  transform: translate(-50%, -50%);
  animation: rotate 30s linear infinite;
}

.orbit-red {
  width: 400px;
  height: 400px;
  border-color: #e53935;
  animation-direction: normal;
}

.orbit-blue {
  width: 500px;
  height: 500px;
  border-color: #0d47a1;
  animation-direction: reverse;
}

.orbit-blue2 {
  width: 300px;
  height: 300px;
  border-color: #1565c0;
  animation-direction: normal;
}

@keyframes rotate {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Info Boxes */
.info-box {
  position: absolute;
  padding: 0.5rem 1rem;
  background: #0d47a1;
  color: #fff;
  font-size: 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 3;
}

.box0 {
  bottom: 5%;
  right: -30%;
  background-color: #e53935;
}

.box0:hover {
  background-color: #0d47a1;
}

.box1 {
  top: 10%;
  left: 0;
  background-color: #e53935;
}

.box1:hover {
  background-color: #0d47a1;
}

.box2 {
  top: 5%;
  right: -10%;
}
.box2:hover {
  background-color: #e53935;
}
.box3 {
  top: 55%;
  right: -15%;
}

.box3:hover {
  background-color: #e53935;
}

.box4 {
  bottom: 10%;
  left: -20%;
}

.box4:hover {
  background-color: #e53935;
}

.box5 {
  top: 35%;
  right: -25%;
  background-color: #e53935;
}

.box5:hover {
  background-color: #0d47a1;
}

.box6 {
  bottom: -15%;
  left: -15%;
  background-color: #e53935;
}

.box6:hover {
  background-color: #0d47a1;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    padding: 3rem 1.5rem;
  }

  .hero-left,
  .hero-right {
    text-align: center;
  }

  .student-img {
    width: 350px;
    top: 82%;
    left: 20%;
  }

  .orbit-red {
    width: 250px;
    height: 250px;
  }

  .orbit-blue {
    width: 300px;
    height: 300px;
  }

  .orbit-blue2 {
    width: 200px;
    height: 200px;
  }

  .info-box {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .box0 {
    bottom: 27%;
    right: -175px;
    background-color: #0d47a1;
  }

  .box0:hover {
    background-color: #e53935;
  }

  .box1 {
    top: 20%;
    left: 80%;
  }

  .box2 {
    top: 25%;
    right: 20px;
  }

  .box3 {
    top: 85%;
    right: 100px;
  }

  .box4 {
    bottom: 56%;
    left: 90px;
  }
  .box5 {
    top: 50%;
    right: -170px;
  }

  .box6 {
    bottom: 48%;
    left: -180px;
  }
}

/* ========== Welcome ========== */
/* Welcome Section */
.welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10px;
  background: linear-gradient(235deg, #d7eaf9 0%, #fbcedd 100%);
  color: #1e293b;
  gap: 20px;
  flex-wrap: wrap;
}

.welcome-left {
  margin-left: 0%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes hoverFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(-3deg);
  }
  50% {
    transform: translateY(-30px) rotate(3deg);
  }
  75% {
    transform: translateY(-15px) rotate(-3deg);
  }
}

.welcome-img {
  margin-left: 0%;
  max-width: 100%;
  width: 400px;
  height: auto;
  animation: hoverFloat 5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.welcome-img:hover {
  animation-play-state: paused;
  transform: scale(1.1) rotate(5deg);
}

.welcome-right {
  flex: 1;
  padding: 20px;
  color: var(--accent-blue);
}

.welcome-right h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: white 1px 1px 2px, black -1px -1px 2px;
}

.welcome-right .span {
  color: #ef4444; /* Tailwind red-500 */
}

.welcome-right p {
  color: var(--space);
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.7;
  font-weight: 500;
}

/*==========Responsive of Welcome========== */
@media (max-width: 768px) {
  .welcome {
    flex-direction: column;
    text-align: center;
  }

  .welcome-left,
  .welcome-right {
    width: 100%;
  }

  .welcome-img {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
  }

  .welcome-right h2 {
    font-size: 1.8rem;
  }
}

/*========== Message ========== */
/* Message button style */
.message-btn {
  position: fixed;
  bottom: 40px;
  left: 40px;
  background-color: #ef4444; /* Tailwind Red */
  color: white;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: pulseGlow 1.5s infinite;
  z-index: 1000;
}

.message-btn:hover {
  background-color: #dc2626;
  transform: scale(1.1);
  animation: pulseGlow 1.5s infinite;
  box-shadow: 0 0 15px 4px rgba(220, 38, 38, 0.6);
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Keyframes for pulse glow */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 20px 6px rgba(220, 38, 38, 0.7);
  }
  50% {
    box-shadow: 0 0 30px 10px rgba(220, 38, 38, 0.9);
  }
  100% {
    box-shadow: 0 0 20px 6px rgba(220, 38, 38, 0.7);
  }
}

.modal h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1e293b; /* Dark gray */
  text-align: center;
}

.model span {
  color: #ef4444; /* Tailwind red-500 */
}

.message-btn:hover {
  background-color: var(--hover-blue);
}

/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(30, 41, 59, 0.7); /* Dark transparent */
  backdrop-filter: blur(3px);
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 400px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #ef4444;
  cursor: pointer;
}

/* Form styles */
form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1e293b;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="datetime-local"],
form textarea,
form select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  color: #334155;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="datetime-local"]:focus,
form textarea:focus,
form select:focus {
  border-color: #ef4444;
  outline: none;
}

/* Submit button */
.submit-btn {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #dc2626;
}
/* ========== Services Section ========== */
.services {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #fce4ec 100%);
}

.services h2 {
  color: var(--accent-blue);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.underline-red {
  border-bottom: 4px solid #ef4444; /* Tailwind's red-500 */
  display: inline-block;
  padding-bottom: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1500px;
  margin: 0 auto;
}

.service-card {
  background-color: rgb(255, 255, 255);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(75, 63, 114, 0.3);
  transition: all 0.3s;
}

.service-card:hover {
  transform: scale(1.1);
  background-color: #ef4444;
  color: white;
}

.service-card:hover p {
  color: white;
}

.service-card:hover h3 {
  color: white;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.service-card h3 {
  color: #000;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.service-card p {
  color: #000000;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== Success ========== */
.success {
  padding: 60px 20px;
  text-align: center;
  background-color: linear-gradient(205deg, #e3f2fd 0%, #fce4ec 100%);
}

.success h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--hover-blue);
}

.underline-red {
  border-bottom: 3px solid #ef4444;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.marquee-group {
  display: flex;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
}

.student-card {
  width: 800px;
  background-color: white;
  padding: 20px;
  margin-left: 2%;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.student-card:hover {
  transform: translateY(-5px);
}

.student-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.student-card h3 {
  margin-bottom: 10px;
  color: #1e293b;
}

.student-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ========== Footer ========== */
.footer {
  background-color: #1e293b;
  color: #e2e8f0;
  padding: 50px 40px 30px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-newsletter {
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-newsletter h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ef4444; /* red */
}

.footer-newsletter p {
  margin-bottom: 20px;
  color: #cbd5e1;
}

.newsletter-form {
  display: flex;
  max-width: 350px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #dc2626;
}

/* Footer Links Sections */
.footer-links {
  flex: 1 1 150px;
  min-width: 150px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ef4444;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ef4444;
}

/* Contact Info Section */
.footer-contact {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ef4444;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #cbd5e1;
}

.footer-contact a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #ef4444;
}

/* ========== MAP ==========  */
.map {
  flex: 1 1 300px;
  min-width: 150px;
  color: #ef4444;
}

.map h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ef4444;
}

/* Responsive iframe for mobile */
.map iframe {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  border: none;
}

/* Optional: Responsive tweaks */
@media (max-width: 768px) {
  .map iframe {
    height: 200px;
  }
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 30px;
  text-align: center;
  border-top: 1px solid #334155;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom p {
  text-align: center;
  color: #cbd5e1;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-newsletter,
  .footer-links,
  .footer-contact {
    min-width: auto;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    border-radius: 4px;
  }

  .newsletter-form button {
    margin-top: 10px;
  }
}

/* ========== Back to Top Button ========== */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #ef4444; /* red */
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#backToTopBtn:hover {
  background-color: white;
  color: #ef4444;
  transform: translateY(-5px) rotate(-10deg);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.4);
}

@keyframes flyUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-500px) rotate(-45deg);
    opacity: 0;
  }
}

#backToTopBtn.fly {
  animation: flyUp 0.8s forwards;
}
