/* CareTechMobile - iLovePDF Style CSS */
/* Based on iLovePDF design with CareTechMobile branding */

/* ===== CSS RESET & VARIABLES ===== */
:root {
  /* Brand Colors */
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;
  --accent: #FFD700;
  --accent-dark: #e6c200;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --whatsapp: #25D366;
  --telegram: #0088cc;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --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);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 200ms ease;
  --transition-slow: 300ms ease;

  /* Header */
  --header-height: 60px;
}

/* ===== BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary);
}

/* ===== GRID UTILITIES ===== */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== WHATSAPP BUBBLE (For Industry Pages) ===== */
.whatsapp-bubble {
  background: linear-gradient(135deg, #e7ffdb 0%, #dcf8c6 100%);
  border-left: 4px solid #25D366;
  border-radius: 0 12px 12px 12px;
  padding: 16px 20px;
  margin-top: var(--spacing-md);
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1a1a1a;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.whatsapp-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid #dcf8c6;
  border-left: 10px solid transparent;
}

/* Card styling for industry WhatsApp examples */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.card h4 i {
  font-size: 1.2rem;
}

/* Text color utilities for icons */
.text-success {
  color: var(--success);
}

.text-warning {
  color: var(--warning);
}

.text-primary {
  color: var(--primary);
}

.text-gray-500 {
  color: var(--gray-500);
}

/* All Industries Grid */
.industries-section {
  padding-top: 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-lg);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  height: 100%;
  min-height: 280px;
  /* Reduced height for smaller cards */
}

.industry-card img {
  width: 100%;
  height: 160px;
  /* Fixed height for consistent alignment */
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.industry-card:hover img {
  transform: scale(1.05);
}

.industry-card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  /* text-align: center; */
  /* Optional: Center text if preferred, but user asked for alignment */
}

.industry-card h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--gray-900);
  line-height: 1.4;
}

.industry-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
  /* Limit description to 2 lines for alignment */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Grid */
@media (max-width: 1280px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

/* Fix header overlap for pages without .main wrapper */
.hero,
.industry-hero {
  padding-top: calc(var(--header-height) + 2rem);
}


.header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.brand .logo-care {
  color: var(--primary);
  font-weight: 800;
}

.brand .logo-tech {
  color: var(--gray-800);
  font-weight: 500;
}

/* Header Logo Image */
.header-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.brand:hover .header-logo {
  transform: scale(1.02);
}

/* Footer Logo - slightly smaller */
.footer .header-logo {
  height: 36px;
  filter: brightness(1.1);
}

/* Brand Text - 2 Layer (Name + Tagline) */
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray-600);
  letter-spacing: 0.01em;
}

/* Footer brand text - lighter colors */
.footer .brand-name {
  color: var(--primary-light);
}

.footer .brand-tagline {
  color: var(--gray-400);
}

/* Mobile responsive brand text */
@media (max-width: 768px) {
  .brand-text {
    display: none;
  }

  .header-logo {
    height: 38px;
  }

  .hero-image {
    display: none;
  }
}

/* Navigation Menu */
.menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  /* Reduced from xl to md */
}

.menu>ul {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  /* Reduced from lg to sm */
}

.menu>ul>li {
  position: relative;
}

.menu>ul>li>a,
.menu>ul>li>span {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-sm);
  /* Reduced padding */

  font-size: 0.9375rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: color var(--transition);
}

.menu>ul>li>a:hover,
.menu>ul>li>span:hover {
  color: var(--primary);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: all var(--transition);
}

.nav-dropdown a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .link--secondary {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.nav-actions .link--secondary:hover {
  color: var(--primary);
}

.nav-actions .btn--primary {
  border-radius: 8px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn--secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn--secondary:hover {
  background: var(--gray-200);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #1da851;
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--gray-200);
}

.btn-white:hover {
  background: var(--gray-50);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* ===== MAIN CONTENT ===== */
.main {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* Pattern Background */
.pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background: linear-gradient(180deg,
      rgba(79, 70, 229, 0.03) 0%,
      rgba(249, 250, 251, 1) 50%,
      rgba(255, 255, 255, 1) 100%);
  z-index: -1;
}

.pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: radial-gradient(circle at 1px 1px, rgba(79, 70, 229, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.8;
}

/* ===== HOME TITLE / HERO ===== */
.home-title {
  text-align: center;
  padding: 100px 1.5rem 70px;
  max-width: 850px;
  margin: 0 auto;
}

.home-title__title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--spacing-lg);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.home-title__subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gray-600);
  max-width: 650px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.7;
}

.home-title__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* ===== TOOLS / INDUSTRY CARDS ===== */
.tools {
  padding: 60px 1.5rem 80px;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

/* Filter Tags */
.tools__filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.tag {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.tag:hover,
.tag.active {
  background: var(--primary);
  color: var(--white);
}

/* Cards Container */
.tools__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

/* Industry Card */
.tools__item {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.tools__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
}

.tools__item>a {
  display: block;
  padding: var(--spacing-xl);
  text-decoration: none;
}

.tools__item__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tools__item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.tools__item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
}

.tools__item__content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* View All Card */
.tools__item--all {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
}

.tools__item--all:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.tools__item--all h3,
.tools__item--all p {
  color: var(--white);
}

.tools__item--all .tools__item__icon {
  background: rgba(255, 255, 255, 0.2);
}

.tools__item--all .tools__item__icon svg {
  color: var(--white);
}

/* ===== PHONE MOCKUP FOR CHAT DEMOS ===== */
.phone-mockup {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 12px;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  background: #ECE5DD;
  border-radius: 24px;
  overflow: hidden;
  padding-top: 36px;
}

.phone-header {
  background: #075E54;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-header-avatar {
  width: 36px;
  height: 36px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.phone-header-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: white;
}

.phone-header-info p {
  font-size: 0.75rem;
  opacity: 0.8;
  margin: 0;
  color: white;
}

.phone-chat {
  padding: 16px;
  min-height: 280px;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  max-width: 85%;
  font-size: 0.875rem;
  line-height: 1.5;
  position: relative;
}

.chat-bubble--user {
  background: #DCF8C6;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-bubble--bot {
  background: #fff;
  border-bottom-left-radius: 4px;
}

.chat-bubble p {
  margin: 0;
}

.chat-bubble p+p {
  margin-top: 6px;
}

.chat-time {
  text-align: center;
  padding: 8px;
  font-size: 0.75rem;
  color: #667781;
}

/* Telegram Phone Mockup Variant */
.phone-mockup--telegram .phone-header {
  background: linear-gradient(135deg, #0088cc, #0077b5);
}

.phone-mockup--telegram .phone-header-avatar {
  background: #0088cc;
}

.phone-mockup--telegram .phone-screen {
  background: #e8ecef;
}

.phone-mockup--telegram .chat-bubble--user {
  background: #EFFDDE;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--gray-900);
  padding: 80px 1.5rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--spacing-xs);
}

.stat-item p {
  font-size: 1rem;
  color: var(--gray-300);
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 80px 1.5rem 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand .brand {
  margin-bottom: var(--spacing-md);
}

.footer-brand .brand .logo-care {
  color: var(--primary-light);
}

.footer-brand .brand .logo-tech {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: var(--spacing-lg);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--gray-800);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1da851;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {

  .menu>ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--spacing-lg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--gray-100);
    max-height: 80vh;
    overflow-y: auto;
  }

  .menu.active>ul {
    display: flex;
    animation: fadeIn 0.2s ease-out;
  }

  .menu>ul>li {
    width: 100%;
    border-bottom: 1px solid var(--gray-50);
  }

  .menu>ul>li:last-child {
    border-bottom: none;
  }

  .menu>ul>li>a,
  .menu>ul>li>span {
    padding: 1rem 0;
    width: 100%;
    justify-content: space-between;
  }

  /* Mobile Dropdown */
  .nav-dropdown {
    position: static;
    box-shadow: none;
    padding: 0 0 0 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
  }

  .nav-has-dropdown.active .nav-dropdown {
    display: block;
  }

  .nav-actions .link--secondary {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .home-title__title {
    font-size: 2rem;
  }

  .home-title__subtitle {
    font-size: 1rem;
  }

  .tools__container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .home-title {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .home-title__title {
    font-size: 1.75rem;
  }

  .home-title__actions {
    flex-direction: column;
  }

  .btn--lg {
    width: 100%;
  }
}

/* ===== MOBILE MENU (Active State) ===== */
.menu.active>ul {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: var(--spacing-lg);
  gap: 0;
}

.menu.active>ul>li>a,
.menu.active>ul>li>span {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--gray-100);
}

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  align-items: center;
  max-width: 500px;
  margin: 0 auto var(--spacing-xl);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: var(--spacing-sm) var(--spacing-lg);
  transition: all var(--transition);
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: var(--spacing-sm);
  background: transparent;
}

.search-bar button {
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.search-bar button:hover {
  background: var(--primary-dark);
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
}

.badge--success {
  background: var(--success);
}

.badge--warning {
  background: var(--warning);
  color: var(--gray-900);
}

/* ===== ICON HELPERS ===== */
.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ico--down {
  margin-left: 4px;
}

.ico--down::after {
  content: '';
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* ===== V2 STYLE INDUSTRY CARDS (Morning Version) ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.industry-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.industry-card h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.industry-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.4;
}

/* View All Industries Card */
.industry-card--all {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.industry-card--all .industry-card-content {
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding-top: 80px;
}

.industry-card--all h4 {
  font-size: 1.5rem;
}

.industry-card--all p {
  opacity: 0.9;
}

.industry-card--all svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Industries Section */
.industries-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.industries-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.industries-section .section-header .badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.industries-section .section-header h2 {
  font-size: 2.25rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.industries-section .section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin: 0;
}

.industry-card {
  min-height: 200px;
}

/* ===== REFINED INDUSTRY PAGE STYLES (V3) ===== */

/* Section Pills (Blue/Indigo Background) */
.section-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: #e0e7ff;
  color: #4338ca;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* WhatsApp Message Bubble */
.whatsapp-bubble {
  background: #E8F5E9;
  /* Light Green as requested */
  border-left: 5px solid #25D366;
  padding: 1.5rem;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  /* Cleaner than monospace, but structured */
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.whatsapp-bubble p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #1f2937;
}

.whatsapp-bubble p:last-child {
  margin-bottom: 0;
}

/* Icon Colors */
.text-warning {
  color: #f59e0b;
  /* Amber/Orange */
}

.text-success {
  color: #10b981;
  /* Green */
}

/* Section Spacing & Headers */
.section {
  padding: 80px 0;
  /* Increased to 80px (min 60px requested) */
}

.section-header h2 {
  font-size: 2rem;
  /* approx 32px */
  font-weight: 800;
  color: var(--gray-900);
}

/* CTA Buttons Centering */
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-buttons .btn {
  min-width: 200px;
  /* Thumb-friendly width */
  justify-content: center;
  padding: 1rem 2rem;
  /* Larger touch area */
  font-size: 1.1rem;
}

@media (max-width: 640px) {
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-info-item .icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 4px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Form Styling */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--spacing-xs);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #f1f5f9;
  color: var(--gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* WhatsApp Button Full Width */
.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: white;
}

.btn-whatsapp svg {
  fill: currentColor;
}

/* ===== COMPATIBILITY & UTILITIES (Added for About Page) ===== */
:root {
  /* Aliases for compatibility */
  --space-xs: var(--spacing-xs);
  --space-sm: var(--spacing-sm);
  --space-md: var(--spacing-md);
  --space-lg: var(--spacing-lg);
  --space-xl: var(--spacing-xl);
  --space-2xl: var(--spacing-2xl);
  --space-3xl: var(--spacing-3xl);
  --fs-lg: 1.125rem;
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-100);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  background: var(--gray-50);
  transition: all var(--transition);
  background-clip: padding-box;
  flex-shrink: 0;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
  color: var(--primary);
}

/* Fix for inline gradient backgrounds to show white icon */
.card-icon[style*="gradient"] svg {
  color: white;
}

/* ===== USER MENU (Logged In State) ===== */
.user-menu {
  position: relative;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.user-menu-btn:hover {
  background: var(--gray-200);
  border-color: var(--gray-300);
}

.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
}

.user-avatar-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
}

.user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.user-dropdown-header strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--gray-900);
}

.user-dropdown-header small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition);
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.user-dropdown-item:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.user-dropdown-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 4px 0;
}

.user-dropdown-logout {
  color: var(--error);
}

.user-dropdown-logout:hover {
  background: #fee2e2;
  color: var(--error);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .user-name {
    display: none;
  }

  .user-menu-btn {
    padding: 6px;
  }

  .user-menu-btn svg {
    display: none;
  }
}