/* Ananta Business Services - Colorful redesign */
:root {
  --primary: #1e3a5f;
  --primary-dark: #152942;
  --accent-teal: #0d9488;
  --accent-coral: #ea580c;
  --accent-violet: #7c3aed;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-sky: #0284c7;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.navbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.navbar-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-brand-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 480px) {
  .navbar-brand-text {
    display: none;
  }
  .navbar-logo {
    height: 36px;
  }
}

.navbar-brand:hover {
  opacity: 0.9;
}

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

.nav-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  -webkit-text-fill-color: initial;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(30,58,95,0.08) 0%, rgba(13,148,136,0.08) 100%);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--gray-700);
  cursor: pointer;
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-wrap.open { max-height: 320px; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 0.75rem 1rem; display: block; }
}

@media (min-width: 768px) {
  .nav-wrap { position: static; max-height: none; }
}

/* Hero with background image */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #0d9488 50%, #7c3aed 100%);
  z-index: 0;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,95,0.88) 0%, rgba(13,148,136,0.75) 50%, rgba(124,58,237,0.7) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-intro {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.hero .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.hero .btn-primary:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30,58,95,0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* Cards - colorful */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: box-shadow var(--transition), transform 0.25s ease;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.card-link:hover {
  color: inherit;
}

.card-link-label {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.card-link:hover .card-link-label {
  text-decoration: underline;
}

.card.card-teal .card-icon { background: rgba(13,148,136,0.15); color: var(--accent-teal); }
.card.card-coral .card-icon { background: rgba(234,88,12,0.15); color: var(--accent-coral); }
.card.card-violet .card-icon { background: rgba(124,58,237,0.15); color: var(--accent-violet); }
.card.card-emerald .card-icon { background: rgba(5,150,105,0.15); color: var(--accent-emerald); }
.card.card-amber .card-icon { background: rgba(217,119,6,0.15); color: var(--accent-amber); }
.card.card-sky .card-icon { background: rgba(2,132,199,0.15); color: var(--accent-sky); }

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--primary);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Image card / feature with image */
.card-image-wrap {
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--gray-200);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card.has-image .card-image-wrap {
  margin: -1.5rem -1.5rem 1rem -1.5rem;
}

/* Stats - colorful grid */
.stats {
  padding: 3rem 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #0d9488 100%);
  color: var(--white);
}

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

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

.stat-item {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.stat-item:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.03);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.95;
}

/* Industries - pills */
.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
}

.industries-list li {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.industries-list li:hover {
  background: linear-gradient(135deg, rgba(13,148,136,0.12) 0%, rgba(124,58,237,0.08) 100%);
  color: var(--primary);
  border-color: rgba(13,148,136,0.3);
}

/* Section backgrounds */
.bg-gray {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.bg-teal-tint {
  background: linear-gradient(180deg, rgba(13,148,136,0.06) 0%, rgba(13,148,136,0.02) 100%);
}

.bg-violet-tint {
  background: linear-gradient(180deg, rgba(124,58,237,0.06) 0%, rgba(124,58,237,0.02) 100%);
}

/* Why Choose Us - colorful */
.why-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}

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

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-teal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-item:nth-child(2) { border-left-color: var(--accent-coral); }
.why-item:nth-child(3) { border-left-color: var(--accent-violet); }
.why-item:nth-child(4) { border-left-color: var(--accent-emerald); }

.why-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.why-item .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.why-item .card-icon { background: rgba(13,148,136,0.12); color: var(--accent-teal); }
.why-item:nth-child(2) .card-icon { background: rgba(234,88,12,0.12); color: var(--accent-coral); }
.why-item:nth-child(3) .card-icon { background: rgba(124,58,237,0.12); color: var(--accent-violet); }
.why-item:nth-child(4) .card-icon { background: rgba(5,150,105,0.12); color: var(--accent-emerald); }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--accent-teal);
  transition: transform 0.2s ease;
}

.testimonial-card:nth-child(2) { border-top-color: var(--accent-violet); }

.testimonial-card:hover {
  transform: translateY(-2px);
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.9375rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 50%, var(--accent-violet) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-text {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.cta .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: var(--gray-300);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}

.footer-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer a {
  color: var(--gray-300);
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  text-align: center;
  color: var(--gray-500);
}

/* Page hero with image */
.page-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(135deg, rgba(30,58,95,0.08) 0%, rgba(13,148,136,0.06) 50%, rgba(124,58,237,0.06) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gray-800);
}

/* Split section with image */
.split-section {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
  }
  .split-section--reverse {
    direction: rtl;
  }
  .split-section--reverse > * {
    direction: ltr;
  }
}

.split-section-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-section-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

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

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,58,95,0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-200);
  min-height: 280px;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.contact-info p {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.contact-info a {
  color: var(--primary);
}

.form-success {
  display: none;
  padding: 1rem;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid #6ee7b7;
}

.form-success.visible {
  display: block;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white);
}

/* Blog */
.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

.blog-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform 0.2s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: inherit;
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
  background: var(--gray-200);
}

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

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.25rem;
}

.blog-card-date {
  font-size: 0.8125rem;
  color: var(--accent-teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* Blog single */
.article-featured-image {
  max-width: 820px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--gray-800);
}

.article-body p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.article-meta {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

/* Service detail */
.service-detail {
  margin-bottom: 2.5rem;
}

.service-detail .card {
  padding: 2rem;
}

.service-detail .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-detail .card-text {
  font-size: 1rem;
  line-height: 1.65;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; }
