/* File: assets/css/style.css */

/* ==============
   RESET + BASE
============== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
}

/* Center page + max width */
.container {
  width: 100%;
  max-width: 100vw;  /* increased from 1120px */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =================
   COLOR VARIABLES
   (easy to customize)
================= */
:root {
  --bg-gradient: radial-gradient(circle at top left, #ffffff, #fdfcf5);
  --accent: #d4af37;           /* gold-ish */
  --accent-soft: rgba(212, 175, 55, 0.15);
  --accent-strong: #b08d2e;
  --accent-secondary: #1d4ed8; /* blue accent */
  --text-main: #111111;
  --text-muted: #afa4a4;
  --card-bg: #ffffff;          /* white cards */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --glass: rgba(255, 255, 255, 0.95);
  --shadow-soft: 0 12px 24px rgba(0, 0, 0, 0.05);
  --radius-lg: 12px;
  --radius-full: 999px;
  --transition-fast: 180ms ease-out;
}

/* ==============
   NAVBAR
============== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.logo-icon img{
  width: 34px;
  height: 34px;
   border-radius: 7px;
}
.logo-text {
  font-weight: 600;
  font-size: 1.15rem;
  color: #ffffff;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--accent), var(--accent-secondary));
  transition: width var(--transition-fast) ease-out;
}

.nav-link:hover {
  color: #d4af37;
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Button style links */
.nav-button {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent), #f5d576);
  color: #111111;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.3);
  text-decoration: none;
}

.nav-outline-button {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid  #ffffff;
  color:  #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
}

/* Mobile nav toggle */
/* Mobile Toggle Button */
.nav-toggle {
  display: none; /* still hidden on desktop */
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
}

.nav-toggle-line {
  width: 26px;
  height: 3px;
  background: var(--text-main); /* dark color on white background */
  border-radius: var(--radius-full);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile Navigation — Light / Gold + Blue Theme */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem 1rem;
  background: #ffffff; /* light background */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* subtle border */
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--text-main); /* dark text for visibility on white */
  font-size: 0.95rem;
  padding: 0.45rem 0;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--accent-secondary); /* blue on hover */
}

.mobile-nav-button {
  margin-top: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent), #f5d576); /* gold gradient */
  color: #111111; /* strong dark text */
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.25); /* soft gold shadow */
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.mobile-nav-button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.4);
}

.mobile-nav-outline-button {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.1); /* subtle border */
  color: var(--text-main);
  background: transparent;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-outline-button:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--accent-secondary); /* blue on hover */
}

/* Show mobile menu */
.mobile-nav.open {
  display: flex;
}

/* ==============
   HERO SECTION
============== */
.hero {
  background: var(--bg-gradient);
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.16rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.75rem;
  color: var(--accent-secondary);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 0.8rem;
  color: #111111;
}

.hero-highlight {
  color: var(--accent);
}

.hero-underline {
  position: relative;
}

.hero-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--accent), var(--accent-secondary));
  opacity: 0.7;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

/* Reusable buttons */
.btn {
  border: none;
  cursor: pointer;
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #f5d576);
  color: #111111;
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.3);
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 38px rgba(212, 175, 55, 0.4);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.2);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-pill {
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.95);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Right side animated cards */
.hero-visual {
  position: relative;
  min-height: 220px;
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
}

.hero-card {
  position: absolute;
  right: 0;
  left: 10%;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  animation: floatCard 4s ease-in-out infinite;
}

.hero-card-top {
  top: 0;
}

.hero-card-middle {
  top: 34%;
  left: 18%;
  animation-delay: 0.4s;
}

.hero-card-bottom {
  top: 68%;
  left: 6%;
  animation-delay: 0.8s;
}

.hero-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-secondary);
  margin-bottom: 0.25rem;
}

.hero-card-title {
  font-size: 0.9rem;
  color:  #111111;
  margin-bottom: 0.1rem;
}

.hero-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==============
   GENERIC SECTIONS
============== */
.section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
  color: #111111;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Placeholder style (we will replace later) */
.placeholder-section {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.8), #020617);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

/* ==============
   FOOTER
============== */
.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: #020617;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.2rem 0 1.7rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.footer-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 260px;
}

.footer-heading {
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  color: #020617;
}

.footer-link {
  display: block;
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link:hover {
  color: #f9fafb;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==============
   ANIMATIONS
============== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ==============
   RESPONSIVE
============== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    margin-top: 2rem;
    min-height: 200px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-visual {
    display: none; /* Optional: hide visual on very small screens */
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================
   GENERIC PAGES & FORMS
============================ */

.page-main {
  flex: 1;
}

.page-header {
  padding: 2.1rem 0 1.4rem;
  background: radial-gradient(circle at top, #020617, #020617);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.page-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.page-title {
  font-size: 1.7rem;
  color: #f9fafb;
  margin-bottom: 0.4rem;
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* Form card */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.form-steps {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.form-step-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px dashed rgba(148, 163, 184, 0.45);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-step-indicator .step-number {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.form-step-indicator.active {
  background: var(--accent-soft);
  color: #e5e7eb;
  border-style: solid;
  border-color: var(--accent);
}

.form-step-indicator.active .step-number {
  border-color: transparent;
  background: var(--accent);
  color: #f9fafb;
}

.form-step-indicator.completed {
  opacity: 0.8;
}

.form-body {
  margin-top: 0.8rem;
}

/* Field groups */
.form-group {
  margin-bottom: 1.1rem;
}

.form-group-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.86rem;
   color: #111111;
  margin-bottom: 0.3rem;
}

.required {
  color: #f97373;
}

.form-input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
 background: #f9f9f9;
  color: #111111;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), transform var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(208, 170, 50, 0.4);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
  cursor: pointer;
  user-select: none;
  background: rgba(12, 19, 36, 0.9);
}

.chip input {
  display: none;
}

.chip span {
  color: var(--text-muted);
}

.chip input:checked + span {
  color: #f9fafb;
}

.chip input:checked ~ span,
.chip input:checked + span {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

/* Steps visibility */
.form-step {
  display: none;
}

.form-step.form-step-active {
  display: block;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.form-helper {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px dashed rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-success {
  text-align: left;
}

.form-success h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.form-success p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

/* Projects page */
.projects-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.projects-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.projects-filter-input {
  max-width: 210px;
}

.projects-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1rem 0.9rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.project-title {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #f9fafb;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.75rem;
  text-transform: capitalize;
}

.pill-soft {
  border-style: dashed;
  color: var(--text-muted);
}

.project-budget {
  text-align: right;
}

.project-budget-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.project-budget-value {
  font-size: 0.9rem;
  color: #f9fafb;
  font-weight: 500;
}

.project-description {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-pill {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.45);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
}

.project-interested-btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.86rem;
}

.project-interested-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.projects-empty {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .form-group-inline {
    grid-template-columns: 1fr;
  }

  .projects-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Admin layout */
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1rem;
}

.admin-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.admin-summary-list {
  list-style: none;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.admin-summary-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.admin-summary-value {
  color: #f9fafb;
}

.admin-table-placeholder {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.6rem 0.5rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed rgba(148, 163, 184, 0.45);
}

@media (max-width: 960px) {
  .admin-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
/* AUTH MODAL */
.auth-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.auth-modal-bg.show {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 201;
  pointer-events: none;
}

.auth-box {
  width: 90%;
  max-width: 380px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  transform: translateY(40px);
  opacity: 0;
  transition: 0.3s;
}

.auth-modal.show .auth-box {
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
}

.auth-close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.auth-toggle-text {
  text-align: center;
  margin-top: 0.7rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
}
/* AUTH PAGES */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.auth-title {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.auth-subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.auth-role-select {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.role-btn {
  flex: 1;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.3);
  background: rgba(15,23,42,0.7);
  color: var(--text-muted);
  cursor: pointer;
}

.role-btn.active {
  background: var(--accent);
  color: #fff;
}

.auth-btn {
  width: 100%;
  margin-top: 1rem;
}

.auth-footer-text {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}
.freelancer-section-title {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.freelancer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 720px) {
  .freelancer-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Advanced Admin Panel Styles ===== */

.admin-top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.admin-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  flex: 2;
}

.admin-summary-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 0.8rem;
  box-shadow: var(--shadow-soft);
}

.summary-label {
  font-size: 0.78rem;
  color: black;
  margin-bottom: 0.2rem;
}

.summary-value {
  font-size: 1.3rem;
  font-weight: 600;
  color:black;
}

.admin-top-actions {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.admin-tab-btn {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #f9fafb;
  border-color: transparent;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

/* Card header */
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.admin-filters {
  display: flex;
  gap: 0.5rem;
}

.admin-filter-input {
  max-width: 170px;
}

/* Tables */
.admin-table-wrapper {
  margin-top: 0.4rem;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  text-align: left;
}

.admin-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.admin-table-empty {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Selected project area */
.selected-project-details {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.sp-title {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.sp-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.sp-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.sp-subheading {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

/* Interest cards */
.interests-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.interest-card {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.6rem 0.6rem;
  background: rgba(15, 23, 42, 0.9);
}

.interest-main {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.interest-name {
  font-size: 0.9rem;
  color: #f9fafb;
}

.interest-skill {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.interest-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.interest-meta {
  text-align: right;
}

.interest-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* Responsive */
@media (max-width: 960px) {
  .admin-summary-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-top-row {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-top-actions {
    align-items: flex-start;
  }

  .admin-tabs {
    flex-wrap: wrap;
  }
}
/* =========================================================
   RESPONSIVE FOOTER FIXES — MOBILE & TABLET FRIENDLY
========================================================= */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* --- Tablets (<= 900px) --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: left;
  }

  .footer-column,
  .footer-brand {
    align-items: flex-start;
  }
}

/* --- Mobile (<= 600px) --- */
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr; 
    gap: 1.4rem;
    text-align: center;
  }

  .footer-brand,
  .footer-column {
    justify-content: center;
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-text {
    max-width: 260px;
    margin: 0 auto;
  }

  .footer-heading {
    margin-top: 0.4rem;
  }

  .footer-link {
    margin-bottom: 0.5rem;
  }
}

/* --- Footer Bottom (centered on small screens) --- */
@media (max-width: 600px) {
  .footer-bottom {
    text-align: center;
  }
}
/* =========================================================
   ENHANCED PROJECTS PAGE UI
========================================================= */

/* Soft glass effect */
.glass-nav {
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Page header styling */
.enhanced-header {
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.25),
    rgba(15, 23, 42, 0.85)
  );
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Filters Box */
.glass-card {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

/* Animated Project Card */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem;
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

/* Tag styles */
.pill {
  padding: 4px 10px;
  background: rgba(79, 70, 229, 0.25);
  border-radius: 25px;
  font-size: 0.7rem;
}

.pill-soft {
  background: rgba(255, 255, 255, 0.12);
}

/* Login Button Style */
.nav-login-button {
  padding: 0.45rem 1rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-login-button:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Responsive footer improvements */
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column,
  .footer-brand {
    margin-bottom: 1rem;
  }
}
/* ==============================
   Responsive fixes for upload-task page (and general forms)
   ============================== */

/* Make wrappers fluid */
.page-wrapper, .container {
  width: 90%;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Ensure form-card uses full width on small screens */
.form-card {
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

/* Make form-steps stack vertically on mobile */
.form-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

/* Step indicators shrink on small screens */
.form-step-indicator {
  flex: 1 1 calc(33.33% - 10px);
  min-width: 100px;
  text-align: center;
  padding: 0.4rem 0.6rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .form-step-indicator {
    flex: 1 1 100%;
  }
}

/* Form groups: full width */
.form-body .form-group {
  width: 100%;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.form-body .form-group-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-body .form-group-inline > div {
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 600px) {
  /* On wider screens, inline groups can share space */
  .form-body .form-group-inline > div {
    flex: 1 1 calc(50% - 0.5rem);
  }
}

/* Buttons should be full width on mobile for easier tapping */
.btn {
  display: inline-block;
  width: auto;
  padding: 0.75rem 1.2rem;
  font-size: 1rem;
}

/* On small screens, make action buttons block and full width */
@media (max-width: 600px) {
  .form-actions .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }
}

/* Textareas, selects, inputs full width and responsive */
.form-input, .form-textarea, select, textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  margin-top: 0.3rem;
}

/* For hero / cards or grid layouts (if you have project cards) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer adjustments for mobile */
.footer {
  padding: 2rem 0 1rem;
}

.footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 200px;
}
.footer-column-2 {
  flex: 1 1 200px;
  flex-direction: row;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Navigation bar / mobile nav tweaks if not already responsive */
.navbar .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 768px) {
  .navbar .nav-links {
    flex-direction: column;
    width: 100%;
  }
  .navbar .nav-links a {
    width: 100%;
    text-align: center;
  }
  .mobile-nav {
    display: block; /* assume you use mobile menu */
  }
}
/* ============================================
   CLEAN + FIXED RESPONSIVE NAVBAR (NO CONFLICTS)
   ============================================ */

/* Desktop bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-links a,
.nav-links button {
  white-space: nowrap;
}

/* Hide mobile menu by default */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem;
  gap: 0.7rem;
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle-line {
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

/* MOBILE MODE */
@media (max-width: 780px) {

  .nav-links {
    display: none !important;   /* FORCE-HIDE desktop links */
  }

  .nav-toggle {
    display: flex;
  }

  /* Open mobile menu */
  .mobile-nav.open {
    display: flex !important;
  }

  /* Mobile link styling */
  .mobile-nav-link {
    font-size: 1rem;
    padding: 0.55rem 0;
    color: #cbd5e1;
  }

  .mobile-nav-button {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    text-align: center;
    color: #fff;
    margin-top: 0.5rem;
  }

  .mobile-nav-outline-button {
    border: 1px solid rgba(148,163,184,0.45);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    text-align: center;
  }
}

/* OPTIONAL: Hamburger animation */
.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.admin-card,
.admin-summary-card,
.admin-table,
.admin-table th,
.admin-table td {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}
.admin-table th {
  color: var(--text-muted) !important;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: #f9f9f9;
  margin-top: auto;
  color: #111111;
}

.footer-link {
  color: var(--text-muted);
}
.footer-link:hover {
  color: #111111;
}

/* Responsive tweaks */

/* Mobile & smaller screen adjustments — keep as before but adapt colors */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer .footer-bottom, .footer-logo, .footer-link {
    text-align: center;
  }
}
@media (max-width: 520px) {
  .hero-title {
    font-size: 1.9rem;
  }
}
@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}
/* Optional: animated X when active */
.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
/* =========================
   PREMIUM FOOTER
========================= */

.footer {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}

/* Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
}

.footer-logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.footer-desc {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #555;
  max-width: 420px;
}

.footer-cta {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-btn {
  background: linear-gradient(135deg, #f5c542, #d4af37);
  color: #111;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.footer-btn-outline {
  border: 1px solid #d4af37;
  color: #111;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: transparent;
}

/* Links */
.footer-links h4,
.footer-social h4 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  color: #111;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #d4af37;
}

/* Social */
.social-icons {
  display: flex;
  gap: 0.7rem;
  text-decoration: none;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f9f9f9;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background: linear-gradient(135deg, #f5c542, #d4af37);
  color: #111;
  transform: translateY(-2px);
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: #666;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-cta {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}
footer a{
  text-decoration: none;
}