/* --- CSS Reset & Base Styles --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background: #f5f7fa;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navbar --- */
.navbar {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(79,140,255,0.07);
  padding: 0.7rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -1px;
  color: #222;
  display: flex;
  align-items: center;
  gap: 0.2em;
}
.logo-text span:last-child {
  color: #4F8CFF;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 1.08rem;
  transition: color 0.2s;
}
.nav-links a.active,
.nav-links a:hover {
  color: #4F8CFF;
}
.btn {
  display: inline-block;
  padding: 0.6em 1.5em;
  border-radius: 2em;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: linear-gradient(90deg, #4F8CFF 0%, #6FC3FF 100%);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(79,140,255,0.13);
}
.btn-primary:hover {
  background: linear-gradient(90deg, #3578e5 0%, #4F8CFF 100%);
}
.btn-outline {
  background: #fff;
  color: #4F8CFF;
  border: 2px solid #4F8CFF;
}
.btn-outline:hover {
  background: #4F8CFF;
  color: #fff;
}

/* --- Hero Section --- */
/* --- Homepage Hero Redesign --- */
.hero.hero-homepage {
  background: #f7fafd;
  padding: 3.5rem 0 3.5rem 0;
  text-align: center;
}
.hero-homepage-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: #eaf2ff;
  color: #3496ea;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 2em;
  padding: 0.4em 1.5em;
  margin-bottom: 2.2rem;
  letter-spacing: 0.01em;
  box-shadow: none;
}
.hero-headline-card {
  background: linear-gradient(120deg, #eaf2ff 0%, #cfe2fa 100%);
  border-radius: 1.5rem;
  padding: 3.2rem 2.5rem 2.7rem 2.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 4px 32px 0 rgba(79,140,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  line-height: 1.08;
  text-align: center;
}
.hero-headline-accent {
  color: #3496ea;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-stats-row {
  display: flex;
  gap: 2.2rem;
  margin: 0 0 2.2rem 0;
  justify-content: center;
  width: 100%;
}
.hero-stat-card {
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 12px 0 rgba(79,140,255,0.07);
  padding: 2.1em 2.2em 1.5em 2.2em;
  min-width: 220px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stat-value {
  font-size: 2.1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #3496ea;
  margin-bottom: 0.2em;
  display: block;
}
.hero-stat-label {
  font-size: 1.08rem;
  color: #555;
  font-family: 'Inter', sans-serif;
}
.hero-homepage-desc {
  color: #444;
  font-size: 1.18rem;
  margin: 0 0 2.2rem 0;
  max-width: 700px;
  text-align: center;
}
.hero-homepage-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.hero-homepage-btn {
  font-size: 1.13rem;
  padding: 0.9em 2.2em;
  border-radius: 2em;
  font-weight: 600;
  box-shadow: 0 2px 8px 0 rgba(79,140,255,0.07);
}
.hero-homepage .btn-primary {
  background: #3496ea;
  color: #fff;
  border: none;
}
.hero-homepage .btn-primary:hover {
  background: #2176c7;
}
.hero-homepage .btn-outline {
  background: #fff;
  color: #3496ea;
  border: 2px solid #3496ea;
}
.hero-homepage .btn-outline:hover {
  background: #3496ea;
  color: #fff;
}

/* Responsive for homepage hero */
@media (max-width: 900px) {
  .hero-headline-card {
    padding: 2.2rem 1.2rem 1.7rem 1.2rem;
  }
  .hero-headline {
    font-size: 2.1rem;
  }
  .hero-stats-row {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .hero-stat-card {
    min-width: 0;
    width: 100%;
    padding: 1.2em 0.7em 1em 0.7em;
  }
}
@media (max-width: 600px) {
  .hero-headline-card {
    padding: 1.2rem 0.3rem 0.7rem 0.3rem;
    border-radius: 0.7em;
  }
  .hero-headline {
    font-size: 1.3rem;
  }
  .hero-stat-card {
    padding: 1em 0.3em 0.7em 0.3em;
    border-radius: 0.7em;
  }
  .hero-homepage-btn {
    font-size: 1rem;
    padding: 0.7em 1.2em;
  }
}

/* --- Services Section --- */
.services-section {
  background: #fff;
  padding: 4rem 0 3rem 0;
}
.services-badge {
  background: #eaf2ff;
  color: #4F8CFF;
}
.services-title {
  font-size: 2.1rem;
  margin-bottom: 0.7rem;
}
.services-desc {
  color: #555;
  margin-bottom: 2.2rem;
  font-size: 1.08rem;
}
.services-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.service-card {
  background: #f5f7fa;
  border-radius: 1.2em;
  box-shadow: 0 2px 8px 0 rgba(79,140,255,0.07);
  padding: 2rem 1.5rem;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  position: relative;
}
.service-card-popular {
  border: 2px solid #4F8CFF;
  background: #eaf2ff;
}
.popular-badge {
  position: absolute;
  top: -1.2em;
  right: 1.2em;
  background: #4F8CFF;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 1em;
  padding: 0.3em 1em;
}
.service-type {
  font-size: 1.3rem;
  color: #4F8CFF;
  margin-bottom: 0.5rem;
}
.service-price {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-desc-short {
  color: #555;
  margin-bottom: 0.7rem;
}
.service-features {
  list-style: disc inside;
  color: #333;
  margin-bottom: 1.2rem;
  padding-left: 1.1em;
}
.service-btn {
  margin-top: auto;
}

/* --- About Section --- */
.about-section {
  background: #f5f7fa;
  padding: 4rem 0 3rem 0;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}
.about-main {
  flex: 2 1 340px;
}
.about-badge {
  background: #eaf2ff;
  color: #4F8CFF;
}
.about-title {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}
.about-desc {
  color: #555;
  margin-bottom: 1.1rem;
  font-size: 1.08rem;
}
.about-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}
.about-features-grid {
  flex: 1 1 220px;
  display: grid;
  gap: 1.2rem;
}
.about-feature-card {
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 2px 8px 0 rgba(79,140,255,0.07);
  padding: 1.2em 1em;
}
.about-feature-card h3 {
  font-size: 1.1rem;
  color: #4F8CFF;
  margin-bottom: 0.3em;
}
.about-feature-card p {
  color: #444;
  font-size: 0.98rem;
}

/* --- Modern Testimonials Carousel --- */
.testimonials-section {
  background: #fff;
  padding: 4rem 0 3rem 0;
}
.testimonials-badge {
  background: #eaf2ff;
  color: #4F8CFF;
}
.testimonials-title {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}
.testimonials-desc {
  color: #555;
  margin-bottom: 2.2rem;
  font-size: 1.08rem;
}
.testimonials-modern-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 0 1rem 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #4F8CFF #f5f7fa;
}
.testimonial-modern-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(79,140,255,0.08), 0 1.5px 6px 0 rgba(0,0,0,0.03);
  min-width: 320px;
  max-width: 350px;
  flex: 0 0 auto;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  transition: transform 0.2s;
}
.testimonial-modern-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(79,140,255,0.13), 0 2px 8px 0 rgba(0,0,0,0.05);
}
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  border: 3px solid #4F8CFF;
  box-shadow: 0 2px 8px 0 rgba(79,140,255,0.10);
}
.testimonial-modern-content {
  text-align: center;
}
.testimonial-modern-stars {
  color: #FFD700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.testimonial-modern-content blockquote {
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  color: #333;
  margin: 0 0 1rem 0;
  line-height: 1.5;
  quotes: "“" "”";
}
.testimonial-modern-content blockquote:before {
  content: open-quote;
  color: #4F8CFF;
  font-size: 2rem;
  vertical-align: -0.4em;
}
.testimonial-modern-content blockquote:after {
  content: close-quote;
  color: #4F8CFF;
  font-size: 2rem;
  vertical-align: -0.4em;
}
.testimonial-modern-client {
  margin-top: 0.5rem;
}
.testimonial-modern-client .client-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #222;
  font-size: 1.1rem;
  display: block;
}
.testimonial-modern-client .client-role {
  font-family: 'Inter', sans-serif;
  color: #4F8CFF;
  font-size: 0.98rem;
  display: block;
  margin-top: 0.1rem;
}

/* --- Contact Section --- */
.contact-section {
  background: #f7fafd;
  padding: 4rem 0 3rem 0;
}
.contact-container {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2.5rem;
  align-items: start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-header {
  grid-column: 1 / span 2;
  text-align: center;
  margin-bottom: 0.5rem;
}
.contact-badge {
  background: #eaf2ff;
  color: #4F8CFF;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 1em;
  padding: 0.3em 1.1em;
  margin-bottom: 1.2rem;
  display: inline-block;
}
.contact-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #222;
}
.contact-desc {
  color: #555;
  margin-bottom: 0.5rem;
  font-size: 1.13rem;
}
.contact-content {
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form {
  background: #fff;
  border-radius: 1.3em;
  box-shadow: 0 4px 32px 0 rgba(79,140,255,0.10);
  padding: 2.2rem 2rem 2rem 2rem;
  min-width: 320px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.form-group {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 0.3em;
  color: #222;
}
.form-group input,
.form-group textarea {
  padding: 1em 1.1em;
  border-radius: 0.7em;
  border: 1.5px solid #eaf2ff;
  font-size: 1.08rem;
  margin-bottom: 0.5em;
  background: #f7fafd;
  color: #222;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid #4F8CFF;
  outline: none;
}
.full-width {
  flex: 1 1 100%;
}
.contact-btn {
  margin-top: 1.2rem;
  width: 100%;
  background: #3496ea;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 0.7em;
  padding: 0.9em 0;
  box-shadow: 0 2px 8px 0 rgba(79,140,255,0.10);
  border: none;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.contact-btn:hover {
  background: #2176c7;
}
.contact-info-card {
  background: #3496ea;
  color: #fff;
  border-radius: 1.3em;
  box-shadow: 0 4px 32px 0 rgba(79,140,255,0.10);
  padding: 2.2rem 2rem 2rem 2rem;
  min-width: 320px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.7em;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.contact-info-card p {
  color: #eaf2ff;
  font-size: 1.05rem;
  margin-bottom: 1.2em;
}
.contact-info-list {
  margin: 1em 0 1.2em 0;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  margin-bottom: 0.9em;
}
.info-icon {
  font-size: 1.3em;
  color: #fff;
  margin-top: 0.1em;
}
.info-label {
  font-weight: 700;
  color: #fff;
  font-size: 1.05em;
}
.contact-hours {
  margin-top: 1.2em;
  font-size: 1.02rem;
  color: #eaf2ff;
}
.contact-hours .info-label {
  color: #fff;
  font-size: 1.05em;
  font-weight: 700;
}

/* Responsive adjustments for contact section */
@media (max-width: 1100px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem 0;
  }
  .contact-header {
    grid-column: 1 / span 1;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .contact-form,
  .contact-info-card {
    min-width: 0;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .contact-form,
  .contact-info-card {
    padding: 1rem 0.3rem 0.7rem 0.3rem;
    border-radius: 0.7em;
  }
}

/* --- Footer --- */
.site-footer {
  background: #222;
  color: #fff;
  padding: 3rem 0 1.5rem 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.footer-col {
  flex: 1 1 220px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo .logo-img {
  height: 40px;
}
.footer-desc {
  color: #bbb;
  font-size: 1.02rem;
  margin-top: 0.7em;
}
.footer-col h4 {
  font-size: 1.1rem;
  color: #4F8CFF;
  margin-bottom: 0.5em;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.5em;
}
.footer-col ul a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover {
  color: #4F8CFF;
}
.footer-contact-list {
  font-size: 0.98rem;
  color: #bbb;
}
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.2rem;
  color: #bbb;
  font-size: 0.98rem;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links a {
  color: #bbb;
  margin-left: 1.2em;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #4F8CFF;
}

/* --- Scroll to Top Button --- */
.scroll-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background: #4F8CFF;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(79,140,255,0.13);
  cursor: pointer;
  z-index: 100;
  transition: background 0.2s;
}
.scroll-top:hover {
  background: #3578e5;
}

/* --- Responsive Design --- */
@media (max-width: 1100px) {
  .container {
    padding: 0 1rem;
  }
  .footer-main {
    gap: 1.2rem;
  }
}
@media (max-width: 1100px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem 0;
  }
  .contact-header {
    max-width: 100%;
    padding-left: 0;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .contact-content {
    align-items: center;
  }
}
@media (max-width: 900px) {
  .nav-links {
    gap: 1rem;
  }
  .services-cards {
    gap: 1rem;
  }
  .about-container,
  .contact-container,
  .footer-main {
    flex-direction: column;
    gap: 1.2rem;
  }
  .testimonials-modern-carousel {
    gap: 1rem;
  }
  .testimonial-modern-card {
    min-width: 260px;
    max-width: 90vw;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .hero-content,
  .services-cards,
  .about-container,
  .contact-container,
  .footer-main {
    padding: 0;
  }
  .navbar,
  .hero,
  .services-section,
  .about-section,
  .testimonials-section,
  .contact-section,
  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }
  .logo-img {
    height: 36px;
  }
  .logo-text {
    font-size: 1.1rem;
  }
}
