/* ==========================================================================
   PIXELWOLF.IN - INFOSYS & ACCENTURE HERO STYLE + CORPORATE DESIGN SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CORPORATE RED & PURE WHITE TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Light Mode Default */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent-red: #dc2626;
  --accent-red-dark: #b91c1c;
  --accent-red-light: #ef4444;

  --border-color: #e2e8f0;
  --border-color-glow: rgba(220, 38, 38, 0.4);

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.25s ease-out;
}

/* Executive Dark Mode Overrides (for sub-sections) */
[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --bg-card-hover: #26334d;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-glow: rgba(220, 38, 38, 0.5);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   2. BASE & RESET & MARIONETTE REGION CSS PAGE TRANSITIONS
   -------------------------------------------------------------------------- */
*, *::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-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Marionette Region CSS Page Transition Styling */
#main-region {
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  transform-origin: center top;
}

body.marionette-leaving #main-region {
  opacity: 0;
  transform: scale(0.985) translateY(-14px);
}

body.marionette-entering #main-region {
  opacity: 0;
  transform: scale(0.99) translateY(24px);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

a {
  color: var(--accent-red);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 85px 0;
  position: relative;
}

.text-center { text-align: center; }
.text-red { color: var(--accent-red) !important; }
.relative-z { position: relative; z-index: 2; }

/* Corporate Solid Card Panel */
.card-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-panel:hover {
  border-color: var(--accent-red);
  transform: translateY(-3px);
}

.highlight-panel {
  background: var(--bg-secondary);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Section Header */
.section-header {
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius-sm);
  color: var(--accent-red);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   3. BUTTONS & CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: var(--accent-red);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-red-dark);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--accent-red);
  background: rgba(220, 38, 38, 0.08);
  color: var(--accent-red);
}

.btn-hero-secondary {
  background: #0f172a;
  border: 1px solid #0f172a;
  color: #ffffff;
}

.btn-hero-secondary:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent-red);
  color: var(--accent-red);
}

.btn-outline:hover {
  background: var(--accent-red);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.btn-link:hover {
  color: var(--accent-red-dark);
  gap: 10px;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR (ALWAYS WHITE & LIGHT TRANSLUCENT GLASS)
   -------------------------------------------------------------------------- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  padding: 16px 0;
  transition: background var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.corporate-red-svg {
  width: 100%;
  height: 100%;
}

.logo-brand-wrap {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #0f172a !important;
  line-height: 1.1;
}

.logo-text .highlight {
  color: var(--accent-red) !important;
}

.logo-subtext {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #64748b !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.92rem;
}

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

/* Services Dropdown Styling */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-arrow {
  font-size: 0.72rem;
  transition: transform var(--transition-fast);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 340px;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-top: 2px solid var(--accent-red) !important;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12) !important;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
  color: var(--accent-red);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: #0f172a !important;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(220, 38, 38, 0.08) !important;
}

.dropdown-icon {
  color: var(--accent-red);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.dropdown-item strong {
  display: block;
  color: #0f172a !important;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.dropdown-item span {
  display: block;
  color: #64748b !important;
  font-size: 0.74rem;
  line-height: 1.3;
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  background: rgba(15, 23, 42, 0.06) !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  color: #0f172a !important;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-red) !important;
}

.moon-icon { display: block; }
.sun-icon { display: none; }

[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: block; color: var(--accent-red); }

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0f172a !important;
}

/* --------------------------------------------------------------------------
   5. WHITE BACKGROUND HERO SECTION (ALWAYS WHITE & RED KINETIC DOTS)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  background: #ffffff !important;
  color: #0f172a !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
  box-sizing: border-box;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-container-single {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

/* Hero Story Slider Tabs */
.hero-story-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
  text-align: left;
}

.story-tab {
  position: relative;
  padding-top: 10px;
  border-top: 2px solid rgba(15, 23, 42, 0.14) !important;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}

.story-tab:hover, .story-tab.active {
  opacity: 1;
  border-top-color: var(--accent-red) !important;
}

.story-progress {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  overflow: hidden;
}

.story-progress .progress-bar {
  width: 0%;
  height: 100%;
  background: var(--accent-red);
}

.story-tab.active .progress-bar {
  animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

.story-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-red);
  display: block;
}

.story-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-red);
  margin-bottom: 22px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-red);
  border-radius: 50%;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  line-height: 1.15;
  color: #0f172a !important;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #475569 !important;
  margin: 0 auto 32px auto;
  max-width: 800px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Integrated Hero Highlights Pillar Bar */
.stats-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 48px 0;
  position: relative;
  z-index: 10;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   6. WHO WE PARTNER WITH - EXECUTIVE PROFESSIONAL ANIMATIONS
   -------------------------------------------------------------------------- */
.who-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  background: var(--bg-card);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

/* Top Red Accent Expand Line */
.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-red-light));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.partner-card:hover {
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.partner-card:hover::before {
  width: 100%;
}

.partner-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.22);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover .partner-icon {
  transform: scale(1.1) translateY(-2px);
  background: rgba(220, 38, 38, 0.16);
  border-color: var(--accent-red);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.2);
}

.partner-icon i {
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-icon i {
  transform: scale(1.1);
}

.partner-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.partner-card:hover h3 {
  color: var(--accent-red);
}

.partner-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.partner-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.partner-card:hover .partner-check-list {
  border-top-color: rgba(220, 38, 38, 0.2);
}

.partner-check-list li {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.partner-check-list li i {
  color: var(--accent-red);
  font-size: 0.82rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.partner-card:hover .partner-check-list li {
  transform: translateX(4px);
}

.partner-card:hover .partner-check-list li i {
  transform: scale(1.25);
  color: var(--accent-red-dark);
}

.value-highlight-card {
  padding: 56px 40px;
}

.value-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 32px 0;
  text-align: center;
}

.val-pillar {
  padding: 20px;
}

.val-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.val-pillar h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.val-pillar p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.value-cta-wrap {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   7. STANDALONE ABOUT PAGE STYLES & DYNAMIC ANIMATIONS
   -------------------------------------------------------------------------- */
.page-banner-section {
  position: relative;
  padding: 160px 0 70px 0;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

#about-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.page-banner-title {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.page-banner-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Animated Agency Impact Stats Bar for About Page */
.about-stats-bar {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-stat-item {
  padding: 12px;
}

.stat-num-wrap {
  margin-bottom: 4px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1.1;
}

.stat-desc {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.why-card {
  height: 100%;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.process-card {
  position: relative;
  overflow: hidden;
  padding: 36px 28px 28px 28px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-red);
  box-shadow: var(--shadow-md);
}

.process-number {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(220, 38, 38, 0.2);
  line-height: 1;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.process-card:hover .process-number {
  color: var(--accent-red);
  transform: scale(1.08);
}

.process-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.process-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-banner-card {
  padding: 56px 32px;
}

.cta-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 32px auto;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   8. SERVICES / PRACTICE AREAS - EXECUTIVE PROFESSIONAL ANIMATIONS
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  background: var(--bg-card);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

/* Top Red Accent Expand Line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-red-light));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.service-card:hover {
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.service-card:hover::before {
  width: 100%;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.22);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-icon {
  transform: scale(1.1) translateY(-2px);
  background: rgba(220, 38, 38, 0.16);
  border-color: var(--accent-red);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.2);
}

.card-icon i {
  transition: transform 0.3s ease;
}

.service-card:hover .card-icon i {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.service-card:hover .service-title {
  color: var(--accent-red);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.89rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.service-card:hover .card-footer {
  border-top-color: rgba(220, 38, 38, 0.2);
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.btn-link i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .btn-link {
  color: var(--accent-red-dark);
}

.service-card:hover .btn-link i {
  transform: translateX(6px);
}

.hidden { display: none !important; }

/* --------------------------------------------------------------------------
   9. ABOUT & CONTACT
   -------------------------------------------------------------------------- */
.about-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.about-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.about-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.af-item {
  display: flex;
  gap: 12px;
}

.af-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.af-item h4 {
  font-size: 0.94rem;
  margin-bottom: 2px;
}

.af-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.contact-info-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
}

.contact-info-list li i {
  color: var(--accent-red);
  font-size: 1rem;
  margin-top: 2px;
}

.contact-info-list strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-info-list span, .contact-info-list a {
  color: var(--text-secondary);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.full-width { grid-column: 1 / -1; }

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.input-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.input-group input, .input-group select, .input-group textarea {
  width: 100%;
  padding: 11px 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  border-color: var(--accent-red);
}

/* --------------------------------------------------------------------------
   10. FOOTER & WIDGETS
   -------------------------------------------------------------------------- */
.footer {
  background: #0f172a;
  color: #f8fafc;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 24px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.86rem;
  margin: 12px 0 14px 0;
}

.footer-location {
  font-size: 0.82rem;
  color: #64748b;
}

.footer-col h4 {
  font-size: 0.94rem;
  color: #ffffff;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 22px; height: 2px;
  background: var(--accent-red);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.84rem;
}

.footer-col a:hover {
  color: var(--accent-red);
}

.contact-list li {
  font-size: 0.84rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
}

.legal-links {
  display: flex;
  gap: 14px;
}

.legal-links a { color: #64748b; }

.floating-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widget-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
}

.widget-btn:hover { transform: scale(1.08); }
.whatsapp-btn { background: #25d366; }
.phone-btn { background: var(--accent-red); }

/* Modal & Toast */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-container {
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: var(--text-primary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header { margin-bottom: 16px; }
.modal-badge { font-size: 0.74rem; color: var(--accent-red); font-weight: 800; margin-bottom: 4px; }
.modal-header h3 { font-size: 1.5rem; margin-bottom: 4px; }
.modal-header p { color: var(--text-secondary); font-size: 0.88rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.modal-form .input-group { margin-bottom: 12px; }

.toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--accent-red);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.86rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   11. DEDICATED CONTACT PAGE & GOOGLE MAPS EMBED STYLES
   -------------------------------------------------------------------------- */
.contact-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card-item {
  text-align: center;
  padding: 32px 20px;
}

.contact-card-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.contact-card-item p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.contact-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-red);
}

.contact-link:hover {
  color: var(--accent-red-dark);
}

.contact-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

.map-card-wrap {
  padding: 28px;
}

.google-map-container {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS (PERFECT MOBILE & TABLET LAYOUTS)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 60px 0;
  }
  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.98) !important;
    border: none;
    display: none;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
  .who-partner-grid, .value-pillars-grid, .why-grid, .process-grid, .about-container, .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  
  /* Fixed 1-column layout for Mobile Contact & Map */
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .contact-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hamburger-btn { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 18px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .hero-title { font-size: 2.4rem; }
  .page-banner-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  /* Clean 2x2 Hero Story Navigation Tabs without line overlaps */
  .hero-story-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
  }

  .story-tab {
    padding-top: 8px;
    border-top: 2px solid rgba(15, 23, 42, 0.14) !important;
    min-height: 44px;
  }

  .story-title {
    font-size: 0.78rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.25;
  }
}

@media (max-width: 600px) {
  .services-grid, .footer-container, .stats-container, .contact-grid-4 {
    grid-template-columns: 1fr;
  }
  .contact-form-grid, .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.95rem; }
  .section-title { font-size: 1.7rem; }
  
  .google-map-container iframe {
    height: 280px;
  }
}
