/* ==========================================================================
   PRIME GROWTH DIGITAL - EXACT MATCHING HOMEPAGE DESIGN SYSTEM
   ========================================================================== */

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Colors matching the reference design */
  --primary-blue: #2563eb;
  --primary-blue-dark: #1d4ed8;
  --primary-purple: #7c3aed;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  
  --whatsapp-green: #22c55e;
  --whatsapp-green-dark: #16a34a;
  
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-dark-footer: #0a1128;

  /* Text Colors */
  --text-dark: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  /* Accent Colors for Badges */
  --badge-green-bg: #dcfce7;
  --badge-green-text: #15803d;
  --badge-blue-bg: #dbeafe;
  --badge-blue-text: #1e40af;
  --badge-purple-bg: #f3e8ff;
  --badge-purple-text: #6b21a8;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-blue: rgba(37, 99, 235, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 40px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets */
*, *::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-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

/* Responsive Table Wrapper */
table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Text Highlights */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

.text-blue {
  color: var(--primary-blue);
}

.text-purple {
  color: var(--primary-purple);
}

.highlight-blue {
  color: var(--primary-blue);
}

.highlight-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Tag Pills */
.section-tag-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: var(--primary-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-sub);
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-blue);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  background: #eff6ff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-green-dark);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-dark);
}

.brand-logo .logo-icon-svg {
  width: 36px;
  height: 36px;
  background: var(--primary-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

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

.nav-menu a {
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-menu a:hover {
  color: var(--primary-blue);
}

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

/* Hero Section */
.hero-section {
  padding: 4rem 0 5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-group {
  display: flex;
}

.avatar-group img, .avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -10px;
  object-fit: cover;
  background: #cbd5e1;
}

.avatar-group img:first-child, .avatar-circle:first-child {
  margin-left: 0;
}

.rating-stars {
  color: #f59e0b;
  font-size: 0.9rem;
}

.rating-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Right Side Hero Visual Composite */
.hero-visual-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.main-hero-man-img {
  width: 320px;
  height: 380px;
  border-radius: 200px 200px 30px 30px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  padding: 4px;
}

.main-hero-man-img img {
  width: 100%;
  height: 100%;
  border-radius: 196px 196px 26px 26px;
  object-fit: cover;
}

/* Floating Cards around Hero Visual */
.hero-metric-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
  z-index: 3;
  transition: var(--transition);
}

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

.card-top-left {
  top: 10px;
  left: -20px;
  min-width: 190px;
}

.card-top-right {
  top: 10px;
  right: -20px;
  min-width: 190px;
}

.card-bottom-left {
  bottom: 20px;
  left: -30px;
  min-width: 190px;
}

.card-bottom-right {
  bottom: 10px;
  right: -20px;
  min-width: 190px;
}

.card-center-right {
  top: 45%;
  right: -35px;
  min-width: 180px;
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-dark);
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Trusted Logos Marquee */
.trusted-section {
  padding: 2.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

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

.trusted-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  max-width: 120px;
  line-height: 1.2;
}

.logos-marquee {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0.85;
}

.logo-item {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* About Us Section */
.about-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-img-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.excellence-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.badge-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0 2.25rem 0;
  list-style: none;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.about-checklist li i {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* Services Grid Section */
.services-section {
  padding: 6rem 0;
  background: #ffffff;
}

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

.service-card-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.service-card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-blue);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-card-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.service-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 0.85rem;
  transition: var(--transition);
}

.service-card-item:hover .service-card-arrow {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}

/* Why Choose Us Section */
.why-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 1rem auto;
}

.why-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Case Studies Section */
.cases-section {
  padding: 6rem 0;
  background: #ffffff;
}

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

.case-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.case-img-wrap {
  height: 160px;
  position: relative;
  overflow: hidden;
}

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

.case-location-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.case-card-body {
  padding: 1.25rem;
}

.case-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.case-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.case-stat h4 {
  font-size: 1.3rem;
  color: #16a34a;
}

.case-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.case-link-btn {
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Industries We Serve */
.industries-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.industries-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.industry-pill-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.industry-pill-item:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.industry-pill-item i {
  color: var(--primary-blue);
}

/* Our Process Flow */
.process-section {
  padding: 6rem 0;
  background: #ffffff;
}

.process-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-step-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.process-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem auto;
}

.process-step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.process-step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Reviews & Contact Form Combined */
.reviews-contact-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.reviews-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.info-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  gap: 0.85rem;
}

.info-item i {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.info-item h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.info-item p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

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

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* Floating WhatsApp Widget */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-chat-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.whatsapp-chat-bubble img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.whatsapp-chat-text {
  font-size: 0.825rem;
  color: #0f172a;
  line-height: 1.3;
}

.whatsapp-chat-text strong {
  display: block;
  font-size: 0.875rem;
  color: #22c55e;
}

.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45);
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulseGreen 2s infinite;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  background: #16a34a;
  color: #ffffff;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Latest Blog Section */
.blog-section {
  padding: 6rem 0;
  background: #ffffff;
}

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

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0f172a;
  color: #ffffff;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

.blog-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: var(--transition);
}

.blog-card:hover .blog-card-bg {
  opacity: 0.6;
  transform: scale(1.05);
}

.blog-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 60%);
}

.blog-tag {
  display: inline-block;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-link {
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Pre-Footer Rocket CTA Banner */
.pre-footer-banner {
  margin: 4rem auto -3rem auto;
  position: relative;
  z-index: 10;
}

.banner-box {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 4rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 20px 40px rgba(29, 78, 216, 0.35);
}

.banner-text h2 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.banner-text p {
  color: #dbeafe;
  font-size: 1.05rem;
}

/* Main Dark Footer */
.main-footer {
  background: var(--bg-dark-footer);
  color: #94a3b8;
  padding: 8rem 0 3rem 0;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

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

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.footer-newsletter input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Floating WhatsApp Widget Styles */
.floating-whatsapp-widget {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  pointer-events: auto !important;
}

.whatsapp-chat-bubble {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 12px 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  max-width: 300px !important;
  animation: fadeInRight 0.5s ease-out !important;
}

.whatsapp-chat-text strong {
  font-size: 0.85rem !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  display: block !important;
}

.whatsapp-chat-text span {
  font-size: 0.75rem !important;
  color: #475569 !important;
  display: block !important;
  margin-top: 2px !important;
}

.floating-whatsapp-btn {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2rem !important;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  animation: pulseGreen 2s infinite !important;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) !important;
  background: #16a34a !important;
  color: #ffffff !important;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

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

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE MEDIA QUERIES (TABLETS & SMARTPHONES)
   ========================================================================== */

/* Laptop & Tablet Desktop Viewport (1024px to 1200px) */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid-8 {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Tablet Landscape & Portrait Viewport (768px to 1023px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-visual-container {
    min-height: 440px;
    margin-top: 1rem;
  }

  .main-hero-man-img {
    width: 260px;
    height: 320px;
  }

  .card-top-left {
    top: 0;
    left: 0;
  }

  .card-top-right {
    top: 0;
    right: 0;
  }

  .card-bottom-left {
    bottom: 0;
    left: 0;
  }

  .card-bottom-right {
    bottom: 0;
    right: 0;
  }

  .card-center-right {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .about-checklist {
    justify-content: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-flow-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .banner-box {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
  }
}

/* Smartphone & Small Tablet Viewport (768px and below) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section-title {
    font-size: 2rem !important;
    line-height: 1.25 !important;
  }

  .section-subtitle {
    font-size: 0.95rem !important;
  }

  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Controlled Non-Overflowing Mobile Hero Cards */
  .hero-visual-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .main-hero-man-img {
    width: 220px;
    height: 260px;
    margin-bottom: 1rem;
  }

  .hero-metric-card {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .card-center-right {
    display: block;
  }

  /* Grid Stackings */
  .services-grid-8,
  .cases-grid-4,
  .blog-grid-3,
  .why-grid,
  .process-flow-grid,
  .info-details-grid,
  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .about-checklist {
    grid-template-columns: 1fr !important;
    text-align: left;
  }

  .about-img-box img {
    height: 300px;
  }

  .excellence-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 1rem auto 0 auto;
    width: 90%;
    justify-content: center;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem !important;
  }

  .banner-box {
    padding: 2rem 1.25rem !important;
  }

  .banner-text h2 {
    font-size: 1.5rem !important;
  }

  .banner-text p {
    font-size: 0.9rem !important;
  }

  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .whatsapp-chat-bubble {
    display: none !important;
  }

  .floating-whatsapp-widget {
    bottom: 20px !important;
    right: 20px !important;
  }

  .floating-whatsapp-btn {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.7rem !important;
  }
}

/* Extra Small Phones (480px and below) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem !important;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem 0 !important;
  }

  .about-section,
  .services-section,
  .why-section,
  .cases-section,
  .industries-section,
  .process-section,
  .reviews-contact-section,
  .blog-section {
    padding: 3.5rem 0 !important;
  }

  .hero-title {
    font-size: 1.85rem !important;
  }

  .section-title {
    font-size: 1.65rem !important;
  }

  .trusted-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .trusted-title {
    max-width: 100%;
  }

  .logos-marquee {
    justify-content: center;
    gap: 1.25rem;
  }

  .industry-pill-item {
    width: 100%;
    justify-content: center;
  }

  .hero-social-proof {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .main-footer {
    padding: 6rem 0 2rem 0;
  }
}
