:root {
  --bg: #ffffff;
  --card: #ffffff;
  --muted: #4b5563;
  --accent: #6ee7ff;
  --accent2: #8b5cf6;
  --white: #1a1a1a;
  --radius: 12px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 92%;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 14px 0;
}

header.float {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(0) scale(0.95);
}

header.float .nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

header.float .brand .logo-wrapper img {
  width: 28px;
  height: 28px;
}

header.float nav.primary a {
  font-size: 14px;
}

header.float .btn {
  padding: 8px 16px;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
}

.brand .logo-wrapper img {
  width: 230px;
  height: 56px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

nav.primary {
  display: flex;
  gap: 22px;
  align-items: center;
}

nav.primary a {
  color: #000;
  font-weight: 600;
  transition: color 0.3s ease;
  font-family: Inter, sans-serif;
  font-size: 18px;
}

nav.primary a:hover {
  color: var(--white);
}

nav.primary + .btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #060708;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: Inter, sans-serif;
}

nav.primary + .btn:hover {
  background: #7c3aed;
  transform: translateY(-2px);
}

/* Main content padding */
main {
  padding-top: 80px;
}

/* === Founder Section - Left-Aligned Headers === */
#founder {
  padding: 80px 0;
  background: #f5f6f8;
}

#founder .container {
  flex-direction: column;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  width: 92%;
  padding: 0 20px;
}

#founder .mini-hold {
  margin-bottom: 16px;
}

#founder .mini-hold,
#founder h2,
#founder .subtext {
  text-align: left !important;
}

/* Mobile responsiveness for h2 */
#founder h2 {
  font-family: Montserrat, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: #060708;
  margin: 0 0 16px;
  max-width: 100%;
}

/* Mobile adjustment */
@media (max-width: 767px) {
  #founder h2 {
    font-size: 20px;
    line-height: 1.3;
  }
}

#founder .subtext {
  font-family: Inter, sans-serif;
  font-size: 18px;
  color: #4b5563;
  margin: 0 0 32px;
}

/* Hero Grid - Two Columns */
#founder .hero-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin-top: 24px;
}

/* Mobile adjustment for hero-grid */
@media (max-width: 767px) {
  #founder .hero-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* Left Column - Text */
#founder .hero-text {
  flex: 1;
  min-width: 0;
  padding-right: 20px;
}

#founder .hero-text p {
  font-family: Inter, sans-serif;
  font-size: 18px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Mobile adjustment for hero-text */
@media (max-width: 767px) {
  #founder .hero-text {
    padding-right: 0;
  }

  #founder .hero-text p {
    font-size: 16px;
  }
}

/* Right Column - Image */
#founder .hero-image {
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  height: 500px;
  min-width: 300px;
}

/* Mobile adjustment for hero-image */
@media (max-width: 767px) {
  #founder .hero-image {
    height: 300px;
  }
}

#founder .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

#founder .hero-image:hover img {
  transform: scale(1.02);
}
/* Hero Section (Untouched) */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: url("../images/background.svg") no-repeat center center;
  background-size: cover;
  position: relative;
}

.hero::before {
  content: "";
  position: inherit;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  border-radius: 12px;
  margin: 0 20px;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #ffffff;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: 18px;
  font-weight: 400;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.btn.discovery {
  display: inline-block;
  width: max-content;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-family: Inter, sans-serif;
}

.btn.discovery::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: left 0.3s ease;
  z-index: -1;
}

.btn.discovery:hover::before {
  left: 0;
}

.btn.discovery:hover {
  color: #060708;
  transform: translateY(-2px);
}

.btn.projects {
  display: inline-block;
  width: max-content;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #060708;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(110, 231, 255, 0.3);
  transition: transform 0.3s ease;
  font-family: Inter, sans-serif;
}

.btn.projects:hover {
  transform: translateY(-2px);
}

/* Trust logos */
.trust {
  padding: 18px 0;
}

.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
  opacity: 0.85;
}

.logos .item {
  height: 34px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
}

/* Sections */
section {
  padding: 58px 0;
}

/* Testimonials and FAQ Backgrounds */
#testimonials,
#faq {
  background: #eaeaea;
}

/* Section Head */
.section-head,
.problem-head,
.work-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 40px;
}

.section-head h2,
.problem-head h2,
.work-head h2 {
  font-family: Montserrat, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--white);
}

.muted {
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 18px;
}

/* Mini Hold - Pill-shaped Badge (Untouched) */
.mini-hold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.mini-hold .dot {
  width: 10px;
  height: 10px;
  background-color: #34d399;
  border-radius: 2px;
}

/* Work & Problem Headlines */
.work-head .subtext,
.problem-head .subtext {
  font-size: 18px;
  margin: 0;
  color: var(--muted);
  text-align: right;
  width: 100%;
  font-family: Inter, sans-serif;
}

/* Props Grid */
.props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure uniform height */
}

.prop:hover {
  transform: translateY(-4px);
}

.prop-thumb {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prop-thumb img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.prop:hover .prop-thumb img {
  transform: scale(1.05);
}

.prop h3 {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--white);
}

.prop p {
  font-family: Inter, sans-serif;
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  flex-grow: 1; /* Ensures text stretches to align bottoms */
}

/* Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
#services .service-card .card-thumb {
    width: 100%;
    height: auto; /* Remove fixed height to allow flexibility */
    aspect-ratio: 16 / 9; /* Enforce a landscape aspect ratio */
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex; /* Ensure proper alignment */
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* Optional: Fill empty space */
    overflow: hidden; /* Maintain clean edges */
}

#services .service-card .card-thumb img {
    object-fit: contain !important; /* Override existing object-fit: cover */
    width: 100%;
    height: auto; /* Allow image to scale naturally */
    max-height: 230px; /* Smaller height for landscape effect */
    max-width: 100%; /* Ensure image doesn't overflow */
    transition: transform 0.5s ease; /* Retain hover effect */
}

.work-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-thumb {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.work-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  display: block;
  min-height: 280px;
  transform: translateY(0); /* Start at the top */
}

.work-card:hover .work-thumb img {
  animation: slowScroll 15s linear forwards; /* Apply slow scroll animation */
}

/* Define the keyframes for the scroll effect */
@keyframes slowScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-100% + 280px)); /* Same endpoint as before */
  }
}

/* Ensure touch devices don't trigger hover */
@media (hover: none) {
  .work-card:hover .work-thumb img {
    animation: none; /* Disable animation on touch devices */
    transform: translateY(0); /* Reset to top */
  }
}

/* Disable scroll effect for images shorter than container */
.work-thumb img:not([style*="height: auto"]) {
  transition: none;
}

/* Ensure touch devices don't trigger hover */
@media (hover: none) {
  .work-card:hover .work-thumb img {
    transform: none;
  }
}

.work-meta {
  padding: 16px;
  text-align: left;
}

.work-meta h3 {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--white);
}

.work-meta p.muted {
  font-family: Inter, sans-serif;
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}

/* Services layout */
.services {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.service {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 0, 0, 0.03);
  align-items: flex-start;
}

.service h3 {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

.service p {
  font-family: Inter, sans-serif;
  font-size: 18px;
  color: var(--muted);
}

aside.card {
  padding: 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.04), transparent);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.step .num {
  font-weight: 800;
  color: var(--accent2);
  letter-spacing: 0.08em;
  font-size: 12px;
  font-family: Inter, sans-serif;
}

.step h3 {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0;
  color: var(--white);
}

.step p {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quote {
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.quote p {
  font-family: Inter, sans-serif;
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--muted);
}

.quote .name {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.logo-wrapper {
  width: 100%;
  height: 40px;
  margin-bottom: 16px;
}

.logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.testimonial-text {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  padding: 6px;
}

.author-details .name {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--white);
}

.author-details .title {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* CTA */
.cta-box {
  padding: 26px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(110, 231, 255, 0.06), transparent);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
}

.cta-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.cta-card {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cta-content h2 {
  font-family: Montserrat, sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #ffffff;
}

.cta-content p {
  font-family: Inter, sans-serif;
  font-size: 18px;
  color: #ffffff;
  margin: 0 0 24px;
  line-height: 1.6;
}

.cta-content .btn.discovery {
  box-shadow: 0 8px 20px rgba(110, 231, 255, 0.3);
}

/* Footer */
footer {
  background: #f5f6f8;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 24px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-wrapper img {
  width: 230px;
  height: 56px;
  border-radius: 4px;
}

.brand-name {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.social-email {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.social-email a {
  color: var(--muted);
  text-decoration: none;
  font-family: Inter, sans-serif;
}

.email-link {
  color: var(--muted);
  text-decoration: none;
  font-family: Inter, sans-serif;
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-text {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.email-input {
  width: 200px !important;
  background: #ffffff !important;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  color: #060708;
  font-family: Inter, sans-serif;
}

.submit-btn {
  padding: 8px 16px;
  background: #6ee7ff;
  color: #060708;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: Inter, sans-serif;
}

.submit-btn:hover {
  background: #8b5cf6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--muted);
  font-size: 14px;
}

.copyright,
.powered-by {
  font-family: Inter, sans-serif;
  margin: 0;
}

/* Hero Section (Untouched) */
.social-proof {
  margin-bottom: 40px;
}

.social-proof img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--white);
}

h1 .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.6;
  text-align: center;
}

.availability {
  display: flex; /* Use flexbox to control spacing */
  align-items: center; /* Vertically center the dot and text */
  justify-content: center; /* Horizontally center content */
  margin: 0 auto;
  padding: 8px 16px;
  max-width: max-content;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-family: Inter, sans-serif;
}

.availability span:nth-child(2) {
  color: #ffffff; /* Set text color to white */
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2),
    0 0 0 8px rgba(110, 231, 255, 0.15);
  animation: beat 1.8s ease infinite;
  margin-right: 8px; /* Add spacing between dot and text */
}

@keyframes beat {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2),
      0 0 0 8px rgba(110, 231, 255, 0.1);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.4),
      0 0 0 14px rgba(110, 231, 255, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2),
      0 0 0 8px rgba(110, 231, 255, 0.1);
  }
}
/* Solution Grid */
.solution-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.row-2 {
  grid-template-columns: 1fr 1fr;
}

.solution-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure uniform height */
}

.solution-card:hover {
  transform: translateY(-4px);
}

.solution-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
  margin-top: 20px;
}

.solution-card h3 {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--white);
}

.solution-card p {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1; /* Ensures text stretches to align bottoms */
}

.subtext-wrapper {
  text-align: right;
  margin-bottom: 40px;
}

.subtext-wrapper .subtext {
  font-family: Inter, sans-serif;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 auto 0 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.card-thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-thumb img {
  transform: scale(1.05);
}

.service-card h3 {
  font-family: Montserrat, sans-serif;
  font-size: 20.8px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--white);
}

.features {
  list-style: none; /* Remove default bullets */
  padding: 0;
  margin: 0;
}

.features li {
  position: relative;
  padding-left: 30px; /* space for the icon */
  margin-bottom: 10px;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url('/assets/checkmark-seal.svg');
  background-size: contain;
  background-repeat: no-repeat;
}


/* FAQ List */
.faq-list {
  margin-top: 40px;
  text-align: center;
}

.faq-item {
  margin-bottom: 12px;
  display: inline-block;
  width: 100%;
  max-width: 600px;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  color: var(--white);
  line-height: 1.5;
  text-align: left;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-icon {
  font-size: 18px;
  color: var(--white);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-answer {
  font-family: Inter, sans-serif;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 16px;
  margin-top: 8px;
  opacity: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.faq-answer.open {
  max-height: 200px;
  opacity: 1;
}

/* Hero Grid */
.hero-grid {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.hero-text {
  flex: 1;
  padding: 0;
}

.hero-text p {
  font-family: Inter, sans-serif;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.40rem;
  margin: 0 0 16px;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 980px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  .logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .services {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    flex-direction: column;
    gap: 30px;
  }

  .hero-image {
    order: 1;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .row-3,
  .row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .social-email {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  flex-direction: column;
}
.newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
}

  .props {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .row-3,
  .row-2 {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .problem-head h2,
  .work-head h2 {
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
  }

  .subtext-wrapper {
    text-align: left;
  }

  .subtext-wrapper .subtext {
    font-family: Inter, sans-serif;
    font-size: 15px;
    text-align: left;
    margin: 0;
  }

  .solution-card {
    padding: 16px;
  }

  .solution-card h3 {
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
  }

  .solution-card p {
    font-family: Inter, sans-serif;
    font-size: 15px;
  }

  .service-card {
    padding: 16px;
  }

  .service-card h3 {
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
  }

  .service-card p {
    font-family: Inter, sans-serif;
    font-size: 15px;
  }

  .card-thumb {
    height: 140px;
  }

  .cta-card {
    height: 300px;
  }

  .cta-content {
    padding: 20px;
  }

  .cta-content h2 {
    font-family: Montserrat, sans-serif;
    font-size: 19px;
    font-weight: 700;
  }

  .cta-content p {
    font-family: Inter, sans-serif;
    font-size: 15px;
  }

  .hero-text p {
    font-family: Inter, sans-serif;
    font-size: 15px;
  }

  .hero-image {
    max-width: 100%;
  }

  .work-thumb {
    height: 200px;
  }

  .work-card:hover .work-thumb img {
    transform: translateY(calc(-100% + 200px));
  }

  .prop img,
  .solution-card img {
    height: 140px;
  }
}

@media (max-width: 540px) {
  nav.primary {
    display: none;
  }

  h1 {
    font-family: "Playfair Display", serif;
    font-size: 2rem !important;
    font-weight: 600 !important;
    line-height: 1.2;
  }

  h3,
  .mini-heading,
  .step h3,
  .prop h3,
  .service h3,
  .quote .name,
  .solution-card h3,
  .service-card h3 {
    font-family: Montserrat, sans-serif;
    font-size: 20px !important;
    font-weight: 700 !important;
  }

  p,
  .lead,
  .muted,
  .subtext,
  .prop p,
  .quote p,
  .solution-card p,
  .service-card p,
  .hero-text p,
  .testimonial-text,
  .work-meta p.muted {
    font-family: Inter, sans-serif;
    font-size: 15px !important;
    line-height: 1.6;
  }

  .btn,
  .btn.discovery,
  .btn.projects {
    font-size: 16px !important;
    padding: 10px 10px !important;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .social-proof {
    margin-bottom: 30px;
  }

  .availability {
    font-size: 13px;
  }

  .availability .dot {
    width: 8px;
    height: 8px;
  }

  section {
    padding: 40px 0;
  }

  .work-thumb {
    height: 180px;
  }

  .work-card:hover .work-thumb img {
    transform: translateY(calc(-100% + 180px));
  }

  .container {
    width: 95%;
  }

  header {
    padding: 10px 0;
  }

  .nav {
    padding: 0 15px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .email-input,
  .submit-btn {
    width: 100%;
  }
}
@media (max-width: 768px) {
  /* Dropdown container */
  nav.primary {
    display: none;
    flex-direction: column;
    align-items: center;
    background: #9157ee; /* purple background */
    position: absolute;
    top: 70px; /* below header */
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-radius: 0 0 12px 12px; /* soft bottom corners */
  }

  nav.primary.active {
    display: flex;
  }

  /* Links */
  nav.primary a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    margin: 6px 0; /* reduced spacing */
    transition: color 0.3s ease;
  }

  nav.primary a:hover {
    color: #d3b3ff;
  }

  /* Hamburger visible only on mobile */
  .hamburger {
    display: block;
    margin-left: auto;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9157ee;
  }

  /* Book a Call button */
  nav.primary .btn.discovery {
    margin-top: 12px;
    padding: 10px 24px;
    background: #fff;
    color: #9157ee;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: background 0.3s ease, color 0.3s ease;
  }

  nav.primary .btn.discovery:hover {
    background: #d3b3ff;
    color: #fff;
  }
}
/* Desktop (default) */
.hamburger {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin-left: auto;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9157ee; /* purple tone */
  }
}
#migration_url {
    width: 50%;
    padding: 14px 16px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #1a1a1a;
    color: #e5e5e5;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 52px;
}

#migration_url:focus {
    outline: none;
    border-color: #f94b9c;
    box-shadow: 0 0 0 3px rgba(249, 75, 156, 0.3);
}
/* Make checkbox and label align horizontally */
.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
}

.feature-item input[type="checkbox"] {
    flex-shrink: 0;
    margin: 0;
    width: 18px;
    height: 18px;
}

.feature-item label {
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: 500;
    color: #e5e5e5;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Optional: improve checkbox appearance */
.feature-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    cursor: pointer;
    position: relative;
}

.feature-item input[type="checkbox"]:checked {
    background: #f94b9c;
    border-color: #f94b9c;
}

.feature-item input[type="checkbox"]:checked::after {
    content: '✓';
    color: white;
    font-size: 14px;
    position: absolute;
}
#revamp_url {
width: 50%;
  padding: 14px 16px;
  border: 1px solid #333;
  border-radius: 12px;
  background: #1a1a1a;
  color: #e5e5e5;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-height: 52px;
}

/* nohitch Website Section */
#nohitch-website-section {
  background-color: #000;
  color: #fff;
  padding: 80px 20px;
  overflow: hidden;
}

.nohitch-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.nohitch-left {
  flex: 1;
  min-width: 300px;
}

.nohitch-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.nohitch-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 30px;
  max-width: 500px;
}

.nohitch-cta-button {
    background-color: #9558f3;
    color: #000;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    position: relative; /* Required for the pseudo-element */
    overflow: hidden; /* Hides the pseudo-element until hover */
    z-index: 1; /* Ensures the text stays above the pseudo-element */
    transition: color 0.3s ease; /* Smooth transition for text color */
}

.nohitch-cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #c4d483; /* Hover background color */
    transform: scaleX(0); /* Initially hidden */
    transform-origin: left; /* Starts the animation from the left */
    transition: transform 0.5s ease; /* Slow transition for the fill effect */
    z-index: -1; /* Places the pseudo-element behind the text */
    border-radius: 25px; /* Matches the button's border radius */
}

.nohitch-cta-button:hover::after {
    transform: scaleX(1); /* Expands to fill the button from left to right */
}

.nohitch-cta-button:hover {
    color: #000; /* Ensures text color remains consistent */
}

.nohitch-right {
  flex: 0 0 auto;
}

.nohitch-image-row {
  display: flex;
  gap: 20px;
}

.nohitch-float-image {
  width: 107px;
  height: 202px;
  object-fit: cover;
  border-radius: 8px;
  animation: nohitchFloat 6s ease-in-out infinite;
}

@keyframes nohitchFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.nohitch-float-image:nth-child(1) { animation-delay: 0.5s; }
.nohitch-float-image:nth-child(2) { animation-delay: 1s; }
.nohitch-float-image:nth-child(3) { animation-delay: 1.5s; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nohitch-container {
    flex-direction: column;
    text-align: center;
  }

  .nohitch-title {
    font-size: 2rem;
  }

  .nohitch-image-row {
    justify-content: center;
  }
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.ticker {
    background-color: #C8FF00;
    color: #000;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 25px;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
}

.ticker-content {
    display: inline-flex; /* Allows horizontal scrolling of items */
    animation: scroll 30s linear infinite; /* Slower scroll for better readability */
    gap: 20px; /* Space between items */
    padding-left: 100%; /* Start off-screen to the left */
}

.ticker-item {
    margin: 0 10px;
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .ticker-item {
        font-size: 1.2rem;
        margin: 0 8px;
    }
}
@media (max-width: 768px) {
    .process {
        grid-template-columns: 1fr;
    }
}


/* File input container */
.form-row input[type="file"] {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  border: 2px dashed #ccc;
  border-radius: 8px;
  background-color: #fafafa;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
  font-size: 14px;
  color: #555;
}

/* Hover & focus state */
.form-row input[type="file"]:hover,
.form-row input[type="file"]:focus {
  border-color: #007bff;
  background-color: #f0f8ff;
  outline: none;
}


/* Error text */
.form-row .error {
  font-size: 12px;
  color: #d9534f;
  margin-top: 0.25rem;
}

/* Optional: Drag-over effect if using JS */
.file-drop-area.dragover {
  border-color: #007bff;
  background-color: #e6f0ff;
}

/* Optional: Add padding for preview container if needed */
.file-preview-container img {
  max-width: 100px;
  max-height: 100px;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #ccc;
  position: relative;
}

/* Floating Buttons Container */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 9999;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  width: 50px;
  height: 50px;
  background: #f94b9c;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.scroll-to-top-btn.show {
  opacity: 1;
  transform: scale(1);
}

.scroll-to-top-btn:hover {
  background: #e53a84;
}

/* Chaty CTA Floating Button */
.chaty-cta {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.chaty-toggle {
  background: #f94b9c;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.chaty-toggle:hover {
  background: #e53a84;
}

.chaty-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.chaty-links .chaty-link img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.chaty-links .chaty-link img:hover {
  transform: scale(1.1);
}

.chaty-cta.open .chaty-links {
  display: flex;
}
/* CTA Wrapper for Centering */
.cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 20px;
}

/* New Sharp CTA Button Class */
.call-to-action {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  border: 3px solid transparent;
  background: linear-gradient(135deg, #935aee, var(--accent2));
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: Inter, sans-serif;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(110, 231, 255, 0.4);
}

.call-to-action:hover {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(110, 231, 255, 0.6);
  color: #ffffff;
}

.call-to-action::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.call-to-action:hover::before {
  width: 200%;
  height: 200%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cta-wrapper {
    margin: 30px 0 15px;
  }

  .call-to-action {
    padding: 12px 24px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(110, 231, 255, 0.3);
  }
}

@media (max-width: 480px) {
  .call-to-action {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* CTA Emoji Animation */
.cta-emoji {
  display: inline-block; /* Allows animation without affecting text */
  animation: laugh-motion 1.2s ease-in-out infinite; /* Continuous animation */
}

/* Laugh in Motion Animation */
@keyframes laugh-motion {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  20% {
    transform: translateY(-2px) rotate(5deg) scale(1.1);
  }
  40% {
    transform: translateY(2px) rotate(-5deg) scale(1.05);
  }
  60% {
    transform: translateY(-1px) rotate(3deg);
  }
  80% {
    transform: translateY(1px) rotate(-3deg);
  }
}