@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

/* ===== Root Variables ===== */
:root {
  --primary-color: #ff5b32;
  --primary-dark: #e6451a;
  --secondary-color: #fff2cf;
  --text-dark: #2d2d2d;
  --text-light: #666666;
  --bg-light: #fff2cf;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  pointer-events: auto !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.3rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* ===== Navigation ===== */
.navbar {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--spacing-md) 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: var(--spacing-sm);
}

.logo.logo-image img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo.logo-image img:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 4px 8px rgba(255, 91, 50, 0.3));
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1.1;
  white-space: nowrap;
}

.nalani-text {
  color: var(--primary-color);
  font-size: 1rem;
}

.digital-text {
  color: var(--secondary-color);
  font-size: 0.85rem;
}

.logo h1 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: var(--spacing-xs) 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger:hover span {
  background-color: var(--primary-color);
  transform: scaleX(1.2);
}

/* Force all interactive elements to be clickable */
a,
button,
input[type="submit"],
input[type="button"] {
  pointer-events: auto !important;
}

/* Override any parent pointer-events restrictions */
.btn,
a[href],
button,
[role="button"],
.chatbot-toggle,
.close-btn,
input[type="submit"] {
  pointer-events: auto !important;
}

/* Make all clickable containers have pointer events */
.service-card,
.industry-card,
.info-card,
.modal-content,
.form-group,
form,
.nav-menu a,
.nav-wrapper,
.contact-method,
.social-btn {
  pointer-events: auto !important;
}

* [onclick],
*[data-action],
*[data-message] {
  pointer-events: auto !important;
}

/* Final catch-all - ensure sections and containers allow clicks */
section,
div[class*="card"],
div[class*="button"],
div[class*="btn"],
div[data-service],
div[id="chatbotWidget"] {
  pointer-events: auto !important;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  min-width: 140px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: auto !important;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  .btn {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.95rem;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: 100px;
  }
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.btn-primary:disabled,
.btn-primary:disabled:hover {
  background-color: #999;
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

.btn-secondary {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.btn-light:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* ===== Hero Section ===== */
.hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 0;
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100vh;
  min-width: 100vw;
  max-width: none;
  max-height: none;
  aspect-ratio: 16/9;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 77, 0.6) 0%,
    rgba(45, 45, 110, 0.6) 50%,
    rgba(255, 107, 53, 0.6) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.gradient-blob {
  position: absolute;
  opacity: 0;
  border-radius: 50%;
  filter: blur(80px);
  backdrop-filter: blur(20px);
  display: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.6) 0%,
    rgba(255, 140, 66, 0.2) 100%
  );
  top: -150px;
  right: -150px;
  animation:
    float 8s ease-in-out infinite,
    glow 4s ease-in-out infinite;
  box-shadow: 0 0 100px 50px rgba(255, 107, 53, 0.3);
}

.blob-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(26, 26, 77, 0.5) 0%,
    rgba(45, 45, 110, 0.2) 100%
  );
  bottom: -100px;
  left: -150px;
  animation:
    float 10s ease-in-out infinite reverse,
    glow 5s ease-in-out infinite;
  box-shadow: 0 0 100px 50px rgba(26, 26, 77, 0.2);
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(74, 144, 226, 0.5) 0%,
    rgba(53, 122, 189, 0.2) 100%
  );
  top: 30%;
  right: 5%;
  animation:
    float 9s ease-in-out infinite,
    glow 6s ease-in-out infinite;
  box-shadow: 0 0 100px 50px rgba(74, 144, 226, 0.2);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(30px) scale(1.05);
  }
}

@keyframes glow {
  0%,
  100% {
    filter: blur(80px) brightness(1);
  }
  50% {
    filter: blur(60px) brightness(1.2);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
  }
  70% {
    box-shadow: 0 0 0 30px rgba(255, 107, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  height: 100vh;
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.hero-content {
  color: #ffffff;
  z-index: 2;
  position: relative;
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-ctas {
  object-position: left center;
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
  z-index: 10;
  position: relative;
}

@media (max-width: 768px) {
  /* shift hero image focus left on narrower viewports so robot remains visible */
  .hero img {
    object-position: left center;
  }

  .hero-ctas {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: none;
  }
}

.hero-ctas .btn {
  animation: slideInLeft 0.8s ease-out 0.3s both;
}

.hero-ctas .btn:nth-child(2) {
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: #ffffff;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 107, 53, 0);
  animation:
    slideInLeft 0.8s ease-out 0.1s both,
    textGlowPulse 4s ease-in-out infinite;
  transition: text-shadow 0.3s ease;
}

.rotating-text {
  color: var(--primary-color);
  display: inline-block;
  min-width: 300px;
  animation: rotateText 9s infinite;
}

@keyframes rotateText {
  0%,
  100% {
    opacity: 1;
  }
  16% {
    content: "Digital Marketing";
  }
  33% {
    opacity: 0;
  }
  34% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  66% {
    opacity: 0;
  }
  67% {
    opacity: 0;
  }
  83% {
    opacity: 1;
  }
}

.hero-title:hover {
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 107, 53, 0.8);
}

@keyframes textGlowPulse {
  0%,
  100% {
    text-shadow:
      0 4px 20px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(255, 107, 53, 0);
  }
  50% {
    text-shadow:
      0 4px 20px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(255, 107, 53, 0.4);
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #e8e8f0;
  font-weight: 500;
  margin-bottom: var(--spacing-lg);
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(74, 144, 226, 0);
  animation:
    slideInLeft 0.8s ease-out 0.2s both,
    subtitleGlowPulse 5s ease-in-out infinite;
  transition: text-shadow 0.3s ease;
}

.hero-subtitle:hover {
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(74, 144, 226, 0.6);
}

@keyframes subtitleGlowPulse {
  0%,
  100% {
    text-shadow:
      0 2px 10px rgba(0, 0, 0, 0.2),
      0 0 15px rgba(74, 144, 226, 0);
  }
  50% {
    text-shadow:
      0 2px 10px rgba(0, 0, 0, 0.2),
      0 0 30px rgba(74, 144, 226, 0.3);
  }
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  animation: slideInRight 0.8s ease-out;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  position: absolute;
  z-index: 1;
  animation: none;
  min-height: 100vh;
  min-width: 100vw;
  max-width: none;
  max-height: none;
  aspect-ratio: 16/9;
  display: block;
}

.image-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.3) 0%,
    rgba(74, 144, 226, 0.1) 100%
  );
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: pulse-ring 3s ease-out infinite;
  filter: blur(30px);
  display: none;
  .hero img,
  .hero-image img {
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    max-width: none;
    max-height: none;
    object-fit: cover;
    aspect-ratio: 16/9;
    display: block;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Floating Decorative Elements ===== */
.hero-decorative {
  position: absolute;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  animation: floatElement 6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.floating-element.element-1 {
  top: 15%;
  left: 5%;
  animation: floatElement 7s ease-in-out infinite;
  color: rgba(255, 107, 53, 0.6);
}

.floating-element.element-2 {
  top: 60%;
  left: 8%;
  animation: floatElement 8s ease-in-out infinite reverse;
  color: rgba(74, 144, 226, 0.5);
}

.floating-element.element-3 {
  top: 25%;
  right: 8%;
  animation: floatElement 9s ease-in-out infinite;
  color: rgba(255, 107, 53, 0.4);
  font-size: 2.5rem;
}

.floating-element.element-4 {
  bottom: 20%;
  right: 5%;
  animation: floatElement 10s ease-in-out infinite reverse;
  color: rgba(74, 144, 226, 0.4);
}

@keyframes floatElement {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) translateX(10px) rotate(5deg) scale(1.1);
  }
  50% {
    transform: translateY(-50px) translateX(-10px) rotate(-5deg) scale(1.05);
  }
  75% {
    transform: translateY(-20px) translateX(15px) rotate(3deg) scale(1.08);
  }
}

/* ===== Floating Decorative Elements ===== */
.hero-decorative {
  position: absolute;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  animation: floatElement 6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.floating-element.element-1 {
  top: 15%;
  left: 5%;
  animation: floatElement 7s ease-in-out infinite;
  color: rgba(255, 107, 53, 0.6);
}

.floating-element.element-2 {
  top: 60%;
  left: 8%;
  animation: floatElement 8s ease-in-out infinite reverse;
  color: rgba(74, 144, 226, 0.5);
}

.floating-element.element-3 {
  top: 25%;
  right: 8%;
  animation: floatElement 9s ease-in-out infinite;
  color: rgba(255, 107, 53, 0.4);
  font-size: 2.5rem;
}

.floating-element.element-4 {
  bottom: 20%;
  right: 5%;
  animation: floatElement 10s ease-in-out infinite reverse;
  color: rgba(74, 144, 226, 0.4);
}

@keyframes floatElement {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) translateX(10px) rotate(5deg) scale(1.1);
  }
  50% {
    transform: translateY(-50px) translateX(-10px) rotate(-5deg) scale(1.05);
  }
  75% {
    transform: translateY(-20px) translateX(15px) rotate(3deg) scale(1.08);
  }
}

/* ===== Service Card Floating Graphics ===== */
.service-card {
  position: relative;
}

.service-floating-graphic {
  position: absolute;
  opacity: 0.88;
  pointer-events: none;
  z-index: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.06)
  );
  box-shadow: 0 8px 20px rgba(9, 22, 48, 0.18);
  backdrop-filter: blur(8px);
}

.service-card:hover .service-floating-graphic {
  opacity: 1;
  transform: translateY(-2px) scale(1.1) rotate(5deg);
  filter: drop-shadow(0 8px 16px rgba(255, 91, 50, 0.4));
}

.service-cta {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-cta:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.floating-laptop {
  top: 1rem;
  right: 1rem;
  animation: none;
}

.floating-phone {
  top: 1rem;
  right: 1rem;
  animation: none;
}

.floating-palette {
  top: 1rem;
  right: 1rem;
  animation: none;
}

.floating-chart {
  top: 1rem;
  right: 1rem;
  animation: none;
}

.floating-video {
  top: 1rem;
  right: 1rem;
  animation: none;
}

.floating-rocket {
  top: 1rem;
  right: 1rem;
  animation: none;
}

.service-floating-graphic i {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.96);
}

@keyframes floatGraphic {
  0%,
  100% {
    transform: translateY(0px) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) scale(1.1) rotate(5deg);
  }
}

@keyframes cardGlow {
  0% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
  }
  100% {
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
  }
}

@keyframes cardPulse {
  0% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.4);
  }
  100% {
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
  }
}

/* ===== Clients Section ===== */
.clients-section {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.clients-label {
  text-align: center;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-lg);
  align-items: center;
  justify-items: center;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-light);
  font-size: 1.5rem;
  opacity: 0.7;
  transition: var(--transition);
  cursor: pointer;
}

.client-logo:hover {
  opacity: 1;
  color: var(--primary-color);
}

.client-logo span {
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  animation: slideInDown 0.8s ease-out;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  animation: expandWidth 0.8s ease-out 0.3s forwards;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===== Info Section (About, Why, Process) ===== */
.info-section {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: var(--bg-white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.info-grid .info-card:nth-child(1) {
  animation-delay: 0s;
}

.info-grid .info-card:nth-child(2) {
  animation-delay: 0.2s;
}

.info-grid .info-card:nth-child(3) {
  animation-delay: 0.4s;
}

.info-card {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
  animation: fadeInUp 0.8s ease-out backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
  animation: cardPulse 0.6s ease-out forwards;
}

.info-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.info-card h3 {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
}

.info-card p {
  color: var(--text-light);
  text-align: left;
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-list {
  list-style: none;
  text-align: left;
  margin-bottom: var(--spacing-lg);
}

.why-list li {
  padding: var(--spacing-sm) 0;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

.why-list li:last-child {
  border-bottom: none;
}

.process-list {
  list-style: none;
  text-align: left;
  margin-bottom: var(--spacing-lg);
  counter-reset: step-counter;
}

.process-list li {
  padding: var(--spacing-sm) 0;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  padding-left: var(--spacing-lg);
  position: relative;
}

.process-list li:last-child {
  border-bottom: none;
}

.process-list li strong {
  color: var(--primary-color);
}

.see-more-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.see-more-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* ===== Info Modals ===== */
.info-modal {
  display: none;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.info-modal.active {
  display: flex;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.info-modal .modal-content {
  position: relative;
  background: white;
  border-radius: 15px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--spacing-2xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10;
  animation: slideUp 0.3s ease;
}

.info-modal .modal-close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.info-modal .modal-close:hover {
  color: var(--primary-color);
  transform: scale(1.2) rotate(90deg);
}

.info-modal h2 {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-lg);
}

.info-modal p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-text h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.about-content {
  margin-bottom: var(--spacing-2xl);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.why-nalani h3 {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  font-size: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.benefit-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.benefit-card h4 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ===== Services Section ===== */
.services {
  padding: var(--spacing-2xl) var(--spacing-md);
  background-color: white;
}

#services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-lg);
  margin-top: 0;
}

@media (max-width: 900px) {
  #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #services .services-grid {
    grid-template-columns: 1fr;
  }

  #services .services-grid .service-card {
    min-height: 300px;
  }
}

.services-grid .service-card:nth-child(1) {
  animation-delay: 0s;
}

.services-grid .service-card:nth-child(2) {
  animation-delay: 0.1s;
}

.services-grid .service-card:nth-child(3) {
  animation-delay: 0.2s;
}

.services-grid .service-card:nth-child(4) {
  animation-delay: 0.3s;
}

.services-grid .service-card:nth-child(5) {
  animation-delay: 0.4s;
}

.services-grid .service-card:nth-child(6) {
  animation-delay: 0.5s;
}

.services-grid .service-card {
  background-color: #2d2d2d;
  padding: var(--spacing-lg);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  animation: slideInCard 0.6s ease-out backwards;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  box-shadow: 0 10px 24px rgba(10, 18, 48, 0.2);
  pointer-events: auto !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  isolation: isolate;
}

/* ===== ANIMATIONS FOR INDUSTRY PAGES ===== */

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-title {
  animation: slideInDown 0.8s ease-out;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.problem-card {
  animation: slideInUp 0.6s ease-out backwards;
}

.problem-card:nth-child(1) {
  animation-delay: 0s;
}
.problem-card:nth-child(2) {
  animation-delay: 0.1s;
}
.problem-card:nth-child(3) {
  animation-delay: 0.2s;
}
.problem-card:nth-child(4) {
  animation-delay: 0.3s;
}

.solution-card {
  animation: slideInUp 0.6s ease-out backwards;
}

.solution-card:nth-child(1) {
  animation-delay: 0s;
}
.solution-card:nth-child(2) {
  animation-delay: 0.1s;
}
.solution-card:nth-child(3) {
  animation-delay: 0.2s;
}
.solution-card:nth-child(4) {
  animation-delay: 0.3s;
}
.solution-card:nth-child(5) {
  animation-delay: 0.4s;
}
.solution-card:nth-child(6) {
  animation-delay: 0.5s;
}

.services-grid .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 12, 28, 0.45) 0%,
    rgba(8, 12, 28, 0.78) 100%
  );
  z-index: 0;
  transition: background 0.3s ease;
}

.services-grid .service-card:hover::before {
  background: linear-gradient(
    160deg,
    rgba(8, 12, 28, 0.35) 0%,
    rgba(8, 12, 28, 0.68) 100%
  );
}

/* Small AI subline used across service cards to reinforce AI integration */
.services-grid .service-card .ai-subline {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: rgba(255, 234, 219, 0.95);
  font-weight: 500;
  opacity: 0.95;
}

.services-grid .service-card > * {
  position: relative;
  z-index: 1;
}

.services-grid .service-card[data-service="branding"] {
  background-image: url("assets/images/services/branding%20and%20print.png");
}

.services-grid .service-card[data-service="uiux"] {
  background-image: url("assets/images/services/uiux%20design.png");
}

.services-grid .service-card[data-service="graphic"] {
  background-image: url("assets/images/services/graphic%20designs.jpeg");
}

.services-grid .service-card[data-service="marketing"] {
  background-image: url("assets/images/services/digital%20marketing.png");
}

.services-grid .service-card[data-service="media"] {
  background-image: url("assets/images/services/media%20production.png");
}

.services-grid .service-card[data-service="ai"] {
  background-image: url("assets/images/services/ai%20solutions.jpeg");
}

.services-grid .service-card:hover {
  box-shadow: 0 20px 40px rgba(10, 18, 48, 0.3);
  transform: translateY(-12px);
}

.services-grid .service-icon {
  font-size: 2.8rem;
  color: rgba(255, 239, 228, 0.98);
  margin-bottom: 0.25rem;
  animation: none;
  filter: none;
  position: relative;
  z-index: 2;
  text-shadow: none;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.services-grid .service-card:hover .service-icon {
  animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 107, 53, 0.4));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.6));
  }
}

.services-grid .service-card h3 {
  color: #ffffff;
  margin-bottom: 0;
  transition: transform 0.3s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.services-grid .service-card:hover h3 {
  transform: translateY(-3px);
}

.services-grid .service-card p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.services-grid .service-card:hover p {
  color: rgba(255, 255, 255, 0.96);
}

/* ===== AI-Readiness Quiz Section ===== */
.ai-readiness {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: linear-gradient(135deg, #f9f9ff 0%, #f0f4ff 100%);
  position: relative;
}

.ai-readiness .section-header {
  margin-bottom: var(--spacing-2xl);
}

.assessment-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 107, 53, 0.22);
  box-shadow: 0 10px 20px rgba(26, 26, 77, 0.06);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assessment-hero {
  padding: calc(var(--spacing-2xl) + 40px) var(--spacing-md) var(--spacing-2xl);
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 107, 53, 0.16),
      transparent 38%
    ),
    linear-gradient(135deg, #fffaf4 0%, #eef4ff 100%);
}

.assessment-hero-grid,
.assessment-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: var(--spacing-xl);
  align-items: center;
}

.assessment-hero-copy h1,
.assessment-cta-copy h2 {
  color: #13294b;
  margin: var(--spacing-md) 0;
  line-height: 1.08;
}

.assessment-hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 10ch;
}

.assessment-hero-copy p,
.assessment-cta-copy p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light);
  max-width: 60ch;
}

.assessment-hero-actions,
.assessment-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.assessment-hero-highlights,
.assessment-cta-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.assessment-hero-highlights {
  display: grid;
  gap: var(--spacing-md);
}

.assessment-highlight,
.assessment-cta-points li {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 26, 77, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(26, 26, 77, 0.08);
}

.assessment-highlight {
  padding: var(--spacing-lg);
}

.assessment-highlight strong,
.assessment-cta-points strong {
  display: block;
  color: #13294b;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.assessment-highlight span,
.assessment-cta-points span {
  color: var(--text-light);
  line-height: 1.65;
}

.assessment-cta-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(26, 26, 77, 0.08);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(26, 26, 77, 0.09);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.assessment-cta-copy h2 {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  max-width: 12ch;
}

.assessment-cta-points {
  display: grid;
  gap: var(--spacing-md);
}

.assessment-cta-points li {
  padding: var(--spacing-lg);
}

.assessment-hero .btn-secondary,
.assessment-cta-card .btn-secondary {
  border-color: rgba(19, 41, 75, 0.24);
  color: #13294b;
  background: rgba(255, 255, 255, 0.88);
}

.assessment-hero .btn-secondary:hover,
.assessment-cta-card .btn-secondary:hover {
  background: #13294b;
  border-color: #13294b;
  color: #ffffff;
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
}

.quiz-form {
  background: var(--bg-white);
  padding: var(--spacing-2xl);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(26, 26, 77, 0.12);
  position: relative;
}

.quiz-progress {
  margin-bottom: var(--spacing-2xl);
  position: relative;
}

.progress-bar {
  height: 6px;
  background: var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.progress-bar::after {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #ff8c42);
  border-radius: 10px;
  width: 25%;
  transition: width 0.4s ease;
}

.quiz-form.q2-active .progress-bar::after {
  width: 50%;
}
.quiz-form.q3-active .progress-bar::after {
  width: 75%;
}
.quiz-form.q4-active .progress-bar::after {
  width: 100%;
}

.progress-text {
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

.quiz-questions {
  margin-bottom: var(--spacing-2xl);
  min-height: 300px;
}

.question-card {
  display: none;
  animation: fadeInUp 0.4s ease-out;
}

.question-card.active {
  display: block;
}

.question-card h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: var(--spacing-lg);
  line-height: 1.4;
}

.answer-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.answer-option {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  position: relative;
}

.answer-option:hover {
  border-color: var(--primary-color);
  background: rgba(255, 107, 53, 0.05);
  transform: translateX(8px);
}

.answer-option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: var(--spacing-md);
  cursor: pointer;
  accent-color: var(--primary-color);
}

.answer-option span {
  font-weight: 500;
  color: var(--text-dark);
  flex: 1;
  cursor: pointer;
}

.answer-option input[type="radio"]:checked + span {
  color: var(--primary-color);
  font-weight: 600;
}

.answer-option input[type="radio"]:checked ~ *,
.answer-option input[type="radio"]:checked {
  color: var(--primary-color);
}

.quiz-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
}

.quiz-buttons .btn {
  flex: 1;
  max-width: 200px;
}

/* Quiz Results Modal */
.quiz-results-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--spacing-lg);
  backdrop-filter: blur(5px);
}

.results-content {
  background: white;
  border-radius: 20px;
  padding: var(--spacing-2xl);
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.5s ease-out;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.results-content h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-lg);
}

.score-display {
  position: relative;
  margin: var(--spacing-2xl) 0;
  padding: var(--spacing-2xl);
  background: linear-gradient(135deg, #f0f4ff 0%, #f9f9ff 100%);
  border-radius: 15px;
  border: 2px solid var(--border-color);
}

.score-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  backdrop-filter: blur(8px);
  opacity: 1;
  transition: opacity 0.6s ease;
}

.score-blur.revealed {
  opacity: 0;
  pointer-events: none;
}

.score-value {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
  margin-bottom: var(--spacing-md);
}

.score-label {
  color: var(--text-light);
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  margin: 0;
}

.results-description {
  color: var(--text-light);
  margin: var(--spacing-lg) 0;
  font-size: 0.95rem;
}

.quiz-capture-form {
  margin: var(--spacing-lg) 0;
}

.quiz-capture-form .form-group {
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.quiz-capture-form label {
  display: block;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.quiz-capture-form input {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.quiz-capture-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

#quizSubmitBtn {
  width: 100%;
  margin-top: var(--spacing-md);
}

.results-close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.95rem;
  padding: var(--spacing-md);
  transition: color 0.3s ease;
  width: 100%;
}

.results-close-btn:hover {
  color: var(--primary-color);
}

@media (max-width: 900px) {
  .assessment-hero-grid,
  .assessment-cta-card {
    grid-template-columns: 1fr;
  }

  .assessment-hero-copy h1,
  .assessment-cta-copy h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .assessment-hero {
    padding-top: calc(var(--spacing-2xl) + 20px);
  }

  .assessment-hero-actions .btn,
  .assessment-cta-actions .btn {
    width: 100%;
  }
}

/* ===== How We Work Section ===== */
.how-we-work {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f1f9 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
}

.process-card {
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border-color);
  animation: zoomIn 0.6s ease-out backwards;
  overflow: hidden;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.process-grid .process-card:nth-child(1) {
  animation-delay: 0s;
}

.process-grid .process-card:nth-child(2) {
  animation-delay: 0.1s;
}

.process-grid .process-card:nth-child(3) {
  animation-delay: 0.2s;
}

.process-grid .process-card:nth-child(4) {
  animation-delay: 0.3s;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.process-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  opacity: 0.3;
}

.process-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  animation: bounceIcon 2s ease-in-out infinite;
}

@keyframes bounceIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.process-card h3 {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
}

.process-card p {
  color: var(--text-light);
  margin: 0;
}

#case-studies {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: var(--bg-light);
}

#case-studies .case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

#case-studies .case-study-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

#case-studies .case-study-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

#case-studies .case-study-card:hover .case-study-image {
  transform: scale(1.02);
}

#case-studies .case-study-image {
  height: 200px;
  background: linear-gradient(135deg, #ff5b32 0%, #fff2cf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#case-studies .placeholder-image {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  #case-studies .case-studies-grid {
    grid-template-columns: 1fr;
  }

  #case-studies .case-study-image {
    height: 180px;
  }
}

#case-studies .case-study-content {
  padding: var(--spacing-lg);
}

#case-studies .case-study-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

#case-studies .case-challenge,
#case-studies .case-solution,
#case-studies .case-results {
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  line-height: 1.6;
}

#case-studies .case-results {
  color: #27ae60;
  font-weight: 600;
}

/* ===== Contact Section ===== */
.contact {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
}

.contact-form-section h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: white;
  color: var(--text-dark);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 91, 50, 0.1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 91, 50, 0.15);
  transform: translateY(-1px);
}

.required {
  color: #e74c3c;
  margin-left: 2px;
}

.form-status {
  padding: var(--spacing-md);
  border-radius: 6px;
  margin-bottom: var(--spacing-md);
  display: none;
  font-weight: 500;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.contact-note {
  color: #999;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.service-cta {
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
  margin-top: auto;
  opacity: 0;
  transform: translateY(10px);
}

.service-cta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.services-grid .service-card:hover .service-cta {
  opacity: 1;
  transform: translateY(0);
  color: white;
}

.services-grid .service-card:hover .service-cta::after {
  transform: scaleX(1);
  background: white;
  transform-origin: left;
}

/* Service Detail Modals */
.service-modal {
  display: none;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.service-modal.active {
  display: flex;
  visibility: visible;
  align-items: center;
  justify-content: center;
}

.service-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.service-modal .modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.service-modal h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-modal .service-intro {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  font-style: italic;
}

.service-modal h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-list li {
  padding: 0.7rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
  line-height: 1.6;
}

.service-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.service-modal p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.modal-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.modal-cta .btn {
  width: 100%;
  padding: 12px 24px;
  text-align: center;
}

.service-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.service-modal .modal-close:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1) rotate(180deg);
  box-shadow: 0 4px 12px rgba(255, 91, 50, 0.3);
}

.quick-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.quick-quote-modal.active {
  display: flex;
}

.quick-quote-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 36, 0.6);
  backdrop-filter: blur(8px);
}

.quick-quote-modal__dialog {
  position: relative;
  width: min(100%, 420px);
  background: linear-gradient(180deg, #ffffff 0%, #fff8ef 100%);
  border-radius: 24px;
  padding: 1.6rem;
  border: 1px solid rgba(255, 91, 50, 0.18);
  box-shadow: 0 28px 60px rgba(10, 22, 44, 0.26);
  animation: slideUp 0.24s ease;
}

.quick-quote-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 38, 75, 0.08);
  color: #17345e;
  cursor: pointer;
  transition: var(--transition);
}

.quick-quote-modal__close:hover {
  background: var(--primary-color);
  color: #fff;
}

.quick-quote-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 91, 50, 0.12);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.quick-quote-modal__dialog h2 {
  margin-bottom: 0.55rem;
  color: #102747;
  font-size: 1.7rem;
}

.quick-quote-modal__copy {
  margin-bottom: 1.1rem;
  color: #5a6677;
}

.quick-quote-modal__form {
  display: grid;
  gap: 0.9rem;
}

.quick-quote-modal__field {
  display: grid;
  gap: 0.35rem;
}

.quick-quote-modal__field span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #17345e;
}

.quick-quote-modal__field input {
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid #d3dfef;
  border-radius: 14px;
  background: #fff;
  color: #1f2d3d;
  font-size: 1rem;
  transition: var(--transition);
}

.quick-quote-modal__field input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255, 91, 50, 0.12);
}

.quick-quote-modal__hint {
  margin: -0.1rem 0 0.2rem;
  font-size: 0.9rem;
  color: #516072;
}

.quick-quote-modal__submit {
  width: 100%;
}

.quick-quote-modal__submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.quick-quote-modal__status {
  margin: 0;
  min-height: 1.45rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.quick-quote-modal__status.success {
  color: #1c7c43;
}

.quick-quote-modal__status.error {
  color: #b42318;
}

body.quick-quote-open {
  overflow: hidden;
}

/* Chatbot Widget Styling */
.chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-family: inherit;
}

/* Hide chatbot on very small screens */
@media (max-width: 360px) and (max-height: 500px) {
  .chatbot-widget {
    display: none;
  }
}

@media (max-width: 480px) {
  .quick-quote-modal {
    padding: 0.85rem;
  }

  .quick-quote-modal__dialog {
    padding: 1.2rem;
    border-radius: 18px;
  }

  .quick-quote-modal__dialog h2 {
    font-size: 1.45rem;
  }
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
  border: none;
  position: relative;
  z-index: 1000;
  pointer-events: all !important;
  overflow: hidden;
  padding: 0;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.chatbot-toggle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.online-indicator {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #4caf50;
  border-radius: 50%;
  bottom: 0;
  right: 0;
  border: 2px solid white;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.chatbot-widget .chatbot-popup {
  position: absolute;
  right: 74px;
  bottom: 12px;
  background: #13294b;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(19, 41, 75, 0.18);
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease;
  pointer-events: none;
  white-space: nowrap;
}

.chatbot-widget .chatbot-popup::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 16px;
  width: 12px;
  height: 12px;
  background: #13294b;
  transform: rotate(45deg);
  border-radius: 2px;
}

.chatbot-widget .chatbot-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-window {
  display: none;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-height: 600px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  animation: slideUp 0.3s ease;
  flex-direction: column;
  z-index: 1000;
}

.chatbot-window.active {
  display: flex;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--secondary-color), #2d2d5f);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content {
  display: flex;
  flex-direction: column;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.chatbot-header p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  display: flex;
  align-items: center;
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* Socials Row */
.chatbot-socials {
  display: flex;
  gap: 12px;
  padding: 15px 20px;
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
  justify-content: center;
}

.social-btn {
  width: 45px;
  height: 45px;
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.social-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.social-btn.whatsapp-btn:hover {
  background: #25d366;
  border-color: #25d366;
}

/* Messages Area */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  background: white;
  max-height: 250px;
}

.message {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  animation: fadeIn 0.3s ease;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d8e3f5;
  background: #edf4ff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10203d;
  flex-shrink: 0;
}

.message-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.message-avatar-fallback {
  letter-spacing: 0.04em;
}

.message-content {
  display: flex;
  flex-direction: column;
}

.message-content p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  word-wrap: break-word;
  line-height: 1.4;
  font-size: 0.95rem;
}

.bot-message .message-content p {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.user-message {
  justify-content: flex-end;
}

.user-message .message-content p {
  background: var(--primary-color);
  color: white;
  border: none;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.quick-reply {
  background: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.quick-reply:hover {
  background: var(--primary-color);
  color: white;
}

.chatbot-quote-form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid #d8e3f5;
  min-width: min(260px, 72vw);
}

.chatbot-quote-form input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cddbee;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
}

.chatbot-quote-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 91, 50, 0.16);
}

.chatbot-quote-form button {
  border: none;
  border-radius: 8px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 9px 10px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.chatbot-quote-form button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.chatbot-quote-status {
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  color: #4f5f7c;
  background: transparent !important;
  border: none !important;
}

.chatbot-quote-status.error {
  color: #b42318;
}

.chatbot-quote-status.success {
  color: #167d31;
}

/* Input Area */
.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #eee;
  background: white;
}

.chatbot-input-area input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.chatbot-input-area input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.chatbot-input-area button {
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.chatbot-input-area button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .chatbot-window {
    width: calc(100vw - 40px);
    max-width: 380px;
    bottom: 100px;
  }

  .chatbot-toggle {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
    bottom: 20px;
    right: 15px;
  }

  .chatbot-input-area input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 10px 14px;
    -webkit-appearance: none; /* Remove iOS styling */
    border-radius: 20px;
  }

  .chatbot-input-area input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 91, 50, 0.2);
  }

  .chatbot-messages {
    max-height: 200px;
    padding: 12px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: thin; /* Firefox */
  }

  .chatbot-messages::-webkit-scrollbar {
    width: 4px;
  }

  .chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
  }

  .chatbot-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
  }

  .chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #aaa;
  }

  .message-content p {
    font-size: 0.9rem;
    padding: 8px 10px;
  }

  .chatbot-header {
    padding: 12px 16px;
  }

  .chatbot-header h3 {
    font-size: 1rem;
  }

  .chatbot-header p {
    font-size: 0.8rem;
  }

  .chatbot-socials {
    gap: 6px;
    padding: 10px 12px;
  }

  .social-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .chatbot-widget {
    bottom: 15px;
    right: 15px;
  }

  .chatbot-window {
    width: calc(100vw - 60px);
    max-width: 400px;
    bottom: 85px;
  }

  .chatbot-toggle {
    width: 58px;
    height: 58px;
    font-size: 1.4rem;
  }

  .chatbot-messages {
    max-height: 220px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .chatbot-messages::-webkit-scrollbar {
    width: 4px;
  }

  .chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
  }

  .chatbot-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
  }

  .chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #aaa;
  }

  .chatbot-input-area {
    padding: 10px;
  }

  .chatbot-input-area input {
    font-size: 15px;
    padding: 9px 12px;
  }

  .chatbot-input-area button {
    width: 38px;
    height: 38px;
  }

  .chatbot-socials {
    gap: 8px;
    padding: 12px 16px;
  }

  .social-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

.chatbot-content {
  display: flex;
  flex-direction: column;
}

/* Socials Panel */
.chatbot-socials {
  padding: 30px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color), #2d2d5f);
  color: white;
}

.nalani-greeting {
  margin-bottom: 2rem;
}

.nalani-avatar {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.nalani-greeting h4 {
  margin: 0.5rem 0 0.25rem 0;
  font-size: 1.2rem;
}

.nalani-greeting p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

.socials-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 53, 0.2);
  border: 2px solid var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-btn:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 107, 53, 0.3);
}

.social-btn.whatsapp-btn:hover {
  background: #25d366;
  border-color: #25d366;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: left;
  font-size: 0.9rem;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.chat-trigger-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
}

.chat-trigger-btn:hover {
  background: #ff5a25;
  transform: scale(1.02);
}

/* Chat Interface */
.chatbot-chat {
  display: flex;
  flex-direction: column;
  height: 500px;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--secondary-color), #2d2d5f);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chatbot-close:hover {
  transform: rotate(90deg);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f9f9f9;
}

.chatbot-message {
  margin-bottom: 15px;
  display: flex;
  animation: fadeIn 0.3s ease;
}

.chatbot-message p {
  margin: 0;
  padding: 10px 15px;
  border-radius: 12px;
  max-width: 85%;
  word-wrap: break-word;
  line-height: 1.4;
}

.bot-message {
  justify-content: flex-start;
}

.bot-message p {
  background: white;
  border: 1px solid #eee;
  color: #333;
}

.user-message {
  justify-content: flex-end;
}

.user-message p {
  background: var(--primary-color);
  color: white;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-reply {
  background: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.quick-reply:hover {
  background: var(--primary-color);
  color: white;
}

/* ===== Responsive Sections ===== */
@media (max-width: 768px) {
}

.chatbot-message {
  margin-bottom: 15px;
  display: flex;
  animation: fadeIn 0.3s ease;
}

.chatbot-message p {
  margin: 0;
  padding: 10px 15px;
  border-radius: 12px;
  max-width: 85%;
  word-wrap: break-word;
  line-height: 1.4;
}

.bot-message {
  justify-content: flex-start;
}

.bot-message p {
  background: white;
  border: 1px solid #eee;
  color: #333;
}

.user-message {
  justify-content: flex-end;
}

.user-message p {
  background: var(--primary-color);
  color: white;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-reply {
  background: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.quick-reply:hover {
  background: var(--primary-color);
  color: white;
}

.chatbot-input {
  display: flex;
  gap: 10px;
  padding: 15px;
  background: white;
  border-top: 1px solid #eee;
}

.chatbot-input input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.chatbot-input input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.chatbot-input button {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chatbot-input button:hover {
  background: #ff5a25;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .chatbot-container {
    width: calc(100% - 40px);
    height: 400px;
    max-width: 380px;
    bottom: 80px;
    right: 20px;
  }

  .service-modal .modal-content {
    padding: 30px 20px;
    max-width: calc(100% - 40px);
  }
}

/* Service Detail Pages Styles */
.service-hero {
  background:
    linear-gradient(135deg, rgba(26, 26, 77, 0.85), rgba(45, 45, 110, 0.85)),
    url("assets/images/services/branding%20and%20print.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.service-hero-image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 40%;
  overflow: hidden;
  z-index: 0;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slideInRight 0.8s ease-out;
}

.service-hero::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.1) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: movingDots 20s linear infinite;
  z-index: 0;
}

@keyframes movingDots {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  animation: slideInDown 0.8s ease-out;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 60%;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: slideInDown 0.8s ease-out 0.1s both;
  max-width: 60%;
}

.service-hero .btn {
  margin-top: 1rem;
  animation: slideInDown 0.8s ease-out 0.2s both;
}

/* Service Details Section */
.service-details {
  padding: 80px 0;
  background: #f9f9f9;
}

.details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.details-main h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.details-main h2:first-child {
  margin-top: 0;
}

.service-list-detailed {
  list-style: none;
  padding: 0;
}

.service-list-detailed li {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.service-list-detailed li h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.service-list-detailed li p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.details-main > p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.benefit-item h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-card h3 {
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

.sidebar-card li:last-child {
  border-bottom: none;
}

.sidebar-card strong {
  color: var(--secondary-color);
}

/* Other Services Section */
.other-services {
  padding: 80px 0;
  background: white;
}

.other-services h2 {
  text-align: center;
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 3rem;
}

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.service-preview-card {
  background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.3);
}

.service-preview-card i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.service-preview-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

/* Quote Section */
.quote-section {
  padding: 80px 0;
  background: var(--primary-color);
  color: white;
}

.quote-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.quote-section > .container > p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.quote-form {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
  color: #333;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.quote-form textarea {
  resize: vertical;
}

.btn-large {
  width: 100%;
  padding: 14px 24px !important;
  font-size: 1.05rem;
}

/* Recent Clients Section */
.recent-clients {
  padding: 80px 0;
  background: #f9f9f9;
}

.recent-clients h2 {
  text-align: center;
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 3rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.client-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.client-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
}

.client-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-card h3 {
  color: var(--secondary-color);
  padding: 1.5rem 1.5rem 0;
  margin: 0;
  font-size: 1.1rem;
}

.client-card p {
  color: #666;
  padding: 1rem 1.5rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.client-meta {
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-hero-content h1 {
    font-size: 2rem;
  }

  .service-hero-content p {
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding: 60px 0;
  }

  .service-details,
  .other-services,
  .quote-section,
  .recent-clients {
    padding: 60px 0;
  }
}

.contact-info h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-method {
  display: flex;
  gap: var(--spacing-md);
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-color);
  min-width: 30px;
}

.contact-method h4 {
  margin-bottom: var(--spacing-xs);
}

.contact-method p {
  margin: 0;
}

.contact-method a {
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0d0d2e 100%);
  color: white;
  padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(74, 144, 226, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.footer-section {
  animation: fadeInUp 0.8s ease-out backwards;
}

.footer-section:nth-child(1) {
  animation-delay: 0s;
}

.footer-section:nth-child(2) {
  animation-delay: 0.1s;
}

.footer-section:nth-child(3) {
  animation-delay: 0.2s;
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.footer-section p {
  color: #aaa;
  margin: 0;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: #aaa;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.footer-section a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-section a:hover {
  color: white;
  transform: translateX(3px);
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-section a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: var(--spacing-md);
  font-size: 1.3rem;
}

.social-icons a {
  color: #aaa;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.social-icons a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 107, 53, 0.3);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.footer-bottom a {
  color: #aaa;
}

.footer-bottom a:hover {
  color: white;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .nav-menu {
    position: absolute;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg) 0;
    gap: var(--spacing-md);
  }

  .nav-menu.active {
    left: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card {
    min-height: 300px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .info-modal .modal-content {
    width: 95%;
    padding: var(--spacing-lg);
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    padding: 3rem var(--spacing-md);
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  /* Contact Form Mobile */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .contact-form-section,
  .contact-info {
    width: 100%;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px;
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }
}

/* ===== CEO Section Mobile Responsiveness ===== */
@media (max-width: 768px) {
  /* About page CEO section */
  .about-ceo-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }

  .about-ceo-grid .ceo-image {
    order: 2;
  }

  .about-ceo-grid .ceo-content {
    order: 1;
  }

  /* Dedicated CEO page */
  .ceo-profile-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .ceo-profile-grid .ceo-sidebar {
    position: static !important;
    text-align: center;
  }

  .ceo-profile-grid .ceo-sidebar img {
    width: 250px !important;
    height: 250px !important;
  }

  .ceo-expertise-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

@media (max-width: 480px) {
  .about-ceo-grid .ceo-image img {
    width: 250px !important;
    height: 250px !important;
  }

  .about-features-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 480px) {
  .ceo-profile-grid .ceo-sidebar img {
    width: 200px !important;
    height: 200px !important;
  }

  .about-ceo-grid .ceo-image img {
    width: 250px !important;
    height: 250px !important;
  }
}

/* ===== Industries Section ===== */
.industries {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f1ff 100%);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.hidden-industry {
  display: none;
}

.hidden-industry.visible {
  display: block;
}

.industries-see-more {
  text-align: center;
  padding: var(--spacing-lg) 0 0 0;
}

.industry-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-color);
  animation: slideInCard 0.6s ease-out backwards;
}

.industry-card:nth-child(1) {
  animation-delay: 0s;
}
.industry-card:nth-child(2) {
  animation-delay: 0.1s;
}
.industry-card:nth-child(3) {
  animation-delay: 0.2s;
}
.industry-card:nth-child(4) {
  animation-delay: 0.3s;
}
.industry-card:nth-child(5) {
  animation-delay: 0.4s;
}
.industry-card:nth-child(6) {
  animation-delay: 0.5s;
}
.industry-card:nth-child(7) {
  animation-delay: 0.6s;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-left-color: var(--primary-dark);
}

.industry-card:hover .industry-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--primary-dark);
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.industry-card h3 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.industry-card p {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  line-height: 1.5;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  display: inline-block;
  text-decoration: none;
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
  }

  .industry-card {
    padding: var(--spacing-md);
  }

  .industry-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
  }
}

/* ===== INDUSTRY LANDING PAGES STYLING ===== */

/* Industry Hero Section */
.industry-hero {
  padding: 4rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 550px;
  display: flex;
  align-items: center;
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Animated background elements */
.industry-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(30px);
  }
}

.industry-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 0;
  animation: float 25s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.stat-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Problem Section Styling */
.problem-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  position: relative;
}

.problem-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.problem-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.problem-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.problem-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.problem-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Solution Section Styling */
.solution-section {
  padding: 4rem 2rem;
  background: white;
  position: relative;
}

.solution-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 107, 53, 0.03);
  border-radius: 50%;
  z-index: 0;
}

.solution-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(26, 26, 77, 0.03);
  border-radius: 50%;
  z-index: 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.solution-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.solution-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), #ff8c4d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.solution-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.solution-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.solution-card ul {
  list-style: none;
  text-align: left;
}

.solution-card li {
  padding: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Case Study Section */
.case-study-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  position: relative;
}

.case-study-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.case-study-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
}

.case-study-section .case-study-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.case-study-section .case-study-content::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 107, 53, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.case-study-section .case-study-content > * {
  position: relative;
  z-index: 1;
}

.case-study-section .case-study-left h3 {
  color: var(--text-dark);
  margin: 1.5rem 0 1rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.case-study-section .case-study-left h3:first-child {
  margin-top: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.case-study-section .case-study-left h3:nth-child(3) {
  color: #27ae60;
  font-weight: 700;
}

.case-study-section .case-study-left ul {
  list-style: none;
  color: var(--text-light);
}

.case-study-section .case-study-left li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.case-study-section .case-study-left li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

.case-study-section .case-study-left p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.case-study-section .results-highlight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f5 100%);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.case-study-section .result-stat {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 3px solid var(--primary-color);
  position: relative;
}

.case-study-section .result-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.case-study-section .result-stat .number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  animation: slideInDown 0.6s ease-out;
}

.case-study-section .result-stat .label {
  display: block;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-study-section .case-study-visual {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-section .case-study-visual div {
  width: 100%;
  animation: slideInUp 0.8s ease-out;
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.case-study-section .case-study-visual div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  pointer-events: none;
}

.case-study-section .case-study-visual h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.case-study-section .case-study-visual p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

/* Testimonial Enhancement */
.case-study-section .case-study-left::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.1;
  font-weight: bold;
}

/* Services Grid */
.services-section {
  padding: 4rem 2rem;
  background: white;
  position: relative;
}

.services-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-item {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d6f 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--primary-color);
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 150px;
  height: 150px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  z-index: 0;
  transition: all 0.3s ease;
}

.service-item:hover::before {
  right: -10px;
  background: rgba(255, 107, 53, 0.2);
}

.service-item > * {
  position: relative;
  z-index: 1;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  border-left-color: var(--primary-dark);
}

.service-item h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  position: relative;
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  z-index: 0;
}

.pricing-card:hover::before {
  left: 100%;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

/* Enhanced Testimonial Styling */
.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary-color);
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.05) 0%,
    rgba(26, 26, 77, 0.05) 100%
  );
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
}

.before-after-transform {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #ffe5d9 0%, #e6f2ff 100%);
  border-radius: 12px;
}

.before-after-transform .label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.before-after-transform .metric {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.before-state {
  padding: 1.5rem;
  background: rgba(255, 0, 0, 0.05);
  border-left: 4px solid #e74c3c;
  border-radius: 8px;
}

.after-state {
  padding: 1.5rem;
  background: rgba(46, 204, 113, 0.05);
  border-left: 4px solid #27ae60;
  border-radius: 8px;
}

.transform-arrow {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: bold;
  animation: float 3s ease-in-out infinite;
}

.success-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c4d 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.client-testimonial {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.client-testimonial .quote-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.client-testimonial .quote-author {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.95rem;
}

.client-testimonial .quote-role {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Responsive Testimonial Styling */
@media (max-width: 768px) {
  .case-study-section .case-study-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }

  .case-study-section {
    padding: 2.5rem 1.5rem;
  }

  .case-study-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .case-study-section .results-highlight {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .case-study-section .result-stat {
    padding: 1rem;
  }

  .case-study-section .result-stat .number {
    font-size: 1.5rem;
  }

  .before-after-transform {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .transform-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  .case-study-section .case-study-left h3 {
    font-size: 1.1rem;
  }

  .client-testimonial {
    padding: 1.5rem;
  }

  .testimonial-quote {
    font-size: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .case-study-section .case-study-content {
    padding: 1rem;
  }

  .case-study-section {
    padding: 1.5rem 1rem;
  }

  .case-study-section .results-highlight {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .case-study-section .result-stat .number {
    font-size: 1.3rem;
  }

  .before-after-transform {
    padding: 1rem;
  }

  .case-study-section .case-study-left h3 {
    font-size: 1rem;
  }
}

.pricing-card.featured {
  border-top: 4px solid var(--primary-dark);
  transform: scale(1.05);
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.15);
}

.pricing-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  list-style: none;
}

/* ===== Thank You Page Styles ===== */
.thank-you-page {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9ff 100%);
}

.thank-you-hero {
  padding: calc(var(--spacing-2xl) * 1.5) var(--spacing-md);
  text-align: center;
  background: linear-gradient(135deg, #f9f9ff 0%, #f0f4ff 100%);
  border-bottom: 2px solid rgba(255, 107, 53, 0.1);
  position: relative;
  overflow: hidden;
}

.thank-you-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-color);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  animation: slideInDown 0.6s ease-out;
}

.success-badge i {
  font-size: 1.3rem;
}

.thank-you-hero h1 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-lg);
  animation: slideInDown 0.6s ease-out 0.1s both;
}

.thank-you-hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto var(--spacing-2xl);
  animation: slideInDown 0.6s ease-out 0.2s both;
}

.processing-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  background: white;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  animation: slideInUp 0.6s ease-out 0.3s both;
}

.assessment-summary {
  margin-top: var(--spacing-md);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: #ffffff;
  font-size: 0.92rem;
}

.assessment-summary p {
  margin: 0;
  white-space: nowrap;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Personalized Video Section */
.personalized-video-section {
  padding: var(--spacing-2xl) var(--spacing-md);
}

.video-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.video-container {
  width: 100%;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 9;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f4ff 0%, #f9f9ff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-lg);
  gap: var(--spacing-md);
  animation: fadeIn 0.6s ease-out;
}

.play-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  animation: pulse 2s ease-in-out infinite;
}

.video-loading {
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
}

.video-note {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

.video-message h2 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-lg);
}

.video-message p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.message-points {
  list-style: none;
  padding: 0;
  margin: var(--spacing-lg) 0 0;
}

.message-points li {
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  color: var(--text-light);
  font-size: 0.95rem;
}

.message-points li:last-child {
  border-bottom: none;
}

.message-points li::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Value Adds Section */
.value-adds {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: white;
}

.value-adds h2 {
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: var(--spacing-2xl);
  font-size: 1.05rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease-out backwards;
}

.value-card:nth-child(1) {
  animation-delay: 0s;
}
.value-card:nth-child(2) {
  animation-delay: 0.1s;
}
.value-card:nth-child(3) {
  animation-delay: 0.2s;
}

.value-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.15);
  transform: translateY(-8px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0 auto var(--spacing-md);
}

.value-card h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
}

.card-highlight {
  color: var(--primary-color);
  font-weight: 600;
  margin: var(--spacing-md) 0 !important;
}

.value-card .btn {
  width: 100%;
  margin-top: var(--spacing-lg);
}

/* Timeline Section */
.next-steps-timeline {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: linear-gradient(135deg, #f9f9ff 0%, #f0f4ff 100%);
}

.next-steps-timeline h2 {
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: var(--spacing-lg) 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    rgba(255, 107, 53, 0.2)
  );
  border-radius: 10px;
}

.timeline-item {
  margin-bottom: var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  animation: slideInUp 0.6s ease-out backwards;
}

.timeline-item:nth-child(odd) {
  animation-delay: 0s;
}
.timeline-item:nth-child(even) {
  animation-delay: 0.1s;
}

.timeline-item:nth-child(2n) .timeline-content {
  order: -1;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.marker-dot {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.marker-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  width: 100px;
}

.timeline-content {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* Confidence Section */
.confidence-section {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: white;
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.confidence-item {
  text-align: center;
  padding: var(--spacing-lg);
  animation: slideInUp 0.6s ease-out backwards;
}

.confidence-item:nth-child(1) {
  animation-delay: 0s;
}
.confidence-item:nth-child(2) {
  animation-delay: 0.1s;
}
.confidence-item:nth-child(3) {
  animation-delay: 0.2s;
}

.confidence-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0 auto var(--spacing-md);
}

.confidence-item h3 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
}

.confidence-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* Thank You CTA Section */
.thank-you-cta {
  padding: calc(var(--spacing-2xl) * 1.5) var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%);
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  animation: slideInDown 0.6s ease-out;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-2xl);
  animation: slideInDown 0.6s ease-out 0.1s both;
}

.btn-large {
  font-size: 1.1rem;
  padding: var(--spacing-md) var(--spacing-2xl) !important;
  min-width: 300px;
  animation: slideInUp 0.6s ease-out 0.2s both;
}

.btn-large:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for Thank You page */
@media (max-width: 1024px) {
  .video-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: var(--spacing-md);
  }

  .timeline-item:nth-child(2n) .timeline-content {
    order: 0;
  }

  .timeline-marker {
    flex-direction: row;
    justify-content: flex-start;
  }

  .marker-label {
    text-align: left;
    margin-left: var(--spacing-md);
    width: auto;
  }
}

@media (max-width: 768px) {
  .thank-you-hero h1 {
    font-size: 1.8rem;
  }

  .thank-you-hero .subtitle {
    font-size: 1rem;
  }

  .video-placeholder {
    min-height: 300px;
  }

  .message-points li {
    font-size: 0.9rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .btn-large {
    min-width: auto;
    width: 100%;
  }

  .processing-indicator {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .assessment-summary {
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.6rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Quote Section */
.quote-section {
  padding: 4rem 2rem;
  background: white;
  position: relative;
}

.quote-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.quote-section h2 {
  position: relative;
  z-index: 1;
}

.quote-form {
  max-width: 600px;
  margin: 2rem auto;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8ecf0 100%);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  width: 100%;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.form-status.success {
  background: #d4edda;
  color: #155724;
  display: block;
}

.form-status.error {
  background: #f8d7da;
  color: #721c24;
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d6f 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: rgba(255, 107, 53, 0.08);
  border-radius: 50%;
  z-index: 0;
  animation: float 25s ease-in-out infinite reverse;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* Footer Styling */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-socials,
.social-links {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer-socials a,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.footer-socials a:hover,
.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 91, 50, 0.3);
}

@media (max-width: 768px) {
  .footer-socials,
  .social-links {
    justify-content: center;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Design for Industry Pages */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.5rem;
  }

  .case-study-section .case-study-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .case-study-section .results-highlight {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    min-width: 100%;
  }
}

/* ===== Agency Refresh Layer ===== */
:root {
  --primary-color: #ff5b32;
  --primary-dark: #e6451a;
  --secondary-color: #2d2d2d;
  --text-dark: #10203d;
  --text-light: #4f5f7c;
  --bg-light: #f5f8ff;
  --border-color: #d8e3f5;
}

body {
  font-family: "Plus Jakarta Sans", "Trebuchet MS", "Lucida Sans", sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 18%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    "Space Grotesk", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.navbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 38, 75, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: none;
  padding: 0.85rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-wrapper {
  width: 100%;
}

.navbar .logo.logo-image {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.navbar .logo.logo-image::before {
  content: none;
}

.navbar .logo.logo-image:hover {
  transform: translateY(-1px);
}

.navbar .logo.logo-image:hover::before {
  content: none;
}

.navbar .logo.logo-image img {
  width: auto;
  height: 58px;
  display: block;
  max-width: 100%;
  transition: transform 0.25s ease;
}

.navbar .logo.logo-image:hover img {
  transform: scale(1.02);
}

.nav-menu a {
  color: #243456;
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.nav-menu .nav-cta {
  color: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: linear-gradient(135deg, var(--primary-color), #ff9348);
  box-shadow: 0 10px 22px rgba(233, 84, 37, 0.26);
}

.nav-menu .nav-cta::after {
  display: none;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.82rem 1.45rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff974f);
  color: #ffffff;
  border: 0;
}

.btn-primary:hover {
  box-shadow: 0 14px 26px rgba(233, 84, 37, 0.28);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(14, 36, 74, 0.5);
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.78);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: #ffffff;
}

.hero {
  background:
    linear-gradient(
      112deg,
      rgba(9, 21, 45, 0.84) 0%,
      rgba(9, 21, 45, 0.62) 45%,
      rgba(9, 21, 45, 0.84) 100%
    ),
    url("landing%20page.png") center center / cover no-repeat,
    linear-gradient(145deg, #0f2a57 0%, #1d3f75 58%, #294d87 100%);
  background-attachment: scroll, scroll, scroll;
  background-color: #0f2a57;
  min-height: 88vh;
  height: auto;
  align-items: stretch;
}

.hero-background {
  opacity: 0.9;
}

.gradient-blob {
  display: block;
  opacity: 0.45;
  filter: blur(74px);
}

.hero .hero-wrapper {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
  margin: 0 auto;
  height: auto;
  gap: 0;
  padding: 7.4rem 0 4.6rem;
}

.hero .hero-content {
  max-width: 100%;
}

.hero .hero-title {
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  color: #ffffff;
  text-shadow: none;
  margin-bottom: 1rem;
  animation: none;
}

.hero .hero-subtitle {
  color: rgba(234, 241, 255, 0.94);
  max-width: 680px;
  font-size: 1.07rem;
  margin-bottom: 1.2rem;
  text-shadow: none;
  animation: none;
}

.hero .rotating-text {
  color: var(--primary-color);
  text-shadow: 0 0 18px rgba(255, 107, 53, 0.25);
  min-width: auto;
}

.hero-trust-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.hero-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #e9f1ff;
  font-size: 0.97rem;
  font-weight: 500;
}

.hero-trust-list i {
  color: #7dd6c8;
}

.hero .hero-ctas {
  gap: 0.8rem;
  margin-top: 0;
  margin-bottom: 1.35rem;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.hero-proof-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 0.92rem 0.9rem;
  backdrop-filter: blur(8px);
}

.hero-proof-number {
  display: block;
  color: #ffffff;
  font-family: "Space Grotesk", "Franklin Gothic Medium", sans-serif;
  font-size: 1.34rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.hero-proof-label {
  display: block;
  color: rgba(235, 242, 255, 0.9);
  font-size: 0.82rem;
  line-height: 1.35;
}

.proof-strip {
  background: linear-gradient(180deg, #122c59 0%, #f5f8ff 100%);
  padding: 1rem var(--spacing-md) 2.5rem;
}

.proof-strip .container {
  display: grid;
  gap: 0.8rem;
}

.proof-strip-label {
  margin: 0;
  color: #21345a;
  font-weight: 700;
}

.proof-strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.proof-strip-items span {
  padding: 0.44rem 0.86rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d9e4f6;
  color: #25365d;
  font-size: 0.84rem;
  font-weight: 600;
}

.story-journey {
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
  padding: 0 var(--spacing-md) 3.2rem;
}

.story-journey .section-header {
  margin-bottom: 1.25rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.story-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dce7f8;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(7, 27, 66, 0.06);
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff5b32, #fff2cf);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(7, 27, 66, 0.1);
}

.story-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: #edf3ff;
  color: #24426f;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.58rem;
}

.story-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.42rem;
}

.story-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #53627e;
}

.section-header h2 {
  color: var(--text-dark);
}

.section-header h2::after {
  width: 66px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #ffca83);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.03rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.info-section {
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 78%);
  padding: 3.5rem var(--spacing-md);
}

.info-grid {
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.info-card {
  background: #ffffff;
  border: 1px solid #dfe8f7;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(8, 28, 66, 0.06);
  padding: 1.3rem;
  text-align: left;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(8, 28, 66, 0.1);
  border-color: #cfdaee;
}

.info-icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff1eb;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.info-card h3 {
  font-size: 1.16rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: #53627e;
}

.why-list li,
.process-list li {
  border-color: #e6edf9;
  color: #23345a;
  font-size: 0.92rem;
}

.see-more-btn {
  background: var(--secondary-color);
  border-radius: 999px;
}

.growth-framework {
  background: #ffffff;
  padding: 0 var(--spacing-md) 4rem;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.framework-step {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dce6f6;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(7, 27, 66, 0.05);
}

.framework-step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #edf3ff;
  color: #233f6f;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.62rem;
}

.framework-step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.framework-step p {
  margin: 0;
  font-size: 0.88rem;
  color: #54627d;
}

.services {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  padding: 4rem var(--spacing-md);
}

#services .services-grid {
  gap: 1rem;
}

.services-grid .service-card {
  border-radius: 16px;
  min-height: 300px;
  box-shadow: 0 14px 28px rgba(9, 18, 44, 0.22);
}

.services-grid .service-card::before {
  background: linear-gradient(
    170deg,
    rgba(8, 12, 28, 0.3) 0%,
    rgba(8, 12, 28, 0.76) 100%
  );
}

.services-grid .service-icon {
  font-size: 2.12rem;
}

.services-grid .service-card h3 {
  font-size: 1.24rem;
}

.services-grid .service-card p {
  font-size: 0.92rem;
}

.services-grid .service-card .ai-subline {
  font-size: 0.84rem;
}

.service-cta {
  font-size: 0.88rem;
}

.ai-readiness {
  background: linear-gradient(160deg, #10284e 0%, #1f3f73 100%);
  padding: 4rem var(--spacing-md);
}

.ai-readiness .section-header h2 {
  color: #ffffff;
}

.ai-readiness .section-header p {
  color: rgba(230, 240, 255, 0.9);
}

.quiz-form {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 45px rgba(5, 15, 35, 0.35);
}

.industries {
  background: #ffffff;
  padding: 4rem var(--spacing-md);
}

.industry-card {
  text-align: left;
  border-left: none;
  border: 1px solid #dde6f6;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(8, 26, 60, 0.06);
}

.industry-card:hover {
  border-color: #ccd8ef;
}

.industry-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: #ecf3ff;
  color: #1f3b68;
  display: grid;
  place-items: center;
  font-size: 1.08rem;
  margin-bottom: 0.72rem;
}

.industry-icon i {
  font-size: 1.06rem;
}

.industry-card h3 {
  font-size: 1.08rem;
}

.industry-card p {
  font-size: 0.9rem;
  margin-bottom: 0.78rem;
}

#case-studies {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

#case-studies .case-studies-grid {
  gap: 1rem;
}

#case-studies .case-study-card {
  border-radius: 16px;
  border: 1px solid #dbe5f5;
  box-shadow: 0 10px 28px rgba(8, 26, 60, 0.08);
}

#case-studies .case-study-image {
  height: 150px;
  position: relative;
}

.case-study-image--digital {
  background: linear-gradient(135deg, #d3ebff 0%, #9ed1ff 100%);
}

.case-study-image--brand {
  background: linear-gradient(135deg, #ffe4cb 0%, #ffc58f 100%);
}

.case-study-image--saas {
  background: linear-gradient(135deg, #e8dcff 0%, #c9b6ff 100%);
}

.case-study-badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #10203d;
  font-size: 0.8rem;
  font-weight: 700;
}

.case-study-badge i {
  color: #1f3d75;
}

#case-studies .case-study-content h3 {
  color: #10203d;
  font-size: 1.07rem;
}

#case-studies .case-results {
  color: #0f7b44;
  font-weight: 700;
}

.contact {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.contact-wrapper {
  gap: 1.3rem;
}

.contact-form-section,
.contact-info {
  background: #ffffff;
  border: 1px solid #dde7f7;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 10px 26px rgba(8, 26, 60, 0.06);
}

.contact-form-section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.contact-trust {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.contact-trust li {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: #2d3f60;
  font-size: 0.9rem;
}

.contact-trust i {
  color: #0f8d6f;
}

.contact-form {
  gap: 0.85rem;
}

.form-group input,
.form-group textarea {
  border-radius: 10px;
  border: 1px solid #cfdcf2;
  padding: 0.85rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #7fa4da;
  box-shadow: 0 0 0 4px rgba(19, 68, 146, 0.12);
}

.contact-method {
  border-bottom: 1px dashed #d9e4f8;
  padding: 0.55rem 0;
}

.contact-method:last-child {
  border-bottom: 0;
}

.footer {
  background: linear-gradient(140deg, #0a1e3f 0%, #102d59 100%);
  padding: 3rem 2rem 1.4rem;
}

.footer-section p,
.footer-section a {
  color: rgba(232, 239, 255, 0.82);
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-socials a {
  background: rgba(255, 255, 255, 0.14);
}

.chatbot-window {
  border: 1px solid #cddbf3;
  box-shadow: 0 24px 50px rgba(7, 24, 56, 0.25);
}

.chatbot-header {
  background: linear-gradient(135deg, #0f274f, #1b3d77);
}

.chatbot-header p {
  color: rgba(227, 238, 255, 0.9);
}

@media (max-width: 900px) {
  .hero .hero-wrapper {
    padding: 7.4rem 0 4.1rem;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .framework-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    background: #f5f8ff;
  }

  .navbar {
    padding: 0.7rem 0;
  }

  .navbar .logo.logo-image {
    padding: 0;
  }

  .navbar .logo.logo-image img {
    width: auto;
    height: 48px;
  }

  .nav-menu {
    border-radius: 14px;
    box-shadow: 0 20px 35px rgba(7, 24, 56, 0.2);
  }

  .hero {
    min-height: auto;
  }

  .hero .hero-wrapper {
    padding: 6rem 0 3.2rem;
  }

  .hero .hero-title {
    font-size: clamp(1.9rem, 8.2vw, 2.8rem);
  }

  .hero .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-trust-list li {
    font-size: 0.9rem;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    padding: 0.8rem var(--spacing-md) 2rem;
  }

  .proof-strip-items span {
    font-size: 0.78rem;
  }

  .framework-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  #services .services-grid {
    grid-template-columns: 1fr;
  }

  #case-studies .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-form-section,
  .contact-info {
    padding: 1rem;
  }
}

/* ===== Subpage Agency Refresh ===== */
.service-hero {
  background: linear-gradient(120deg, #112a54 0%, #173868 52%, #1f4a84 100%);
  background-attachment: scroll;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
}

.service-hero::before {
  background: radial-gradient(
    circle at 12% 12%,
    rgba(255, 132, 86, 0.25) 0%,
    transparent 42%
  );
  animation: none;
}

.service-hero-image {
  width: 100%;
  inset: 0;
  opacity: 0.32;
}

.service-hero-image img {
  object-fit: cover;
  filter: saturate(0.76) brightness(0.82);
}

.service-hero .container {
  padding: 7.4rem 0 4rem;
}

.service-hero-content {
  max-width: 760px;
  text-align: left;
}

.service-hero-content h1 {
  max-width: 100%;
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5.3vw, 3.6rem);
  line-height: 1.08;
}

.service-hero-content p {
  max-width: 640px;
  margin-bottom: 1.35rem;
  font-size: 1.04rem;
  color: rgba(233, 242, 255, 0.95);
}

.service-details {
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
  padding: 4rem 0;
}

.details-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.3rem;
}

.details-main {
  background: #ffffff;
  border: 1px solid #dbe5f6;
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 10px 24px rgba(9, 25, 55, 0.06);
}

.details-main h2 {
  font-size: 1.55rem;
  margin-bottom: 1.15rem;
}

.service-list-detailed li {
  border: 1px solid #dde8f8;
  border-left: 0;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 16px rgba(10, 23, 48, 0.05);
}

.service-list-detailed li h3 {
  color: #183868;
  font-size: 1.05rem;
}

.service-list-detailed li p {
  color: #4c5f80;
}

.benefits-grid {
  gap: 0.85rem;
}

.benefit-item {
  background: #f8fbff;
  border: 1px solid #dbe7f8;
  border-radius: 14px;
  text-align: left;
  padding: 1rem;
}

.benefit-item i {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.benefit-item h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.details-sidebar {
  gap: 1rem;
}

.sidebar-card {
  border: 1px solid #dae5f6;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(10, 23, 48, 0.06);
}

.sidebar-card h3 {
  font-size: 1.06rem;
}

.sidebar-card li {
  border-color: #e8eef9;
  font-size: 0.92rem;
}

.other-services {
  padding: 4rem 0;
  background: #ffffff;
}

.other-services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.services-preview-grid {
  gap: 0.95rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.service-preview-card {
  background: #f5f8ff;
  color: #18345f;
  border: 1px solid #d8e4f6;
  box-shadow: 0 8px 18px rgba(10, 23, 48, 0.06);
}

.service-preview-card i,
.service-preview-card h3 {
  color: #18345f;
}

.service-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(10, 23, 48, 0.11);
}

.quote-section {
  background: linear-gradient(145deg, #0f2a57 0%, #1d3f75 100%);
  padding: 4rem 0;
}

.quote-section > .container > p {
  color: rgba(230, 240, 255, 0.92);
}

.quote-form {
  border-radius: 16px;
  border: 1px solid #dbe6f7;
  box-shadow: 0 20px 40px rgba(6, 20, 45, 0.2);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border-radius: 10px;
  border: 1px solid #cfddf2;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #7fa4da;
  box-shadow: 0 0 0 4px rgba(19, 68, 146, 0.12);
}

.recent-clients {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  padding: 4rem 0;
}

.recent-clients h2 {
  margin-bottom: 2rem;
}

.clients-grid {
  gap: 1rem;
}

.client-card {
  border: 1px solid #dbe5f6;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(10, 23, 48, 0.07);
}

.client-image {
  height: 170px;
}

.client-image > div {
  display: none !important;
}

.client-card h3 {
  font-size: 1.03rem;
}

.client-card p {
  color: #4f6180;
}

.client-meta {
  padding-top: 0.35rem;
}

.client-meta .badge {
  position: static;
  top: auto;
  right: auto;
  background: #edf3ff;
  color: #25406d;
  border: 1px solid #d0def3;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.32rem 0.64rem;
}

.pricing-card > .badge {
  position: absolute;
}

.industry-hero {
  min-height: 600px;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.industry-hero::before {
  background: linear-gradient(
    118deg,
    rgba(8, 19, 40, 0.74),
    rgba(8, 19, 40, 0.42)
  );
  z-index: 0;
}

.industry-hero::after {
  opacity: 0.22;
}

.industry-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 7.6rem 0 4rem;
}

.industry-hero .hero-content {
  max-width: 880px;
}

.industry-hero .hero-title {
  font-size: clamp(2rem, 5.3vw, 3.9rem);
  line-height: 1.06;
  margin-bottom: 0.9rem;
}

.industry-hero .hero-subtitle {
  font-size: 1.02rem;
  max-width: 700px;
  margin-bottom: 1.2rem;
}

.industry-hero .hero-stats {
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.industry-hero .stat-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem;
}

.industry-hero .stat-number {
  font-size: 1.7rem;
}

.problem-section,
.solution-section,
.case-study-section,
.services-section,
.pricing-section,
.cta-section {
  padding: 4rem 2rem;
}

.problem-section {
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.problem-grid,
.solution-grid,
.pricing-grid {
  gap: 1rem;
}

.problem-card,
.solution-card,
.service-item,
.pricing-card,
.case-study-section .result-stat {
  border-radius: 16px;
  border: 1px solid #dbe5f6;
  box-shadow: 0 10px 24px rgba(10, 24, 52, 0.07);
}

.problem-card {
  text-align: left;
  border-top: 0;
}

.problem-card i {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 10px;
  background: #edf3ff;
  color: #1e3c69;
  display: grid;
  place-items: center;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.solution-section {
  background: #ffffff;
}

.solution-card {
  border-top: 0;
}

.solution-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: #fef1ec;
  color: var(--primary-color);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.case-study-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.case-study-section .case-study-content {
  border: 1px solid #dbe6f7;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(9, 25, 55, 0.07);
}

.case-study-section .results-highlight {
  gap: 0.75rem;
}

.services-section {
  background: #ffffff;
}

.service-item {
  background: linear-gradient(145deg, #0f2b5a 0%, #1b3d72 100%);
  border-left: 0;
}

.service-item h3 {
  font-size: 1.06rem;
}

.pricing-section {
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.pricing-card {
  border-top: 0;
}

.pricing-card.featured {
  border: 1px solid #ffcab6;
}

.pricing-card ul {
  text-align: left;
}

.cta-section {
  background: linear-gradient(145deg, #0f2a57 0%, #1d3f75 100%);
}

.cta-section h2,
.cta-section p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-page .navbar {
  background: rgba(255, 255, 255, 0.94);
}

.thank-you-hero {
  background: linear-gradient(145deg, #0f2a57 0%, #1d3f75 100%);
  color: #ffffff;
  border-bottom: 0;
}

.thank-you-hero h1,
.thank-you-hero .subtitle {
  color: #ffffff;
}

.thank-you-hero .subtitle {
  opacity: 0.92;
}

.success-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.personalized-video-section,
.value-adds,
.next-steps-timeline,
.confidence-section {
  background: #ffffff;
}

.video-wrapper,
.value-card,
.timeline-content,
.confidence-item {
  border: 1px solid #dbe5f6;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(9, 25, 55, 0.06);
}

.value-card {
  background: #f8fbff;
}

.thank-you-cta {
  background: linear-gradient(145deg, #0f2a57 0%, #1d3f75 100%);
}

.thank-you-cta h2,
.thank-you-cta p {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .details-grid {
    grid-template-columns: 1fr;
  }

  .industry-hero .container {
    padding: 6.8rem 0 3.4rem;
  }
}

@media (max-width: 768px) {
  .service-hero {
    min-height: 480px;
  }

  .service-hero .container {
    padding: 6.5rem 0 3rem;
  }

  .service-hero-content {
    max-width: 100%;
  }

  .service-hero-content h1 {
    font-size: clamp(1.8rem, 8.2vw, 2.8rem);
  }

  .service-hero-content p {
    max-width: 100%;
    font-size: 0.96rem;
  }

  .details-main,
  .sidebar-card {
    padding: 1rem;
  }

  .service-list-detailed li {
    padding: 1rem;
  }

  .industry-hero {
    min-height: auto;
  }

  .industry-hero .container {
    padding: 6.5rem 0 3.1rem;
  }

  .industry-hero .hero-stats {
    grid-template-columns: 1fr;
  }

  .problem-section,
  .solution-section,
  .case-study-section,
  .services-section,
  .pricing-section,
  .cta-section {
    padding: 3rem 1rem;
  }

  .quote-section,
  .other-services,
  .recent-clients {
    padding: 3rem 0;
  }

  .quote-form {
    padding: 1rem;
  }
}

/* Use dynamic viewport units where supported to avoid mobile browser bar clipping. */
@supports (min-height: 100svh) {
  .hero {
    min-height: 100svh;
  }

  .hero-wrapper {
    min-height: 100svh;
  }

  @media (max-width: 768px) {
    .industry-hero {
      min-height: 100svh;
    }
  }
}

/* Mobile quick-contact bar for sales conversions. */
.mobile-sales-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1400;
  display: none;
  gap: 0.6rem;
  padding: 0.55rem;
  border-radius: 14px;
  background: rgba(14, 36, 74, 0.95);
  box-shadow: 0 16px 32px rgba(9, 22, 48, 0.3);
}

.mobile-sales-bar .sales-action {
  flex: 1;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.72rem 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-sales-bar .call-action {
  background: #ffffff;
  color: #2d2d2d;
}

.mobile-sales-bar .whatsapp-action {
  background: #22c55e;
  color: #ffffff;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 5.5rem;
  }

  .mobile-sales-bar {
    display: flex;
  }
}

/* Dynamic service card icons + project mockup setups */
.services-grid .service-card.has-mockups {
  min-height: 380px;
}

.services-grid .service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 22px rgba(8, 20, 46, 0.28);
  margin-bottom: 0.4rem;
}

.services-grid .service-icon .service-icon-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.services-grid .service-icon i {
  position: absolute;
  right: -0.34rem;
  bottom: -0.34rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  font-size: 0.64rem;
  color: #fff3e8;
  background: rgba(12, 21, 48, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.services-grid .service-mockups {
  position: relative;
  margin: 0.78rem 0 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  overflow: hidden;
  min-height: 142px;
  background: rgba(7, 14, 32, 0.52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.services-grid .service-case-studies {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0.58rem;
  padding: 0.38rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 14, 32, 0.34);
}

.services-grid .service-case-studies .case-studies-label {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: rgba(238, 244, 255, 0.95);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
}

.services-grid .service-case-studies .case-studies-label i {
  color: #ffaf95;
  font-size: 0.7rem;
}

.services-grid .service-case-studies .case-studies-viewall {
  color: #ffd8ca;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 216, 202, 0.55);
}

.services-grid .service-case-studies .case-studies-viewall:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.9);
}

.services-grid .service-mockup-track {
  position: relative;
  min-height: 142px;
}

.services-grid .service-mockup-slide {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.services-grid .service-mockup-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.services-grid .service-mockup-image {
  width: 100%;
  height: 142px;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.05) brightness(0.9);
}

.services-grid .service-mockup-slide.mockup-tone-launch .service-mockup-image {
  filter: saturate(1.03) contrast(1.08) brightness(0.92);
}

.services-grid
  .service-mockup-slide.mockup-tone-retainer
  .service-mockup-image {
  filter: saturate(0.78) contrast(1.06) brightness(0.84);
}

.services-grid .service-mockup-slide.mockup-tone-scale .service-mockup-image {
  filter: saturate(0.93) contrast(1.12) brightness(0.82);
}

.services-grid .service-mockup-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 28, 0.05) 30%,
    rgba(8, 12, 28, 0.88) 100%
  );
  pointer-events: none;
}

.services-grid .service-mockup-caption {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.5rem;
  z-index: 2;
  display: grid;
  gap: 0.32rem;
}

.services-grid .service-mockup-caption .mockup-setup {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 171, 140, 0.62);
  background: rgba(255, 91, 50, 0.28);
  color: #ffe8dc;
}

.services-grid .service-mockup-caption .mockup-project {
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
}

.services-grid .service-mockup-indicators {
  position: absolute;
  top: 0.5rem;
  right: 0.52rem;
  z-index: 2;
  display: flex;
  gap: 0.24rem;
}

.services-grid .service-mockup-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition:
    transform 0.35s ease,
    background-color 0.35s ease;
}

.services-grid .service-mockup-dot.is-active {
  background: #ffa689;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .services-grid .service-card.has-mockups {
    min-height: 370px;
  }

  .services-grid .service-case-studies .case-studies-label {
    font-size: 0.7rem;
  }

  .services-grid .service-mockups {
    min-height: 132px;
  }

  .services-grid .service-mockup-track {
    min-height: 132px;
  }

  .services-grid .service-mockup-image {
    height: 132px;
  }

  .services-grid .service-mockup-caption .mockup-project {
    font-size: 0.76rem;
  }
}

@media (max-width: 768px) {
  .hero {
    background-size: auto, contain, cover;
    background-position:
      center center,
      center top,
      center center;
    background-repeat: no-repeat, no-repeat, no-repeat;
  }

  .service-hero {
    min-height: 430px;
  }

  .service-hero-image {
    opacity: 0.4;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
  }
}

/* Simple service cards: icon + name only */
.services-grid .service-card {
  background: #ffffff;
  background-image: none !important;
  border: 1px solid #d9e4f5;
  min-height: 250px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: center;
  gap: 0.7rem;
  box-shadow: 0 10px 22px rgba(8, 26, 60, 0.09);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.services-grid .service-card::before {
  content: none;
}

.services-grid .service-card:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 30px rgba(8, 26, 60, 0.18);
}

.services-grid .service-card .service-floating-graphic,
.services-grid .service-card p,
.services-grid .service-card .ai-subline,
.services-grid .service-card .service-cta,
.services-grid .service-card .btn,
.services-grid .service-card .service-mockups,
.services-grid .service-card .service-case-studies {
  display: none !important;
}

.services-grid .service-icon {
  width: 100%;
  height: 170px;
  margin: 0;
  border-radius: 12px;
  border: 1px solid #d8e3f2;
  background: #edf4ff;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-grid .service-icon .service-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border: 0;
}

.services-grid .service-icon i {
  display: none;
}

.services-grid .service-card h3 {
  margin: 0;
  color: #10203d;
  font-size: 1.01rem;
  text-shadow: none;
  transform: none !important;
  padding: 0 0.2rem 0.2rem;
}

@media (max-width: 768px) {
  .services-grid .service-card {
    min-height: 215px;
    padding: 0.65rem;
  }

  .services-grid .service-icon {
    width: 100%;
    height: 140px;
  }
}

/* Solid color section background override */
.services {
  background: #f5f8ff;
}

/* Chatbot UX overrides (desktop + mobile) */
.chatbot-widget {
  z-index: 1600;
}

.chatbot-toggle {
  background: #ff5b32;
}

.chatbot-window {
  width: 390px;
  max-height: 610px;
  border-radius: 14px;
}

.chatbot-messages {
  max-height: 300px;
}

.message-content p {
  white-space: pre-line;
}

.typing-message .typing-indicator {
  color: #496087;
  font-size: 0.84rem;
  font-style: italic;
  background: #eef3fb;
  border: 1px solid #d7e3f5;
}

@media (max-width: 768px) {
  body.chatbot-open {
    overflow: hidden;
  }

  .chatbot-widget {
    right: 0.8rem;
    bottom: 6.1rem;
  }

  .chatbot-toggle {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }

  .chatbot-window {
    position: fixed;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 7.15rem;
    width: auto;
    max-width: none;
    height: min(66vh, 560px);
    border-radius: 16px;
  }

  .chatbot-header {
    padding: 0.85rem 0.95rem;
  }

  .chatbot-socials {
    padding: 0.65rem 0.85rem;
    gap: 0.55rem;
  }

  .social-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .chatbot-messages {
    max-height: none;
    padding: 0.78rem;
  }

  .message-content p {
    font-size: 0.89rem;
    line-height: 1.42;
  }

  .quick-replies {
    gap: 0.42rem;
  }

  .quick-reply {
    font-size: 0.74rem;
    padding: 0.34rem 0.62rem;
  }

  .chatbot-input-area {
    padding: 0.62rem;
  }
}

/* Home About split section */
.about-split-section {
  background: #f6f9ff;
  padding: 4rem var(--spacing-md);
}

.about-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
}

.about-split-image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #dbe5f5;
  box-shadow: 0 14px 30px rgba(8, 26, 60, 0.1);
  min-height: 320px;
  position: relative;
  background: #dfe8f7;
}

.about-split-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.03) saturate(1.05);
}

.creative-about-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  pointer-events: none;
}

.about-image-badge {
  position: absolute;
  top: 0.82rem;
  left: 0.82rem;
  background: rgba(16, 32, 61, 0.88);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.3rem 0.58rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-image-caption {
  position: absolute;
  left: 0.88rem;
  right: 0.88rem;
  bottom: 0.9rem;
  background: rgba(16, 32, 61, 0.78);
  color: #f2f6ff;
  border-radius: 10px;
  padding: 0.58rem 0.68rem;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 600;
}

.about-image-stat {
  position: absolute;
  right: 0.88rem;
  bottom: 4.2rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d8e3f5;
  color: #153462;
  border-radius: 999px;
  padding: 0.26rem 0.58rem;
  font-size: 0.69rem;
  font-weight: 700;
}

.about-split-content h2 {
  margin-bottom: 0.75rem;
  color: #10203d;
}

.about-split-content p {
  color: #32486f;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.about-split-content .btn {
  margin-top: 0.45rem;
}

.case-studies-more {
  margin-top: 1.1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .about-split-grid {
    grid-template-columns: 1fr;
  }

  .about-split-image {
    min-height: 260px;
  }

  .about-image-caption {
    font-size: 0.79rem;
  }
}

/* ===== Launch Readiness: Accessibility + Brand Consistency ===== */
html {
  scroll-padding-top: 96px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 3000;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #10203d;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(16, 32, 61, 0.2);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: #ffffff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(255, 91, 50, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

.nav-menu a[aria-current="page"],
.nav-menu a.is-active {
  color: #10203d;
  font-weight: 700;
}

.nav-menu a[aria-current="page"]::after,
.nav-menu a.is-active::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep non-home heroes compact on mobile and desktop */
body:not(.home-page) .hero {
  min-height: clamp(180px, 34vh, 320px) !important;
  height: auto !important;
  padding: 2.5rem 0 !important;
  align-items: center;
}

body:not(.home-page) .hero .hero-wrapper {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body:not(.home-page) .industry-hero {
  min-height: clamp(240px, 42vh, 420px) !important;
}

@media (max-width: 768px) {
  body:not(.home-page) .hero {
    min-height: 170px !important;
    padding: 2rem 0 !important;
  }

  body:not(.home-page) .industry-hero {
    min-height: 220px !important;
  }
}

/* services.html desktop layout: 3 cards top + 3 cards bottom */
body.services-page .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1024px) {
  body.services-page .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.services-page .services-grid {
    grid-template-columns: 1fr;
  }
}
