/* ConversionPartner.com Stylesheet
 * Modern, conversion-optimized design inspired by n8n.io and railway.app
 */

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

/* ===== CSS VARIABLES ===== */
:root {
  /* Light Theme (Default) */
  --bg-primary: #F7F8FA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #EAEEF6;
  --text-primary: #212121;
  --text-secondary: #4F4F4F;
  --text-tertiary: #757575;
  --accent-primary: #2979FF;
  --accent-secondary: #5C6BC0;
  --accent-success: #00C853;
  --accent-hover: #1565C0;
  --border-color: #E0E0E0;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --nav-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --next-section-bg: #f9f9f9;
  
  /* Animation Speeds */
  --transition-fast: 0.2s;
  --transition-medium: 0.3s;
  --transition-slow: 0.5s;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: #121212;
  --bg-secondary: #1E1E1E;
  --bg-tertiary: #2D2D2D;
  --text-primary: #F7F8FA;
  --text-secondary: #E0E0E0;
  --text-tertiary: #BDBDBD;
  --border-color: #424242;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  --nav-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  --next-section-bg: #121212; 
}

[data-theme="dark"] .hero {
  background: linear-gradient(to bottom right, rgba(18, 18, 18, 0.95), rgba(34, 34, 34, 0.95));
}

/* Optional: Adjust particle visibility in dark mode */
[data-theme="dark"] .particles-container canvas {
  opacity: 0.7;
}

[data-theme="dark"] .flow-tab {
  color: white;
}

[data-theme="dark"] .conversion-lg{
  color:#fff;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-medium), color var(--transition-medium);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

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

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

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

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

section { scroll-margin-top: 80px; }

section:first-of-type {
  padding-top: 100px; /* Or use margin-top if preferred */
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col {
  padding: 0 15px;
  flex: 1;
}

/* Column widths */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Text alignment */
.text-center {
  text-align: center;
}

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

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

/* Margin utilities */
.mt-lg {
  margin-top: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.conversion-lg{
  color:#000;
}
.partner-lg{
color: var(--accent-primary);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-secondary);
  box-shadow: var(--nav-shadow);
  transition: all var(--transition-medium);
  padding: var(--space-md) 0;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 32px;
  margin-right: var(--space-sm);
}

.navbar-logo span {
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-links {
  display: flex;
  align-items: center;
}

.navbar-links a {
  margin-left: var(--space-lg);
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width var(--transition-fast);
}

.navbar-links a:hover::after {
  width: 100%;
}

.theme-toggle {
  margin-left: var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--bg-tertiary);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 121, 255, 0.3);
  color: #fff;
}

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

.btn-secondary:hover {
  /*background-color: rgba(41, 121, 255, 0.1);*/
  transform: translateY(-2px);
  background-color: var(--accent-primary);
  color: #fff;
  transition: background-color 0.3s ease;
}

.btn-lg {
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1.25rem, 4vw, 2rem);
  font-size: clamp(1rem, 2.5vw, 1rem);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-nav{
  color: #fff!important;
}

.btn-icon {
  margin-right: var(--space-sm);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Navbar space */
  background: linear-gradient(to bottom right, rgba(247, 248, 250, 0.8), rgba(234, 238, 246, 0.8));
}

/* Flex layout for hero inner content */
.hero-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 2;
  position: relative;
  flex-wrap: wrap;
  padding-top: 4rem;
  padding-bottom: 4rem;
  gap: 0;
}

/* Hero content left */
.hero-content {
  max-width: 600px;
  flex: 1 1 50%;
  z-index: 2;
  position: relative;
}

.hero-title {
  max-width: 600px;
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

/* Hero image right */
.hero-image {
  flex: 1 1 50%;
  text-align: right;
  z-index: 2;
  position: relative;
  animation: fadeInRight 1.2s ease-in-out forwards;  
}

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

.hero-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  justify-content: center;
}

.scroll-hint {
  text-align: center;
  margin-top: 1rem;
  font-size: 2rem;
  color: var(--text-secondary);
  animation: bounce 2s infinite;
  display:block;
  margin-left: auto;
  margin-right: auto;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Particles background */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#particles-js {
  width: 100%;
  height: 100%;
}

.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: var(--space-md);
}

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

/* ===== WHAT WE DO SECTION ===== */

#what-we-do p {
  margin-bottom: var(--space-lg);
}

p.feature-desc{
  min-height: 100px;    
}

#what-we-do::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  z-index: 0;
}

.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: var(--space-xl);
}

.feature-card {
  background: var(--bg-secondary, #fff);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card:hover .feature-icon img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.feature-icon img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  transform: scale(1.1);
  color: var(--accent-primary);
}

.feature-icon svg {
  transition: all 0.3s ease;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-lg);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;  
}



.feature-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.feature-benefit {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  color: var(--accent-primary);
}

/* ===== ROI CALCULATOR ===== */
.calculator {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--card-shadow);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background-color: var(--bg-primary);
  width: 100%;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.btn-spinner {
  display: inline-block;
  margin-left: 10px;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.calculator-result {
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  display: none;
}

.calculator-result.active {
  display: block;
  animation: fadeIn var(--transition-medium);
  margin-top: 20px;
}

.result-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-success);
  margin-bottom: var(--space-sm);
}

/* Fix layout spacing */
#phone {
  width: 100%;
  padding-left: 88px!important;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background-color: var(--bg-primary);
}

/* Add this to your stylesheet */
.intl-tel-input {
  display: block;
}
.intl-tel-input .country-list {
  z-index: 9999;
}
/* Hide the native dropdown arrow */
#phone::-webkit-inner-spin-button,
#phone::-webkit-outer-spin-button,
#phone::-webkit-clear-button {
  -webkit-appearance: none;
  margin: 0;
}
#phone {
  -moz-appearance: textfield;
}

/* Ensure the intl-tel-input container adapts */
.iti {
  width: 100%;
}

/* Optional: adjust dropdown arrow spacing */
.iti__flag-container {
  margin-right: 10px;
}

/* Match styling with your other inputs */
.iti--allow-dropdown input, .iti--allow-dropdown input[type=tel], .iti--allow-dropdown input[type=text], .iti--separate-dial-code input, .iti--separate-dial-code input[type=tel], .iti--separate-dial-code input[type=text] {
  width: 100%;
  height: 48px;
  padding-left: 58px !important; /* space for flag */
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: var(--bg-primary);
  transition: border-color 0.3s ease;
  box-shadow: none;
}

.iti input[type="tel"]{
    background-color: var(--bg-primary);
}

/* Active/focus style */
.iti input[type="tel"]:focus {
  border-color: #3b82f6; /* Tailwind 'blue-500' */
  outline: none;
}

/* Remove default border from dropdown button */
.iti .iti__flag-container {
  background-color: transparent;
  border-right: 1px solid #ddd;
}

/* Country dropdown menu */
.iti__country-list {
  z-index: 10000; /* Avoid being cut off */
  max-height: 250px;
  overflow-y: auto;
}

/* ===== CONVERSION FLOWS SECTION ===== */
.flow-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.flow-tab {
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

.flow-tab:hover {
  background-color: var(--bg-tertiary);
}

.flow-tab.active,
.flow-tab:focus {
  background-color: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.flow-tab[role="tab"]:focus {
  outline: 2px dashed var(--accent-primary);
  outline-offset: 2px;
}

.flows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.flow-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
}

.flow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.flow-card:hover .flow-overlay {
  opacity: 1;
}

.flow-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.flow-description {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.flow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(41, 121, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.flow-cta {
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== USE CASES ===== */
.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
}

.use-case {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--card-shadow);
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  transition: transform var(--transition-medium);
}

.use-case:hover {
  transform: translateY(-5px);
}

.use-case-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto var(--space-md);
  color: var(--accent-primary);
}

.use-case-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.use-case-description {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* ===== RESULTS SECTION ===== */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
  margin-bottom: var(--space-xxl);
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}

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

.testimonials {
  position: relative;
  padding: var(--space-xl) 0;
}

.testimonial {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--card-shadow);
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-role {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-xxl);
}

.trust-logo {
  height: 40px;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.trust-logo:hover {
  opacity: 1;
}

/* ===== FAQ SECTION ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  padding: var(--space-lg) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-icon {
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
  padding-right: var(--space-xl);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

/* ===== CONTACT SECTION ===== */
.contact-form-container {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--card-shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-steps {
  display: flex;
  margin-bottom: var(--space-xl);
}

#form-progress-bar-container {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

#form-progress-bar {
  height: 100%;
  width: 0%;
  background: #2563eb;
  transition: width 0.4s ease;
}

.form-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background-color: var(--bg-tertiary);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  position: relative;
  z-index: 2;
  transition: all var(--transition-fast);
}

.form-step.active .step-number {
  background-color: var(--accent-primary);
  color: white;
}

.form-step.completed .step-number {
  background-color: var(--accent-success);
  color: white;
}

.step-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.form-step.active .step-label {
  color: var(--text-primary);
  font-weight: 500;
}

.form-page {
  display: none;
}

.form-page.active {
  display: block;
  animation: fadeIn var(--transition-medium);
}

.form-row {
  margin-bottom: var(--space-md);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-lg);
}

.form-benefits {
  margin-top: var(--space-xl);
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.benefit-icon {
  color: var(--accent-success);
  margin-right: var(--space-sm);
}

.contact-info {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-secondary);
  padding: var(--space-xxl) 0;
  margin-top: var(--space-xxl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.footer-logo img {
  height: 32px;
  margin-right: var(--space-sm);
}

.footer-description {
  margin-bottom: var(--space-lg);
}

.footer-heading {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  margin-top: var(--space-xxl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-primary);
  z-index: 1001;
  transition: width var(--transition-fast);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.animate-fade-in {
  animation: fade-in 0.4s ease-out forwards;
}



/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-secondary);
  padding: var(--space-lg);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
}

.cookie-banner.active {
  display: block;
  animation: slideUp var(--transition-medium);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-actions {
  display: flex;
  gap: var(--space-md);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ===== LOGO STYLES ===== */
.logo-img {
  width: 40px;
  height: 40px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.75rem; }
  
  .hero-title { font-size: 3rem; }
  
  .funnel-visualization {
    width: 35%;
  }
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl) var(--space-lg);
  }
  
  .calculator-form {
    grid-template-columns: 1fr 1fr;
  }
  
  .funnel-visualization {
    opacity: 0.3;
    width: 50%;
    right: 0;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.125rem; }

  .hero {
    padding: 4rem 1rem;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;

  }
  .hero-content {
    order: 1;
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero-image {
    order: 0;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    max-height: clamp(300px, 40vh, 600px);
  }
  
  
  .scroll-hint{
      order: 2;
  }
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    padding: var(--space-lg);
    box-shadow: var(--nav-shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-links.active {
    display: flex;
  }
  
  .navbar-links a {
    margin: var(--space-sm) 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  #what-we-do,
  #features,
  #services,
  #contact {
    padding-top: 100px;
  }    
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .calculator-form {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .funnel-visualization {
    width: 70%;
    opacity: 0.2;
  }
  
  .navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Adjust spacing between icons */
  }

  .theme-toggle,
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    height: 40px;
    width: 40px;
  }  
  
  .theme-toggle svg,
  .mobile-menu-toggle svg {
    display: block;
    height: 24px;
    width: 24px;
  }  
}

@media (max-width: 576px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  
  .hero-cta {
    flex-direction: column;
    margin-bottom: 1rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .use-case {
    min-width: 100%;
  }
  
  .flow-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .flow-tab {
    width: 100%;
    text-align: center;
  }
}