:root {
  --primary: #b78d65;
  --accent: #901225;
  --light: #f8f8f8;
  --dark: #252525;
  --white: #ffffff;
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 30px -10px rgba(183, 141, 101, 0.15);
  --border-radius-card: 1.5rem;
  --border-radius-btn: 2.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.8rem;
  width: 100%;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  word-wrap: break-word;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.3rem, 4vw, 2.1rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  max-width: 100%;
}

h2 span {
  color: #e7445d !important;
}

h2:after {
  content: "";
  display: block;
  width: min(70px, 20%);
  height: 4px;
  background: var(--primary);
  margin-top: 0.4rem;
  border-radius: 4px;
}

.primary-color {
  color: var(--primary);
}

/* hero wrapper */
.hero-wrapper {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(2rem, 5vw, 3.5rem) 0 2rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 45%;
  min-width: 280px;
}

.hero-illustration {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
}

.illustration-grid {
  position: relative;
  width: 100%;
  max-width: min(400px, 90%);
  aspect-ratio: 1/1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 2vw, 1.2rem);
  place-items: center;
}

.illustration-grid i {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  color: var(--primary);
  background: rgba(183, 141, 101, 0.1);
  width: clamp(50px, 12vw, 80px);
  height: clamp(50px, 12vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 6s ease-in-out infinite;
}

.illustration-grid i:nth-child(1) { animation-delay: 0s; }
.illustration-grid i:nth-child(2) { animation-delay: 0.4s; }
.illustration-grid i:nth-child(3) { animation-delay: 0.8s; }
.illustration-grid i:nth-child(4) { animation-delay: 1.2s; }
.illustration-grid i:nth-child(5) { animation-delay: 1.6s; }
.illustration-grid i:nth-child(6) { animation-delay: 2s; }
.illustration-grid i:nth-child(7) { animation-delay: 2.4s; }
.illustration-grid i:nth-child(8) { animation-delay: 2.8s; }
.illustration-grid i:nth-child(9) { animation-delay: 3.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.circle-blob {
  position: absolute;
  width: min(180px, 40%);
  height: min(180px, 40%);
  background: radial-gradient(circle, rgba(144, 18, 37, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.circle-blob:first-of-type {
  top: 10%;
  left: 5%;
}

.circle-blob:last-of-type {
  bottom: 10%;
  right: 5%;
}

.brand-pill {
  display: inline-block;
  background: var(--primary);
  color: #901225;
  padding: 0.3rem clamp(0.8rem, 3vw, 1rem);
  border-radius: 50px;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

/* intro box */
.intro-paragraph-box {
  background: rgba(183, 141, 101, 0.06);
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 2.5rem);
  border-left: 6px solid var(--accent);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--dark);
  line-height: 1.7;
  word-wrap: break-word;
}

.intro-paragraph-box i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.section-subhead {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: #4a4a4a;
  max-width: 720px;
  margin-bottom: 2.5rem;
}

/* checklists */
.checklist {
  list-style: none;
  margin-top: 1.5rem;
}

.checklist li {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: clamp(0.85rem, 2vw, 1rem);
  word-wrap: break-word;
}

.checklist i {
  color: var(--accent);
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  min-width: 1.8rem;
}

.bullet-list {
  margin-left: 1.8rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.bullet-list li {
  margin-bottom: 0.4rem;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

/* cards */
.card, .solution-card {
  background: linear-gradient(145deg, #ffffff 0%, #fcfcfc 100%);
  border-radius: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
  border: 1px solid rgba(183, 141, 101, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover, .solution-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 45px -12px rgba(144, 18, 37, 0.25),
              0 8px 25px -8px rgba(183, 141, 101, 0.4);
  border-color: transparent;
}

.card::before, .solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.card:hover::before, .solution-card:hover::before {
  transform: translateX(0);
}

.card-icon {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
  color: var(--primary);
  animation: iconFloat 3s ease-in-out infinite;
  transition: color 0.3s;
}

.card:hover .card-icon {
  color: var(--accent);
  animation: iconPop 0.5s ease;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes iconPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.card-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
  word-wrap: break-word;
}

.card-title span {
  color: var(--primary);
  font-weight: 600;
  margin-right: 0.3rem;
}

.card-text {
  color: #3d3d3d;
  font-size: clamp(0.85rem, 2vw, 0.98rem);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  flex: 1;
  word-wrap: break-word;
}

.card-list {
  list-style: none;
  margin: 0.8rem 0;
}

.card-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  word-wrap: break-word;
}

.card-list i {
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.1rem);
  min-width: 1.4rem;
  transition: transform 0.2s;
}

.card:hover .card-list i {
  transform: rotate(2deg) scale(1.1);
  color: var(--primary);
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.process-item {
  background: white;
  border-radius: 3rem;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.2rem, 3vw, 2rem);
  font-weight: 500;
  font-size: clamp(0.85rem, 2vw, 1rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(183, 141, 101, 0.2);
  word-wrap: break-word;
}

.process-item span {
  background: var(--primary);
  color: white;
  width: clamp(30px, 6vw, 36px);
  height: clamp(30px, 6vw, 36px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(2rem, 4vw, 4rem) 0;
}

.callout-card {
  background: var(--white);
  border: 2px dashed var(--accent);
  border-radius: var(--border-radius-card);
  padding: clamp(1.2rem, 3vw, 2rem);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  flex-wrap: wrap;
}

.callout-card i {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent);
}

.callout-card div {
  flex: 1;
  min-width: 200px;
  word-wrap: break-word;
}

.cta-section {
  background: var(--dark);
  color: white;
  border-radius: clamp(2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  margin: clamp(2rem, 4vw, 4rem) 0 clamp(1.5rem, 3vw, 3rem);
  background-image: radial-gradient(circle at 70% 30%, rgba(144, 18, 37, 0.2) 0%, transparent 50%);
}

.cta-section h2 {
  color: white;
}

.cta-section h2:after {
  background: var(--primary);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 1rem 0 2rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* =========================
TABLET (1024px)
========================= */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.2rem;
  }

  .hero-wrapper {
    gap: 2rem;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

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

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

/* =========================
TABLET / LARGE MOBILE (768px)
========================= */
@media (max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 0;
  }

  .hero-content {
    flex: 1 1 100%;
  }

  .hero-illustration {
    flex: 1 1 100%;
  }

  .illustration-grid {
    max-width: 300px;
    gap: 0.8rem;
  }

  .illustration-grid i {
    font-size: 2rem;
    width: 60px;
    height: 60px;
  }

  .brand-pill {
    font-size: 1.2rem;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.6rem 1.2rem;
  }

  .split-grid {
    gap: 2rem;
  }

  .process-item {
    padding: 0.9rem 1.5rem;
  }

  h2:after {
    margin-left: auto;
    margin-right: auto;
  }

  h2 {
    text-align: center;
    display: block;
  }
}

/* =========================
SMALL MOBILE (480px)
========================= */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  .intro-paragraph-box {
    padding: 1.2rem;
    font-size: 0.9rem;
    border-left-width: 4px;
  }

  .checklist li {
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .checklist i {
    font-size: 1.2rem;
    min-width: 1.5rem;
  }

  .process-item {
    font-size: 0.85rem;
    padding: 0.8rem 1.2rem;
  }

  .process-item span {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .callout-card {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
  }

  .callout-card i {
    font-size: 2.2rem;
  }

  .card-list li {
    font-size: 0.85rem;
  }

  .card-list i {
    font-size: 1rem;
    min-width: 1.2rem;
  }
}

/* =========================
VERY SMALL MOBILE (375px)
========================= */
@media (max-width: 375px) {
  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .brand-pill {
    font-size: 1rem;
    padding: 0.2rem 0.8rem;
  }

  .illustration-grid {
    max-width: 250px;
  }

  .illustration-grid i {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }

  .card {
    padding: 1.2rem 1rem;
  }

  .process-item {
    padding: 0.7rem 1rem;
    flex-wrap: wrap;
  }

  .intro-paragraph-box {
    padding: 1rem;
    border-radius: 1.2rem;
  }

  .card-title {
    font-size: 1.1rem;
  }
}

/* =========================
EXTRA SMALL MOBILE (320px)
========================= */
@media (max-width: 320px) {
  .container {
    padding: 0 0.8rem;
  }

  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  h2:after {
    width: 50px;
    height: 3px;
  }

  .brand-pill {
    font-size: 0.9rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 1rem;
  }

  .hero-wrapper {
    padding: 1.5rem 0;
  }

  .illustration-grid {
    max-width: 220px;
    gap: 0.5rem;
  }

  .illustration-grid i {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }

  .intro-paragraph-box {
    padding: 0.8rem;
    font-size: 0.85rem;
    line-height: 1.5;
    border-left-width: 3px;
    border-radius: 1rem;
    margin: 1rem 0 1.5rem;
  }

  .card {
    padding: 1rem 0.8rem;
    border-radius: 1.2rem;
  }

  .card-title {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .card-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .card-list li {
    font-size: 0.75rem;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
  }

  .card-list i {
    font-size: 0.9rem;
    min-width: 1rem;
  }

  .checklist li {
    font-size: 0.8rem;
    gap: 0.4rem;
  }

  .checklist i {
    font-size: 1rem;
    min-width: 1.2rem;
  }

  .process-item {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    gap: 0.4rem;
    border-radius: 2rem;
  }

  .process-item span {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .split-grid {
    gap: 1.5rem;
    margin: 1.5rem 0;
  }

  .callout-card {
    padding: 0.8rem;
    border-width: 1.5px;
    gap: 0.5rem;
  }

  .callout-card i {
    font-size: 1.8rem;
  }

  .callout-card div {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .cta-section {
    padding: 1.2rem;
    border-radius: 1.5rem;
  }

  .cta-section p {
    font-size: 0.8rem;
    margin: 0.5rem 0 1rem;
  }

  .bullet-list {
    margin-left: 1.2rem;
  }

  .bullet-list li {
    font-size: 0.75rem;
  }

  .section-subhead {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }
}

/* =========================
HOVER EFFECTS FIX FOR TOUCH DEVICES
========================= */
@media (hover: none) {
  .card:hover,
  .solution-card:hover {
    transform: none;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.05);
  }

  .card:hover::before,
  .solution-card:hover::before {
    transform: translateX(-100%);
  }

  .card:hover .card-icon {
    color: var(--primary);
    animation: iconFloat 3s ease-in-out infinite;
  }

  .card:hover .card-list i {
    transform: none;
    color: var(--accent);
  }
}

/* =========================
UTILITY CLASSES FOR RESPONSIVE
========================= */
.hide-on-mobile {
  display: block;
}

.show-on-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }

  .show-on-mobile {
    display: block;
  }
}

/* Ensure images and media are responsive */
img,
svg,
iframe,
video {
  max-width: 100%;
  height: auto;
}

/* Prevent overflow issues */
/* * {
  max-width: 100%;
} */

/* Improve touch targets on mobile */
@media (max-width: 768px) {
  button,
  .btn,
  a,
  .process-item,
  .card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Print styles */
@media print {
  .hero-illustration,
  .circle-blob,
  .card::before {
    display: none;
  }

  .container {
    padding: 0;
  }

  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}


/* ----------------------------------------------------------------------------------------------------- */

  .graphics_head{ margin: 2rem 0 1rem; }
  .para_2{ margin: 1rem 0 1rem; }
  .para_3{ margin-top: 1rem; }

  /* ------------------------------------------------------------------------------------------------+ */