/* =========================================
   1. FONT AWESOME (LOCAL & OPTIMIZED)
   Only the icons used on your site.
   ========================================= */

/* Define the Fonts (pointing to local /webfonts folder) */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("webfonts/fa-solid-900.woff2") format("woff2"),
    url("webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("webfonts/fa-brands-400.woff2") format("woff2"),
    url("webfonts/fa-brands-400.ttf") format("truetype");
}

/* Base Classes */
.fa,
.fas,
.fa-solid,
.fab,
.fa-brands {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fa-solid,
.fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

/* Icons Used on Your Site */
.fa-check:before {
  content: "\f00c";
}

.fa-tags:before {
  content: "\f02c";
}

.fa-clipboard-list:before {
  content: "\f46d";
}

.fa-chevron-right:before {
  content: "\f054";
}

.fa-envelope:before {
  content: "\f0e0";
}

.fa-file-pdf:before {
  content: "\f1c1";
}

.fa-external-link-square:before {
  content: "\f14c";
}

.fa-users:before {
  content: "\f0c0";
}

.fa-map-marker-alt:before {
  content: "\f3c5";
}

.fa-phone:before {
  content: "\f095";
}

.fa-copyright:before {
  content: "\f1f9";
}

.fa-bars:before {
  content: "\f0c9";
}

.fa-times:before {
  content: "\f00d";
}

.fa-arrow-left:before {
  content: "\f060";
}

.fa-calendar:before {
  content: "\f133";
}

.fa-expand:before {
  content: "\f065";
}

.fa-exclamation-circle:before {
  content: "\f06a";
}

.fa-arrow-right:before {
  content: "\f061";
}

.fa-download:before {
  content: "\f019";
}

.fa-medal:before {
  content: "\f5a2";
}

.fa-dumbbell:before {
  content: "\f44b";
}

.fa-external-link-alt:before {
  content: "\f35d";
}

.fa-paper-plane:before {
  content: "\f1d8";
}

.fa-heart:before {
  content: "\f004";
}

.fa-star:before {
  content: "\f005";
}

.fa-shield-alt:before {
  content: "\f3ed";
}

.fa-handshake:before {
  content: "\f2b5";
}

.fa-tshirt:before {
  content: "\f553";
}

.fa-ban:before {
  content: "\f05e";
}

.fa-clock:before {
  content: "\f017";
}

.fa-newspaper:before {
  content: "\f1ea";
}

/* Brands */
.fa-whatsapp:before {
  content: "\f232";
}

.fa-instagram:before {
  content: "\f16d";
}

.fa-facebook-f:before {
  content: "\f39e";
}

.fa-tiktok:before {
  content: "\e07b";
}


:root {
  --primary: #9333ea;
  /* Purple */
  --accent: #facc15;
  /* Gold */
  --dark-bg: #0f172a;
}

* {
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--dark-bg);
  color: #f8fafc;
  overflow-x: hidden;
}

/* Modern Gradient Background */
.modern-bg {
  background:
    radial-gradient(circle at 20% 30%, rgba(46, 16, 101, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
    #0f172a;
  background-attachment: fixed;
  position: relative;
}

.modern-bg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-nav {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #e9d5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient {
  background-size: 200% auto;
  animation: gradient 6s ease infinite;
}

.mobile-link {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#mobile-menu:not(.hidden) .mobile-link {
  transform: translateY(0);
  opacity: 1;
}

/* Interactive Elements */
.hover-glow {
  transition: all 0.4s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.4);
  transform: translateY(-5px);
  border-color: rgba(147, 51, 234, 0.5);
}

/* Gallery Mobile Perfect */
@media (max-width: 640px) {
  .columns-1>div {
    break-inside: avoid;
    margin-bottom: 1rem;
    height: 60vh;
    /* Better aspect ratio */
  }

  img {
    height: auto;
    min-height: 250px;
    object-fit: cover;
  }
}

/* Smooth responsive */
@media (min-width: 640px) and (max-width: 1024px) {
  .columns-2>div {
    height: 50vh;
  }
}

/* Force Styling for Headers inside the post body */
.custom-headers h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.2;
}

.custom-headers h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #e9d5ff;
  /* light purple */
}

.custom-headers h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #d8b4fe;
}

.custom-headers ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.custom-headers li {
  margin-bottom: 0.5rem;
}

.custom-headers strong {
  color: #f3e8ff;
  /* bright white-purple for bold text */
}

.custom-headers a {
  color: #a855f7;
  text-decoration: underline;
}


.weekly-planner {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(145deg, #0f0f23 0%, #1a1b2e 100%);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

/* Glassmorphic day headers */
.weekly-planner thead th {
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #7c3aed 100%);
  color: #e0e7ff;
  font-weight: 800;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Neumorphic class column */
.weekly-planner th:first-child {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
  color: white;
  z-index: 11;
  position: sticky;
  left: 0;
  box-shadow:
    4px 0 12px rgba(59, 130, 246, 0.3),
    inset -2px 0 4px rgba(255, 255, 255, 0.2);
}

/* Ultra-modern row gradients */
.weekly-planner tbody tr:nth-child(odd) td {
  background: linear-gradient(135deg,
      rgba(236, 72, 153, 0.15) 0%,
      rgba(239, 68, 68, 0.1) 50%,
      rgba(16, 185, 129, 0.15) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.weekly-planner tbody tr:nth-child(even) td {
  background: linear-gradient(135deg,
      rgba(249, 115, 22, 0.12) 0%,
      rgba(234, 179, 8, 0.1) 50%,
      rgba(139, 92, 246, 0.15) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glow hover */
.weekly-planner tbody tr:hover td {
  background: linear-gradient(135deg, #ec4899 0%, #f97316 50%, #06b6d4 100%) !important;
  color: white !important;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Empty cells */
.weekly-planner td:empty {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px);
}

/* Modern text */
.weekly-planner td {
  color: #f8fafc;
  font-weight: 500;
  font-feature-settings: 'calt' 1;
  transition: all 0.3s ease;
}

.table-wrapper {
  width: 90%;
  overflow-x: auto;
}

.planner-section {
  margin-bottom: 2rem;
}

.weekly-planner th,
.weekly-planner td {
  text-align: center;
  /* Horizontal center */
  vertical-align: middle;
  /* Vertical center */
  line-height: 1.4;
  /* Perfect vertical spacing */
  padding: 12px 6px;
  /* Balanced padding */
}

/* Extra center for class names (multi-line) */
.weekly-planner th:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80px;
  /* Fixed height for perfect alignment */
  padding: 8px;
}

/* Center small text under class names */
.weekly-planner th small {
  font-size: 10px;
  opacity: 0.9;
  display: block;
  margin-top: 2px;
}

.planner-title {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1.5rem 0;
  text-align: center;
  letter-spacing: -0.025em;
  position: relative;
}

.planner-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .planner-title {
    font-size: 24px;
  }
}

.page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.planner-section {
  max-width: 100%;
  width: 100%;
  max-width: 1200px;
  /* Max table width */
  margin: 0 auto;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #4c1d95;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b21a8;
}

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

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

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}