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

:root {
  /* Colors */
  --primary: #4f46e5;      /* Indigo 600 */
  --primary-hover: #4338ca;
  --secondary: #3b82f6;    /* Blue 500 */
  --accent: #f97316;       /* Orange 500 */
  --accent-hover: #ea580c;
  --success: #10b981;      /* Emerald 500 */
  --data-tech: #8b5cf6;    /* Violet 500 */
  
  /* Neutral/Grayscale */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;     /* Slate 50 */
  --bg-slate: #f1f5f9;     /* Slate 100 */
  --text-dark: #0f172a;    /* Slate 900 */
  --text-muted: #475569;   /* Slate 600 */
  --text-light: #94a3b8;   /* Slate 400 */
  --border-color: #e2e8f0; /* Slate 200 */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-soft: 0 10px 40px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 40px rgba(79, 70, 229, 0.15);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Spacing */
  --section-padding: 6rem;
  --container-width: 1280px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding) 0;
}

.section-bg-light {
  background-color: var(--bg-light);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-accent {
  background: linear-gradient(135deg, var(--accent), #f59e0b); /* Orange to Yellow */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-subtitle {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .lg-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .md-grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
  .section-title { font-size: 2rem; }
  .section { padding: 4rem 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
  color: white;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.23);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  background-color: white;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.3s ease;
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span {
  color: var(--primary);
}
.nav-menu {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .header-actions .btn-outline { display: none; }
  .mobile-menu-btn { display: block; }
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
/* Subtle grid background */
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}
/* Glow effect */
.hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}
.hero-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  max-width: 600px;
}
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}
.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
/* Hero Image/Slider Area */
.hero-visual {
  position: relative;
}
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid white;
}
.hero-image-wrapper img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.floating-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}
.floating-card.card-2 {
  top: 40px;
  left: auto;
  right: -30px;
  bottom: auto;
  animation-delay: 2s;
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.5rem;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
@media (max-width: 1024px) {
  .hero-wrapper { grid-template-columns: 1fr; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .floating-card { display: none; }
  .hero-title { font-size: 3rem; }
}

/* Services */
.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(79, 70, 229, 0.2);
}
.service-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--bg-slate);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
}
.service-card h3 {
  font-size: 1.25rem; margin-bottom: 1rem;
}
.service-card p {
  color: var(--text-muted); flex-grow: 1;
}
.service-link {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.875rem;
}

/* Why Us */
.why-us-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.why-image {
  position: relative;
}
.why-image img {
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.feature-list {
  display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
.feature-item {
  display: flex; gap: 1rem;
}
.feature-icon {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(16, 185, 129, 0.1);
  color: var(--success); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.25rem;
}
.feature-text h4 { font-size: 1.125rem; margin-bottom: 0.25rem; }

/* Process */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative;
}
/* Line connecting process steps */
.process-grid::before {
  content: ''; position: absolute; top: 40px; left: 0; width: 100%; height: 2px;
  background: var(--border-color); z-index: 0;
}
@media (max-width: 1024px) {
  .process-grid::before { display: none; }
}
.process-step {
  position: relative; z-index: 1; background: white; padding: 2rem 1.5rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border-color);
  text-align: center; box-shadow: var(--shadow-sm);
}
.step-number {
  width: 48px; height: 48px; background: var(--primary); color: white;
  border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; margin: 0 auto 1.5rem;
  border: 4px solid white; box-shadow: var(--shadow-sm);
}

/* Portfolio */
.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden; background: white;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.portfolio-img {
  position: relative; height: 240px; overflow: hidden;
}
.portfolio-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }
.portfolio-content { padding: 1.5rem; }
.portfolio-cat {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.5rem; display: block; letter-spacing: 0.05em;
}
.portfolio-content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Data Analytics Special Section */
.data-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); /* Deep rich blue/purple */
  color: white; position: relative; overflow: hidden;
  border-radius: var(--radius-xl); margin: 0 1.5rem; padding: 5rem 3rem;
}
.data-section::before {
  content: ''; position: absolute; inset: 0; opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 32px 32px;
}
.data-wrapper {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.data-content h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; }
.data-content p { color: #94a3b8; font-size: 1.125rem; }
.data-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem;
}
.data-stat-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem; border-radius: var(--radius-md); backdrop-filter: blur(10px);
}
.data-stat-card h4 { color: white; font-size: 2rem; margin-bottom: 0.25rem; }
.data-stat-card span { color: var(--success); font-size: 0.875rem; font-weight: 600; }
.data-visual img { border-radius: var(--radius-lg); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

@media (max-width: 1024px) {
  .data-wrapper { grid-template-columns: 1fr; }
  .data-section { padding: 4rem 2rem; margin: 0; border-radius: 0; }
}

/* Stats Counter */
.counter-wrap {
  text-align: center; padding: 2rem;
}
.counter-num {
  font-size: 3.5rem; font-family: 'Outfit', sans-serif; font-weight: 800;
  color: var(--text-dark); margin-bottom: 0.5rem;
}
.counter-text {
  font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem;
}

/* Testimonials */
.testimonial-card {
  background: white; padding: 2.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); position: relative;
}
.quote-icon {
  font-size: 3rem; color: rgba(79, 70, 229, 0.1); position: absolute; top: 1.5rem; right: 1.5rem;
}
.rating { color: #fbbf24; margin-bottom: 1rem; display: flex; gap: 0.25rem; }
.testimonial-text { font-size: 1.125rem; color: var(--text-dark); font-style: italic; margin-bottom: 2rem; }
.client-info { display: flex; align-items: center; gap: 1rem; }
.client-avatar img { width: 50px; height: 50px; border-radius: var(--radius-full); object-fit: cover; }
.client-details h4 { font-size: 1rem; margin-bottom: 0.125rem; }
.client-details span { font-size: 0.875rem; color: var(--text-muted); }

/* FAQ Section */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 1rem;
  background: white; overflow: hidden; transition: all 0.3s ease;
}
.faq-question {
  padding: 1.5rem; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-family: 'Outfit', sans-serif; font-size: 1.125rem;
  color: var(--text-dark); background: transparent; border: none; width: 100%; text-align: left;
}
.faq-btn {
  width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--bg-slate);
  display: flex; align-items: center; justify-content: center; color: var(--primary); transition: all 0.3s ease;
}
.faq-answer {
  padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item.active .faq-btn { background: var(--primary); color: white; transform: rotate(45deg); }
.faq-item.active .faq-answer { padding-bottom: 1.5rem; max-height: 300px; }


/* Bottom CTA */
.cta-section {
  background-color: var(--primary); position: relative; overflow: hidden;
  border-radius: var(--radius-xl); margin: 0 1.5rem 4rem; padding: 5rem 2rem; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -10%; width: 400px; height: 400px;
  background: rgba(255,255,255,0.1); border-radius: var(--radius-full);
}
.cta-section::after {
  content: ''; position: absolute; bottom: -50%; right: -10%; width: 300px; height: 300px;
  background: rgba(255,255,255,0.1); border-radius: var(--radius-full);
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-inner h2 { color: white; font-size: 3rem; margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 1.25rem; margin-bottom: 2rem; }

/* Footer */
.footer {
  background: var(--text-dark); color: white; padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem;
}
.footer-about .logo { color: white; margin-bottom: 1.5rem; }
.footer-about p { color: var(--text-light); margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 1rem; }
.social-link {
  width: 40px; height: 40px; border-radius: var(--radius-full); background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem;
}
.social-link:hover { background: var(--primary); transform: translateY(-3px); }
.footer-title { color: white; font-size: 1.25rem; margin-bottom: 1.5rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-light); }
.footer-links a:hover { color: white; padding-left: 0.25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: var(--text-light); font-size: 0.875rem; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-section { margin: 0 0 2rem; border-radius: 0; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Page Header & Common Inner Utilities */
.page-header {
  padding: 160px 0 80px;
  background-color: var(--bg-light);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.page-breadcrumb {
  color: var(--text-muted);
  font-weight: 500;
}
.page-breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}
.inner-page-content {
  padding: 4rem 0;
}
