@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(213, 50%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(213, 50%, 15%);
  --primary: hsl(213, 50%, 20%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(200, 25%, 95%);
  --secondary-foreground: hsl(213, 50%, 15%);
  --muted: hsl(210, 15%, 93%);
  --muted-foreground: hsl(213, 15%, 50%);
  --accent: hsl(174, 62%, 42%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(214, 20%, 88%);
  --radius: 0.5rem;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
}

/* ===== Utility Classes ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.section-padding {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section-padding { padding: 6rem 2rem; }
}

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

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .header-inner { height: 80px; }
}

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

.logo-img {
  height: 40px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .logo-img { height: 48px; }
}

.logo-text {
  display: none;
}

@media (min-width: 640px) {
  .logo-text { display: block; }
}

.logo-text .company-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
  display: block;
}

.logo-text .tagline {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-cta {
  margin-left: 1rem;
  padding: 0.625rem 1.25rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  animation: fadeIn 0.3s ease;
}

.mobile-nav.open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

.mobile-nav-inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--secondary);
  color: var(--accent);
}

.mobile-nav-cta {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

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

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0.85;
}

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

.hero-label {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease forwards;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 4.5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--primary-foreground);
  opacity: 0.8;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--primary-foreground);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

/* ===== Page Hero (for inner pages) ===== */
.page-hero {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 8rem 1rem 4rem;
  text-align: center;
}

@media (min-width: 768px) {
  .page-hero { padding: 10rem 2rem 5rem; }
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-hero h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .page-hero h1 { font-size: 3.75rem; }
}

.page-hero p {
  font-size: 1.125rem;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Section Heading ===== */
.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .section-heading { margin-bottom: 4rem; }
}

.section-heading h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-heading h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .section-heading h2 { font-size: 3rem; }
}

.section-heading.light h2 {
  color: var(--primary-foreground);
}

.section-heading p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.section-heading.light p {
  color: var(--primary-foreground);
  opacity: 0.8;
}

.section-heading .underline-bar {
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--card) 0%, hsl(174, 62%, 95%) 100%);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: hsla(174, 62%, 42%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ===== Stats Section ===== */
.stats-section {
  background: var(--primary);
}

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

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-value { font-size: 3.5rem; }
}

.stat-label {
  font-size: 0.875rem;
  color: var(--primary-foreground);
  opacity: 0.8;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
}

.cta-section.primary-bg {
  background: var(--primary);
  color: var(--primary-foreground);
}

.cta-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-section h2 { font-size: 2.25rem; }
}

.cta-section p {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* ===== About Content ===== */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ===== Values Grid ===== */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: hsla(174, 62%, 42%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ===== Benefits Grid ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: box-shadow 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ===== Process Steps ===== */
.process-list {
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.process-step p {
  font-weight: 500;
  padding-top: 4px;
}

/* ===== Documents List ===== */
.documents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .documents-grid { grid-template-columns: repeat(2, 1fr); }
}

.document-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--secondary);
  border-radius: 12px;
  padding: 1rem;
}

.document-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.document-item span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Web Features Grid ===== */
.web-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .web-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .web-features-grid { grid-template-columns: repeat(4, 1fr); }
}

.web-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--secondary);
  border-radius: 12px;
  padding: 1rem;
}

.web-feature svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.web-feature span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Other Services Section ===== */
.other-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .other-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .other-services-grid { grid-template-columns: repeat(3, 1fr); }
}

.other-service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}

.other-service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.other-service-card ul {
  space-y: 0.5rem;
}

.other-service-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.other-service-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 2fr 3fr; }
}

.contact-info {
  space-y: 2rem;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: hsla(174, 62%, 42%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-item-label {
  font-weight: 600;
  font-size: 0.875rem;
}

.contact-item-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== Contact Form ===== */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .contact-form { padding: 2.5rem; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsla(174, 62%, 42%, 0.2);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.submit-btn:hover {
  opacity: 0.9;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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

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

.footer-logo img {
  height: 40px;
  border-radius: 4px;
}

.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-desc {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer ul a {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer ul a:hover {
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}

/* ===== Backgrounds ===== */
.bg-background { background: var(--background); }
.bg-secondary { background: var(--secondary); }
.bg-primary { background: var(--primary); }

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  animation: slideIn 0.3s ease;
  display: none;
}

.toast.show {
  display: block;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
