/* ==========================================================================
   Artractive Core Design System - Premium Dark Theme
   ========================================================================== */

/* Variables & Design Tokens */
:root {
  /* Color Palette - HSL Tailored Colors */
  --bg-darker: hsl(224, 71%, 4%);
  --bg-dark: hsl(222, 47%, 7%);
  --bg-card: hsla(223, 47%, 12%, 0.7);
  --bg-card-hover: hsla(223, 47%, 16%, 0.85);
  
  --primary: hsl(263, 90%, 65%);       /* Electric Indigo */
  --primary-glow: hsla(263, 90%, 65%, 0.3);
  --secondary: hsl(190, 95%, 50%);     /* Cyan Glow */
  --secondary-glow: hsla(190, 95%, 50%, 0.25);
  
  --text-primary: hsl(210, 40%, 98%);  /* Clean White */
  --text-muted: hsl(215, 20%, 65%);     /* Muted Silver */
  --text-dim: hsl(215, 15%, 45%);       /* Darker Slate */
  
  --border-color: hsla(217, 30%, 20%, 0.6);
  --border-glass: hsla(0, 0%, 100%, 0.08);
  --border-glass-hover: hsla(0, 0%, 100%, 0.18);
  
  --danger: hsl(0, 84%, 60%);
  --success: hsl(142, 70%, 45%);
  
  /* Fonts */
  --font-display: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darker);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: border-color var(--transition-normal), 
              box-shadow var(--transition-normal), 
              transform var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), hsl(263, 80%, 55%));
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(263, 90%, 65%, 0.5);
  background: linear-gradient(135deg, hsl(263, 90%, 70%), var(--primary));
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-glass-hover);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--border-glass);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover {
  background: hsl(0, 84%, 50%);
  transform: translateY(-1px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-text {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
}
.btn-text:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--secondary-glow);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.highlight-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Header Styles (Sticky Glass Navbar)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: hsla(224, 71%, 4%, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
}

.header-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

.admin-indicator {
  color: var(--secondary);
  border: 1px solid hsla(190, 95%, 50%, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  background: hsla(190, 95%, 50%, 0.05);
}

.logout-btn {
  color: var(--danger);
  font-size: 0.85rem;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 60vw;
  height: 50vh;
  background: radial-gradient(circle, hsla(263, 90%, 65%, 0.12) 0%, hsla(190, 95%, 50%, 0.08) 50%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  max-width: 800px;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.hero-subtitle {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s var(--transition-slow);
}

.hero-title {
  font-size: 3.75rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.9s var(--transition-slow);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 1s var(--transition-slow);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 1.1s var(--transition-slow);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  position: relative;
}

.mouse-icon .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 100px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
}

.feature-icon {
  font-size: 1.75rem;
  width: 50px;
  height: 50px;
  background: hsla(263, 90%, 65%, 0.1);
  border: 1px solid hsla(263, 90%, 65%, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.feature-desc h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.feature-desc p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-image-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(2.5px) brightness(0.45);
  transform: scale(1.05);
  z-index: 1;
  pointer-events: none;
}

.glow-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  border: 1px solid var(--primary);
  opacity: 0.3;
  pointer-events: none;
  z-index: 3;
}

.visual-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: hsla(224, 71%, 4%, 0.85);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-glass-hover);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  z-index: 10;
}

.abstract-visual {
  width: 60%;
  height: 60%;
  position: relative;
  z-index: 2;
}

.circle {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(8px);
}

.circle.c1 {
  width: 120px;
  height: 120px;
  background: var(--primary-glow);
  border: 2px solid var(--primary);
  top: 0;
  left: 0;
  animation: floatCircle1 6s infinite alternate ease-in-out;
}

.circle.c2 {
  width: 130px;
  height: 130px;
  background: var(--secondary-glow);
  border: 2px solid var(--secondary);
  bottom: 0;
  right: 0;
  animation: floatCircle2 8s infinite alternate ease-in-out;
}

.circle.c3 {
  width: 80px;
  height: 80px;
  background: hsla(190, 95%, 50%, 0.1);
  border: 1px dashed var(--secondary);
  top: 40%;
  left: 30%;
  animation: rotateCircle 12s infinite linear;
}

/* ==========================================================================
   Services & Category Section
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  position: relative;
}

.section-header {
  max-width: 650px;
  margin-bottom: 5rem;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card-glow {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.service-card:hover .card-glow {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px hsla(263, 90%, 65%, 0.1);
  border-color: var(--border-glass-hover);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 10;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  flex-grow: 1;
  position: relative;
  z-index: 10;
}

.card-link-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
  position: relative;
  z-index: 10;
  transition: transform var(--transition-fast);
}

.service-card:hover .card-link-text {
  transform: translateX(5px);
}

/* Highlighted card in services */
.service-card.highlighted-card {
  border-color: hsla(263, 90%, 65%, 0.35);
  background: hsla(263, 90%, 15%, 0.15);
  box-shadow: 0 8px 24px hsla(263, 90%, 65%, 0.05);
}

.service-card.highlighted-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 35px hsla(263, 90%, 65%, 0.2);
}

.service-lead-desc {
  font-weight: 500;
  color: var(--text-primary) !important;
  margin-bottom: 1.5rem !important;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10;
  position: relative;
}

.service-bullets li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: left;
}

.service-bullets li strong {
  color: var(--text-primary);
}

/* Toy Project Card Custom Theme */
.service-card.toy-project-card {
  border-color: hsla(190, 95%, 50%, 0.25);
  background: hsla(190, 95%, 10%, 0.1);
}

.service-card.toy-project-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 12px 35px hsla(190, 95%, 50%, 0.18);
}

/* ==========================================================================
   Recent Works
   ========================================================================== */
.recent-works-section {
  padding: 100px 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.work-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.work-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.work-card:hover .work-img {
  transform: scale(1.08);
}

.category-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: hsla(224, 71%, 4%, 0.8);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
}

.work-info {
  padding: 1.5rem;
}

.work-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.work-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 60px 0 100px 0;
}

.cta-box {
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsla(190, 95%, 50%, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-content {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Category List Page Template
   ========================================================================== */
.category-hero {
  position: relative;
  padding: 140px 0 60px 0;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.category-header-block {
  max-width: 800px;
}

.back-link {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: #fff;
}

.category-main-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.category-main-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.admin-actions-bar {
  margin-top: 1.5rem;
}

.portfolio-list-section {
  padding: 60px 0 120px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portfolio-img-container {
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--bg-darker);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-title {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.portfolio-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.portfolio-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-wrap;
  margin-bottom: 1.5rem;
}

.portfolio-admin-controls {
  margin-top: auto;
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
}

.no-projects-view {
  padding: 6rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.no-projects-view h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.no-projects-view p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.footer-tagline {
  font-size: 0.95rem;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.footer-business-details {
  margin-bottom: 1.5rem;
}

.details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Interactive Modals & UI Elements
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 13, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-content {
  width: 100%;
  max-width: 550px;
  padding: 3rem;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  margin: 0 1rem;
}

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

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

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

.required {
  color: var(--danger);
}

.form-input {
  width: 100%;
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-input {
  resize: vertical;
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  display: block;
}

/* Form status alerts */
.form-status-message {
  margin: 1.5rem 0;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  display: none;
}

.form-status-message.error {
  display: block;
  background: hsla(0, 84%, 60%, 0.1);
  border: 1px solid hsla(0, 84%, 60%, 0.2);
  color: var(--danger);
}

.form-status-message.warning {
  display: block;
  background: hsla(38, 92%, 50%, 0.1);
  border: 1px solid hsla(38, 92%, 50%, 0.2);
  color: hsl(38, 92%, 50%);
}

.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

.hidden {
  display: none !important;
}

/* Success View inside Modal */
.form-success-view {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: hsla(142, 70%, 45%, 0.1);
  border: 2px solid var(--success);
  color: var(--success);
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  animation: scaleIn 0.5s var(--transition-slow);
}

.form-success-view h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-success-view p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Admin View Pages UI
   ========================================================================== */
.admin-login-section {
  padding: 160px 0;
  display: flex;
  justify-content: center;
}

.admin-login-box {
  width: 100%;
  max-width: 420px;
  padding: 3rem;
  margin: 0 auto;
}

.admin-login-box h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.admin-login-box p {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.alert-danger {
  background: hsla(0, 84%, 60%, 0.1);
  border: 1px solid hsla(0, 84%, 60%, 0.2);
  color: var(--danger);
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.admin-dashboard-section {
  padding: 120px 0 100px 0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
}

.dashboard-header h1 {
  font-size: 2rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.dashboard-form-panel {
  padding: 2rem;
}

.dashboard-form-panel h3 {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.5rem;
}

.dashboard-list-panel {
  padding: 2rem;
}

.dashboard-list-panel h3 {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.5rem;
}

.admin-projects-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.admin-project-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-glass);
  align-items: center;
}

.admin-project-item:last-child {
  border-bottom: none;
}

.admin-project-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background-color: var(--bg-darker);
}

.admin-project-info {
  flex-grow: 1;
}

.admin-project-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.admin-project-info span {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
}

/* Admin Contact inquiries page */
.inquiries-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.inquiry-card {
  padding: 2rem;
}

.inquiry-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.inquiry-email {
  font-weight: 600;
  color: var(--secondary);
}

.inquiry-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.inquiry-message {
  font-size: 0.95rem;
  white-space: pre-wrap;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Animations & Transitions Keys
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatCircle1 {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-15px) scale(1.05); }
}

@keyframes floatCircle2 {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(20px) scale(0.95); }
}

@keyframes rotateCircle {
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-area {
    max-width: 450px;
    margin: 0 auto;
  }
  .services-grid, .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .services-grid, .works-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .nav-menu, .header-cta {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  
  /* Mobile menu active classes */
  .mobile-menu-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-darker);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
  }
  .mobile-menu-overlay.active {
    transform: translateX(0);
  }
  .mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 80%;
  }
  .mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
  }
  .mobile-nav-link:hover {
    color: #fff;
  }
  .mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .modal-content {
    padding: 2rem;
  }
}
