@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS VARIABLES & TOKENS --- */
:root {
  /* Color Palette */
  --primary-rgb: 79, 70, 229;     /* Indigo: #4f46e5 */
  --secondary-rgb: 6, 182, 212;   /* Teal: #06b6d4 */
  --dark-rgb: 15, 23, 42;         /* Slate 900: #0f172a */
  
  --primary: rgb(var(--primary-rgb));
  --primary-light: rgb(99, 102, 241); /* Indigo 400 */
  --primary-dark: rgb(67, 56, 202);   /* Indigo 700 */
  --secondary: rgb(var(--secondary-rgb));
  --secondary-light: rgb(34, 211, 238); /* Teal 400 */
  --secondary-dark: rgb(8, 145, 178);   /* Teal 700 */
  
  --bg-main: #f8fafc;             /* Slate 50 */
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;      /* Slate 100 */
  
  --text-main: #0f172a;           /* Slate 900 */
  --text-muted: #475569;          /* Slate 600 */
  --text-light: #94a3b8;          /* Slate 400 */
  --text-on-primary: #ffffff;
  
  --border-color: #e2e8f0;        /* Slate 200 */
  --border-focus: var(--primary-light);
  
  /* Font Stacks */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.15);
  
  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transition Speeds */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --- RESET & BASE STYLING --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface-alt);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: rgb(var(--dark-rgb));
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

.section-dark {
  background-color: rgb(var(--dark-rgb));
  color: #ffffff;
}

.section-dark h2, .section-dark h3 {
  color: #ffffff;
}

.section-dark p {
  color: #94a3b8; /* Slate 400 */
}

/* Grid & Flex Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

/* Gradient Background blobs */
.bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(100px);
  opacity: 0.15;
}

.blob-primary {
  width: 400px;
  height: 400px;
  background-color: var(--primary);
  top: -100px;
  right: -50px;
}

.blob-secondary {
  width: 350px;
  height: 350px;
  background-color: var(--secondary);
  bottom: 10%;
  left: -100px;
}

/* --- BRAND & BUTTONS --- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-on-primary);
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.45), var(--shadow-glow);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(6, 182, 212, 0.45);
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

/* --- STICKY HEADER & NAVBAR --- */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 250, 252, 0.8); /* Match bg-main */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: rgb(var(--dark-rgb));
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.logo:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

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

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-mobile-only {
  display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: all var(--transition-normal);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-surface);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    align-items: flex-start;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-actions {
    display: none; /* Hide desktop button on mobile drawer (we can embed in drawer) */
  }
  
  .nav-mobile-only {
    display: block;
    width: 100%;
  }
  
  .nav-menu .btn {
    width: 100%;
    margin-top: 1rem;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem 0;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }
  .hero-buttons {
    flex-direction: column;
  }
}

/* --- TRUSTED CLIENTS BAR --- */
.clients-section {
  padding: 3rem 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.clients-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.clients-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.clients-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
}

.clients-grid {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-grow: 1;
  justify-content: flex-end;
}

.client-logo-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-light);
  transition: all var(--transition-normal);
  cursor: default;
}

.client-logo-item:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .clients-container {
    flex-direction: column;
    text-align: center;
  }
  .clients-grid {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

/* --- FEATURES GRID --- */
.section-title-wrapper {
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

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

.feature-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: rgba(79, 70, 229, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(79, 70, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05) rotate(5deg);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* --- INSPIRATION BOX --- */
.inspiration-section {
  position: relative;
  overflow: hidden;
}

.inspiration-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
}

/* Double quote icon overlay */
.inspiration-wrapper::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 40px;
  font-size: 8rem;
  font-family: var(--font-heading);
  color: rgba(79, 70, 229, 0.06);
  line-height: 1;
}

.inspiration-text {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.inspiration-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.inspiration-author::before, .inspiration-author::after {
  content: "";
  width: 20px;
  height: 2px;
  background-color: var(--primary-light);
}

@media (max-width: 768px) {
  .inspiration-wrapper {
    padding: 2.5rem 1.5rem;
  }
  .inspiration-wrapper::before {
    left: 20px;
    font-size: 6rem;
  }
}

/* --- STATS GRID --- */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.stat-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
}

/* --- ABOUT STORY SECTION --- */
.about-hero {
  padding: 6rem 0 4rem 0;
  background: linear-gradient(180deg, #eef2ff 0%, var(--bg-main) 100%);
  text-align: center;
}

.about-hero h1 {
  margin-bottom: 1.5rem;
}

.about-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.story-image-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 400px;
  background-size: cover;
  background-position: center;
}

.story-content h2 {
  margin-bottom: 1.5rem;
}

.story-content p {
  margin-bottom: 1.25rem;
}

/* Value Cards */
.value-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.value-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

/* --- CONTACT SECTION & FORM --- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info-panel {
  background-color: rgb(var(--dark-rgb));
  color: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.contact-info-panel::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(6, 182, 212, 0.1);
  border-radius: var(--radius-full);
  filter: blur(50px);
}

.contact-info-panel h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.contact-info-panel > p {
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail-text h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-detail-text p, .contact-detail-text a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.contact-detail-text a:hover {
  color: var(--secondary-light);
}

/* Map Placeholder */
.map-placeholder {
  margin-top: 3rem;
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, transparent 20%, rgba(6, 182, 212, 0.02) 21%, transparent 22%);
  background-size: 15px 15px;
  top: -25%;
  left: -25%;
}

.map-pin {
  width: 32px;
  height: 32px;
  background-color: var(--secondary);
  border-radius: var(--radius-full) var(--radius-full) 0 var(--radius-full);
  transform: rotate(-45deg);
  position: absolute;
  top: 40%;
  left: 45%;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.5);
  animation: pulse-pin 2s infinite alternate;
}

.map-pin::after {
  content: "";
  width: 14px;
  height: 14px;
  background-color: rgb(var(--dark-rgb));
  border-radius: var(--radius-full);
  position: absolute;
  top: 9px;
  left: 9px;
}

@keyframes pulse-pin {
  0% { transform: rotate(-45deg) scale(1); }
  100% { transform: rotate(-45deg) scale(1.15); }
}

/* Contact Form Styling */
.contact-form-card {
  background-color: var(--bg-surface);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h2 {
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

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

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
  color: var(--text-main);
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Input states for validation */
.form-control:invalid:not(:placeholder-shown):user-invalid {
  border-color: #ef4444; /* red-500 */
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-control:valid:not(:placeholder-shown) {
  border-color: #10b981; /* emerald-500 */
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

.form-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

/* AJAX Success Toast/State */
.form-status-banner {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 500;
  font-family: var(--font-heading);
}

.form-status-banner.success {
  display: block;
  background-color: #ecfdf5; /* emerald 50 */
  color: #065f46; /* emerald 800 */
  border: 1px solid #a7f3d0; /* emerald 200 */
}

.form-status-banner.error {
  display: block;
  background-color: #fef2f2; /* red 50 */
  color: #991b1b; /* red 800 */
  border: 1px solid #fecaca; /* red 200 */
}

/* --- FOOTER --- */
.footer {
  background-color: rgb(var(--dark-rgb));
  color: #ffffff;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-brand p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  color: #94a3b8;
}

.social-link:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link-item a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--secondary-light);
  padding-left: 4px;
}

.footer-newsletter p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.05);
}

.newsletter-btn {
  background-color: var(--primary);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-normal);
}

.newsletter-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #64748b;
  font-size: 0.9rem;
}

.footer-terms {
  display: flex;
  gap: 1.5rem;
}

.footer-terms a {
  color: #64748b;
  font-size: 0.9rem;
}

.footer-terms a:hover {
  color: var(--text-light);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-terms {
    justify-content: center;
  }
}
