/* ==========================================================================
   Goodwill Coder - Apple/Stripe Minimal Dark Theme
   Clean, Elegant, Ultra-Refined & Fast Loading
   ========================================================================== */

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

:root {
  --bg-main: #0b0c0e;
  --bg-card: #14161b;
  --bg-card-hover: #1a1d24;
  --bg-header: rgba(11, 12, 14, 0.85);
  
  --accent-orange: #ff5e1e;
  --accent-orange-soft: rgba(255, 94, 30, 0.12);
  --accent-gradient: linear-gradient(135deg, #ff5e1e 0%, #ff8038 100%);
  
  --text-primary: #ffffff;
  --text-secondary: #949ba6;
  --text-muted: #646c79;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 94, 30, 0.4);
  
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-secondary);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.gradient-text {
  color: var(--accent-orange);
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-orange-soft);
  border-radius: 50px;
  color: var(--accent-orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent-orange);
  color: #ffffff;
}

.btn-primary:hover {
  background: #e54e10;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 30, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header.scrolled {
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 150px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 90%;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--accent-orange);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
}

.hero-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

/* Sections General */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.section-title h2 {
  font-size: 2.4rem;
  margin-top: 10px;
  margin-bottom: 14px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Cards & Grids */
.services-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card, .blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.card:hover, .blog-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Location Pills */
.locations-flex {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.location-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #0b0c0e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
}

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

/* Blog Article Cards */
.blog-content {
  padding: 0;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--accent-orange);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* Article Page Details */
.article-header {
  padding: 140px 0 40px;
  text-align: center;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto 80px;
}

.article-content h2 {
  font-size: 1.7rem;
  margin: 28px 0 14px;
  color: var(--accent-orange);
}

.article-content p {
  margin-bottom: 20px;
  color: var(--text-primary);
  font-size: 1.05rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* Footer */
.footer {
  background: #07080a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  height: 38px;
  margin-bottom: 20px;
}

.footer h4 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

/* Toast */
.alert-toast {
  position: fixed;
  top: 90px;
  right: 20px;
  padding: 14px 24px;
  border-radius: 8px;
  background: #191c23;
  border: 1px solid var(--accent-orange);
  color: #fff;
  z-index: 2000;
  display: none;
}

/* Comprehensive Responsive Breakpoints */
@media (max-width: 1200px) {
  .hero-grid {
    gap: 30px;
  }
  .container {
    width: 92%;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 32px;
    max-width: 100%;
  }
  .hero-btns {
    justify-content: center;
  }
  .stats-grid {
    max-width: 600px;
    margin: 40px auto 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .article-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  .nav-menu {
    position: fixed;
    top: 66px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 66px);
    background: var(--bg-main);
    flex-direction: column;
    padding: 40px 20px;
    gap: 24px;
    transition: 0.3s ease-in-out;
    overflow-y: auto;
    border-top: 1px solid var(--border-subtle);
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    padding: 120px 0 60px;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .section-title h2 {
    font-size: 1.9rem;
  }
  .section {
    padding: 60px 0;
  }
  .services-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn {
    width: 100%;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .hero-card, .card, .blog-card {
    padding: 24px 16px;
  }
  .combo-card-container {
    padding: 24px 16px !important;
  }
  .combo-card-left {
    text-align: center;
  }
  .combo-pill-grid, .combo-pill-flex {
    justify-content: center;
  }
  .combo-card-right {
    padding: 20px 16px !important;
    text-align: center;
  }
  .article-content {
    padding: 20px;
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 34px;
  }
  .section-title h2 {
    font-size: 1.6rem;
  }
}

