/* ==========================================================================
   Evangelion Technologies - Design System
   ========================================================================== */

:root {
  --primary: #2D8A4E;
  --primary-light: #3DA863;
  --secondary: #1B4332;
  --accent: #F0B429;
  --accent-light: #FFD666;
  --light: #F8FAF9;
  --cream: #FFFDF7;
  --dark: #1A1A2E;
  --navy: #0D1B2A;
  --text: #2D3748;
  --text-light: #64748B;
  --white: #FFFFFF;

  --bg: var(--white);
  --bg-alt: var(--light);
  --surface: var(--white);
  --border-color: rgba(0, 0, 0, 0.08);
  --text-body: var(--text);
  --text-muted: var(--text-light);
  --heading: var(--navy);
  --shadow-soft: 0 4px 20px rgba(13, 27, 42, 0.06);
  --shadow-lift: 0 16px 40px rgba(13, 27, 42, 0.1);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #10151c;
  --bg-alt: #161c25;
  --surface: #1a212c;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-body: #cbd5e1;
  --text-muted: #8b98ab;
  --heading: #f4f7f5;
  --light: #161c25;
  --cream: #161c25;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 16px 40px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10151c;
    --bg-alt: #161c25;
    --surface: #1a212c;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-body: #cbd5e1;
    --text-muted: #8b98ab;
    --heading: #f4f7f5;
    --light: #161c25;
    --cream: #161c25;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 16px 40px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
  color: var(--text-body);
  background: var(--bg);
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: var(--heading);
}

a {
  color: var(--primary);
}

/* ---------------------------------- Navbar ---------------------------------- */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 0.65rem 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--heading) !important;
}

.navbar-brand img {
  height: 40px;
  width: 40px;
  transition: all 0.3s ease;
}

.navbar-brand .brand-accent {
  color: var(--primary);
}

.navbar-toggler-icon-custom {
  color: var(--heading);
}

.nav-link {
  color: var(--heading) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.35rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: rgba(45, 138, 78, 0.1);
}

/* Pages with a fixed dark page-header (everything but Home) need light nav
   text while the navbar is still transparent and floating over that header,
   regardless of the light/dark site theme. Once scrolled, .navbar.scrolled
   gets a theme-aware surface background and reverts to var(--heading). */
body.has-dark-hero .navbar:not(.scrolled) .navbar-brand,
body.has-dark-hero .navbar:not(.scrolled) .nav-link:not(.active),
body.has-dark-hero .navbar:not(.scrolled) .navbar-toggler-icon-custom {
  color: #fff !important;
}

body.has-dark-hero .navbar:not(.scrolled) .nav-link:hover {
  color: var(--accent-light) !important;
  background: rgba(255, 255, 255, 0.12);
}

.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.625rem 1.5rem !important;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 0.25rem;
  transition: all 0.3s ease;
}

.btn-nav:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 138, 78, 0.3);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--surface);
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.theme-toggle .bi-sun-fill { display: none; }
:root[data-theme="dark"] .theme-toggle .bi-moon-stars-fill { display: none; }
:root[data-theme="dark"] .theme-toggle .bi-sun-fill { display: inline-block; }

/* ---------------------------------- Buttons ---------------------------------- */
.btn-primary-main {
  background: var(--primary);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-primary-main:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 138, 78, 0.25);
}

.btn-primary-main i {
  margin-left: 0.5rem;
}

.btn-outline-main {
  background: transparent;
  color: var(--heading);
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  border: 2px solid var(--heading);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-outline-main:hover {
  background: var(--heading);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--cream) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(45, 138, 78, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 138, 78, 0.15);
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 0.625rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--primary);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lift);
  text-align: center;
  position: relative;
}

.hero-card-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--accent);
  color: var(--dark);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(240, 180, 41, 0.35);
}

.hero-illustration {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(61, 168, 99, 0.25), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(240, 180, 41, 0.22), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration i {
  font-size: 4.5rem;
  color: var(--accent-light);
  opacity: 0.9;
}

.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.hero-metrics {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
}

.hero-metric h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.hero-metric p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------------------------------- Page header (sub-pages) ---------------------------------- */
.page-header {
  padding: 150px 0 70px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--secondary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.15) 0%, transparent 70%);
}

.page-header h1 {
  color: var(--white);
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb-item a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.page-header .breadcrumb-item.active { color: var(--accent); }

/* ---------------------------------- Sections common ---------------------------------- */
section {
  background: var(--bg);
}

.section-badge {
  display: inline-block;
  background: rgba(45, 138, 78, 0.12);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

.section-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ---------------------------------- Services ---------------------------------- */
.services {
  padding: 6rem 0;
}

.service-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  background: var(--surface);
  border-color: rgba(45, 138, 78, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ---------------------------------- About ---------------------------------- */
.about {
  padding: 6rem 0;
  background: var(--navy);
  color: var(--white);
}

.about .section-badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.about .section-title,
.about h2, .about h3 {
  color: var(--white);
}

.about .section-text {
  color: rgba(255, 255, 255, 0.7);
}

.about-image {
  background: var(--surface);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image i {
  font-size: 5rem;
  color: var(--primary);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.about-image.has-image {
  padding: 0;
  overflow: hidden;
}

.about-years {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--accent);
  color: var(--dark);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.about-years h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  color: var(--dark) !important;
}

.about-years span {
  font-size: 0.75rem;
  font-weight: 600;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.about-feature i {
  color: var(--accent);
  margin-right: 0.75rem;
  font-size: 1.125rem;
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 500;
}

.about-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  font-size: 1rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.value-card i {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.value-card h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------------------------------- Stats ---------------------------------- */
.stats {
  padding: 4rem 0;
  background: var(--primary);
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-item h3 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.stat-item p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.9;
}

/* ---------------------------------- Developers ---------------------------------- */
.developers {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.dev-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
}

.dev-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--primary);
}

.dev-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-avatar i {
  font-size: 2rem;
  color: var(--white);
}

.dev-card h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.dev-card .role {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.dev-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.skill-tag {
  background: var(--bg-alt);
  color: var(--text-body);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ---------------------------------- Portfolio ---------------------------------- */
.portfolio {
  padding: 6rem 0;
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.portfolio-filter .btn {
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-color);
  color: var(--text-body);
  background: var(--surface);
}

.portfolio-filter .btn:hover,
.portfolio-filter .btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.portfolio-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.portfolio-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 240px;
  background: var(--bg-alt);
}

.portfolio-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-bg i {
  font-size: 3rem;
  color: var(--white);
  opacity: 0.65;
}

.portfolio-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-bg-image img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(13, 27, 42, 0.95));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.portfolio-overlay p {
  color: var(--accent);
  font-size: 0.8rem;
  margin: 0;
}

/* ---------------------------------- Testimonials ---------------------------------- */
.testimonials {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.testimonial-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-card .bi-quote {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.6;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.testimonial-card p.quote {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0.75rem 0 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
  object-fit: cover;
}

.testimonial-author h6 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------------------------------- FAQ ---------------------------------- */
.faq {
  padding: 6rem 0;
}

.faq .accordion-item {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq .accordion-button {
  background: var(--surface);
  color: var(--heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.25rem 1.5rem;
}

.faq .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(45, 138, 78, 0.06);
  box-shadow: none;
}

.faq .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.faq .accordion-button::after {
  filter: none;
}

.faq .accordion-body {
  color: var(--text-muted);
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------------------------------- CTA ---------------------------------- */
.cta-banner {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-weight: 700;
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.75rem;
}

/* ---------------------------------- Contact ---------------------------------- */
.contact {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.contact-info {
  background: var(--navy);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  color: var(--white);
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.125rem;
  color: var(--accent);
}

.contact-item h6 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
  color: var(--white);
}

.contact-item p {
  opacity: 0.75;
  font-size: 0.875rem;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--dark);
}

.contact-form {
  background: var(--surface);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-form h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.contact-form > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--bg-alt);
  color: var(--text-body);
}

.contact-form .form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 138, 78, 0.15);
  background: var(--surface);
}

/* ---------------------------------- Footer ---------------------------------- */
.footer {
  background: var(--dark);
  padding: 4rem 0 1.5rem;
  color: var(--white);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.footer-brand img {
  height: 40px;
}

.footer-brand .brand-accent {
  color: var(--accent-light);
}

.footer p.tagline {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-size: 0.9rem;
}

.footer h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ---------------------------------- Alerts ---------------------------------- */
.alert-brand-success {
  background: rgba(45, 138, 78, 0.12);
  border: 1px solid rgba(45, 138, 78, 0.35);
  color: var(--primary);
  border-radius: 12px;
}

/* ---------------------------------- Responsive ---------------------------------- */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .navbar-collapse {
    background: var(--surface);
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lift);
  }

  body.has-dark-hero .navbar:not(.scrolled) .navbar-collapse {
    background: rgba(13, 27, 42, 0.95);
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .page-header h1 {
    font-size: 1.85rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .hero-metrics {
    flex-wrap: wrap;
  }

  .hero-metric {
    flex: 1 1 45%;
  }
}
