.root, :root{
  --accent:#6D5CB0;
  --bg:#ffffff;
  --muted:#667085;
  --container:1100px;
}
*{box-sizing:border-box}
body{font-family:Inter,system-ui,Arial,sans-serif;margin:0;color:#434343;background:var(--bg);font-weight:400}

/* Make all headings use pure black */
h1,h2,h3,h4,h5,h6{color:#000000}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.site-header{position:static;background:rgba(255,255,255,1);border-bottom:1px solid #eee}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.logo{display:inline-block}
.logo img{height:40px;display:block}
.nav a{margin-left:18px;color:#111;text-decoration:none;font-weight:600}
.hero{padding:80px 0;background:linear-gradient(180deg,#ffffff,#fbfdff)}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.hero-left{padding:20px}
.kicker{display:inline-block;background:#f4f2ff;color:var(--accent);padding:6px 10px;border-radius:8px;font-weight:600;margin-bottom:12px}
.hero-left h1{font-size:3.0rem;margin:6px 0 12px;color:#000000;font-weight:600}
.lead{color:var(--muted);font-size:1.05rem;margin-bottom:18px}
.hero-cta{margin:18px 0}
.btn{display:inline-block;padding:12px 18px;border-radius:8px;text-decoration:none;font-weight:600;border:0;margin-right:10px;text-align:center}
.btn.primary{background:var(--accent);color:#fff}
.btn.outline{background:transparent;color:var(--accent);border:2px solid rgba(109,92,176,0.12);padding:10px 16px}
.rating{display:flex;align-items:center;gap:10px;margin-top:12px}
.stars{color:#0b6b3a;letter-spacing:2px}
.score{font-weight:600}
.count{color:var(--muted)}
.hero-right img{width:100%;height:380px;object-fit:cover;border-radius:12px;box-shadow:0 12px 30px rgba(15,23,36,0.12)}

.hero-features{display:flex;justify-content:space-between;gap:18px;margin-top:24px;padding:18px 6px}
.feature{display:flex;align-items:center;gap:12px;background:#f8fbf9;padding:12px 18px;border-radius:10px;flex:1;justify-content:flex-start}
.feature .icon{font-size:20px}
.feature .text{font-weight:600;color:#0f1724}
.section{padding:56px 0}
.services .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:18px}
.services .intro{margin-bottom:18px;color:var(--muted)}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.service-card{background:#fff;padding:20px;border-radius:10px;border:1px solid #eee;position:relative;min-height:220px}
.service-card h3{margin:10px 0 6px;font-weight:600;color:#000000}
.service-card .meta{font-weight:600;color:var(--muted);font-size:0.85rem;margin-bottom:8px}
.service-card ul{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.service-card p{color:var(--muted);margin:0}
.card-head{display:flex;justify-content:space-between;align-items:flex-start}
.service-card .icon{font-size:20px}
.service-card .number{font-size:48px;color:rgba(15,23,36,0.06);font-weight:600}
.services-more{margin-top:22px;padding-top:12px;border-top:1px dashed #eef2f6}

/* Make the 'more' card span remaining space on desktop */
.service-card.more{display:flex;flex-direction:column;justify-content:center;grid-column:span 2;background:#f7f6ff}
.service-card.more h3{font-size:1.25rem}
.service-card.more p{color:var(--muted)}

/* Hide the show-more control on desktop by default */
.show-more{display:none}

@media(max-width:900px){
  .service-card.more{grid-column:span 1}
}
.about{background:#f8fafc}
.contact a{color:var(--accent);text-decoration:none}
.site-footer{padding:18px 0;text-align:center;border-top:1px solid #f1f5f9}

/* Testimonials */
.testimonials .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}

/* Testimonials carousel styles */
.testimonial-carousel{position:relative;padding:40px 0;overflow:hidden}
.testimonial-carousel .big-number{position:absolute;left:calc((100% - var(--container))/2 + 10px);top:8px;font-size:110px;color:rgba(0,0,0,0.04);font-weight:600}
.carousel-inner{padding-left:180px;min-height:160px}
.testimonial-slide{display:none}
.testimonial-slide.active{display:block}
.quote{font-size:1.25rem;line-height:1.35;margin:0 0 14px;color:#434343;font-weight:400}
.testimonial-slide h3{font-size:1.15rem;margin:0 0 8px;font-weight:600;color:#000}
.author{display:flex;align-items:center;gap:12px}
.author img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.author .meta{display:flex;flex-direction:column}
.author .meta strong{font-weight:600}
.author .meta span{color:var(--muted);font-size:0.95rem}
.carousel-controls{display:flex;align-items:center;justify-content:space-between;padding-left:180px;margin-top:20px}
.dots{flex:1}
.dots button{width:36px;height:6px;margin-right:8px;border-radius:4px;border:0;background:#e9ecef}
.dots button.active{background:var(--accent)}
.pager{color:var(--muted);margin-right:12px}
.arrows button{background:#fff;border:1px solid #eee;border-radius:50%;width:40px;height:40px;cursor:pointer}
.testimonials .card{padding:22px;background:#fff;border-radius:12px}
.testimonials p{margin:0 0 10px;color:var(--muted)}

/* Gallery */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}
.gallery img{width:100%;height:150px;object-fit:cover;border-radius:8px}

/* Process */
.process-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:18px}
.process-steps .step{background:#F5F5F5;padding:18px;border-radius:10px;text-align:center}
.process-steps h3{margin:0 0 8px}

/* Areas */
.areas-list{display:flex;gap:18px;list-style:none;padding:0;margin:12px 0}
.areas-list li{background:#fff;padding:10px 14px;border-radius:8px}

/* Contact form */
.contact-form{max-width:560px;margin-top:12px}
.contact-form .form-row{margin-bottom:12px}
.contact-form input,.contact-form textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #e6edf3}
.muted{color:var(--muted);margin-top:8px}

@media(max-width:900px){
  .services .cards{grid-template-columns:repeat(1,1fr)}
  .hero h1{font-size:1.9rem}
  .header-inner{padding:10px 0}
  .testimonials .cards{grid-template-columns:repeat(1,1fr)}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .process-steps{grid-template-columns:repeat(1,1fr)}
  .hero-grid{grid-template-columns:1fr}
  .hero-right img{height:240px}
  .hero-features{flex-direction:column;gap:12px}
  .testimonial-carousel .big-number{display:none}
  .carousel-inner{padding-left:0}
  .quote{font-size:1.05rem}
  /* Mobile: fix testimonial navigation layout */
  .carousel-controls{padding-left:0;margin-top:12px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
  .dots{order:1;display:flex;gap:8px}
  .dots button{width:28px;height:6px;margin-right:8px;border-radius:4px}
  .dots button.active{background:var(--accent)}
  .pager{order:2;color:var(--muted)}
  .arrows{order:3}
  .arrows button{width:34px;height:34px;border-radius:50%}

  /* Stack hero CTA buttons vertically on small screens with 8px gap */
  .hero-cta{display:flex;flex-direction:column;gap:8px;margin:18px 0}
  .hero-cta .btn{margin-right:0}
  /* Ensure hero content uses 16px margin on mobile */
  .hero-left{margin:16px 0;padding:0}
  /* Center button text when buttons stack on mobile */
  .hero-cta .btn{display:block;text-align:center}

  /* Reduce space between testimonial header and content on mobile */
  .testimonial-carousel{padding-top:12px;padding-bottom:12px}
  .testimonials h2{margin-bottom:8px;font-size:1.25rem}
  .carousel-inner{padding-top:6px}
  .testimonial-slide h3{margin-bottom:6px}

  /* Mobile header adjustments: hide nav, smaller logo */
  .nav{display:none}
  .logo img{height:32px}
  .header-inner{padding:8px 0}
  /* Add 8px margin around the header/navbar on mobile */
  .header-inner{margin:8px 0}
  /* Increase container padding on mobile to avoid touching screen */
  .container{padding:0 18px}

  /* Stack services vertically and show only first 5 by default */
  .services-grid{grid-template-columns:1fr}
  .services-grid:not(.expanded) .service-card:nth-child(n+6){display:none}

  .show-more{display:block;text-align:center;margin:18px 0}
  .show-more .btn{padding:10px 14px}
}
