@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Outfit:wght@100..900&display=swap');

/* 
  AJC Design System — Vibrant & Playful
  Inspired by Ponpon Mania & Ribbit
  Extremely colorful, dynamic animations, rounded shapes, and bold typography.
*/

:root {
  /* AJC Blue Palette (Mapped to logo theme) */
  --color-yellow: #90caff;
  /* Light Blue Accent */
  --color-orange: #60b5ff;
  /* Medium Light Blue */
  --color-orange-deep: #2563eb;
  /* Strong Blue */
  --color-red: #3b5afe;
  /* Logo Blue */
  --color-red-deep: #1e3a8a;
  /* Navy Blue */
  --color-amber: #c0e0ff;
  /* Very Light Blue */
  --color-blue: #3b5afe;
  /* Core Logo Color */

  --primary: var(--color-blue);
  --secondary: var(--color-red-deep);
  --accent: var(--color-yellow);

  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-page: #fdfaf5;
  /* Creamy off-white */
  --bg-section: #f0f7ff;
  --bg-card: #ffffff;

  /* Text */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8e8eaf;

  /* Shadows — dynamic and colorful (now blue) */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(59, 90, 254, 0.1);
  --shadow-lg: 0 15px 45px rgba(59, 90, 254, 0.15);
  --shadow-pop: 0 20px 0px rgba(14, 165, 233, 0.2);

  /* Border Radius */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-2xl: 64px;
  --radius-pill: 9999px;

  --shadow-premium: 0 30px 60px -12px rgba(50, 50, 93, 0.1), 0 18px 36px -18px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-pop: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-normal: 0.3s ease;

  /* Fonts */
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Legacy Compatibility (Blue variables mapped to new palette) */
  --blue-50: #f0f7ff;
  --blue-100: #e0f0ff;
  --blue-200: #c0e0ff;
  --blue-300: #90caff;
  --blue-400: #60b5ff;
  --blue-500: var(--color-blue);
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --blue-950: #0f172a;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: var(--dashboard-bg, var(--blue-950));
  color: var(--text-primary);
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: 17px;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  margin: 0;
}

body.menu-active {
  overflow: hidden;
  /* Lock scroll when menu is open */
}

/* ═══════ TYPOGRAPHY ═══════ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-normal);
  font-weight: 600;
}

a:hover {
  color: var(--secondary);
}

.bg-gradient-light {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.bg-gradient-dark {
  background: linear-gradient(135deg, var(--color-orange-deep) 0%, var(--color-red) 100%);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-orange-deep), var(--color-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Playful accent */
.accent-italic {
  font-style: italic;
  position: relative;
  display: inline-block;
  color: var(--color-red);
}

.accent-italic::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: -5%;
  width: 110%;
  height: 0.4em;
  background: var(--color-yellow);
  z-index: -1;
  border-radius: 10px;
  transform: rotate(-1deg);
  opacity: 0.8;
}

/* ═══════ GLASSMORPHISM (Vibrant) ═══════ */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
}

.glass-purple {
  background: rgba(59, 90, 254, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(59, 90, 254, 0.2);
}

.glass-pink {
  background: rgba(14, 165, 233, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(14, 165, 233, 0.2);
}

.glass-dark {
  background: rgba(11, 21, 80, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 90, 254, 0.15);
  color: white;
}

/* ═══════ LAYOUT ═══════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all var(--transition-pop);
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-orange-deep);
  color: white;
  box-shadow: 0 10px 0px rgba(255, 95, 31, 0.3);
}

.btn-primary:hover {
  background: var(--color-red);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 0px rgba(226, 54, 54, 0.3);
  color: white;
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0px rgba(255, 106, 194, 0.3);
}

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

.btn-outline:hover {
  background: var(--color-yellow);
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 15px 0px rgba(255, 217, 61, 0.3);
}

.btn-light {
  background: white;
  color: var(--color-orange-deep);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background: var(--color-yellow);
  color: var(--text-primary);
  transform: translateY(-5px) scale(1.05);
}

/* ═══════ CARDS ═══════ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-pop);
  border: 4px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover:not(:has(input, textarea, select, button.btn-primary), .no-anim) {
  transform: translateY(-12px) rotate(1deg);
  box-shadow: var(--shadow-lg), 0 20px 0 var(--color-orange-deep);
  border-color: var(--color-orange-deep);
}

.card:nth-child(even):hover:not(:has(input, textarea, select, button.btn-primary), .no-anim) {
  box-shadow: var(--shadow-lg), 0 20px 0 var(--color-red);
  border-color: var(--color-red);
  transform: translateY(-12px) rotate(-1deg);
}

.card:nth-child(3n):hover:not(:has(input, textarea, select, button.btn-primary), .no-anim) {
  box-shadow: var(--shadow-lg), 0 20px 0 var(--color-orange);
  border-color: var(--color-orange);
}

/* Specific static state for functional cards */
.card:has(input, textarea, select, button.btn-primary),
.no-anim {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.card:has(input, textarea, select, button.btn-primary):hover,
.no-anim:hover {
  transform: none !important;
  box-shadow: var(--shadow-lg);
  border-color: var(--color-orange);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

/* ═══════ FORMS ═══════ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid #e5e7eb;
  background: white;
  color: var(--text-primary);
  font-family: inherit;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
}

textarea.form-control {
  border-radius: var(--radius-lg);
  resize: vertical;
  min-height: 150px;
}

/* Checkboxes */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.custom-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue-600);
  cursor: pointer;
}

/* ═══════ HEADER & OVERLAY MENU ═══════ */
.site-wrapper {
  position: relative;
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  z-index: 1;
  /* Set a lower z-index */
}

.menu-active .site-wrapper {
  /* No longer transforms the page */
  pointer-events: none;
  /* Disables interaction with site when menu is open */
}

/* The media query for transform is no longer needed */
/* @media (max-width: 768px) {
  .menu-active .site-wrapper {
    transform: translateX(85vw);
  }
} */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(253, 250, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--color-orange);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 54px;
  width: auto;
  border-radius: 50%;
  transition: all var(--transition-pop);
  border: 3px solid var(--color-yellow);
}

.logo-img:hover {
  transform: rotate(10deg) scale(1.15);
  border-color: var(--color-orange);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

@media (max-width: 600px) {
  .logo-text {
    display: none;
  }
}

/* ═══════ HAMBURGER ═══════ */
.menu-toggle {
  background: var(--color-yellow);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 1rem;
  z-index: 400;
  position: relative;
  transition: all var(--transition-pop);
  border-radius: 18px;
  order: -1;
  box-shadow: 0 5px 0 rgba(255, 159, 41, 0.3);
}

.menu-toggle:hover {
  background: var(--color-orange);
  transform: scale(1.1) rotate(5deg);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hide hamburger when menu is open */
.menu-active .menu-toggle {
  opacity: 0;
  pointer-events: none;
}

/* Close button INSIDE the menu */
.menu-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--color-orange-deep);
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  transition: all var(--transition-pop);
  z-index: 10;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
}

.menu-close-btn:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--color-orange-deep);
}

.menu-close-btn svg {
  width: 26px;
  height: 26px;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
}

/* ═══════ SIDE MENU ═══════ */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 300;
  /* High z-index to appear on top */
  padding: 4rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  border-radius: 0 48px 48px 0;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  /* Start off-screen */
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

.menu-active .side-menu {
  transform: translateX(0);
  /* Slide in */
}

@media (max-width: 768px) {
  .side-menu {
    width: 85vw;
  }
}

.side-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.side-nav-links a {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-pop);
}

.side-nav-links a:hover {
  background: var(--color-yellow);
  color: var(--text-primary);
  transform: translateX(10px) rotate(-1deg);
}

.side-nav-links a.active {
  background: var(--color-orange-deep);
  color: white;
}

.menu-footer-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-footer-links .btn {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

/* ═══════ FOOTER ═══════ */
.footer {
  margin-top: auto;
  background: var(--blue-950);
  color: white;
  padding: 6rem 0 3rem 0;
  border-radius: 48px 48px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--blue-950);
  border-radius: 50%;
  transform: scaleX(1.1);
  z-index: 1;
}

.footer h4 {
  color: white;
  /* Ensure visibility on dark background */
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════ ANIMATIONS ═══════ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Specific entrance animations */
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════ TOAST NOTIFICATIONS ═══════ */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.ajc-toast {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-width: 280px;
  max-width: 350px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--primary);
}

.ajc-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.ajc-toast.toast-error {
  border-left-color: var(--color-red-deep);
}

.ajc-toast.toast-success {
  border-left-color: #10b981;
}

.ajc-toast-icon {
  font-size: 1.5rem;
}

.ajc-toast.toast-error .ajc-toast-icon {
  color: var(--color-red-deep);
}

.ajc-toast.toast-success .ajc-toast-icon {
  color: #10b981;
}

.ajc-toast .bx-x {
  margin-left: auto;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.ajc-toast .bx-x:hover {
  color: var(--text-primary);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Background shapes */
.bg-shape {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

@keyframes floatBg {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(50px, -80px) scale(1.2) rotate(10deg);
  }

  66% {
    transform: translate(-40px, 40px) scale(0.8) rotate(-10deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

.shape-1 {
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: var(--color-pink);
  animation: floatBg 15s ease-in-out infinite alternate;
}

.shape-2 {
  top: 40%;
  left: -250px;
  width: 700px;
  height: 700px;
  background: var(--color-yellow);
  animation: floatBg 20s ease-in-out infinite alternate-reverse;
}

.shape-3 {
  bottom: -200px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: var(--color-purple);
  animation: floatBg 18s ease-in-out infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating-text {
  animation: float 4s ease-in-out infinite;
}

/* ═══════ TABLE (Admin) ═══════ */
.table-container {
  overflow-x: auto;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.admin-table th {
  background: var(--bg-page);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table tr:hover td {
  background: var(--blue-50);
}

/* ═══════ MODALS ═══════ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-xl);
  transform: translateY(30px) scale(0.95);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

/* ═══════ UTILITIES ═══════ */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

/* Emphasis */
.special-emphasis {
  color: var(--text-primary);
}

.special-emphasis strong,
.special-emphasis em {
  color: var(--blue-600);
  font-style: italic;
  font-weight: 700;
}

/* Section backgrounds for variety */
.bg-gradient-light {
  background: var(--bg-section);
}

.bg-gradient-dark {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
  color: white;
}

/* Tag chips (Idoine-style) */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-orange);
  background: white;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-orange-deep);
  transition: all var(--transition-fast);
}

.chip:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  background: var(--bg-page);
}

/* ═══════ FOOTER GRID ═══════ */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 0.9rem;
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

/* ═══════ RESPONSIVE — TABLET (max-width: 768px) ═══════ */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(2rem, 7vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }

  .card:hover {
    transform: translateY(-6px) rotate(0deg);
  }

  .card:nth-child(even):hover {
    transform: translateY(-6px) rotate(0deg);
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .footer {
    padding: 3rem 0 2rem 0;
    border-radius: 32px 32px 0 0;
  }

  .footer::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .header {
    padding: 1rem 0;
  }

  .logo-img {
    height: 42px;
  }

  /* Hero section on index */
  .floating-text {
    animation: none;
  }
}

/* ═══════ RESPONSIVE — MOBILE (max-width: 480px) ═══════ */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }

  .section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 0.75rem;
  }

  .card {
    padding: 1.25rem;
    border-width: 2px;
  }

  .card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }

  .card:nth-child(even):hover,
  .card:nth-child(3n):hover {
    transform: none;
  }

  .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
  }

  .btn-primary:hover,
  .btn-outline:hover {
    transform: none;
  }

  .grid-auto {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer {
    padding: 2rem 0 1.5rem 0;
    border-radius: 24px 24px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .header {
    padding: 0.75rem 0;
  }

  .header.scrolled {
    padding: 0.5rem 0;
  }

  .logo-img {
    height: 36px;
    border-width: 2px;
  }

  .menu-toggle {
    padding: 0.75rem;
    border-radius: 14px;
  }

  .menu-toggle span {
    width: 20px;
    height: 2.5px;
  }

  .side-menu {
    border-radius: 0 32px 32px 0;
    padding: 4rem 1rem 1.5rem 1rem;
  }

  .side-nav-links a {
    font-size: 1.25rem;
    padding: 0.6rem 1rem;
  }

  .form-control {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
  }

  .chip {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Disable all background shape animations on mobile */
  .bg-shape {
    display: none;
  }

  .floating-text {
    animation: none;
  }

  .accent-italic::after {
    height: 0.3em;
  }

  .modal {
    width: 95%;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }
}

/* ═══════ RESPONSIVE — SMALL MOBILE (max-width: 360px) ═══════ */
@media (max-width: 360px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 0.5rem;
  }

  .card {
    padding: 1rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .form-control {
    padding: 0.6rem 0.75rem;
  }
}

/* ═══════ EVENTS ENHANCEMENTS ═══════ */
.event-badge-floating {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: white;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  animation: float 3s ease-in-out infinite;
}

.event-badge-floating .day {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1;
}

.event-badge-floating .month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-orange-deep);
  letter-spacing: 1px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.badge {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-orange {
  background: #fff3e0;
  color: #ef6c00;
}

.badge-blue-light {
  background: #e3f2fd;
  color: #1565c0;
}

.shadow-premium {
  box-shadow: var(--shadow-premium);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 768px) {
  .card .d-flex {
    flex-direction: column;
  }
}

/* Multi-step Form */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#photoPreview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}