﻿/* ============================================================
   BillSplitCalculator.site â€” Style Sheet
   Theme: Black & White Monochrome
   ============================================================ */

/* ---- Google Font Import (fallback if link tag fails) ---- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --emerald: #000000;
  --teal: #333333;
  --dark-teal: #111111;
  --green-dark: #222222;
  --navy: #000000;
  --dark-navy: #0A0A0A;
  --gold: #000000;
  --amber: #444444;
  --white: #FFFFFF;
  --light: #F8F9FA;
  --muted: #000000;
  --card-bg: #FFFFFF;
  --shadow: none;
  --transition: 0.3s ease;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--navy);
  background: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

input,
select,
button {
  font-family: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #000000;
  color: #fff;
  border: 1px solid #000000;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #333333;
}

.btn-outline {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

.btn-outline:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-3px);
  border-color: #000000;
}


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  padding: 10px 0;

}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links li a {
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  transition: all var(--transition);
}

.nav-links li a.btn {
  color: #000;
  background: #fff;
}

.header.scrolled .nav-links li a {
  color: #000;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-links li a:hover,
.header.scrolled .nav-links li a.active {
  color: #000;
  background: rgba(0, 0, 0, 0.05);
}

/* Dropdown */
.dropdown {
  position: relative;
}

/* Invisible bridge fills gap so hover stays active when moving from trigger to menu */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius-sm);

  min-width: 240px;
  padding: 10px;
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy) !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-menu li a:hover {
  background: var(--light);
  color: #000 !important;
}

.cat-icon {
  font-size: 1.1rem;
}

.cat-icon.bill {
  color: #000;
}

.cat-icon.room {
  color: #000;
}

.cat-icon.trip {
  color: #000;
}

.cat-icon.tip {
  color: #000;
}

.cat-icon.group {
  color: #000;
}

/* Hamburger - shown on tablet/mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: all var(--transition);
}

.header.scrolled .hamburger span {
  background: #000;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay.visible {
  display: block;
  opacity: 1;
}

@media (min-width: 901px) {
  .nav-overlay {
    display: none !important;
  }
}


/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--dark-navy);
  display: flex;
  align-items: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: #0A0A0A;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Hero Content Layout */
.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-text {
  flex: 1;
  max-width: 650px;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}

.hero-title span {
  color: #ccc;
  -webkit-text-fill-color: #ccc;
}

.hero-domain {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-domain span {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btns .btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.hero-btns .btn-primary:hover {
  background: #e6e6e6;
  border-color: #e6e6e6;
  transform: translateY(-3px);
}

.hero-btns .btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.hero-btns .btn-outline:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
}

/* Hero Visual â€” Receipt Card */
.hero-visual {
  flex: 0 0 380px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.receipt-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 32px 28px;
  width: 300px;
  color: #fff;

  position: relative;
  z-index: 2;
}

.receipt-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.receipt-icon {
  font-size: 1.4rem;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.receipt-line.total {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.receipt-divider {
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  margin: 8px 0;
}

.receipt-split {
  margin-top: 16px;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
}

.split-badge {
  background: #fff;
  color: #000;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 8px;
}

.receipt-saved .saved-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  -webkit-text-fill-color: #fff;
  margin-bottom: 4px;
}

.receipt-saved .saved-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.5);
}

/* Floating Cards â€” removed */

/* Hero Particles â€” removed */

/* Hero Shapes â€” removed */

/* Hero Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

/* Hero Shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  left: -150px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
}

.hero-shape-2 {
  width: 350px;
  height: 350px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  right: 25%;
  top: 30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
}


/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: #111;
  padding: 22px 0;
}

.trust-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.trust-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ============================================================
   SECTION TAGS & TITLES
   ============================================================ */
.section-tag {
  display: inline-block;
  background: #f0f0f0;
  border: 1px solid #ddd;
  color: #000;
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--navy);
}

.section-title span,
.gradient-text {
  color: #000000;
  -webkit-text-fill-color: #000000;
}

.section-subtitle {
  max-width: 640px;
  margin: 0 auto 56px;
  color: #000000;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Center section titles when tag is in separate text-center block */
.text-center+.section-title {
  text-align: center;
}

.section-title+.section-subtitle {
  text-align: center;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Deco blobs â€” removed */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image img {
  border-radius: 24px;

  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* About image badge/decorator â€” removed */

.about-text h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text h2 span {
  color: #000000;
  -webkit-text-fill-color: #000000;
}

.about-text p {
  color: #000000;
  margin-bottom: 18px;
}

.about-text strong {
  color: var(--navy);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.hi-icon {
  font-size: 1.1rem;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #000;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: #000000;
  font-weight: 500;
  margin-top: 4px;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: 100px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: #ccc;
  opacity: 1;
  z-index: 0;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  position: relative;

}

.s1 {
  background: #111;
}

.s2 {
  background: #333;
}

.s3 {
  background: #000000;
}

.s4 {
  background: #000;
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 8px;
}

.timeline-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.timeline-step p {
  font-size: 0.9rem;
  color: #000000;
}


/* ============================================================
   CALCULATOR SECTION
   ============================================================ */
.calc-section {
  padding: 100px 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

.calc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.12)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.calc-section .section-tag {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.calc-section .section-title {
  color: #fff;
}

.calc-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;

}

.calc-inputs {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 40px;
}

.calc-results {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 40px;
}

.calc-inputs .calc-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-results .calc-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.calc-field {
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  font-size: 1.05rem;
  pointer-events: none;
  z-index: 1;
}

.calc-inputs input[type="text"],
.calc-inputs input[type="number"],
.calc-inputs select {
  width: 100%;
  padding: 12px 16px 12px 46px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  outline: none;
}

.calc-inputs input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.calc-inputs input:focus,
.calc-inputs select:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);

}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Mode Tabs */
.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-tab {
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
}

.mode-tab:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.mode-tab.active {
  background: #fff;
  border-color: #fff;
  color: #000;

}

/* Mode Panels */
.calc-mode-panel {
  display: none;
}

.calc-mode-panel.active {
  display: block;
}

/* Tip Presets */
.tip-presets {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tip-preset {
  flex: 1;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tip-preset:hover {
  border-color: #fff;
  color: #fff;
}

.tip-preset.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* Dynamic Rows (Roommate, Trip, Group) */
.expense-row,
.contribution-row,
.participant-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.expense-row input,
.contribution-row input,
.participant-row input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition);
}

.expense-row input::placeholder,
.contribution-row input::placeholder,
.participant-row input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.expense-row input:focus,
.contribution-row input:focus,
.participant-row input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.add-row-btn {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 16px;
}

.add-row-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Calculate Button */
.calc-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: 1px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.calc-btn:hover {
  background: #e6e6e6;
  border-color: #e6e6e6;
  transform: translateY(-2px);
}

transform: translateY(-3px);
background: #333;
}

.calc-btn-icon {
  font-size: 1.2rem;
}

/* Results Panel */
.result-meter-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.meter-icon {
  font-size: 2.4rem;
  margin-bottom: -8px;
}

.result-meter {
  width: 100%;
  height: 14px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.meter-fill {
  height: 100%;
  background: #000;
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 10px;
  position: relative;
}

.result-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #000;
}

.result-label {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.result-message {
  text-align: center;
  color: #000000;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Result Breakdown */
.result-breakdown {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  max-height: 200px;
  overflow-y: auto;
}

.result-breakdown .breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  color: #000000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.result-breakdown .breakdown-row:last-child {
  border-bottom: none;
}

.result-breakdown .breakdown-row strong {
  color: #000;
}

.result-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  transition: opacity 0.5s ease;
  margin-bottom: 20px;
}

.rbadge {
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.rb-green {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000;
}

.rb-teal {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
}

.rb-gold {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
}

.share-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #000;
  border: 1.5px solid #000;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.share-btn:hover {
  background: #333;
  border-color: #000000;
}


/* ============================================================
   CATEGORIES / TOOLS
   ============================================================ */
.categories-section {
  padding: 100px 0;
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.category-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);

  position: relative;
  overflow: hidden;
}

a.category-card {
  color: inherit;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: #000;
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.card-icon.bill {
  background: #eee;
}

.card-icon.room {
  background: #ddd;
}

.card-icon.trip {
  background: #ccc;
}

.card-icon.tip {
  background: #bbb;
}

.card-icon.group {
  background: #000000;
}

.category-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.category-card p {
  font-size: 0.85rem;
  color: #000000;
  margin-bottom: 18px;
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap var(--transition);
}

.card-link:hover {
  letter-spacing: 0.5px;
}


/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
  padding: 100px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

/* Deco circles â€” removed */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.feature-card {
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all var(--transition);

}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #000;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.fi-1 {
  background: #f0f0f0;
}

.fi-2 {
  background: #e0e0e0;
}

.fi-3 {
  background: #d0d0d0;
}

.fi-4 {
  background: #c0c0c0;
}

.fi-5 {
  background: #b0b0b0;
}

.fi-6 {
  background: #a0a0a0;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.9rem;
  color: #000000;
  line-height: 1.65;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.testimonial-card {
  background: #f5f5f5;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.tc-stars {
  margin-bottom: 16px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

blockquote {
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}

blockquote::before {
  content: '"';
  font-size: 4rem;
  color: #fff;
  opacity: 0.15;
  position: absolute;
  top: -20px;
  left: -8px;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.tc-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.a1 {
  background: #000;
}

.a2 {
  background: #333;
}

.a3 {
  background: #000000;
}

.tc-info strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

.tc-info span {
  font-size: 0.82rem;
  color: #8A9BB0;
}


/* ============================================================
   BLOG CAROUSEL
   ============================================================ */
.blog-carousel-section {
  padding: 100px 0 80px;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

/* Blog carousel bg ÃÆ’Â¢Ã¢â€Å¡Â¬Ã¢â‚¬Â removed */
.blog-carousel-section .deco-blob {
  z-index: 0;
}

.blog-carousel-section .section-tag {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.blog-carousel-section .section-title {
  color: #fff;
}

.blog-carousel-section .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.blog-carousel-wrap {
  position: relative;
  margin-top: 48px;
  padding: 0 56px;
  z-index: 2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #fff;
  border-color: transparent;
  color: #000;
  transform: translateY(-50%) scale(1.08);

}

.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

.blog-carousel-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 16px 0 48px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.blog-carousel-track::-webkit-scrollbar {
  display: none;
}

.blog-carousel-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 300px;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-carousel-card:hover {
  transform: translateY(-12px) scale(1.03);

}

.blog-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-carousel-card:hover .blog-card-img img {
  transform: scale(1.1);
}

.blog-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.blog-card-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s;
}

.blog-carousel-card:hover .blog-card-body h3 {
  color: #000000;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-arrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.blog-carousel-card:hover .blog-card-arrow {
  gap: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dots .dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;

}

.blog-cta-wrap {
  margin-top: 48px;
}

.blog-cta-btn {
  padding: 16px 40px;
  font-size: 1rem;

}

.blog-cta-btn:hover {}

@media (max-width: 1024px) {
  .blog-carousel-card {
    flex: 0 0 calc(50% - 14px);
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .blog-carousel-wrap {
    padding: 0 48px;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
  }

  .carousel-prev {
    left: 4px;
  }

  .carousel-next {
    right: 4px;
  }

  .blog-carousel-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}


/* ============================================================
   CTA / NEWSLETTER
   ============================================================ */
.cta-section {
  padding: 80px 0;
  background: var(--light);
}

.cta-card {
  background: #111;
  border-radius: 24px;
  padding: 56px 60px;
  display: flex;
  gap: 48px;
  align-items: center;

}

.cta-text {
  flex: 1;
  color: #fff;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.cta-text p {
  opacity: 0.88;
  font-size: 1rem;
}

.cta-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  max-width: 420px;
  width: 100%;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(10px);
  outline: none;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cta-form button {
  padding: 14px 26px;
  border-radius: 50px;
  background: #fff;
  color: #000 !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cta-form button:hover {
  transform: scale(1.04);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a0a0a;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* Footer glows ÃÆ’Â¢Ã¢â€Å¡Â¬Ã¢â‚¬Â removed */

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo-img {
  height: 38px;
  margin-bottom: 20px;
}

.footer-logo {
  filter: brightness(10);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 280px;
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition);
}

.footer-social a svg {
  flex-shrink: 0;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #ffffff;
  font-size: 0.9rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #ffffff;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: #ffffff;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: #fff;
}


/* ============================================================
   CALCULATOR PAGE BLOG SECTION (horizontal cards, distinct style)
   ============================================================ */
.calc-blog-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.calc-blog-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.calc-blog-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.calc-blog-section .section-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  border: 1px solid;
}

.calc-blog-section .section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.calc-blog-section .section-desc {
  color: #000000;
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Horizontal article cards - image left, content right */
.calc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.calc-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  text-decoration: none;
  color: inherit;
}

.calc-blog-card:hover {
  transform: translateY(-6px);

  border-color: rgba(0, 0, 0, 0.2);
}

.calc-blog-card .card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.calc-blog-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.calc-blog-card:hover .card-thumb img {
  transform: scale(1.06);
}

.calc-blog-card .card-thumb .card-num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-blog-card .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.calc-blog-card .card-body .card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.calc-blog-card:hover .card-body .card-title {
  color: #000;
}

.calc-blog-card .card-body .card-desc {
  font-size: .9rem;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.calc-blog-card .card-body .card-link {
  font-size: .9rem;
  font-weight: 600;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.calc-blog-card:hover .card-body .card-link {
  gap: 10px;
}

.calc-blog-section .btn-wrap {
  text-align: center;
  margin-top: 40px;
}

.calc-blog-section .btn-blog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: #000;
  color: #fff;
  border: none;

  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.calc-blog-section .btn-blog:hover {
  transform: translateY(-3px);

}

/* Accent overrides for each calculator theme */
.calc-blog-section.theme-emerald .section-badge {
  background: rgba(128, 128, 128, 0.12);
  border-color: rgba(128, 128, 128, 0.4);
  color: #fff;
}

.calc-blog-section.theme-emerald .card-num {
  background: #333;
  color: #fff;
}

.calc-blog-section.theme-gold .section-badge {
  background: rgba(150, 150, 150, 0.12);
  border-color: rgba(150, 150, 150, 0.4);
  color: #000000;
}

.calc-blog-section.theme-gold .card-num {
  background: #333;
  color: #fff;
}

.calc-blog-section.theme-gold .card-body .card-link,
.calc-blog-section.theme-gold .calc-blog-card:hover .card-body .card-title {
  color: #000000;
}

.calc-blog-section.theme-gold .btn-blog {
  background: #333;
}

.calc-blog-section.theme-gold .btn-blog:hover {}

.calc-blog-section.theme-teal .section-badge {
  background: rgba(100, 100, 100, 0.12);
  border-color: rgba(100, 100, 100, 0.4);
  color: #000000;
}

.calc-blog-section.theme-teal .card-num {
  background: #333;
  color: #fff;
}

.calc-blog-section.theme-teal .card-body .card-link,
.calc-blog-section.theme-teal .calc-blog-card:hover .card-body .card-title {
  color: #000000;
}

.calc-blog-section.theme-teal .btn-blog {
  background: #333;
}

.calc-blog-section.theme-teal .btn-blog:hover {}

.calc-blog-section.theme-trip .section-badge {
  background: rgba(180, 180, 180, 0.12);
  border-color: rgba(180, 180, 180, 0.4);
  color: #000000;
}

.calc-blog-section.theme-trip .card-num {
  background: #333;
  color: #fff;
}

.calc-blog-section.theme-trip .card-body .card-link,
.calc-blog-section.theme-trip .calc-blog-card:hover .card-body .card-title {
  color: #000000;
}

.calc-blog-section.theme-trip .btn-blog {
  background: #333;
}

.calc-blog-section.theme-trip .btn-blog:hover {}

.calc-blog-section.theme-group .section-badge {
  background: rgba(140, 140, 140, 0.12);
  border-color: rgba(140, 140, 140, 0.4);
  color: #000000;
}

.calc-blog-section.theme-group .card-num {
  background: #333;
  color: #fff;
}

.calc-blog-section.theme-group .card-body .card-link,
.calc-blog-section.theme-group .calc-blog-card:hover .card-body .card-title {
  color: #000000;
}

.calc-blog-section.theme-group .btn-blog {
  background: #333;
}

.calc-blog-section.theme-group .btn-blog:hover {}

@media (max-width: 900px) {
  .calc-blog-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}


/* ============================================================
   GUIDE SECTION
   ============================================================ */
.guide-section {
  padding: 100px 0;
  background: #fff;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
/* Animations â€” removed for crawlability */


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-main {
    padding: 48px 0 36px;
  }

  .hero-visual {
    flex: 0 0 300px;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .cta-card {
    flex-direction: column;
    padding: 40px 36px;
    gap: 28px;
  }

  .cta-form {
    max-width: 100%;
    width: 100%;
  }

  .hero-content {
    flex-direction: column;
    padding-top: 120px;
    text-align: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 340px;
    flex: none;
  }

  .hero-text {
    max-width: 100%;
    align-items: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Header responsive: show hamburger when nav would overflow */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo-img {
    max-height: 36px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 100vw - 40px);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 20px 32px;
    gap: 4px;

    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem;
    padding: 14px 16px;
    width: 100%;
    display: block;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .nav-links li a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .nav-links li a.btn {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    display: block;
    transform: none;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 8px;
    margin-left: 0;
  }

  .dropdown-menu li a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    padding-left: 28px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .timeline {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    text-align: center;
    justify-items: center;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-col:nth-child(2) {
    grid-column: 1 / -1;
    text-align: center;
  }

  /* Calculators - centered */
  .footer-col:nth-child(2) ul {
    display: inline-block;
    text-align: center;
    padding-left: 0;
  }

  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    text-align: center;
    padding: 0 8px;
  }

  /* Quick Links & Legal - centered, one row */
  .footer-col:nth-child(3) ul,
  .footer-col:nth-child(4) ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
  }

  .footer-brand .logo-img,
  .footer-brand .footer-logo {
    margin: 0 auto 16px;
    display: block;
    height: 34px;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col ul li {
    margin-bottom: 10px;
  }

  .footer-col ul li a:hover {
    padding-left: 0;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-stats {
    justify-content: center;
  }

  .cta-form {
    flex-direction: column;
  }

  .mode-tabs {
    flex-wrap: wrap;
  }

  .mode-tab {
    flex: 0 0 calc(50% - 4px);
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    max-width: 280px;
  }

  .receipt-card {
    width: 260px;
    padding: 24px 20px;
  }

  .float-card {
    display: none;
  }

  .trust-inner {
    gap: 20px;
  }

  .result-badges {
    display: none;
  }

  .footer-main {
    padding: 36px 0 28px;
  }

  .footer-brand .logo-img,
  .footer-brand .footer-logo {
    height: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px 0;
  }

  .footer-wave svg {
    height: 40px;
  }

  .calc-inputs,
  .calc-results {
    padding: 28px 20px;
  }

  .expense-row,
  .contribution-row,
  .participant-row {
    flex-direction: column;
  }
}



/* ============================================================
   VISIBILITY AND DESIGN FIXES
   ============================================================ */

/* 1. Header Contact Us button visibility */
.nav-links li a.btn {
  padding: 10px 24px !important;
  font-size: 0.88rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--transition) !important;
}

@media (min-width: 769px) {

  /* Header button in transparent (not scrolled) header on desktop */
  .header:not(.scrolled) .nav-links li a.btn-primary {
    background: #ffffff !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    border: 1.5px solid #ffffff !important;
  }

  .header:not(.scrolled) .nav-links li a.btn-primary:hover {
    background: #e6e6e6 !important;
    border-color: #e6e6e6 !important;
  }

  /* Header button in scrolled header on desktop */
  .header.scrolled .nav-links li a.btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1.5px solid #000000 !important;
  }

  .header.scrolled .nav-links li a.btn-primary:hover {
    background: #333333 !important;
    border-color: #000000 !important;
  }
}

@media (max-width: 768px) {

  /* Header button in mobile menu (always dark background) */
  .nav-links li a.btn-primary {
    background: #ffffff !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    border: 1.5px solid #ffffff !important;
  }

  .nav-links li a.btn-primary:hover {
    background: #e6e6e6 !important;
    border-color: #e6e6e6 !important;
  }
}

/* 2. Calculator Title on Dark Backgrounds */
.calc-section .gradient-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 3. Testimonial Avatars initials */
.tc-avatar {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 4. Blog Category Badges */
.blog-card-cat {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* 5. Footer Disclaimer Style */
.footer-disclaimer {
  font-size: 0.76rem !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin-top: 16px !important;
  font-weight: normal !important;
  border-top: 1px dashed #ffffff !important;
  padding-top: 12px !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

/* Visibility fixes for specific elements */
.split-badge {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

.blog-carousel-section .section-title,
.blog-carousel-section .section-title span,
.blog-carousel-section .gradient-text,
.blog-carousel-section .section-subtitle {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.cta-form button {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* ============================================================
   HEADING VISIBILITY FIXES
   ============================================================ */

/* Light Backgrounds */
.section-title span,
.gradient-text,
.about-text h2 span {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Dark Backgrounds */
.blog-carousel-section .section-title,
.blog-carousel-section .section-title span,
.blog-carousel-section .gradient-text,
.hero-title span,
.calc-section .section-title,
.calc-section .section-title span,
.calc-section .gradient-text,
.calc-page-banner h1,
.calc-page-banner h1 span,
.calc-page-banner .gradient-text,
.about-banner h1,
.about-banner h1 span,
.contact-banner h1,
.contact-banner h1 span,
.cta-text h2,
.cta-text h2 span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ============================================================
   CONTACT & MAP SECTION
   ============================================================ */
.contact-map-section {
  padding: 80px 0;
  background: var(--white);
}

.contact-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.home-contact-wrap {
  background: linear-gradient(160deg, #000000, #111111);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 24px 60px rgba(27, 42, 74, 0.1);
}

.home-contact-wrap h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-form-group {
  margin-bottom: 20px;
}

.home-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-form-group input,
.home-form-group textarea {
  width: 100%;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(0, 0, 0, 0);
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s;
}

.home-form-group input::placeholder,
.home-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.home-form-group input:focus,
.home-form-group textarea:focus {
  border-color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.home-form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.home-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-form-submit {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  background: linear-gradient(135deg, #333, #000);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid #333;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.25s;
  letter-spacing: 0.3px;
}

.home-form-submit:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #000;
}

.home-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.map-container {
  flex-grow: 1;
  min-height: 350px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-info {
  display: flex;
  gap: 20px;
  background: #f9f9f9;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
}

.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.info-icon {
  font-size: 1.5rem;
  background: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.map-info-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: #000;
  margin-bottom: 4px;
}

.map-info-item p {
  font-size: 0.9rem;
  color: #000000;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-map-grid {
    grid-template-columns: 1fr;
  }
  .map-container {
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  .home-form-row {
    grid-template-columns: 1fr;
  }
  .home-contact-wrap {
    padding: 32px 24px;
  }
  .map-info {
    flex-direction: column;
  }
}

/* ============================================================
   CREATOR SECTION
   ============================================================ */
.creator-section {
  padding: 80px 0;
  background: var(--light);
}

.creator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.creator-profile {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.creator-profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(135deg, #000, #333);
}

.creator-img-wrap {
  position: relative;
  margin-top: 30px;
  margin-bottom: 24px;
}

.creator-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.creator-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 6px;
}

.creator-role {
  font-size: 1rem;
  color: #000000;
  font-weight: 500;
  margin-bottom: 16px;
}

.creator-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.social-badge {
  background: rgba(0, 0, 0, 0.05);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #000000;
}

.social-btn {
  background: #000;
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: #333;
  transform: translateY(-2px);
  color: #fff;
}

.creator-bio {
  color: #000000;
  line-height: 1.8;
  font-size: 1rem;
}

.creator-gallery {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img {
  position: absolute;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 6px solid #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-img:hover {
  transform: scale(1.05) translateY(-10px) !important;
  z-index: 5 !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.g-img-1 {
  width: 75%;
  height: 320px;
  top: 10px;
  right: 0;
  z-index: 1;
  transform: rotate(3deg);
}

.g-img-2 {
  width: 65%;
  height: 240px;
  bottom: 20px;
  left: 0;
  z-index: 2;
  transform: rotate(-3deg);
}

@media (max-width: 900px) {
  .creator-grid {
    grid-template-columns: 1fr;
  }
  .creator-gallery {
    min-height: 400px;
    margin-top: 20px;
  }
  .g-img-1 {
    width: 65%;
    height: 280px;
  }
  .g-img-2 {
    width: 55%;
    height: 200px;
  }
}

@media (max-width: 520px) {
  .creator-profile {
    padding: 30px 20px;
  }
  .creator-gallery {
    min-height: 300px;
  }
  .g-img-1 {
    width: 75%;
    height: 200px;
    right: 5%;
  }
  .g-img-2 {
    width: 65%;
    height: 160px;
    left: 5%;
  }
}