/* Global Variables */
:root {
  --primary: #4CAF50;
  --secondary: #388e3c;
  --accent: #FFB703;
  --accent-light: #FFD54F;
  --bg-soft: #F1F8E9;
  --bg-white: #ffffff;
  --text-dark: #1A1A1A;
  --text-muted: #555555;
  --text-light: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-dark);
}

.btn-accent:hover {
  background-color: #e0a000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 183, 3, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.navbar.scrolled .btn-outline {
  color: var(--text-dark);
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-color: var(--bg-white);
}

/* Navbar - Premium Glassmorphism */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 25px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  padding: 15px 8%;
  background: var(--glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.5px;
  text-transform: none;
}

.navbar.scrolled .logo {
  color: var(--text-dark);
}

.logo span {
  color: var(--primary);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.navbar.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

/* Dropdown Menu - Modern & Elegant */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-white);
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 15px 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  top: 100%;
}

.dropdown-item {
  display: block;
  padding: 12px 25px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--bg-soft);
  color: var(--primary);
  padding-left: 30px;
}

/* Mobile Toggle */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-light);
  margin: 6px 0;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--text-dark);
}

/* Typography Overrides */
h1, h2, h3 {
  font-family: var(--font-heading);
}

h1 { font-size: 4rem; letter-spacing: -1px; }
h2 { font-size: 3rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.6rem; }

/* Category Grid Classes */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .card-img img {
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1626621341517-bbf3d9990a23?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.5s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Sections */
.section-padding {
  padding: 80px 5%;
}

.bg-white { background: #ffffff; }

/* Popular Tours Cards */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tours-grid {
    grid-template-columns: 1fr;
  }
}

.tour-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.tour-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.tour-img {
  height: 220px;
  overflow: hidden;
}

.tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-img img {
  transform: scale(1.1);
}

.tour-info {
  padding: 20px;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  color: var(--gray-dark);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.tour-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 15px 0;
}

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-box {
  padding: 30px;
  background: var(--bg-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.feature-box:hover {
  background: #ffffff;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Testimonials Area - Refined & Flicker-Free */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  background: #ffffff;
  padding: 80px 10%;
  border-radius: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Elegant Quote Icon Background */
.testimonials-slider::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 10rem;
  font-family: 'Playfair Display', serif;
  color: #f1f8e9;
  z-index: 0;
  line-height: 1;
}

.testimonial-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.testimonial-slide {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%) scale(0.98);
  opacity: 0;
  visibility: hidden;
  text-align: center;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  z-index: 2;
}

.quote {
  font-size: 1.4rem;
  font-style: italic;
  color: #333;
  line-height: 1.8;
  margin-bottom: 30px;
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 2;
}

.author {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* CTA Section */
.cta-section {
  background-image: linear-gradient(rgba(76, 175, 80, 0.9), rgba(76, 175, 80, 0.9)), url('https://images.unsplash.com/photo-1593181629936-11c602b1f8eb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
  text-align: center;
  padding: 100px 5%;
}

.cta-section h2 { margin-bottom: 20px; }

/* Footer */
footer {
  background: #222;
  color: #fff;
  padding: 60px 5% 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #aaa;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #ffffff;
    flex-direction: column;
    padding-top: 80px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
  }
  .nav-links.active { right: 0; }
  .nav-link { color: var(--text-dark); }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: var(--bg-color);
    visibility: visible;
    opacity: 1;
    display: none;
    transform: none;
  }
  .dropdown.active .dropdown-menu { display: block; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

/* ==========================================================
   SPECIFIC PAGE STYLES (Manali, Shimla, Spiti, etc.)
   ========================================================== */

/* Manali Tour (Cinematic & Timeline) */
.manali-hero {
  height: 70vh;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('images/manali.png') center/cover;
  display: flex;
  align-items: flex-end;
  padding: 50px 5%;
  color: #fff;
}
.manali-hero h1 { font-size: 4rem; text-transform: uppercase; letter-spacing: 2px; }
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}
.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid var(--primary);
  border-radius: 50%;
  top: 25px;
  z-index: 1;
}
.timeline-item:nth-child(odd)::after { right: -12px; }
.timeline-item:nth-child(even)::after { left: -12px; }
.timeline-content {
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .timeline::after { left: 20px; }
  .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; text-align: left !important; left: 0 !important; }
  .timeline-item::after { left: 10px !important; }
}

/* Shimla Tour (Split Layout) */
.shimla-hero {
  height: 60vh;
  background: url('images/shimla.png') center/cover;
}
.split-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
}
.split-layout:nth-child(even) { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-img { flex: 1; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
@media (max-width: 768px) {
  .split-layout, .split-layout:nth-child(even) { flex-direction: column; }
}

/* Spiti Valley (Dark Theme + Grid) */
.spiti-page {
  background-color: #121212;
  color: #e0e0e0;
}
.spiti-page .navbar.scrolled { background: rgba(18, 18, 18, 0.9); }
.spiti-page .navbar.scrolled .nav-link, .spiti-page .navbar.scrolled .logo { color: #fff; }
.spiti-hero {
  height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.5), #121212), url('https://images.unsplash.com/photo-1544333323-16781290327b?auto=format&fit=crop&w=1920&q=80') center/cover;
}
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}
.grid-gallery img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; filter: grayscale(50%); transition: var(--transition); }
.grid-gallery img:hover { filter: grayscale(0%); transform: scale(1.03); }
.spiti-page .feature-box { background: #1e1e1e; color: #fff; }

/* Honeymoon Package (Soft Pastel) */
.honeymoon-page { background-color: #FFF0F5; color: #5a4b4b; font-family: 'Playfair Display', serif; }
.honeymoon-hero {
  height: 70vh;
  background: linear-gradient(rgba(255,240,245,0.4), rgba(255,240,245,0.9)), url('images/honeymoon-hero.png') center/cover;
  display: flex; justify-content: center; align-items: center; text-align: center;
}
.honeymoon-hero h1 { font-size: 4.5rem; color: #d63384; }
.honeymoon-card { background: #fff; border-radius: 30px; padding: 40px; box-shadow: 0 10px 30px rgba(214, 51, 132, 0.1); text-align: center; }

/* Adventure Tours (Bold Dynamic) */
.adventure-page { font-family: 'Oswald', sans-serif; text-transform: uppercase; }
.adventure-hero {
  height: 80vh;
  background: url('https://images.unsplash.com/photo-1469334031218-e382a71b716b?auto=format&fit=crop&w=1920&q=80') center/cover;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  display: flex; align-items: center; padding-left: 5%;
}
.adventure-hero h1 { font-size: 5rem; color: #fff; text-shadow: 4px 4px 0px #FF5722; }
.dynamic-section { transform: skewY(-3deg); background: #FF5722; padding: 100px 0; color: #fff; margin: 50px 0; }
.dynamic-content { transform: skewY(3deg); }
.adventure-btn { background: #000; color: #fff; border-radius: 0; font-size: 1.2rem; border: 2px solid #000; }
.adventure-btn:hover { background: transparent; color: #000; }

/* Custom Tours (Interactive Form) */
.custom-hero {
  height: 50vh;
  background: url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1920&q=80') center/cover;
}
.form-container {
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: -100px auto 0;
  position: relative;
  z-index: 10;
}

/* Global Background & Glassmorphism (For Detail Pages)
   ========================================================================== */
.detail-body {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: var(--text-dark); /* Default text color for body */
}

/* Ensure Logo and Nav-links are visible on dark background */
.detail-body .navbar:not(.scrolled) .logo,
.detail-body .navbar:not(.scrolled) .nav-link {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.detail-body .navbar:not(.scrolled) .hamburger span {
    background: #ffffff !important;
}

/* Applying glass effect to standard sections on detail pages */
.detail-body .section-padding.reveal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    margin: 60px auto;
    max-width: 1100px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 80px 50px;
}

/* Ensure sections with explicit backgrounds (like red/green CTA) stay solid */
.detail-body .section-padding.reveal[style*="background"] {
    background: inherit; /* Let inline style win */
    backdrop-filter: none;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 100px 5%;
}

.detail-body .section-padding.reveal[style*="background"] * {
    color: inherit !important;
}

/* Fix for nested white sections or boxes */
.detail-body .feature-box,
.detail-body .timeline-content,
.detail-body .timeline-item {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    color: var(--text-dark);
}

/* Hero text enhancement */
.detail-body .page-header h1 {
    text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
}

.detail-body footer {
    margin-top: 100px;
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .detail-body .section-padding.reveal {
        margin: 30px 15px;
        padding: 40px 20px;
    }
}
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary-color); }
.form-control { width: 100%; padding: 15px; border: 2px solid #eee; border-radius: 10px; font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--primary-color); }
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* Page Header for About/Contact */
.page-header {
  height: 50vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1454496522488-7a8e488e8606?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
  display: flex;
  justify-content: center;
  color: #fff;
}

/* ==========================================================
   PHP FORM FEEDBACK STYLES
   ========================================================== */
#form-response, #custom-form-response {
    transition: var(--transition);
    font-weight: 500;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: var(--radius);
}

.form-response-success {
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
    border: 1px solid #c8e6c9 !important;
    display: block !important;
}

.form-response-error {
    background-color: #ffebee !important;
    color: #c62828 !important;
    border: 1px solid #ffcdd2 !important;
    display: block !important;
}

.form-response-loading {
    background-color: #fff8e1 !important;
    color: #f9a825 !important;
    border: 1px solid #ffecb3 !important;
    display: block !important;
}

/* Button Loading State */
.btn-loading {
    color: transparent !important;
    pointer-events: none;
    position: relative;
    opacity: 0.8;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
