/*
 * srvalue.in - Premium Landing Page Stylesheet
 * Design Reference: gofrugal.com
 * Typography: Montserrat (Headings), Inter (Body)
 */

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

/* --- Design Tokens --- */
:root {
  --primary: #1e2265;
  /* Premium Dark Blue */
  --primary-light: #2c328b;
  /* Lighter Blue */
  --primary-dark: #11143c;
  /* Deep Navy */
  --accent: #e22820;
  /* GoFrugal Crimson Red */
  --accent-hover: #b81e18;
  /* Crimson Hover */
  --text-dark: #23262f;
  /* Neutral Dark Text */
  --text-muted: #5f6677;
  /* Neutral Muted Text */
  --bg-light: #f7f9fd;
  /* Light Blue-Grey Background */
  --bg-white: #ffffff;
  /* Pure White */
  --bg-alt: #f0f3f9;
  /* Light Grey Alternate */
  --border: #e6e9f0;
  /* Soft Border Color */
  --success: #10b981;
  /* Accent Success Teal */

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 2px 4px rgba(30, 34, 101, 0.04);
  --shadow-md: 0 6px 12px rgba(30, 34, 101, 0.06);
  --shadow-lg: 0 12px 24px rgba(30, 34, 101, 0.08);
  --shadow-xl: 0 24px 48px rgba(30, 34, 101, 0.12);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

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

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  outline: none;
}

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

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

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

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

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

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(226, 40, 32, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(226, 40, 32, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

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

.btn-white:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* --- Navigation Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(230, 233, 240, 0.5);
  transition: var(--transition);
}

.header.scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition);
}

.header.scrolled .nav-container {
  height: 70px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--accent);
}

.logo-image {
  object-fit: contain;
  transition: var(--transition);
}

.logo-separator {
  align-self: center;
}

.zoho-partner-container {
  display: inline-flex;
  align-items: center;
}

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

.nav-item a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary);
  position: relative;
  padding: 8px 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-item.active a {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f4f6fa 0%, #e9edf5 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(226, 40, 32, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-quote {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-quote .quote-text {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 8px;
}

.hero-quote .quote-author {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(226, 40, 32, 0.08);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(226, 40, 32, 0.2);
}

/* Hero Mockup Widget */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-container {
  width: 100%;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(30, 34, 101, 0.08);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: var(--transition);
}

.mockup-container:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) translateY(-5px);
}

.mockup-header {
  background-color: var(--primary);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.mockup-dot.red {
  background-color: #ef4444;
}

.mockup-dot.yellow {
  background-color: #f59e0b;
}

.mockup-dot.green {
  background-color: #10b981;
}

.mockup-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 12px;
  letter-spacing: 0.5px;
}

.mockup-body {
  padding: 24px;
  background-color: #f8fafc;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dashboard-card {
  background-color: var(--bg-white);
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.dashboard-card h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.dashboard-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.dashboard-card.large {
  grid-column: span 2;
}

.chart-mock {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-bottom: 2px solid var(--border);
}

.chart-bar {
  flex: 1;
  background-color: var(--primary-light);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  transition: var(--transition);
  animation: growBar 1.5s ease-out forwards;
  transform-origin: bottom;
}

.chart-bar.accent {
  background-color: var(--accent);
}

@keyframes growBar {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

.float-card {
  position: absolute;
  background-color: var(--bg-white);
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  border: 1px solid rgba(230, 233, 240, 0.8);
}

.float-card-1 {
  bottom: 20px;
  left: -40px;
}

.float-card-2 {
  top: 40px;
  right: -30px;
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.float-icon.red {
  background-color: rgba(226, 40, 32, 0.1);
  color: var(--accent);
}

.float-icon.blue {
  background-color: rgba(30, 34, 101, 0.1);
  color: var(--primary);
}

.float-info span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.float-info strong {
  font-size: 0.95rem;
  color: var(--primary);
}

/* --- Solutions Showcase (Tabs) --- */
.solutions {
  background-color: var(--bg-white);
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 16px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-btn i {
  font-size: 1.1rem;
}

.tab-btn:hover {
  background-color: var(--bg-alt);
  border-color: rgba(30, 34, 101, 0.15);
}

.tab-btn.active {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tab-content {
  position: relative;
  min-height: 420px;
}

.tab-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

.tab-pane-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.tab-pane-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.pane-features {
  list-style: none;
  margin-bottom: 32px;
}

.pane-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--primary);
}

.pane-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: bold;
}

.tab-pane-visual {
  background: linear-gradient(135deg, #f4f6fa 0%, #e5e9f2 100%);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border);
  min-height: 380px;
}

/* Device Graphic Mockups inside tab visual */
.pos-graphic {
  position: relative;
  width: 100%;
  max-width: 340px;
}

.pos-base {
  background-color: #334155;
  height: 200px;
  border-radius: 12px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 4px solid #1e293b;
}

.pos-screen {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 40px;
  background-color: #0f172a;
  border-radius: 6px;
  padding: 10px;
  color: #38bdf8;
  font-family: monospace;
  font-size: 0.75rem;
  overflow: hidden;
}

.pos-receipt {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 0px;
  background-color: #fff;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: spitReceipt 2s ease forwards 1s;
}

@keyframes spitReceipt {
  to {
    height: 45px;
  }
}

/* --- Value Propositions (Transform Grid) --- */
.why-us {
  background-color: #0c1033;
  /* Deep navy from design image */
  color: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 100px;
  gap: 20px;
}

.why-card {
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 1;
}

/* Card color themes */
.why-card.card-yellow {
  background-color: #ffeb3b;
  /* Vibrant Yellow */
  color: #0c1033;
  border: none;
}

.why-card.card-white {
  background-color: #ffffff;
  color: #0c1033;
  border: none;
}

.why-card.card-slate {
  background-color: #232b4e;
  /* Slate Blue */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.why-card.card-image {
  padding: 0;
  border: none;
  background: none;
  box-shadow: var(--shadow-lg);
}

.why-card.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

/* Bento card internals */
.bento-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.card-yellow .bento-title,
.card-white .bento-title {
  color: #0c1033;
}

.bento-stat-row {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bento-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  /* Crimson red accent */
}

.card-yellow .bento-number {
  color: #0c1033;
  /* Dark for yellow card contrast */
}

.bento-subtext {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.8;
}

.bento-body {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Hover effects */
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- Statistics Section --- */
.stats {
  padding: 80px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

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

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.stats-bar-container {
  width: 100%;
  height: 3px;
  background-color: var(--border);
  margin-bottom: 24px;
  position: relative;
}

.stats-bar {
  height: 100%;
  background-color: #e22820;
  /* Soft lime green matching the image */
  position: absolute;
  left: 0;
  top: 0;
}

.stats-number-wrapper {
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
}

.stats-item .number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.plus-sign {
  font-size: 2.2rem;
  font-weight: 700;
  color: #b81e18;
  margin-left: 4px;
}

.stats-item .label {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

/* --- Client Showcase --- */
.clients {
  background-color: var(--bg-white);
  padding: 100px 0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.client-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: var(--transition);
}

.client-card:hover {
  transform: translateY(-5px);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 34, 101, 0.15);
}

.client-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #0b0d18; /* Dark/navy background matching design */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.client-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.client-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Interactive FAQ Accordion --- */
.faq {
  background-color: var(--bg-white);
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: flex-start;
}

.faq-left {
  position: sticky;
  top: 120px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f3e8ff; /* Soft light violet background */
  color: #6366f1; /* Indigo/violet text */
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.faq-left h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 24px;
}

.faq-left h2 span {
  color: #6366f1; /* Accent violet */
}

.faq-left p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-right {
  width: 100%;
}

.faq-list {
  max-width: 100%;
  margin: 0;
}

.faq-item {
  background-color: #f8fafc; /* Very light gray/blue container */
  border-radius: var(--radius-md); /* 12px rounded corner matching design */
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.2);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  background-color: var(--bg-white);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}

.faq-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: #818cf8; /* Violet/indigo background matching design */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background-color: #6366f1;
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  padding: 0 30px 24px 30px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
  .faq-left h2 {
    font-size: 2.5rem;
  }
}

/* --- Contact / Inquiry Section --- */
.contact {
  background-color: var(--bg-white);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.contact-form-container {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contact-form p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--primary);
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  background-color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 34, 101, 0.08);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: rgba(226, 40, 32, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.info-details p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.map-container {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-top: 20px;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 34, 101, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.map-overlay span {
  background: var(--primary);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.map-container:hover .map-overlay {
  background: rgba(30, 34, 101, 0.25);
}

.map-container:hover .map-overlay span {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   PRE-FOOTER CTA PANEL
═══════════════════════════════════════════════ */
.prefooter {
  position: relative;
  background: #0a0a0f;
  overflow: hidden;
  padding: 100px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Noise texture overlay */
.prefooter-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Mesh gradient */
.prefooter-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(226,40,32,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 85% 30%, rgba(61,29,255,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 110%, rgba(124,58,237,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.prefooter-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.prefooter-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}

.prefooter-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e22820;
  box-shadow: 0 0 8px rgba(226,40,32,0.8);
  animation: orb-pulse 2s ease-in-out infinite;
}

.prefooter-headline {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
}

.prefooter-headline em {
  font-style: normal;
  background: linear-gradient(135deg, #e22820 20%, #ff7c42 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prefooter-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 44px;
}

.prefooter-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.pf-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e22820;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(226,40,32,0.4);
}
.pf-btn-primary:hover {
  background: #c41e18;
  box-shadow: 0 0 40px rgba(226,40,32,0.5);
  transform: translateY(-2px);
}
.pf-btn-primary svg { transition: transform 0.3s ease; }
.pf-btn-primary:hover svg { transform: translateX(4px); }

.pf-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.pf-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   TICKER MARQUEE
═══════════════════════════════════════════════ */
.footer-ticker {
  background: #0d0d14;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.28);
}
.ticker-dot {
  color: #e22820 !important;
  opacity: 1 !important;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   MAIN FOOTER
═══════════════════════════════════════════════ */
.cosmic-footer {
  position: relative;
  background: radial-gradient(ellipse at 20% 50%, #0d0f2b 0%, #060811 60%, #0a0316 100%);
  overflow: hidden;
  padding: 0;
  isolation: isolate;
}

/* Star canvas */
.footer-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Aurora glow blobs */
.footer-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
  animation: aurora-drift 12s ease-in-out infinite alternate;
}
.footer-aurora-1 {
  width: 600px; height: 400px;
  background: radial-gradient(circle, #3d1dff 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.footer-aurora-2 {
  width: 500px; height: 350px;
  background: radial-gradient(circle, #e22820 0%, transparent 70%);
  top: 0; right: -80px;
  animation-delay: -4s;
}
.footer-aurora-3 {
  width: 450px; height: 300px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  bottom: 80px; left: 40%;
  animation-delay: -8s;
}
@keyframes aurora-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Inner content wrapper */
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── CTA STRIP ── */
.footer-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 72px 0 60px;
  flex-wrap: wrap;
}
.footer-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a78bfa;
  margin-bottom: 16px;
}
.footer-cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}
.footer-cta-title span {
  background: linear-gradient(135deg, #e22820, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-cta-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  flex-shrink: 0;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #e22820, #ff4d35);
  color: #ffffff;
  padding: 18px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(226, 40, 32, 0.4);
}
.footer-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(226, 40, 32, 0.6);
}
.footer-cta-btn i {
  transition: transform 0.3s ease;
}
.footer-cta-btn:hover i {
  transform: translateX(5px);
}
.footer-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.footer-phone-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ── DIVIDER ── */
.footer-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}
.footer-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.footer-divider-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e22820;
  box-shadow: 0 0 16px 4px rgba(226,40,32,0.6);
  animation: orb-pulse 2s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%, 100% { box-shadow: 0 0 16px 4px rgba(226,40,32,0.6); }
  50%       { box-shadow: 0 0 30px 8px rgba(226,40,32,0.9); }
}

/* ── MAIN GRID ── */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

/* Brand column */
.footer-brand-col {}
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  margin-bottom: 24px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-logo-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.footer-logo-img {
  height: 32px;
  width: auto;
  filter: none;
}
.footer-zoho-img {
  height: 26px;
  width: auto;
  filter: none;
  opacity: 1;
}
.footer-logo-sep {
  width: 1px;
  height: 24px;
  background: rgba(0, 0, 0, 0.15);
}
.footer-brand-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Stat pills */
.footer-stat-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.footer-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 70px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.footer-stat-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(226,40,32,0.4);
  transform: translateY(-3px);
}
.footer-stat-pill strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.footer-stat-pill span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-social:hover {
  background: #e22820;
  border-color: #e22820;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(226,40,32,0.4);
}

/* Link columns */
.footer-links-col {}
.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}
.footer-link-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-link-list li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}
.footer-link-list li a i {
  font-size: 0.65rem;
  color: #e22820;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
}
.footer-link-list li a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-link-list li a:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* Contact list */
.footer-contact-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(226,40,32,0.15);
  border: 1px solid rgba(226,40,32,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e22820;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-list a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-list a:hover { color: #ffffff; }
.footer-contact-list strong { color: #ffffff; }

/* ── GIANT WATERMARK WORDMARK ── */
.footer-wordmark {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  text-align: center;
  letter-spacing: -2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  margin-bottom: 40px;
  position: relative;
}

/* ── BOTTOM BAR ── */
.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-copyright strong { color: rgba(255,255,255,0.6); }
.footer-bottom-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 6px 14px;
}
.footer-badge i { color: #e22820; }

/* ── FOOTER RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .footer-cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 0 40px;
  }
  .footer-cta-right {
    width: 100%;
  }
  .footer-cta-btn,
  .footer-phone-btn {
    width: 100%;
    justify-content: center;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-inner { padding: 0 20px; }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Animation Classes (Scroll triggerable) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile / Responsive Styles --- */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .why-card {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 200px;
  }

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

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

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .why-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    gap: 16px;
  }
  .why-card {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto !important;
  }

  /* Navigation mobile menu */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    box-shadow: 0 10px 15px rgba(30, 34, 101, 0.05);
    transition: var(--transition);
    align-items: flex-start;
    z-index: 999;
  }

  .header.scrolled .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .mockup-container {
    transform: none;
    max-width: 480px;
    margin: 0 auto;
  }

  .mockup-container:hover {
    transform: translateY(-5px);
  }

  .float-card-1 {
    left: -10px;
  }

  .float-card-2 {
    right: -10px;
  }

  .tab-pane {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tab-pane-visual {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

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

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

  .contact-form-container {
    padding: 24px 16px;
  }

  .logo-image {
    height: 32px !important;
  }
  .logo-separator {
    height: 20px !important;
    margin: 0 6px !important;
  }
  .zoho-partner-container img {
    height: 24px !important;
  }
  .zoho-partner-container span {
    font-size: 0.7rem !important;
  }
  .header .btn-sm {
    display: none !important;
  }
}