:root {
  /* Maroon & Light Gold theme */
  --primary-color: #800f2f;           /* Maroon */
  --accent-color: #fcbf49;            /* Soft Gold */
  --accent-hover-color: #f77f00;      /* Deeper Gold */
  --text-color: #333333;
  --background-color: #f9f9f9;
  --nav-text-color: #fff;
  --nav-background-color: var(--primary-color);
  --nav-hover-color: var(--accent-color);
  --button-text-color: var(--primary-color);
  --button-background-color: var(--accent-color);
  --button-hover-background-color: var(--accent-hover-color);
  --section-heading-color: var(--primary-color);
}

html, body {
  height: 100%;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--background-color);
}

.container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main { /* so nav doesn’t cover content */
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}

header {
  background: var(--nav-background-color);
  color: var(--nav-text-color);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(128, 15, 47);  /* Maroon, semi-transparent */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);  /* ✅ This is the shadow */
  transition: box-shadow 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: var(--nav-text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--nav-hover-color);
}

.payment {
  min-width: 350px;
}

.divider {
  margin: 2rem 0;
  font-weight: bold;
  color: var(--primary-color);
}

.upi-qr {
  width: 200px;
  height: auto;
  margin: 1rem 0;
}

.upi-id {
  font-size: 1.1rem;
  color: var(--text-color);
}

footer {
  text-align: center;
  padding: 1rem;
  background: var(--primary-color);
  color: var(--nav-text-color);
}

.paypal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #00a0df 0%, #003087 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18), inset 0 -1px 0 rgba(0,0,0,0.12);
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
  line-height: 1;
}

/* small left badge to mimic the PayPal branded look (text-only, no logo image) */
.paypal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #003087;
  font-weight: 800;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* main label */
.paypal-label {
  display: inline-block;
}

/* hover / active */
.paypal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  opacity: 0.98;
}
.paypal-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0,0,0,0.16);
}

/* keyboard focus */
.paypal-btn:focus {
  outline: 3px solid rgba(0, 160, 223, 0.25);
  outline-offset: 3px;
}

/* small screens: make button full width if desired */
@media (max-width: 480px) {
  .paypal-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem;
    font-size: 1rem;
  }
  .paypal-badge { display: none; } /* optional: hide badge on very small screens */
}

@media (max-width: 768px) {
  /* Navbar adjustments */
  .navbar {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .logo {
    flex: 1 1 100%;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  .nav-links {
    flex: 1 1 100%;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .nav-links li {
    flex: 1 1 auto;
    text-align: center;
  }

  .nav-links li a {
    font-size: 1rem;
    padding: 0.5rem;
  }
  footer {
    padding: 1rem 1rem;
    font-size: 0.9rem;
  }
}

/* For very small devices (phones) */
@media (max-width: 500px) {
  .nav-links li a {
    font-size: 0.9rem;
    padding: 0.3rem;
  }

  nav {
    display:none;
  }
}