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

:root {
  --navy-primary: #14294A;
  --navy-light: #213A6B;
  --accent-blue: #2E5AA3;
  --accent-teal: #2EAE9B;
  --text-muted: #7A889B;
  --surface-white: #FFFFFF;
  --text-dark: #14294A;
  --sand-footer: #C8AD7F;
  --shadow-light: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-heavy: 0 20px 60px rgba(0,0,0,0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.nav {
  background: var(--surface-white);
  padding: 12px 0;
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-primary);
  text-decoration: none;
  line-height: 1.3;
  transition: var(--transition-smooth);
}

.nav-logo:hover {
  transform: translateY(-1px);
}

.logo-image {
  width: 44px;
  height: 44px;
  transition: var(--transition-smooth);
}

.logo-image:hover {
  transform: scale(1.05) rotate(2deg);
}

.logo-text {
  display: block;
}

/* Save horizontal space on medium screens while keeping brand icon */
@media (max-width: 1024px) {
  .logo-text { display: none; }
}

.nav-links {
  display: flex;
  gap: clamp(12px, 2.2vw, 28px);
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition-smooth);
}

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

.nav-links a:hover {
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.hero-home {
  height: 600px;
  background: url('assets/hero-modern-home.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(20, 41, 74, 0.7), rgba(46, 90, 163, 0.5));
  animation: heroGradient 8s ease-in-out infinite alternate;
}

@keyframes heroGradient {
  0% { opacity: 0.6; }
  100% { opacity: 0.8; }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 41, 74, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content-center {
  text-align: center;
  color: var(--surface-white);
  padding: 48px 24px;
  position: relative;
  z-index: 2;
  animation: heroContentFadeIn 1s ease-out;
}

@keyframes heroContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content-center h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
  animation: heroTitleSlide 1.2s ease-out 0.3s both;
}

@keyframes heroTitleSlide {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content-center p {
  font-size: 1.5rem;
  margin-bottom: 32px;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  animation: heroSubtitleSlide 1.2s ease-out 0.6s both;
}

@keyframes heroSubtitleSlide {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn-hero {
  background: transparent;
  color: var(--surface-white);
  border: 2px solid var(--surface-white);
  padding: 14px 40px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-bounce);
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  animation: heroButtonSlide 1.2s ease-out 0.9s both;
}

@keyframes heroButtonSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-smooth);
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:hover {
  background: var(--surface-white);
  color: var(--navy-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-medium);
}

.about-section {
  background: var(--surface-white);
  padding: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.about-image {
  width: 100%;
  height: 100%;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface-white);
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.how-it-works {
  background: var(--surface-white);
  padding: 80px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--navy-primary);
}

.section-title-white {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--surface-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  margin-top: 40px;
}

.step-card {
  text-align: center;
  padding: 32px;
  transition: var(--transition-smooth);
  border-radius: 12px;
  background: var(--surface-white);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.step-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--accent-blue);
  transition: var(--transition-bounce);
  display: inline-block;
}

.step-card:hover .step-icon {
  transform: scale(1.2) rotate(5deg);
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition-smooth);
}

.step-card:hover h3 {
  color: var(--accent-blue);
}

.step-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.services-section {
  background: var(--navy-primary);
  padding: 80px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.service-card {
  background: var(--surface-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 90, 163, 0.05), rgba(46, 174, 155, 0.05));
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-heavy);
}

.service-image-wrapper {
  width: 100%;
  height: 300px;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 32px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition-smooth);
}

.service-card:hover .service-content h3 {
  color: var(--accent-blue);
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.btn-service {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: var(--surface-white);
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-bounce);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-smooth);
}

.btn-service:hover::before {
  left: 100%;
}

.btn-service:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-medium);
}

.faq-section {
  background: var(--surface-white);
  padding: 80px 24px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #E5E8ED;
  padding: 24px 0;
  transition: var(--transition-smooth);
  border-radius: 8px;
  margin-bottom: 8px;
}

.faq-item:hover {
  background: rgba(46, 90, 163, 0.02);
  padding-left: 16px;
  padding-right: 16px;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition-smooth);
}

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

.faq-answer {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.testimonials-home {
  position: relative;
  padding: 80px 24px;
  color: var(--surface-white);
  overflow: hidden;
  min-height: 80vh;
}

.testimonials-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: linear-gradient(rgba(20, 41, 74, 0.85), rgba(20, 41, 74, 0.85)),
              url('assets/testimonial_background.png') center/cover;
  background-attachment: fixed;
  transform: translateZ(0);
  will-change: transform;
}

.testimonials-content {
  position: relative;
  z-index: 2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.testimonial-card {
  text-align: center;
  padding: 32px 24px;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  transition: var(--transition-smooth);
  border: none;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
}

.testimonial-card.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:nth-child(1).reveal {
  transition-delay: 0.1s;
}

.testimonial-card:nth-child(2).reveal {
  transition-delay: 0.3s;
}

.testimonial-card:nth-child(3).reveal {
  transition-delay: 0.5s;
}

.testimonial-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: transparent;
  box-shadow: none;
}

.testimonial-quote {
  font-size: 3rem;
  color: #CBB492;
  margin-bottom: 16px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.5) rotate(-10deg);
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.testimonial-card.reveal .testimonial-quote {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  animation: quoteFloat 4s ease-in-out infinite;
  transition-delay: 0.1s;
}

@keyframes quoteFloat {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.05) rotate(2deg);
  }
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 1rem;
  color: #CBB492;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
}

.testimonial-card.reveal .testimonial-text {
  opacity: 1;
  transform: translateY(0);
  animation: testimonialTextGlow 3s ease-in-out infinite alternate;
  transition-delay: 0.3s;
}

@keyframes testimonialTextGlow {
  0% {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 5px rgba(203, 180, 146, 0.2);
  }
  100% {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 15px rgba(203, 180, 146, 0.4), 0 0 25px rgba(203, 180, 146, 0.2);
  }
}

.testimonial-author {
  font-weight: 600;
  color: #CBB492;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card.reveal .testimonial-author {
  opacity: 1;
  transform: translateY(0);
  animation: authorPulse 2s ease-in-out infinite;
  transition-delay: 0.5s;
}

@keyframes authorPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.contact-section {
  background: var(--surface-white);
  padding: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.contact-image {
  width: 100%;
  height: 100%;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

.contact-form-wrapper {
  padding: 60px;
  background: var(--surface-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.btn-submit {
  background: linear-gradient(135deg, var(--navy-primary), var(--accent-blue));
  color: var(--surface-white);
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-smooth);
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-medium);
}

.contact-info {
  margin-top: 28px;
}

.contact-label {
  font-size: 1rem;
  color: var(--navy-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-email {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer {
  background: var(--sand-footer);
  color: var(--surface-white);
  padding: 40px 24px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-social a {
  color: var(--surface-white);
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--surface-white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-copy {
  color: var(--surface-white);
  font-size: 0.9rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.chat-bubble {
  display: none; /* Hidden until chat functionality is implemented */
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: var(--surface-white);
  padding: 16px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-bounce);
  z-index: 1000;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
  animation: chatBounce 2s ease-in-out infinite;
}

@keyframes chatBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.chat-bubble:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-heavy);
  animation: none;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--surface-white);
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #245187;
}

.section {
  padding: 80px 24px;
}

.section-white {
  background: var(--surface-white);
}

.section-navy {
  background: var(--navy-primary);
  color: var(--surface-white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.property-card {
  background: var(--surface-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.property-card:hover {
  transform: translateY(-4px);
}

.property-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.property-content {
  padding: 24px;
}

.property-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.property-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: 8px;
}

.property-meta {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.property-description {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--accent-blue);
  color: var(--surface-white);
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
  }
  
  .nav-logo {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .logo-image {
    width: 40px;
    height: 40px;
  }
  
  .nav-links {
    gap: 16px;
    font-size: 0.9rem;
    flex-wrap: nowrap; /* keep links on one line on tablets */
    justify-content: center;
  }
  
  .hero-home {
    height: 500px;
  }
  
  .hero-content-center {
    padding: 32px 16px;
  }
  
  .hero-content-center h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .hero-content-center p {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
  
  .btn-hero {
    padding: 12px 32px;
    font-size: 1rem;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    order: 1;
  }
  
  .contact-image {
    order: 2;
  }
  
  .about-content,
  .contact-form-wrapper {
    padding: 40px 24px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .step-card {
    padding: 24px;
  }
  
  .section {
    padding: 48px 24px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .chat-bubble {
    bottom: 16px;
    right: 16px;
    padding: 12px 20px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 12px;
  }
  
  .nav-links {
    gap: 16px;
    font-size: 0.85rem;
    flex-wrap: wrap; /* allow wrapping only on very small screens */
  }
  
  .hero-content-center h1 {
    font-size: 1.8rem;
  }
  
  .hero-content-center p {
    font-size: 1rem;
  }
  
  .about-content,
  .contact-form-wrapper {
    padding: 32px 16px;
  }
  
  .step-card {
    padding: 20px;
  }
  
  .section {
    padding: 32px 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}
