/* ===== components/Header.css ===== */
.header {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.logo {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.3px;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-tagline {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #6b7280;
  white-space: nowrap;
}

.logo-accent {
  background: none;
  -webkit-text-fill-color: #06B6D4;
  color: #06B6D4;
}

/* Nav */
.nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav a {
  font-size: 13px;
  color: #555;
  font-weight: 700;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border-radius: 8px;
}

.nav a:hover {
  color: #4F46E5;
  background-color: rgba(79, 70, 229, 0.08);
}

.active-link {
  color: #4F46E5 !important;
  background-color: rgba(79, 70, 229, 0.08);
}

/* CTA button (shared look for desktop + mobile instances) */
.nav-cta {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff !important;
  padding: 11px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #4338CA 0%, #0891B2 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
}

.nav-cta-mobile {
  display: none;
}

/* Hamburger */
.menu-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  padding: 4px;
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 3;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: linear-gradient(90deg, #4F46E5 0%, #06B6D4 100%);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

/* Mobile menu */
@media (max-width: 900px) {
  .header-container {
    grid-template-columns: auto auto;
    padding: 12px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .nav {
    grid-column: auto;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 16px 16px;
    display: none;
  }

  .nav.active {
    display: flex;
    animation: navSlideDown 0.25s ease;
  }

  .nav a {
    padding: 14px 16px;
    text-align: left;
    border-radius: 10px;
  }

  .active-link {
    background-color: rgba(79, 70, 229, 0.08);
  }

  .nav-cta-mobile {
    display: block;
    margin: 8px 0 0;
    text-align: center;
    padding: 14px 16px;
  }

  .logo-text {
    font-size: 21px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(11, 11, 11, 0.35);
    z-index: 1;
    animation: fadeIn 0.25s ease;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .logo-tagline {
    display: none;
  }
}

/* ===== components/Footer.css ===== */
.footer {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  color: #ffffff;
}

/* CTA strip */
.footer-cta {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  padding: 40px 20px;
  margin-top: 80px;
  margin-bottom: 28px;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-cta-inner h3 {
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-cta-inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.footer-cta-btn {
  background-color: #ffffff;
  color: #4F46E5;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.footer-cta-btn:hover {
  color: #4F46E5;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.footer .footer-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 32px;
  padding: 60px 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><pattern id="fgrid" width="36" height="36" patternUnits="userSpaceOnUse"><path d="M 36 0 L 0 0 0 36" fill="none" stroke="rgba(255,255,255,0.035)" stroke-width="1"/></pattern></defs><rect width="1200" height="400" fill="url(%23fgrid)"/></svg>');
  background-position: top center;
}

.footer-content > * {
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  transition: transform 0.25s ease;
}

.footer-logo:hover {
  transform: scale(1.03);
}

.footer-logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.footer-logo-text {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.footer-logo-text span {
  color: #06B6D4;
}

.footer-logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo-tagline {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #a0a0a0;
  white-space: nowrap;
}

.footer-tagline {
  color: #a0a0a0;
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-section h3 {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 14px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4F46E5 0%, #06B6D4 100%);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 14px;
}

.footer-section a {
  color: #b0b0b0;
  font-size: 14px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-section a:hover {
  color: #ffffff;
  margin-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
  font-weight: 700;
  color: white;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.footer-bottom {
  background: linear-gradient(135deg, #050505 0%, #0a0a0a 100%);
  padding: 25px 20px;
  border-top: 1px solid #333333;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom p {
  color: #888888;
  font-size: 13px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: #888888;
  font-size: 13px;
  transition: all 0.3s ease;
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .footer .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta-btn {
    width: 100%;
    text-align: center;
  }

  .footer .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px 20px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== components/HeroSlider.css ===== */
.hero-slider {
  position: relative;
  min-height: 600px;
  margin-top: 22px;
  overflow: hidden;
}

.hero-slider-track {
  position: relative;
  min-height: 600px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 60px;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
}

.slide-development {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
}

.slide-growth {
  background: linear-gradient(135deg, #6D28D9 0%, #4F46E5 100%);
}

.slide-ai-data {
  background: linear-gradient(135deg, #4338CA 0%, #0891B2 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  flex-shrink: 0;
  animation: fadeInUp 0.9s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slide-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 7px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.hero-slide-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-slide-content p {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
}

.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-slide-cta {
  display: inline-block;
  background-color: #ffffff;
  color: #4F46E5;
  padding: 14px 34px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-slide-cta:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-slide-secondary {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
  transition: border-color 0.3s ease;
}

.hero-slide-secondary:hover {
  border-color: #ffffff;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: 440px;
  flex-shrink: 0;
  animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.hero-art-svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.hero-slider-arrow.prev {
  left: 24px;
}

.hero-slider-arrow.next {
  right: 24px;
}

.hero-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  width: 28px;
  background-color: #ffffff;
}

@media (max-width: 1100px) {
  .hero-art {
    width: 320px;
  }

  .hero-slide {
    gap: 30px;
    padding: 90px 40px;
  }

  .hero-slide-content h1 {
    font-size: 38px;
  }
}

@media (max-width: 900px) {
  .hero-slide {
    flex-direction: column;
    text-align: center;
    padding: 70px 24px 60px;
  }

  .hero-slide-content {
    max-width: 100%;
  }

  .hero-slide-actions {
    justify-content: center;
  }

  .hero-art {
    width: 260px;
  }

  .hero-slider-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-slider,
  .hero-slider-track {
    min-height: 560px;
  }

  .hero-slide-content h1 {
    font-size: 28px;
  }

  .hero-slide-content p {
    font-size: 15px;
  }

  .hero-art {
    width: 200px;
  }
}

/* ===== components/VentureGrid.css ===== */
.venture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.venture-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 34px 28px 28px;
  border-radius: 12px;
  border-top: 4px solid var(--venture-color, #4F46E5);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-margin-top: 100px;
}

.venture-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20, 18, 58, 0.1);
}

.venture-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--venture-color, #4F46E5);
  background-color: #f0f0f5;
  background-color: color-mix(in srgb, var(--venture-color, #4F46E5) 12%, #ffffff);
  margin-bottom: 18px;
}

.venture-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--venture-color, #4F46E5);
}

.venture-card h3 {
  font-size: 22px;
  color: #1a1a2e;
  margin: 6px 0 6px;
}

.venture-tagline {
  font-weight: 600;
  color: #444 !important;
  margin-bottom: 10px;
}

.venture-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.venture-highlights {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.venture-highlights li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #444;
}

.venture-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--venture-color, #4F46E5);
}

.venture-actions {
  margin-top: auto;
  padding-top: 22px;
}

.venture-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--venture-color, #4F46E5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.venture-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: #ffffff;
}

@media (max-width: 1200px) {
  .venture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .venture-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== pages/Home.css ===== */
/* Purpose Section */
.purpose-section {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 100px 20px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.purpose-content {
  max-width: 700px;
  margin: 0 auto;
}

.purpose-content h2 {
  font-size: 42px;
  margin-bottom: 30px;
  color: #4F46E5;
  font-weight: 700;
}

.purpose-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  font-weight: 500;
}

/* Why Web4rtTech Section */
.why-section {
  padding: 100px 20px;
  background-color: #ffffff;
}

.why-section h2 {
  font-size: 42px;
  margin-bottom: 60px;
  text-align: center;
  color: #4F46E5;
  font-weight: 700;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 35px 28px;
  border-radius: 10px;
  border-top: 4px solid #4F46E5;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
}

.why-card h3 {
  font-size: 18px;
  color: #4F46E5;
  margin-bottom: 12px;
  font-weight: 700;
}

.why-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

/* Process Section */
.process-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.process-section h2 {
  font-size: 42px;
  text-align: center;
  color: #4F46E5;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-intro {
  text-align: center;
  color: #666;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 60px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 0 10px;
}

.process-step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.process-step h3 {
  font-size: 18px;
  color: #1a1a2e;
  margin-bottom: 10px;
  font-weight: 700;
}

.process-step p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

/* Ventures Section (sister businesses) */
.ventures-section {
  padding: 100px 20px;
  background-color: #f4f5fa;
}

.ventures-section h2 {
  font-size: 42px;
  margin-bottom: 16px;
  text-align: center;
  color: #4F46E5;
  font-weight: 700;
}

.ventures-section-intro {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}

.ventures-section .venture-card {
  background: #ffffff;
}

@media (max-width: 1024px) {
  .ventures-section h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .ventures-section {
    padding: 50px 20px;
  }
}

/* Services Section */
.services-section {
  padding: 100px 20px;
  background-color: #ffffff;
}

.services-section h2 {
  font-size: 42px;
  margin-bottom: 60px;
  text-align: center;
  color: #4F46E5;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.service-card {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 45px 35px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #e8e8e8;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4F46E5 0%, #06B6D4 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(79, 70, 229, 0.15);
  border-color: #4F46E5;
}

.service-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-4deg);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #4F46E5;
  font-weight: 700;
}

.service-card p {
  color: #666;
  line-height: 1.7;
  font-size: 15px;
  font-weight: 500;
}

.services-view-all {
  text-align: center;
  margin-top: 50px;
}

.services-view-all-link {
  color: #4F46E5;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.services-view-all-link:hover {
  color: #06B6D4;
  margin-left: 5px;
}

/* News Section */
.news-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.news-section h2 {
  font-size: 42px;
  margin-bottom: 60px;
  text-align: center;
  color: #4F46E5;
  font-weight: 700;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.news-card {
  background-color: #ffffff;
  padding: 35px;
  border-radius: 10px;
  border-left: 5px solid #4F46E5;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.news-card:hover {
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.12);
  transform: translateY(-10px);
}

.news-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #4F46E5;
  font-weight: 700;
  line-height: 1.4;
}

.news-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
}

.read-more {
  color: #4F46E5;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.read-more:hover {
  color: #06B6D4;
  margin-left: 8px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(6,182,212,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.cta-button-primary {
  background-color: #ffffff;
  color: #4F46E5;
  padding: 16px 55px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.cta-button-primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid,
  .news-grid,
  .why-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .purpose-content h2,
  .why-section h2,
  .process-section h2,
  .services-section h2,
  .news-section h2,
  .cta-section h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .news-grid,
  .why-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .purpose-section,
  .why-section,
  .process-section,
  .services-section,
  .news-section,
  .cta-section {
    padding: 50px 20px;
  }

  .purpose-content h2,
  .why-section h2,
  .process-section h2,
  .services-section h2,
  .news-section h2,
  .cta-section h2 {
    font-size: 24px;
  }

  .service-card,
  .news-card {
    padding: 25px 20px;
  }
}

/* ===== pages/AboutUs.css ===== */
.page-hero {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: white;
  padding: 90px 20px;
  margin-top: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><defs><pattern id="pgrid" width="36" height="36" patternUnits="userSpaceOnUse"><path d="M 36 0 L 0 0 0 36" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"/></pattern></defs><rect width="1200" height="300" fill="url(%23pgrid)"/></svg>'),
              radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(6,182,212,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 8% 25%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.14) 46px, transparent 47px),
    radial-gradient(circle at 93% 70%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.12) 70px, transparent 71px),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.1) 30px, transparent 31px),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 22px, transparent 23px);
  pointer-events: none;
}

.page-hero h1 {
  font-size: 52px;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

/* Split hero layout (text + illustration) used on About, Services, Contact, Careers */
.page-hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.page-hero-flex .page-hero-text {
  flex: 1;
  min-width: 0;
}

.page-hero-flex .page-hero-text h1,
.page-hero-flex .page-hero-text p {
  text-align: left;
}

.page-hero-illustration {
  flex-shrink: 0;
}

.page-hero-illustration .hero-art {
  width: 100%;
  max-width: 230px;
  margin: 0;
}

@media (max-width: 900px) {
  .page-hero-flex {
    flex-direction: column;
    text-align: center;
  }

  .page-hero-flex .page-hero-text h1,
  .page-hero-flex .page-hero-text p {
    text-align: center;
  }

  .page-hero-illustration .hero-art {
    max-width: 180px;
  }
}

.about-content {
  padding: 100px 20px;
  background-color: #ffffff;
}

.about-section {
  max-width: 900px;
  margin: 0 auto 80px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section h2 {
  font-size: 36px;
  color: #4F46E5;
  margin-bottom: 30px;
}

.about-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin: 80px 0;
}

.about-card {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 45px;
  border-radius: 10px;
  border-left: 5px solid #4F46E5;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.about-card:hover {
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.12);
  transform: translateY(-10px);
  border-left-color: #06B6D4;
}

.about-card h3 {
  color: #4F46E5;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.about-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.values-list {
  list-style: none;
  max-width: 900px;
  margin: 40px auto;
}

.values-list li {
  padding: 25px 30px;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  margin-bottom: 18px;
  border-radius: 8px;
  border-left: 5px solid #4F46E5;
  color: #555;
  line-height: 1.7;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.values-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
}

.values-list strong {
  color: #4F46E5;
  font-weight: 700;
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-section h2 {
    font-size: 24px;
  }

  .about-content {
    padding: 50px 20px;
  }

  .about-card {
    padding: 25px;
  }
}

/* ===== pages/Services.css ===== */
.services-content {
  padding: 100px 20px;
  background-color: #ffffff;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.services-intro h2 {
  font-size: 42px;
  color: #4F46E5;
  margin-bottom: 20px;
  font-weight: 700;
}

.services-intro p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  font-weight: 500;
}

.services-category {
  scroll-margin-top: 100px;
  margin-bottom: 80px;
}

.services-category:last-child {
  margin-bottom: 0;
}

.services-category-header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f5;
}

.services-category-header h3 {
  font-size: 26px;
  color: #1a1a2e;
  font-weight: 800;
  margin-bottom: 8px;
}

.services-category-header p {
  color: #888;
  font-size: 15px;
  max-width: 640px;
}

.services-large-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-detail-card {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #e8e8e8;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4F46E5 0%, #06B6D4 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-detail-card:hover::before {
  transform: scaleX(1);
}

.service-detail-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(79, 70, 229, 0.15);
  border-color: #4F46E5;
}

.service-icon-large {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.22);
}

.service-detail-card h3 {
  font-size: 18px;
  color: #4F46E5;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-detail-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  font-weight: 500;
}

.service-link {
  color: #4F46E5;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.3s ease;
  align-self: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-link:hover {
  color: #06B6D4;
  margin-left: 5px;
}

.service-benefits {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 100px 20px;
}

.service-benefits h2 {
  font-size: 42px;
  color: #4F46E5;
  text-align: center;
  margin-bottom: 70px;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-item {
  background-color: #ffffff;
  padding: 45px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border-left: 5px solid #4F46E5;
  transition: all 0.4s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.12);
}

.benefit-item h3 {
  color: #4F46E5;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.benefit-item p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .services-large-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .services-large-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-content,
  .service-benefits {
    padding: 50px 20px;
  }

  .services-large-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-intro h2,
  .service-benefits h2 {
    font-size: 28px;
  }

  .service-detail-card {
    padding: 25px 20px;
  }

  .benefit-item {
    padding: 25px;
  }
}

/* ===== pages/ServiceDetail.css ===== */
.service-detail-hero .service-eyebrow {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-detail-hero .service-eyebrow:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.service-detail-content {
  padding: 80px 20px;
  background-color: #ffffff;
}

.service-breadcrumb {
  max-width: 900px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #999;
}

.service-breadcrumb a {
  color: #4F46E5;
  font-weight: 600;
}

.service-breadcrumb a:hover {
  color: #06B6D4;
}

.service-breadcrumb span[aria-current] {
  color: #666;
  font-weight: 600;
}

.service-detail-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.service-detail-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
}

.service-detail-wrap h2 {
  color: #4F46E5;
  font-size: 24px;
  margin-bottom: 12px;
}

.service-detail-wrap h3 {
  color: #1a1a2e;
  font-size: 18px;
  margin-bottom: 16px;
  margin-top: 8px;
}

.service-detail-wrap p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.offerings-list {
  list-style: none;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.offerings-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #444;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.offerings-list li svg {
  flex-shrink: 0;
  color: #06B6D4;
  margin-top: 2px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tech-pill {
  background-color: #EEF2FF;
  color: #4F46E5;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
}

.service-cta {
  display: inline-block;
  background: linear-gradient(90deg, #4F46E5 0%, #06B6D4 100%);
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  margin-right: 16px;
}

.back-link {
  color: #4F46E5;
  text-decoration: none;
  font-weight: 600;
}

/* Pricing Section */
.service-pricing-section {
  padding: 90px 20px;
  background-color: #ffffff;
}

.service-pricing-section h2 {
  font-size: 34px;
  text-align: center;
  color: #4F46E5;
  font-weight: 700;
  margin-bottom: 14px;
}

.pricing-intro {
  text-align: center;
  color: #666;
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto 50px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background-color: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  border-color: transparent;
  color: #ffffff;
  transform: scale(1.04);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1a1a2e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  color: inherit;
}

.pricing-tagline {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 18px;
  min-height: 34px;
}

.pricing-card:not(.featured) h3 {
  color: #1a1a2e;
}

.pricing-card:not(.featured) .pricing-tagline {
  color: #777;
}

.pricing-amount {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-card.featured .pricing-amount {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.pricing-usd {
  display: block;
  font-size: 28px;
  font-weight: 800;
}

.pricing-inr {
  display: block;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.75;
  margin-top: 2px;
}

.pricing-billing {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.6;
  margin-left: 2px;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #06B6D4;
}

.pricing-card.featured .pricing-features li svg {
  color: #ffffff;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background-color: #EEF2FF;
  color: #4F46E5;
  transition: all 0.3s ease;
}

.pricing-cta:hover {
  background-color: #4F46E5;
  color: #ffffff;
}

.pricing-cta.primary {
  background-color: #ffffff;
  color: #4F46E5;
}

.pricing-cta.primary:hover {
  background-color: #1a1a2e;
  color: #ffffff;
}

.pricing-note {
  text-align: center;
  color: #888;
  font-size: 13px;
  max-width: 700px;
  margin: 40px auto 0;
  line-height: 1.6;
}

/* Process Section */
.service-process-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.service-process-section h2 {
  font-size: 34px;
  text-align: center;
  color: #4F46E5;
  font-weight: 700;
  margin-bottom: 55px;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-process-step {
  text-align: center;
  padding: 0 10px;
}

.service-process-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.25);
}

.service-process-step h3 {
  font-size: 16px;
  color: #1a1a2e;
  margin-bottom: 8px;
  font-weight: 700;
}

.service-process-step p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ Section */
.service-faq-section {
  padding: 90px 20px;
  background-color: #ffffff;
}

.service-faq-section h2 {
  font-size: 34px;
  text-align: center;
  color: #4F46E5;
  font-weight: 700;
  margin-bottom: 45px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: #4F46E5;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: none;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  cursor: pointer;
}

.faq-toggle {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.faq-answer {
  padding: 0 24px 22px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Related Services */
.related-services-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.related-services-section h2 {
  font-size: 34px;
  text-align: center;
  color: #4F46E5;
  font-weight: 700;
  margin-bottom: 45px;
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.related-service-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background-color: #ffffff;
  padding: 26px;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.related-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.12);
  border-color: #4F46E5;
}

.related-service-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
}

.related-service-card h3 {
  font-size: 16px;
  color: #1a1a2e;
  margin-bottom: 6px;
  font-weight: 700;
}

.related-service-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* Service CTA Section */
.service-cta-section {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: white;
  padding: 90px 20px;
  text-align: center;
}

.service-cta-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.service-cta-section p {
  font-size: 16px;
  margin-bottom: 34px;
  opacity: 0.95;
}

.cta-button-primary {
  background-color: #ffffff;
  color: #4F46E5;
  padding: 16px 45px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .service-detail-wrap { padding: 25px; }
  .service-detail-icon { width: 56px; height: 56px; }

  .offerings-list {
    grid-template-columns: 1fr;
  }

  .service-process-grid,
  .related-services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .service-pricing-section,
  .service-process-section,
  .service-faq-section,
  .related-services-section,
  .service-cta-section {
    padding: 50px 20px;
  }

  .service-pricing-section h2,
  .service-process-section h2,
  .service-faq-section h2,
  .related-services-section h2 {
    font-size: 26px;
  }
}

/* ===== pages/News.css ===== */
.news-list-section {
  padding: 60px 20px 100px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #4F46E5;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.news-card h3 {
  color: #4F46E5;
  font-size: 18px;
  margin-bottom: 12px;
}

.news-card p { color: #666; margin-bottom: 18px; }

.read-more { color: #4F46E5; font-weight: 700; text-decoration: none; }

.news-article-content { padding: 40px 20px 100px; }

.news-article-content .container { max-width: 900px; margin: 0 auto; }

.back-link { color: #4F46E5; text-decoration: none; font-weight: 600; }

@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ===== pages/Careers.css ===== */
.careers-content {
  padding: 80px 20px;
  background-color: #ffffff;
}

.careers-intro {
  margin-bottom: 80px;
}

.careers-intro h2 {
  font-size: 36px;
  color: #4F46E5;
  text-align: center;
  margin-bottom: 50px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reason-card {
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.1);
}

.reason-card h3 {
  font-size: 20px;
  color: #4F46E5;
  margin-bottom: 15px;
  font-weight: 600;
}

.reason-card p {
  color: #666;
  font-size: 15px;
}

.job-openings {
  margin: 60px 0;
}

.job-openings h2 {
  font-size: 36px;
  color: #4F46E5;
  margin-bottom: 40px;
  text-align: center;
}

.jobs-list {
  display: grid;
  gap: 20px;
}

.job-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #4F46E5;
  transition: all 0.3s ease;
}

.job-card:hover {
  background-color: #f0f0f0;
  box-shadow: 0 5px 20px rgba(79, 70, 229, 0.1);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.job-header h3 {
  color: #4F46E5;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.job-experience {
  background-color: #EEF2FF;
  color: #4F46E5;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.job-location {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.apply-btn {
  background-color: #4F46E5;
  color: white;
  padding: 10px 25px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.apply-btn:hover {
  background-color: #06B6D4;
  transform: translateX(5px);
}

.internship-section {
  background-color: #f5f5f5;
  padding: 60px 40px;
  border-radius: 8px;
  text-align: center;
  margin-top: 60px;
}

.internship-section h2 {
  font-size: 32px;
  color: #4F46E5;
  margin-bottom: 20px;
}

.internship-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.learn-more-btn {
  background-color: #4F46E5;
  color: white;
  padding: 12px 40px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.learn-more-btn:hover {
  background-color: #06B6D4;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.2);
}

@media (max-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .careers-content {
    padding: 50px 20px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .careers-intro h2,
  .job-openings h2 {
    font-size: 28px;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .job-experience {
    align-self: flex-start;
  }

  .internship-section {
    padding: 40px 25px;
  }

  .internship-section h2 {
    font-size: 24px;
  }
}

/* ===== pages/Ventures.css ===== */
.ventures-intro {
  padding: 60px 20px 10px;
  background-color: #ffffff;
}

.ventures-intro p {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.ventures-list {
  padding: 50px 20px 90px;
  background-color: #ffffff;
}

.ventures-cta {
  padding: 70px 20px;
  background-color: #f4f5fa;
  text-align: center;
}

.ventures-cta h2 {
  font-size: 32px;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.ventures-cta p {
  max-width: 640px;
  margin: 0 auto 26px;
  color: #666;
  line-height: 1.7;
}

.ventures-cta-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ventures-cta-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.3);
}

@media (max-width: 768px) {
  .ventures-intro {
    padding: 40px 16px 0;
  }

  .ventures-list {
    padding: 36px 16px 60px;
  }

  .ventures-cta h2 {
    font-size: 26px;
  }
}

/* ===== pages/Contact.css ===== */
.contact-content {
  padding: 80px 20px;
  background-color: #ffffff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form-section h2,
.contact-info-section h2 {
  font-size: 28px;
  color: #4F46E5;
  margin-bottom: 30px;
}

.contact-form {
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  background-color: #4F46E5;
  color: white;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #06B6D4;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.2);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-alert-success {
  background-color: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.form-alert-error {
  background-color: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.field-error {
  display: block;
  color: #DC2626;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #4F46E5;
}

.info-card h3 {
  color: #4F46E5;
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.info-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

.info-card a {
  color: #4F46E5;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #06B6D4;
}

.social-section {
  margin-top: 20px;
}

.social-section h3 {
  color: #4F46E5;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EEF2FF;
  color: #4F46E5;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-icon-link:hover {
  background-color: #4F46E5;
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-content {
    padding: 50px 20px;
  }

  .contact-form {
    padding: 25px;
  }

  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 22px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .info-card {
    padding: 20px;
  }
}

/* ===== pages/LegalPage.css ===== */
.legal-content {
  padding: 80px 20px 100px;
  background-color: #ffffff;
}

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.legal-updated {
  display: inline-block;
  background-color: #EEF2FF;
  color: #4F46E5;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.legal-intro {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.legal-disclaimer {
  background-color: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 18px 22px;
  color: #92400E;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 50px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 22px;
  color: #1a1a2e;
  margin-bottom: 14px;
  font-weight: 700;
}

.legal-section p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul {
  margin: 0 0 14px 20px;
  color: #555;
  font-size: 15px;
  line-height: 1.9;
}

.legal-section ul li {
  margin-bottom: 6px;
}

.legal-section strong {
  color: #333;
}

.legal-contact-box {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 26px 28px;
}

.legal-contact-box p {
  margin-bottom: 6px;
}

.legal-contact-box a {
  color: #4F46E5;
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 50px 20px 60px;
  }

  .legal-section h2 {
    font-size: 19px;
  }
}

/* ===== pages/SiteMap.css ===== */
.sitemap-content {
  padding: 80px 20px 100px;
  background-color: #ffffff;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.sitemap-section {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px;
}

.sitemap-section h2 {
  font-size: 16px;
  color: #1a1a2e;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0f0f5;
}

.sitemap-section ul {
  list-style: none;
}

.sitemap-section ul li {
  margin-bottom: 12px;
}

.sitemap-section a {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.sitemap-section a:hover {
  color: #4F46E5;
  margin-left: 4px;
}

@media (max-width: 1024px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sitemap-content {
    padding: 50px 20px 60px;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== pages/admin/AdminLogin.css ===== */
.admin-login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: #F5F6FA;
}

/* Left: brand panel */
.admin-login-brand {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  color: #ffffff;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(34, 211, 238, 0.35) 0%, rgba(34, 211, 238, 0) 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(129, 140, 248, 0.35) 0%, rgba(129, 140, 248, 0) 60%),
    linear-gradient(150deg, #1E1B4B 0%, #312E81 50%, #0E7490 100%);
}

.admin-login-brand::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 70% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}

.admin-login-brand > * {
  position: relative;
  z-index: 1;
}

.admin-login-pitch h2 {
  max-width: 460px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.admin-login-pitch p {
  margin-top: 14px;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.admin-login-pitch ul {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-login-pitch li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
}

.admin-login-pitch li svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #67E8F9;
}

.admin-login-foot {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Right: form */
.admin-login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
}

.admin-login-card h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0F172A;
}

.admin-login-logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-login-logo-light .admin-login-logo-text {
  color: #ffffff;
}

.admin-login-logo-light .admin-login-logo-text span {
  color: #67E8F9;
}

.admin-login-logo-light .admin-login-logo-tagline {
  color: rgba(255, 255, 255, 0.6);
}

/* Shown only when the brand panel is hidden on small screens. */
.admin-login-logo-mobile {
  display: none;
  margin-bottom: 28px;
}

.admin-login-logo-mobile .admin-login-logo-text {
  font-size: 24px;
}

.admin-input-icon {
  position: relative;
}

.admin-input-icon svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #94A3B8;
  pointer-events: none;
}

.admin-form-group .admin-input-icon input {
  padding-left: 42px;
}

@media (max-width: 900px) {
  .admin-login-page {
    grid-template-columns: 1fr;
  }

  .admin-login-brand {
    display: none;
  }

  .admin-login-logo-mobile {
    display: flex;
  }
}

.admin-login-logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.admin-login-logo-text {
  font-size: 30px;
  font-weight: 800;
  color: #4F46E5;
}

.admin-login-logo-text span {
  color: #06B6D4;
}

.admin-login-logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.admin-login-logo-tagline {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #6b7280;
  white-space: nowrap;
}

.admin-login-subtitle {
  color: #64748B;
  font-size: 14.5px;
  margin-bottom: 28px;
  margin-top: 6px;
}

.admin-login-error {
  background-color: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.admin-form-group {
  margin-bottom: 20px;
}

.admin-form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.admin-form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
}

.admin-form-group input:focus {
  outline: none;
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.admin-login-btn {
  width: 100%;
  background: #4F46E5;
  color: white;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.15s ease;
  margin-top: 6px;
}

.admin-login-btn:hover:not(:disabled) {
  background: #4338CA;
  box-shadow: 0 10px 22px -8px rgba(79, 70, 229, 0.6);
}

.admin-login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ===== pages/admin/AdminShared.css ===== */
/* Shared across all /admin/* pages — loaded once via AdminLayout. */

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
}

.admin-page-header h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin-bottom: 6px;
}

.admin-page-header p {
  color: #64748B;
  font-size: 14px;
}

.admin-page-header {
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-page-title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.admin-page-title h1 {
  margin-bottom: 4px;
}

.admin-page-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #6366F1 0%, #0891B2 100%);
  box-shadow: 0 10px 20px -10px rgba(79, 70, 229, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.admin-page-icon svg {
  width: 22px;
  height: 22px;
}

.admin-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  transition: color 0.15s ease;
}

.admin-breadcrumb:hover {
  color: #4F46E5;
}

.admin-total-count {
  padding: 6px 12px;
  border-radius: 999px;
  background: #EEF0FF;
  color: #4338CA;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-panel {
  background: #ffffff;
  border: 1px solid #E7E9F2;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 22px 24px;
}

.admin-dashboard-error {
  background-color: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.admin-dashboard-loading,
.admin-empty-state {
  background-color: #ffffff;
  border: 1px dashed #DDE1EC;
  border-radius: 14px;
  padding: 56px 20px;
  text-align: center;
  color: #64748B;
  font-size: 14px;
}

.admin-panel .admin-empty-state {
  border: none;
  background-color: #F8FAFC;
  padding: 40px 20px;
}

/* Inbox icon above every empty-state message. */
.admin-empty-state::before {
  content: '';
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2 3h6l2-3h4'/%3E%3Cpath d='M5.5 5h13l2.5 7v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-7l2.5-7Z'/%3E%3C/svg%3E") center / 24px no-repeat,
    #EEF0FF;
}

.client-section-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px !important;
  border-radius: 10px;
  background: #F8FAFC;
  color: #64748B !important;
  font-size: 13.5px !important;
}

.client-section-empty::before {
  content: '';
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #CBD5E1;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-alert-success {
  background-color: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.form-alert-error {
  background-color: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.field-error {
  display: block;
  color: #DC2626;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

.admin-form-group {
  margin-bottom: 18px;
}

.admin-form-group label {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-weight: 600;
  font-size: 13px;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #DDE2EC;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background-color: #ffffff;
  color: #0F172A;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.admin-form-group input::placeholder,
.admin-form-group textarea::placeholder {
  color: #A0AEC0;
}

.admin-form-group input:hover,
.admin-form-group select:hover,
.admin-form-group textarea:hover {
  border-color: #C8CFDD;
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

/* Same chevron for every dropdown, instead of the browser's own. */
.admin-form-group select,
.resource-filter,
.lead-activity-form select,
.deal-edit-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.admin-form-group textarea {
  height: auto;
  min-height: 96px;
  padding: 11px 13px;
  line-height: 1.5;
  resize: vertical;
}

.admin-form-group input[type='checkbox'],
.admin-form-group input[type='radio'] {
  height: auto;
  box-shadow: none;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid #EEF0F5;
}

.admin-btn-icon {
  width: 16px;
  height: 16px;
}

/* Stat cards */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.admin-stat-card {
  --stat-accent: #4F46E5;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #E7E9F2;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Thin accent line along the top edge, coloured per card. */
.admin-stat-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--stat-accent);
  opacity: 0.85;
}

.admin-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.admin-stat-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--stat-accent);
  background-color: #EEF0FF;
  background-color: color-mix(in srgb, var(--stat-accent) 11%, #ffffff);
}

.admin-stat-icon svg {
  width: 18px;
  height: 18px;
}

.admin-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
}

.admin-stat-value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #0F172A;
}

.admin-stat-value-small {
  font-size: 22px;
}

.admin-stat-sub {
  font-size: 12.5px;
  color: #94A3B8;
}

/* Period toggle: segmented control */
.admin-period-toggle {
  display: inline-flex;
  background-color: #EBEDF4;
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 20px;
}

.admin-period-btn {
  border: none;
  background: none;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-period-btn:hover {
  color: #0F172A;
}

.admin-period-btn.active {
  background: #ffffff;
  color: #4338CA;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

/* Chart grid */
.admin-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.admin-chart-title {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 18px;
}

/* Chart tooltip (dataviz spec: value leads/bold, label follows/secondary, line-key not a box) */
.chart-tooltip {
  background-color: #ffffff;
  border: 1px solid #e1e0d9;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 6px 20px rgba(20, 18, 58, 0.12);
}

.chart-tooltip-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0b0b0b;
}

.chart-tooltip-swatch {
  width: 10px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
}

.chart-tooltip-label {
  font-size: 12px;
  color: #898781;
  margin-top: 2px;
  margin-left: 18px;
}

/* Status/category pipeline bars */
.status-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 6px 0;
}

.status-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 30px;
  align-items: center;
  gap: 14px;
}

.status-bar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #52514e;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-bar-track {
  background-color: #F1F3F8;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.status-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

.status-bar-value {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0F172A;
  text-align: right;
}

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-panel-header h2 {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
}

.admin-panel-link {
  flex-shrink: 0;
  padding: 6px 10px;
  margin: -6px -10px -6px 0;
  border-radius: 8px;
  color: #4F46E5;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.admin-panel-link:hover {
  background-color: #EEF0FF;
  color: #4338CA;
}

@media (max-width: 768px) {
  .admin-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 1200px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-chart-grid {
    grid-template-columns: 1fr;
  }

  .admin-period-toggle {
    display: flex;
    overflow-x: auto;
  }

  .status-bar-row {
    grid-template-columns: 80px 1fr 26px;
    gap: 8px;
  }
}

/* ===== pages/admin/AdminLayout.css ===== */
.admin-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #F5F6FA;
  color: #0F172A;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
  background-color: #F5F6FA;
}

.admin-sidebar {
  width: 256px;
  flex-shrink: 0;
  background:
    radial-gradient(120% 50% at 0% 0%, rgba(99, 102, 241, 0.22) 0%, rgba(99, 102, 241, 0) 60%),
    linear-gradient(180deg, #16143D 0%, #0D0B26 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 22px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-sidebar-logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.admin-sidebar-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.admin-sidebar-logo-text span {
  color: #22D3EE;
}

.admin-sidebar-logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.admin-sidebar-logo-tagline {
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 14px;
  flex: 1;
}

.admin-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 9px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.admin-nav-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.admin-nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
}

/* Accent bar on the left of the current page's link. */
.admin-nav-link.active::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #818CF8 0%, #22D3EE 100%);
}

.admin-nav-link.active .admin-nav-icon {
  color: #67E8F9;
  opacity: 1;
}

.admin-nav-link-muted {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  color: rgba(226, 232, 240, 0.5);
}

.admin-sidebar-footer {
  margin: 0 12px 14px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.admin-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-user-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-user-email {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-logout-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.admin-logout-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  color: #FCA5A5;
}

.admin-main {
  flex: 1;
  min-width: 0;
  padding: 32px 36px 48px;
}

/* Overview welcome banner */
.admin-welcome {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 28px 32px;
  border-radius: 18px;
  color: #ffffff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(34, 211, 238, 0.35) 0%, rgba(34, 211, 238, 0) 60%),
    linear-gradient(120deg, #312E81 0%, #4F46E5 55%, #0E7490 100%);
  box-shadow: 0 12px 30px -12px rgba(79, 70, 229, 0.45);
}

/* Faint grid texture on the right of the banner. */
.admin-welcome::after {
  content: '';
  position: absolute;
  inset: 0 0 0 45%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  pointer-events: none;
}

.admin-welcome-copy,
.admin-welcome-actions {
  position: relative;
  z-index: 1;
}

.admin-welcome-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.admin-welcome-date-icon {
  width: 14px;
  height: 14px;
}

.admin-welcome h1 {
  margin: 14px 0 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-welcome p {
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.admin-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-welcome-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.admin-welcome-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.admin-welcome-btn-icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    flex-direction: row;
    align-items: center;
    padding: 0 16px;
  }

  .admin-sidebar-logo-tagline {
    display: none;
  }

  .admin-sidebar-logo {
    padding: 16px 16px 16px 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    margin-right: 12px;
  }

  .admin-nav {
    flex-direction: row;
    padding: 12px 0;
    overflow-x: auto;
  }

  .admin-nav-link-muted {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 14px;
  }

  .admin-sidebar-footer {
    border-top: none;
    padding: 12px 0 12px 12px;
  }

  .admin-user-meta {
    display: none;
  }

  .admin-main {
    padding: 24px 16px 40px;
  }

  .admin-welcome {
    padding: 22px 20px;
  }

  .admin-welcome h1 {
    font-size: 22px;
  }
}

/* ===== pages/admin/AdminModules.css ===== */
/* Styles for the admin modules added on top of Submissions / Finances:
   the generic ResourcePage, client pages, invoices, leads activity,
   Overview attention panels, and the grouped sidebar. Loaded once via
   AdminLayout, after AdminShared.css and AdminLayout.css. */

/* ---------- Sidebar ---------- */
.admin-sidebar .admin-nav {
  overflow-y: auto;
  gap: 2px;
  padding-top: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.admin-sidebar .admin-nav::-webkit-scrollbar {
  width: 6px;
}

.admin-sidebar .admin-nav::-webkit-scrollbar-track {
  background: transparent;
}

.admin-sidebar .admin-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.admin-sidebar .admin-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}

.admin-nav-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.admin-nav-heading {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
  padding: 8px 12px 6px;
}

.admin-sidebar .admin-nav-link {
  padding: 8px 12px;
}

.admin-nav-toggle {
  display: none;
  margin-left: auto;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

/* ---------- Page header actions & buttons ---------- */
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #E2E8F0;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}

.admin-secondary-btn:hover:not(:disabled) {
  border-color: #C7CCF5;
  background: #F8F9FF;
  color: #4338CA;
}

.admin-secondary-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-danger-btn {
  color: #d03b3b;
}

.admin-danger-btn:hover:not(:disabled) {
  border-color: #d03b3b;
  background: #fef2f2;
}

.admin-link-btn {
  background: none;
  border: none;
  color: #4F46E5;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 0;
}

.admin-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748B;
  margin: 14px 0 16px;
}

/* Hairline running from the title to the right edge. */
.admin-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E6EF;
}

.admin-stat-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.expense-cell,
.admin-table td.expense-cell,
.finance-table td.expense-cell {
  color: #d03b3b;
  font-weight: 600;
}

/* ---------- ResourcePage ---------- */
.resource-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.resource-toolbar .resource-search {
  margin-bottom: 0;
  flex: 1 1 280px;
}

.resource-filter {
  padding: 10px 36px 10px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  background-color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  color: #333;
  cursor: pointer;
}

.resource-filter:focus {
  outline: none;
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.resource-form-panel,
.finance-form-panel {
  margin-bottom: 24px;
  border-color: #D9DDF5;
  box-shadow: 0 12px 30px -16px rgba(79, 70, 229, 0.25);
}

.resource-form-panel > .admin-panel-header,
.finance-form-panel > .admin-panel-header {
  margin: -22px -24px 22px;
  padding: 16px 24px;
  border-bottom: 1px solid #EEF0F5;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #F8F9FF 0%, #ffffff 100%);
}

.resource-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.resource-field-full {
  grid-column: 1 / -1;
}

.resource-field-help {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

.admin-checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-top: 30px;
}

.admin-checkbox input {
  width: 18px !important;
  height: 18px;
  accent-color: #4F46E5;
}

.resource-table td {
  vertical-align: middle;
}

.resource-primary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.resource-primary span {
  font-size: 12px;
  color: #888;
}

.resource-muted {
  color: #999;
}

.resource-loading {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.resource-detail-row td {
  white-space: normal;
}

.resource-detail-row p {
  white-space: pre-wrap;
}

.resource-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e5ef;
}

.resource-detail-links a {
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Line items (quotations / invoices) ---------- */
.line-items-package {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.line-items-package select {
  flex: 1;
}

.line-items-table {
  width: 100%;
  border-collapse: collapse;
}

.line-items-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  padding: 6px 6px;
}

.line-items-table td {
  padding: 4px 6px;
  vertical-align: top;
}

.admin-form-group .line-items-table input {
  padding: 9px 10px;
}

.line-items-amount {
  font-weight: 700;
  color: #1a1a2e;
  padding-top: 14px !important;
  white-space: nowrap;
}

.line-items-remove {
  width: 30px;
  height: 36px;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  border-radius: 6px;
}

.line-items-remove:hover:not(:disabled) {
  color: #d03b3b;
  background: #fef2f2;
}

.line-items-remove:disabled {
  opacity: 0.3;
  cursor: default;
}

.line-items-totals {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  gap: 6px 28px;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.line-items-totals strong {
  text-align: right;
  color: #1a1a2e;
}

.line-items-grand {
  font-size: 17px;
}

/* ---------- Client page ---------- */
.client-header {
  margin-top: 14px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.client-section {
  margin-bottom: 20px;
}

.client-grid .client-section {
  margin-bottom: 0;
}

.client-section-empty {
  color: #999;
  font-size: 14px;
  padding: 10px 0;
}

.client-profile {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.client-notes {
  margin-top: 12px;
  white-space: pre-wrap;
  color: #555;
  font-size: 14px;
}

/* Doubled class so it beats .finance-table's min-width regardless of
   stylesheet order in the bundle. */
.client-notes-only {
  margin-top: 0;
}

.finance-table.compact-table {
  min-width: 0;
}

.finance-table.compact-table td {
  padding: 10px 8px;
  white-space: normal;
}

.finance-table.compact-table td:first-child {
  padding-left: 0;
}

.compact-table a {
  color: #4F46E5;
  font-weight: 600;
}

/* ---------- Renewal days pill ---------- */
.days-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: #f0f0f5;
  color: #555;
  white-space: nowrap;
}

.days-pill.soon {
  background: #fff7e0;
  color: #a86b00;
}

.days-pill.urgent,
.days-pill.expired {
  background: #fef2f2;
  color: #b91c1c;
}

/* ---------- Invoice payments ---------- */
.payments-panel {
  cursor: default;
}

.payments-table {
  margin: 8px 0 4px;
  max-width: 640px;
}

.payment-form {
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Leads ---------- */
.lead-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.lead-activity-count {
  display: inline-block;
  margin-left: 8px;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 10px;
  background: #eef0ff;
  color: #4F46E5;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.lead-activity {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e5e5ef;
  white-space: normal;
  cursor: default;
}

.lead-activity-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin: 12px 0 16px;
}

.lead-activity-form select,
.lead-activity-form input {
  padding: 9px 12px;
  border: 1px solid #DDE2EC;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  background-color: #ffffff;
}

.lead-activity-form select {
  padding-right: 36px;
}

.lead-activity-form input[type='text'] {
  flex: 1 1 260px;
}

.lead-activity-followup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
}

.lead-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-timeline li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.lead-timeline-icon {
  font-size: 16px;
  line-height: 1.4;
}

.lead-timeline-body {
  font-size: 14px;
  color: #333;
  white-space: pre-wrap;
}

.lead-timeline-meta {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.lead-timeline-meta button {
  margin-left: 8px;
  color: #bbb;
  cursor: pointer;
  font-size: 14px;
}

.lead-timeline-meta button:hover {
  color: #d03b3b;
}

.lead-quotes {
  margin-top: 14px;
  font-size: 13px;
  color: #555;
}

/* ---------- Overview: attention + insights ---------- */
.attention-stat {
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.attention-stat:hover {
  transform: translateY(-2px);
  border-color: #D9DDF0;
  box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.15);
}

/* 2-5 cards depending on role, so let them share the row evenly. */
.admin-stat-grid.attention-stats {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.attention-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

/* An odd panel out at the end takes the full row instead of leaving a hole. */
.attention-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.attention-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.attention-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #F1F3F8;
  font-size: 13.5px;
  color: #334155;
}

.attention-list li strong {
  color: #0F172A;
  font-weight: 600;
}

.attention-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F0FDF4;
  font-size: 13px;
  color: #4B5563;
}

.attention-empty strong {
  display: block;
  color: #166534;
  font-size: 13.5px;
  font-weight: 600;
}

.attention-empty-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #16A34A;
}

.attention-list li:last-child {
  border-bottom: none;
}

.attention-list li > span:last-child {
  white-space: nowrap;
  font-size: 12px;
}

.insights-grid .admin-panel {
  overflow-x: auto;
}

.insights-table th {
  padding: 8px;
  background: none;
}

.insights-rate {
  position: relative;
  display: inline-block;
  min-width: 90px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 12px;
  color: #1a1a2e;
  z-index: 0;
}

.insights-rate-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(12, 163, 12, 0.18);
  border-radius: 4px;
  z-index: -1;
}

.lost-reason-row,
.utilization-row {
  grid-template-columns: 200px 1fr 90px;
}

.utilization-value small {
  font-weight: 500;
  color: #999;
}

/* ---------- Users, audit log, finances ---------- */
.role-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #555;
}

.role-legend > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.role-legend .status-badge {
  min-width: 96px;
}

.audit-changes {
  list-style: none;
  font-size: 13px;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 4px;
  word-break: break-word;
}

.audit-changes strong {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px !important;
}

.audit-from {
  color: #d03b3b;
  text-decoration: line-through;
}

.finance-recurring-tag {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #eef0ff;
  color: #4F46E5;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .attention-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  /* Collapse the sidebar into a top bar with a toggleable menu. */
  .admin-sidebar {
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .admin-sidebar-logo {
    border-right: none;
    margin-right: 0;
    padding: 12px 0;
  }

  .admin-nav-toggle {
    display: block;
  }

  .admin-sidebar .admin-nav,
  .admin-sidebar .admin-sidebar-footer {
    display: none;
  }

  .admin-nav-open .admin-sidebar .admin-nav {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 4px 0 12px;
  }

  .admin-nav-open .admin-sidebar .admin-sidebar-footer {
    display: flex;
    padding: 12px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .admin-nav-open .admin-user-meta {
    display: flex;
  }

  .admin-nav-open .admin-nav-link-muted {
    border-left: none;
    padding-left: 14px;
  }

  .admin-stat-grid-2 {
    grid-template-columns: 1fr;
  }

  .resource-form-grid {
    grid-template-columns: 1fr;
  }

  .lead-actions {
    margin-left: 0;
  }

  .deal-edit {
    flex-wrap: wrap;
  }

  .lost-reason-row,
  .utilization-row {
    grid-template-columns: 110px 1fr 70px;
  }

  .line-items-table {
    min-width: 560px;
  }

  .line-items {
    overflow-x: auto;
  }
}

/* ===== pages/admin/AdminOverview.css ===== */
.admin-recent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-recent-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.admin-recent-item:hover {
  background-color: #F8FAFC;
}

.admin-recent-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EEF0FF;
  color: #4338CA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.admin-recent-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.admin-recent-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
}

.admin-recent-subject {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-recent-date {
  font-size: 12px;
  color: #aaa;
  flex-shrink: 0;
}

/* ===== pages/admin/AdminSubmissions.css ===== */
.admin-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 10px 16px;
  margin-bottom: 20px;
  max-width: 440px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-search-bar:focus-within {
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.admin-search-icon {
  color: #999;
  flex-shrink: 0;
}

.admin-search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  font-family: inherit;
  color: #333;
}

.admin-search-clear {
  color: #999;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  flex-shrink: 0;
}

.admin-search-clear:hover {
  color: #333;
}

.admin-table-wrap {
  background-color: #ffffff;
  border: 1px solid #E7E9F2;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th {
  text-align: left;
  padding: 12px 20px;
  background-color: #F8FAFC;
  color: #64748B;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-bottom: 1px solid #E7E9F2;
}

.admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #F1F3F8;
  font-size: 14px;
  color: #1E293B;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table-row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.admin-table-row:hover {
  background-color: #F8F9FF;
}

.admin-table td a {
  color: #4F46E5;
  font-weight: 600;
}

.admin-table-detail-row td {
  background-color: #f8f8fc;
  white-space: pre-wrap;
}

.admin-table-detail-row strong {
  color: #4F46E5;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table-detail-row p {
  margin-top: 8px;
  line-height: 1.6;
  color: #555;
}

.admin-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e5ef;
  font-size: 13px;
  color: #555;
}

.admin-detail-meta strong {
  color: #4F46E5;
}

/* Status badge (table cell) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.status-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Inline deal editor (expanded row) */
.deal-edit {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e5ef;
  cursor: default;
}

.deal-edit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.deal-edit-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
}

.deal-edit-field select,
.deal-edit-field input {
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  background-color: #ffffff;
  color: #333;
  min-width: 140px;
}

.deal-edit-field select {
  padding-right: 36px;
}

.deal-edit-field select:focus,
.deal-edit-field input:focus {
  outline: none;
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.deal-save-btn {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.deal-save-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}

.deal-save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.deal-saved-check {
  color: #0ca30c;
  font-size: 13px;
  font-weight: 700;
}

.deal-save-error {
  margin-top: 12px;
  color: #d03b3b;
  font-size: 13px;
  font-weight: 600;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  font-size: 14px;
  color: #666;
}

.admin-pagination button {
  background-color: #ffffff;
  border: 1px solid #E2E8F0;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-pagination button:hover:not(:disabled) {
  border-color: #4F46E5;
  color: #4F46E5;
}

.admin-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== pages/admin/AdminFinances.css ===== */
.admin-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #4F46E5;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.admin-add-btn:hover {
  background: #4338CA;
  color: #ffffff;
  box-shadow: 0 8px 18px -6px rgba(79, 70, 229, 0.55);
}

/* Flat (non-gradient) stat value variants for income/expense/net */
.admin-stat-value-flat {
  background: none;
}

.admin-stat-value-flat.income-text {
  -webkit-text-fill-color: #0ca30c;
  color: #0ca30c;
}

.admin-stat-value-flat.expense-text {
  -webkit-text-fill-color: #d03b3b;
  color: #d03b3b;
}

/* Add/Edit form panel */
.finance-form-panel {
  margin-bottom: 24px;
}

.finance-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Entries table */
.finance-table-wrap {
  overflow-x: auto;
}

.finance-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.finance-table th {
  text-align: left;
  padding: 11px 16px;
  background-color: #F8FAFC;
  color: #64748B;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #E7E9F2;
}

.finance-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #F1F3F8;
  font-size: 13px;
  color: #1E293B;
  white-space: nowrap;
}

.finance-type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.finance-type-badge.income {
  background-color: #ECFDF5;
  color: #047857;
}

.finance-type-badge.expense {
  background-color: #FEF2F2;
  color: #B91C1C;
}

.finance-category-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.finance-amount-income {
  color: #0ca30c;
  font-weight: 700;
}

.finance-amount-expense {
  color: #d03b3b;
  font-weight: 700;
}

.finance-row-actions {
  white-space: nowrap;
  text-align: right;
}

.finance-row-actions form {
  display: inline;
}

.finance-row-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  vertical-align: middle;
  background: #ffffff;
  border: 1px solid #E7E9F2;
  color: #64748B;
  cursor: pointer;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.finance-row-actions button svg {
  width: 15px;
  height: 15px;
}

.finance-row-actions button:hover {
  border-color: #C7CCF5;
  background-color: #EEF0FF;
  color: #4F46E5;
}

.finance-row-actions button.row-action-danger:hover {
  border-color: #FECACA;
  background-color: #FEF2F2;
  color: #DC2626;
}

@media (max-width: 768px) {
  .finance-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== pages/admin/AdminSettings.css ===== */
.admin-settings-panel h2 {
  font-size: 16px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 4px;
}

.admin-settings-hint {
  color: #64748B;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.admin-settings-form {
  margin-top: 10px;
}

.admin-settings-btn {
  background: #4F46E5;
  color: white;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.15s ease;
}

.admin-settings-btn:hover:not(:disabled) {
  background: #4338CA;
  box-shadow: 0 8px 18px -6px rgba(79, 70, 229, 0.55);
}

/* Settings page */
.settings-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 640px);
  gap: 20px;
  align-items: start;
}

.settings-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 32px;
}

.settings-profile-avatar {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
  box-shadow: 0 12px 24px -10px rgba(79, 70, 229, 0.6);
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
}

.settings-profile h2 {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.settings-profile-meta {
  list-style: none;
  width: 100%;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #EEF0F5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.settings-profile-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  word-break: break-all;
}

.settings-profile-meta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #94A3B8;
}

.settings-panel-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.settings-panel-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #EEF0FF;
  color: #4F46E5;
}

.settings-panel-icon svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 900px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

.admin-settings-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ===== pages/admin/AdminDocumentPrint.css ===== */
.print-page {
  min-height: 100vh;
  background-color: #f4f5fa;
  padding: 24px 16px 48px;
  color: #1a1a2e;
}

.print-toolbar {
  max-width: 820px;
  margin: 0 auto 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.print-toolbar button {
  background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.print-toolbar button + button {
  background: #ffffff;
  color: #4F46E5;
  box-shadow: inset 0 0 0 1px #d8d8e8;
}

.print-doc {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(20, 18, 58, 0.08);
  padding: 44px 48px;
  font-size: 13px;
  line-height: 1.55;
}

.print-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid #4F46E5;
}

.print-brand {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a2e;
}

.print-brand span {
  color: #06B6D4;
}

.print-muted {
  color: #666;
  font-size: 12px;
}

.print-pre {
  white-space: pre-wrap;
}

.print-title {
  text-align: right;
}

.print-title h1 {
  font-size: 22px;
  letter-spacing: 2px;
  color: #4F46E5;
  margin: 0 0 4px;
}

.print-number {
  font-size: 15px;
  font-weight: 700;
}

.print-status {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  border: 1.5px solid;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.print-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0;
}

.print-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #888;
  margin-bottom: 4px;
}

.print-dates {
  text-align: right;
}

.print-dates .print-label {
  display: inline-block;
  margin-right: 8px;
}

.print-items {
  width: 100%;
  border-collapse: collapse;
}

.print-items th {
  background-color: #f4f5fa;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  padding: 10px 12px;
}

.print-items td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.print-items .num {
  text-align: right;
  white-space: nowrap;
}

.print-totals {
  margin: 18px 0 0 auto;
  width: 300px;
  max-width: 100%;
}

.print-totals div {
  display: flex;
  justify-content: space-between;
  padding: 5px 12px;
}

.print-totals .print-grand {
  font-size: 15px;
  font-weight: 800;
  border-top: 1.5px solid #1a1a2e;
  margin-top: 4px;
  padding-top: 8px;
}

.print-notes {
  margin-top: 28px;
}

.print-notes p {
  margin: 0;
}

.print-footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #888;
  font-size: 12px;
}

@media (max-width: 640px) {
  .print-doc {
    padding: 24px 18px;
  }

  .print-header,
  .print-meta {
    flex-direction: column;
  }

  .print-title,
  .print-dates {
    text-align: left;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  .print-page {
    background: #ffffff;
    padding: 0;
  }

  .print-toolbar {
    display: none;
  }

  .print-doc {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-width: none;
  }

  .print-items th {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ===== App.css ===== */
.App {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.App > main {
  flex: 1;
  width: 100%;
}

/* Container utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* Responsive text */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .container-fluid {
    padding: 0 15px;
  }
}

/* ===== index.css ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
}

html, body, #root {
  height: 100%;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}


/* ===== Blade version: elements toggled with the hidden attribute ===== */
[hidden] {
  display: none !important;
}
