* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root {
  --main-font: "BPG No9", sans-serif;
  --text-main: #1f2937;
  --text-muted: #6b7280;
}

body {
  font-family: var(--main-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

.fs-1 {
  font-size: 1.5rem;
}

.fs-2 {
  font-size: 1.25rem;
}

.fs-3 {
  font-size: 1rem;
}

.fs-4 {
  font-size: 0.875rem;
}

.fs-5 {
  font-size: 0.75rem;
}

.fs-6 {
  font-size: 0.625rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.text-danger {
  color: var(--primary-color);
}

:root {
    --primary-color: #e00b1a;
    --dark-color: #101010;
}
.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mt-4 {
  margin-top: 40px;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-4 {
  margin-bottom: 40px;
}

.w-100 {
    width: 100% !important;
}
.br-1 {
  border-radius: 10px;
}

.br-2 {
  border-radius: 20px;
}

.br-3 {
  border-radius: 30px;
}

.br-4 {
  border-radius: 40px;
}
.d-flex {
    display: flex;
}

.d-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.row {
    flex-direction: row;
}

.column {
    flex-direction: column;
}
.badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: .85em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 1rem;
}

.badge-primary {
    background-color: #007bff;
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-light {
    background-color: #f8f9fa;
    color: #212529;
}

.badge-dark {
    background-color: #343a40;
}

.bg-primary {
    background-color: #007bff !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.bg-dark {
    background-color: #343a40 !important;
}



.primary-btn {
  background: #e00b1a;
  color: white;
  border-radius: 30px;
  padding: 1rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  font-family: var(--main-font);
}

.primary-btn:hover {
  background: #ffffff;
  color: #e00b1a;
}

.view-btn {
  background: #1f2937;
  color: white;
  border-radius: 12px;
  padding: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  font-family: var(--main-font);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-save-btn,
.modal-close-btn {
  border-radius: 30px;
  padding: 1rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  font-family: var(--main-font);
}

.modal-save-btn {
  background: #e00b1a;
  color: white;
}

.modal-save-btn:hover {
  background: #c10a16;
}

.modal-close-btn {
  background: #e5e7eb;
  color: #111;
}

.modal-close-btn:hover {
  background: #d1d5db; 
  color: #000;
}

.icon-button {
  background: #e00b1a;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.user-box:hover .icon-button {
  background: #ffffff;
  color: #e00b1a;
}

.authorization-btn {
  font-size: 0.9rem;
}

.user-box:hover .user-name {
  color: var(--primary-color);
}

.payment-btn {
  margin: auto;
}
/* Navigation */
.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav ul li a:hover,
.nav ul li a:focus {
  color: #e00b1a;
}

.nav ul li a::after {
  content: "";
  display: inline-block;
  margin-left: 0.25rem;
  width: 0.9rem;
  height: 0.9rem;
  cursor: pointer;
  z-index: 1000;
  background-color: #fff;
  mask: url("/assets/images/icons/ninja-star.svg") no-repeat center / contain;
  -webkit-mask: url("/assets/images/icons/ninja-star.svg") no-repeat center /
    contain;
  transition: transform 0.3s ease;
}

.nav ul li a:hover::after {
  transform: rotate(90deg);
}

.mobile-nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1000;
  background-color: red;
  mask: url("/assets/images/icons/open-toggle-icon.svg") no-repeat center /
    contain;
  -webkit-mask: url("/assets/images/icons/open-toggle-icon.svg") no-repeat
    center / contain;
  transition: mask 0.3s ease, -webkit-mask 0.3s ease, background-color 0.3s ease;
}

.mobile-nav-toggle.open {
  background-color: white;
  width: 50px;
  height: 50px;
  mask: url("/assets/images/icons/close-toggle-icon.svg") no-repeat center /
    contain;
  -webkit-mask: url("/assets/images/icons/close-toggle-icon.svg") no-repeat
    center / contain;
}

/* --- Mobile nav panel --- */
@media (max-width: 1021px) {
  body.no-scroll {
    overflow: hidden;
  }

  .mobile-nav-toggle,
  .mobile-nav-toggle.open {
    display: block;
    width: 40px;
    height: 40px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 900;
    display: flex;
    flex-direction: column;
    padding-top: 6rem;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav ul {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .nav ul li {
    padding: 1rem 0;
  }
}

:root {
  --bg-card: #ffffff;
  --bg-soft: #f1f3f7;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card {
  width: 100%;
  max-width: 700px;
  height: auto;
  padding: 3rem 2rem;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  margin: 100px auto;
  color: #fff;
  position: relative;
  overflow: hidden;
  font-family: var(--main-font);
  overflow: visible;
}

/* ==============================
   STUDENT STYLE MODAL
============================== */

.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: none;
  align-items: center;
  justify-content: center;
}

.custom-modal.active {
  display: flex;
}

/* Backdrop */
.custom-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.75);
}

/* Dialog */
.custom-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding: 1rem;
  z-index: 2;
}

/* Card */
.student-modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  animation: modalSlideUp 0.25s ease;
  position: relative;
}

/* Accent bar (same as cards) */
.student-modal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--primary-color);
}

/* Header */
.student-modal-header {
  padding: 1.25rem 1.5rem;
  background: #1f2937;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.student-modal-header h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.modal-close-icon {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.85;
}

.modal-close:hover {
  opacity: 1;
}

/* Body */
.student-modal-body {
  padding: 1.5rem;
  background: var(--bg-soft);
  display: grid;
  gap: 1.25rem;
}

.student-modal-body label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  display: block;
}

/* Inputs */
.student-modal-body .form-control {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  border: 1px solid #e5e7eb;
  font-family: var(--main-font);
}

.student-modal-body .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

/* Footer */
.student-modal-footer {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  background: #fff;
  border-top: 1px solid #eef1f5;
}

/* File input styles (scoped to modal to match sign-up look) */
.student-modal-body .file-input-wrapper {
  width: 100%;
  margin-bottom: 1.25rem;
  text-align: left;
}

.student-modal-body .custom-file-label {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.8rem 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--main-font);
  font-size: 16px;
  transition: background 0.3s ease;
}

.student-modal-body .custom-file-label:hover {
  background: var(--primary-color);
}

.student-modal-body .file-name {
  margin-left: 10px;
  color: #1f2937;
  font-size: 0.9rem;
  display: inline-block;
  vertical-align: middle;
}

.student-modal-body .file-input-wrapper input[type="file"] {
  display: none;
}

/* Animation */
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .student-modal-dialog {
    max-width: 100%;
  }
}


/* ==============================
   CHECKOUT ADDON (SAFE LAYER)
============================== */

/* Dialog width tweak */
.checkout-dialog {
  max-width: 520px;
}

/* Summary box */
.checkout-summary {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  border: 1px solid #e5e7eb;
}

.checkout-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkout-summary li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  color: #334155;
}

.checkout-summary li:not(:last-child) {
  border-bottom: 1px dashed #e5e7eb;
}

.checkout-summary span {
  font-weight: 500;
}

.checkout-summary b {
  font-weight: 600;
  color: #0f172a;
}

/* Total row */
.checkout-total {
  font-size: 1.05rem;
  padding-top: 0.9rem;
}

.checkout-total b {
  color: #16a34a;
}

/* Mobile */
@media (max-width: 640px) {
  .checkout-dialog {
    padding: 0.75rem;
  }

  .checkout-summary {
    padding: 1.2rem;
  }
}

/* Dropdown menu */
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background-color: #000;
  margin-top: 10px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 1100;
}

/* Show dropdown on hover or open class */
.user-wrapper:hover .user-dropdown,
.user-wrapper.open .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown list styles */
.user-dropdown ul {
  margin: 0;
  padding: 6px 0;
}

.user-dropdown ul li {
  list-style: none;
}

.user-dropdown ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease;
  border-radius: 4px;
}

.user-dropdown ul li a:hover {
  background: var(--primary-color);
  color: #fff;
}

.user-dropdown ul li a i {
  width: 18px;
  text-align: center;
  font-size: 1rem;
  color: var(--primary-color);
  transition: color 0.25s ease;
}

.user-dropdown ul li a:hover i {
  color: #fff;
}

/* === MOBILE USER DROPDOWN === */
.mobile-user-dropdown {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2000;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 12px 0;
  font-family: var(--main-font);
}

.mobile-user-dropdown.open {
  transform: translateY(0);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.7);
}

/* Mobile dropdown links */
.mobile-user-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.mobile-user-dropdown a:last-child {
  border-bottom: none;
}

.mobile-user-dropdown a i {
  font-size: 1.3rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.mobile-user-dropdown a:hover {
  background: var(--primary-color);
  color: white;
}

.mobile-user-dropdown a:hover i {
  color: white;
}

/* === HEADER BASE === */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  box-sizing: border-box;
  color: white;
  border-bottom: 1px solid rgb(255, 255, 255);
  font-family: var(--main-font);
}

/* Logo */
.header .logo {
  cursor: pointer;
  width: 200px;
  margin-right: 1.5rem;
}

/* Navigation */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-left: 1.5rem;
}

.vertical-separator {
  width: 1px;
  height: 30px;
  background: white;
}

/* === USER BOX & DROPDOWN (DESKTOP) === */
.user-wrapper {
  position: relative;
  display: inline-block;
}

.user-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  color: white;
  transition: color 0.25s ease;
}

.user-box:hover {
  color: var(--primary-color);
}

.user-name {
  font-size: 1rem;
}

/* === ICON BUTTON === */
.icon-button {
  background: var(--primary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-button:hover {
  background: #fff;
  color: var(--primary-color);
}

/* === MOBILE MENU FOOTER === */
.mobile-menu-footer {
  display: none;
}

/* === HERO STYLES === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("/assets/images/banner.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  object-fit: cover;
}

/* Kyokushin image */
.hero .kyokushin {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80%;
  height: 75%;
  z-index: 10;
}

/* Hero content */
.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
}

/* MOBILE HERO ADJUSTMENTS */
@media (max-width: 768px) {
  .hero {
    height: 320px;
    background-attachment: scroll;
  }

  .hero .kyokushin {
    height: 70%;
  }
}

@media (max-width: 1258px) {

  /* Logo */
  .header .logo {
    cursor: pointer;
    width: 150px;
  }

  .nav ul {
    font-size: 0.9rem;
  }
}

@media (max-width: 1209px) {
  .nav ul {
    gap: 1rem;
  }

  .header-right {
    gap: 1rem;
  }

  .header-right .primary-btn {
    padding: 0.8rem 1.8rem;
  }

  .header-right .icon-button {
    height: 42px;
    width: 42px;
  }
}

@media (max-width: 1120px) {
  .header {
    padding: 3.5rem 1.8rem;
  }

  .nav ul {
    gap: 0.9rem;
    font-size: 0.8rem;
  }

  .header-right {
    gap: 0.9rem;
  }

  .header-right .primary-btn {
    padding: 0.7rem 1.7rem;
  }

  .header-right .icon-button {
    height: 39px;
    width: 39px;
  }
}

@media (max-width: 1053px) {
  .header {
    padding: 3.5rem 1.5rem;
  }

  .header .logo {
    margin-right: 1.2rem;
  }

  .header-right {
    gap: 0.8rem;
  }

  .nav ul {
    font-size: 0.8rem;
  }

  .nav ul li a::after {
    width: 0.8rem;
    height: 0.8rem;
  }
}

/* Hide header-right on mobile */
@media (max-width: 1021px) {
  .header-right {
    display: none;
  }

  .header {
    padding: 2.5rem 1rem;
  }

  .header .logo {
    width: 150px;
  }

  .nav ul {
    font-size: 0.9rem;
  }

  .nav ul li a::after {
    width: 0.9rem;
    height: 0.9rem;
  }

  .mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 2rem;
  }

  .mobile-menu-footer .vertical-separator {
    display: block;
    width: 60%;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
  }

  .mobile-menu-footer .authorization-btn {
    width: 100%;
    text-align: center;
  }

  .hero {
    height: auto;
    aspect-ratio: 16 / 9;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
  }

  .hero .kyokushin {
    height: 70%;
  }
}

@media (max-width: 450px) {
  .header {
    position: static;
    padding: 1rem;
    background: black;
  }

  .header .logo {
    width: 120px;
  }
}

/* === LANGUAGE DROPDOWN (DESKTOP) === */
.lang-wrapper {
  position: relative;
}

/* Hover bridge */
.lang-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 10px;
}

.lang-toggle {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.lang-flag {
  width: 40px;
  height: 40px;
  object-fit: fill;
  border-radius: 50%;
  display: block;
  margin: auto;
}

/* Dropdown */
.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 5px;
  min-width: 160px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

/* Show dropdown */
.lang-wrapper:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Items */
.lang-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-item img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: fill;
}

/* Hover effect */
.lang-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary-color);
}


/* === LANGUAGE SHEET (MOBILE) === */
.mobile-lang-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -260px;
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 3000;
  transition: bottom 0.25s ease;
}

.mobile-lang-sheet.open {
  bottom: 0;
}
.footer {
  background-color: var(--dark-color);
  color: white;
  font-family: var(--main-font);
  padding: 3rem 2rem 1rem;
  box-sizing: border-box;
  margin-top: 30px;
}

.footer-main.show {
  opacity: 1;
  transform: translateY(0);
}

.footer-main {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-logo img {
  height: 60px;
  user-select: none;
  cursor: default;
}

/* The columns container */
.footer-columns {
  display: flex;
  flex: 1 1 60%;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column {
  flex: 1 1 150px;
  min-width: 150px;
}

.footer-column h3 {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
  font-weight: 400;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column ul li i {
  color: #e00b1a;
  min-width: 20px;
  text-align: center;
}

/* Links style */
.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
  color: #e00b1a;
}

/* Footer bottom copyright */
.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #bbb;
}

/* Responsive for smaller devices */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
  }

  .footer-columns {
    flex: 1 1 100%;
    justify-content: center;
    gap: 2rem;
  }

  .footer-column {
    flex: 1 1 100%;
    max-width: 300px;
  }

  .footer-logo {
    margin-bottom: 2rem;
  }
}


.sign-in-container {
  padding: 0 1rem;
}

.sign-in-card {
  width: 100%;
  max-width: 700px;
  height: auto;
  padding: 3rem 2rem;
  border-radius: 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/assets/images/sign-in-bg.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  margin: 100px auto;
  color: #fff;
  position: relative;
  overflow: visible;
  font-family: var(--main-font);
}

.sign-up-card {
  width: 100%;
  max-width: 1000px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/assets/images/sign-up-bg.jpg");
  background-size: cover;
  background-position: center;
}

.signup-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .signup-form .form-grid {
    grid-template-columns: 1fr;
  }
}

.section-title {
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  font-weight: 700;
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 10px;
}

.sign-in-card h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

label {
  display: block;
  margin-bottom: 10px;
}

.sign-in-card input[type="text"],
.sign-in-card input[type="password"],
.sign-in-card input[type="number"],
.sign-in-card input[type="date"] {
  width: 99%;
  margin-left: 2px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: none;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  font-family: var(--main-font);
}

.sign-in-card input[type="text"]:focus,
.sign-in-card input[type="password"]:focus,
.sign-in-card input[type="number"]:focus,
.sign-in-card input[type="date"]:focus {
  outline: 2px solid var(--primary-color);
  background-color: #22223b;
}

.sign-in-card input[type="number"]::-webkit-outer-spin-button,
.sign-in-card input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sign-in-card input[type="number"] {
  -moz-appearance: textfield;
}

.sign-in-card input[type="file"] {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border: none;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  font-family: var(--main-font);
  cursor: pointer;
}

.sign-in-card input[type="file"]::-webkit-file-upload-button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--main-font);
}

.sign-in-card input[type="file"]::-webkit-file-upload-button:hover {
  background: #ff2e2e;
}

.file-input-wrapper {
  width: 100%;
  margin-bottom: 1.5rem;
  text-align: left;
}

.custom-file-label {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--main-font);
  transition: background 0.3s ease;
}

.custom-file-label:hover {
  background: var(--primary-color);
}

.file-name {
  margin-left: 10px;
  color: #ccc;
  font-size: 0.9rem;
}

.file-input-wrapper input[type="file"] {
  display: none;
}

.sign-in-card button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  border-radius: 8px;
  border: none;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--main-font);
}

.sign-in-card button:hover {
  background-color: #ff2e2e;
}

.sign-in-card .links {
  margin-top: 1rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}

.sign-in-card .links a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0.3rem 0.7rem 0 0.7rem;
}

.sign-in-card .links a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .sign-in-card .links {
    font-size: 0.75rem;
  }
}

.checkbox-list li {
  list-style: none;
  margin-bottom: 12px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 1rem;
  color: #fff;
  user-select: none;
  line-height: 20px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 0;
  height: 22px;
  width: 22px;
  background-color: #1a1a2e;
  border-radius: 6px;
  border: 2px solid #444;
  transition: 0.25s ease;
}

.checkbox-container:hover input~.checkmark {
  border-color: var(--primary-color);
}

.checkbox-container input:checked~.checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark::after {
  display: block;
}

.checkmark::after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.d-none {
  display: none;
}

.parents-form,
.guardian-form,
.adult-form {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease, margin 0.6s ease;
  margin: 0;
}

.show-form {
  max-height: 2000px;
  opacity: 1;
  margin-top: 20px;
}

.mother-fields,
.father-fields {
  max-height: 1000px;
  opacity: 1;
  overflow: visible;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.mother-fields.is-hidden,
.father-fields.is-hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}
/* ================================
   PROFILE PAGE (PARENTS / STUDENTS)
   ================================ */

.profile-main {
  min-height: 100vh;
  padding: 4rem 1.5rem;
  font-family: var(--main-font);
}

/* Main container */
.profile-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================
   PARENT CARD
   ================================ */

.parent-card {
  background: var(--bg-soft);
  color: #111;
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

/* Accent bar */
.parent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: var(--primary-color);
}

/* Header */
.parent-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.parent-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--primary-color);
}

.parent-header h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
}

.parent-header p {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: #555;
}

/* Parent info grid */
.parent-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  font-size: 0.95rem;
}

.parent-info div {
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #333;
}

/* ================================
   STUDENT SECTION
   ================================ */

.students-section {
  margin-top: 2rem;
}

.student-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  align-items: center;
  gap: 12px;

  flex-wrap: wrap;
}

.students-section h3 {
  font-size: 1.4rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
}

/* Grid */
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

/* ================================
   student CARD
   ================================ */

.student-card {
  background: var(--bg-soft);
  color: #111;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.student-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--primary-color);
}

.student-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* Student image */
.student-card .student-profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  background: #fff;
  border: 2px solid var(--primary-color);
}

/* Student info */
.student-card h4 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.student-card p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #555;
}

/* ================================
   BELT ICON
   ================================ */

.belt-icon {
  width: 60px;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

/* ================================
   MOBILE ADJUSTMENTS
   ================================ */

@media (max-width: 768px) {
  /* .main {
    padding: 3rem 1rem;
  } */

  .parent-header {
    flex-direction: column;
    text-align: center;
  }

  .parent-info {
    grid-template-columns: 1fr;
  }
}

/* ================================
   STUDENT VIEW CARD
================================ */

.student-view-main {
  min-height: 100vh;
  padding: 4rem 1.5rem;
  background: var(--bg-page);
  font-family: var(--main-font);
  color: var(--text-main);
}

.student-view-container {
  max-width: 90%;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.student-view-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.student-view-header {
  background: #1f2937;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
}

.student-view-header img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
}

.student-view-header h2 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.student-view-body {
  padding: 2rem;
  display: grid;
  gap: 1.75rem;
}

.info-section {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

@media (max-width: 765px) {

  .student-view-body,
  .info-section {
    padding: 1rem;
  }

}

.info-section,
.table-wrapper {
  min-width: 0;
}

.info-section h4 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-section h4::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 2px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.info-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.info-item span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.info-item[data-state="positive"] {
  background: #d4edda;
  color: #000;
}

.info-item[data-state="negative"] {
  background: #f8d7da;
  color: #000 !important;
}

.info-item span[data-state="negative"],
.info-item span[data-state="positive"] {
  color: #000 !important;
}

.belt-box img {
  width: 50px;
  display: block;
}

.student-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.student-actions a {
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.student-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ================================
   STUDENT VIEW MOBILE
================================ */

@media (max-width: 768px) {
  .student-view-main {
    padding: 2rem 1rem;
  }

  .student-view-card {
    overflow: hidden;
  }

  .student-view-header {
    padding: 2rem 1.25rem;
  }

  .student-view-header h2 {
    font-size: 1.2rem;
  }

  .student-view-header img {
    width: 110px;
    height: 110px;
  }

  .student-body {
    padding: 1.25rem;
  }

  .info-grid {
    gap: 0.75rem;
  }
}

/* ================================
   BELT EXAMS TABLE
================================ */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.belt-exams-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.9rem;
}

.belt-exams-table thead {
  background: #f8fafc;
}

.belt-exams-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid #e5e7eb;
}

.belt-exams-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eef1f5;
  vertical-align: middle;
}

.belt-exams-table tbody tr:last-child td {
  border-bottom: none;
}

.belt-exams-table tbody tr:hover {
  background: #f9fafb;
}

/* Belt cell */
.belt-exams-table td img {
  width: 50px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.belt-exams-table .exam-actions.dropdown-filter {
  width: auto;
}

/* Status badge */
.exam-status-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

.exam-status {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.exam-status.passed {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.exam-status.failed {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.exam-status.active {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.exam-status.info {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}

.exam-status.cancelled {
  background: rgba(0, 0, 0, 0.12);
  color: #111111;
}

.belt-exams-table td {
  position: relative;
  overflow: visible;
}

.exam-actions {
  position: relative;
  width: auto;

}

.exam-actions .dropdown-menu {
  top: auto;
  bottom: calc(100% + 8px);
  left: auto;
  right: 0;
  width: 200px;
}

.exam-actions .dropdown-selected {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  justify-content: center;
}

.exam-actions .dropdown-selected i {
  margin: 0;
  font-size: 1rem;
}

/* Empty state */
.table-empty {
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.doc-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 100px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.doc-preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.doc-icon {
  width: 56px;
  height: auto;
}

/* ================================
   MOBILE TABLE
================================ */

@media (max-width: 768px) {

  .belt-exams-table th,
  .belt-exams-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }

  .belt-exams-table td img {
    width: 45px;
  }
}

/* ================================
   MONTHLY ATTENDANCE CALENDAR
================================ */
.calendar-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

#calendar-filter {
  display: flex;
  gap: 10px;
}

/* === DROPDOWN FILTER === */
.dropdown-filter {
  position: relative;
  width: 200px;
  font-family: var(--main-font);
}

.dropdown-selected {
  background: #fff;
  color: #000;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: border 0.25s ease;
}

.dropdown-selected:hover {
  border-color: var(--primary-color);
}

.dropdown-selected i {
  font-size: 0.9rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.dropdown-filter.open .dropdown-selected i {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.dropdown-filter.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 12px 16px;
  color: #000;
  cursor: pointer;
  transition: background 0.25s ease;
}

.dropdown-menu li:hover,
.dropdown-menu li.active {
  background: var(--primary-color);
}

.calendar {
  width: 100%;
}

/* Weekday header */
.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.day-weekday {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Days grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

/* Day cell */
.calendar-day {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  min-height: 80px;
  position: relative;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Empty days */
.calendar-day.empty {
  background: transparent;
  box-shadow: none;
}

/* Day number */
.day-number {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Status text */
.day-status {
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  text-align: center;
}

.day-time {
  display: block;
  font-size: 11px;
  text-align: center;
  color: var(--text-muted);
  margin-top: 4px;
}

.day-status {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

/* States */
.calendar-day.attended {
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.calendar-day.attended .day-status {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.calendar-day.missed {
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.calendar-day.missed .day-status {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

.calendar-day.upcoming {
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.calendar-day.upcoming .day-status {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}

/* Mobile */
@media (max-width: 768px) {
  .info-section h4 {
    font-size: 0.95rem;
  }

  .calendar {
    overflow: visible;
  }

  .calendar-header {
    display: none;
  }

  .calendar-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    min-width: 0;
  }

  .calendar-day.empty {
    display: none;
  }

  .calendar-day {
    min-height: 92px;
    padding: 12px;
    box-shadow: var(--shadow-soft);
  }

  .day-number {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .day-time {
    font-size: 12px;
    margin-top: 6px;
  }

  .day-status {
    font-size: 12px;
    padding: 6px 10px;
  }

  #calendar-filter {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .dropdown-filter {
    width: 100%;
  }
}

@media (max-width: 425px) {

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day-status {
    font-size: 10px;
    padding: 3px 6px;
    line-height: 1.1;

    white-space: nowrap;
    overflow: hidden;
  }

  .calendar-day {
    padding: 10px;
    min-height: 80px;
  }
}

@media (max-width: 768px) {

  .belt-exams-table thead {
    display: none;
  }

  .belt-exams-table,
  .belt-exams-table tbody,
  .belt-exams-table tr,
  .belt-exams-table td {
    display: block;
    width: 100%;
  }

  .belt-exams-table tbody tr {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 12px;
    margin-bottom: 12px;
    position: relative;
  }

  .belt-exams-table td {
    border: none;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f5;
  }

  .belt-exams-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .belt-exams-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: 0;
  }

  .belt-exams-table td img {
    width: 52px;
    margin: 0;
  }

  .belt-exams-table td .primary-btn {
    width: 100%;
    justify-content: center;
  }

  .belt-exams-table td.col-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    padding: 0;
    border: none;
  }

  .belt-exams-table td.col-actions::before {
    content: "";
    display: none;
  }

  .exam-actions .dropdown-menu {
    right: 0;
    left: auto;
    top: calc(100% + 8px);
    bottom: auto;
    width: 200px;
  }

  .exam-actions .dropdown-selected {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    justify-content: center;
  }

  td .primary-btn {
    padding: 1rem;
  }
}
/* ================================
   GALLERY PAGE
================================ */

.gallery-main {
  min-height: 100vh;
  padding: 4rem 1.5rem;
  background: var(--bg-page);
  font-family: var(--main-font);
  color: var(--text-main);
}

.gallery-container {
  max-width: 95%;
  margin: 0 auto;
}

/* ================================
   GALLERY HEADER
================================ */

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-title-section {
  margin-bottom: 2.5rem;
}

.gallery-title-section h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--dark-color);
}

.gallery-title-section p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

/* ================================
   FILTERS
================================ */

.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.65rem 1.25rem;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: var(--dark-color);
  border-radius: 25px;
  cursor: pointer;
  font-family: var(--main-font);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(224, 11, 26, 0.25);
}

/* ================================
   GALLERY GRID
================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
  background: #1f2937;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.6s ease-out;
}

.gallery-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Image wrapper */
.gallery-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background: #f0f0f0;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.08);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-view-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(224, 11, 26, 0.4);
}

.gallery-view-btn:hover {
  transform: scale(1.1);
  background: #c80916;
}

/* Gallery info */
.gallery-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  line-height: 1.3;
}

.gallery-date {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gallery-description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.4;
  flex: 1;
}

/* ================================
   EMPTY STATE
================================ */

.gallery-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.gallery-empty i {
  font-size: 3.5rem;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 1rem;
  display: block;
}

.gallery-empty p {
  font-size: 1.1rem;
  margin: 0;
}

/* ================================
   LIGHTBOX MODAL
================================ */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-container {
  position: relative;
  width: 90vw;
  max-width: 900px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightboxSlideUp 0.3s ease-out;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Lightbox controls */
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

/* ================================
   ANIMATIONS
================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lightboxSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .lightbox-prev {
    left: -50px;
  }

  .lightbox-next {
    right: -50px;
  }
}

@media (max-width: 768px) {
  .gallery-main {
    padding: 2rem 1rem;
  }

  .gallery-title-section h1 {
    font-size: 2rem;
  }

  .gallery-title-section p {
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .lightbox-prev {
    left: -45px;
  }

  .lightbox-next {
    right: -45px;
  }

  .lightbox-close {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    top: -35px;
  }
}

@media (max-width: 480px) {
  .gallery-main {
    padding: 1.5rem 0.75rem;
  }

  .gallery-title-section h1 {
    font-size: 1.6rem;
  }

  .gallery-title-section p {
    font-size: 0.85rem;
  }

  .gallery-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gallery-info {
    padding: 0.85rem;
  }

  .gallery-info h3 {
    font-size: 0.95rem;
  }

  .lightbox-container {
    width: 95vw;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

.contact-info {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  justify-content: center;
  gap: 1rem;
  border-radius: 12px;
}

.contact-item span {
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-icon {
  height: clamp(3.125rem, 2.75rem + 1.875vw, 5rem);
  width: clamp(3.125rem, 2.75rem + 1.875vw, 5rem);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: clamp(1.25rem, 1.0014rem + 0.8322vw, 2rem);
  border: 1px solid var(--primary-color);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 30%,
    rgba(240, 136, 143, 1) 75%,
    rgba(230, 61, 73, 1) 92%,
    rgba(224, 11, 26, 1) 100%
  );
  transition:
    background 0.6s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.contact-icon i {
  color: var(--primary-color);
  transition: color 0.4s ease;
}

.contact-item:hover .contact-icon {
  background: var(--primary-color);
  transform: scale(1.1);

  box-shadow:
    0 0 15px rgba(224, 11, 26, 0.4),
    inset 0 0 15px rgba(255, 255, 255, 0.3);
}

.contact-item:hover .contact-icon i {
  color: #fff;
}

.contact-item:hover span {
  color: var(--primary-color);
}

.map {
  width: 100%;
  height: 450px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1140px) {
  .contact-info {
    gap: 0rem;
  }
}
@media (max-width: 960px) {
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .contact-item {
    margin: 0;
    width: 100%;
    max-width: 320px;
    padding: 1rem 0;
    justify-content: flex-start;
    gap: 1rem;
  }

  .contact-icon {
    min-width: 60px;
    min-height: 60px;
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }

  .contact-item span {
    font-size: 1.1rem;
  }

  .headings h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 715px) {
  .headings h1 {
    font-size: 2rem;
  }

  .contact-details h3 {
    font-size: 1.25rem;
  }
  .contact-item span {
    font-size: 1rem;
  }
}

.privacy-policy-main {
    padding: 40px 20px;
}

.privacy-policy-container {
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.privacy-policy-content {
    background-color: white;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    color: #333;
}

.privacy-policy-content h1 {
    color: var(--primary-color, #e00b1a);
    font-size: 2.5rem;
    margin-bottom: 10px;
    border-bottom: 3px solid var(--primary-color, #e00b1a);
    padding-bottom: 15px;
}

.privacy-policy-content h2 {
    color: var(--dark-color, #101010);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.privacy-policy-content h3 {
    color: var(--primary-color, #e00b1a);
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.intro-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 50px;
}

.policy-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.policy-section ul {
    list-style-type: none;
    padding-left: 0;
}

.policy-section li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.policy-section li:before {
    content: "▸";
    color: var(--primary-color, #e00b1a);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.data-category {
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 5px solid var(--primary-color, #e00b1a);
    margin-bottom: 25px;
    border-radius: 4px;
}

.data-category h3 {
    margin-top: 0;
}

.data-category ul {
    margin-bottom: 0;
}

.policy-footer {
    border-top: 2px solid #e00b1a;
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: #666;
}

.policy-footer p {
    margin-bottom: 10px;
}

.disclaimer {
    font-weight: 600;
    color: var(--dark-color, #101010);
    font-size: 0.95rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .privacy-policy-main {
        padding: 20px 15px;
    }

    .privacy-policy-content {
        padding: 30px 20px;
    }

    .privacy-policy-content h1 {
        font-size: 1.8rem;
    }

    .privacy-policy-content h2 {
        font-size: 1.3rem;
    }

    .policy-section li {
        padding-left: 20px;
    }

    .data-category {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-policy-main {
        padding: 15px 10px;
    }

    .privacy-policy-content {
        padding: 20px 15px;
    }

    .privacy-policy-content h1 {
        font-size: 1.5rem;
    }

    .privacy-policy-content h2 {
        font-size: 1.1rem;
        margin-top: 25px;
    }

    .policy-section p {
        text-align: left;
    }
}

body {
  background-image: url("/assets/images/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  margin: 0;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.main {
  flex: 1;
}

.headings {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 0.5vw, 1.5rem);
  white-space: nowrap;
  color: var(--primary-color);
}

.blade-start,
.blade-end {
  height: clamp(60px, 7vw, 158.42px);
  width: auto;
  flex-shrink: 0;
}

.headings h1 {

  margin: 0;
  flex-shrink: 1;
  white-space: nowrap;
}

.headings h1,
.headings h2,
.headings h3,
.headings h4,
.headings h5,
.headings h6 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}

@media (max-width: 715px) {

  .headings h1,
  .headings h2,
  .headings h3,
  .headings h4 {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }
}

@media (max-width: 460px) {
  .headings {
    gap: 0.5rem;
  }

  .blade-start,
  .blade-end {
    height: clamp(30px, 15vw, 80px);
    flex-shrink: 1;
  }

  .headings h1,
  .headings h2,
  .headings h3,
  .headings h4,
  .headings h5,
  .headings h6 {
    font-size: clamp(1rem, 7vw, 1.5rem);
  }
}
