:root {
  --primary: #0f4c4a;
  --primary-dark: #082f2e;
  --primary-soft: #e6f4f1;
  --accent: #f5a623;
  --accent-dark: #d98c0b;
  --violet: #5b3df5;
  --ink: #17252a;
  --muted: #5f7075;
  --light: #f6faf9;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(15, 76, 74, .12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--primary-dark); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; }
section { padding: 90px 0; }
.bg-soft { background: var(--light); }

/* Buttons */
.btn { border-radius: 50px; font-weight: 600; padding: .7rem 1.7rem; transition: all .3s; }
.btn-accent { background: var(--accent); color: var(--primary-dark); border: 2px solid var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-primary-wap { background: var(--primary); color: #fff; border: 2px solid var(--primary); }
.btn-primary-wap:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-light:hover { color: var(--primary-dark); }

/* Navbar & logo (always one line, one style) */
.top-bar { background: var(--primary-dark); color: #cfe6e2; font-size: .85rem; padding: 7px 0; }
.top-bar a { color: #cfe6e2; }
.top-bar a:hover { color: var(--accent); }
.navbar { background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.07); padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex-wrap: nowrap; }
.brand-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 42px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.brand-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.4rem; letter-spacing: .2px; color: var(--primary-dark); white-space: nowrap; }
.brand:hover .brand-text { color: var(--primary-dark); }
.footer .brand-text { color: #fff; }
.navbar .nav-link { color: var(--ink); font-weight: 500; padding: .5rem 1rem !important; position: relative; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary); }
.navbar .nav-link.active::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 2px; height: 3px; border-radius: 3px; background: var(--accent);
}
@media (max-width: 575px) { .brand-text { font-size: 1.12rem; } .brand-icon { width: 36px; height: 36px; flex-basis: 36px; font-size: 1.1rem; } }

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 20%, rgba(91,61,245,.55), transparent 45%),
              linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 70%);
  color: #fff; padding: 110px 0 120px; position: relative; overflow: hidden;
}
.hero::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(245,166,35,.12); right: -120px; bottom: -160px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; }
.hero h1 span { color: var(--accent); }
.hero p.lead { color: #d6ebe7; max-width: 560px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 6px 18px; border-radius: 50px; font-size: .85rem; margin-bottom: 18px; }
.hero-img { width: 100%; height: 440px; object-fit: cover; border-radius: 24px; border: 6px solid rgba(255,255,255,.15); box-shadow: 0 24px 50px rgba(0,0,0,.35); position: relative; z-index: 1; }
.row > [class*="col"] > .step, .row > [class*="col"] > .testi, .row > [class*="col"] > .service-card, .row > [class*="col"] > .blog-card { height: 100%; }
.rounded-img { height: 100%; max-height: 420px; object-fit: cover; }
.feature { align-items: flex-start; }

/* Page banner */
.page-banner {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, var(--violet));
  color: #fff; padding: 80px 0; text-align: center;
}
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-banner p { color: #d6ebe7; margin: 0 auto; max-width: 650px; }
.crumbs { font-size: .9rem; margin-top: 10px; }
.crumbs a { color: var(--accent); }

/* Section headings */
.section-title { text-align: center; max-width: 700px; margin: 0 auto 55px; }
.section-title .eyebrow { color: var(--accent-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; }
.section-title h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-top: 6px; }
.section-title p { color: var(--muted); }

/* Stats */
.stats { margin-top: -60px; position: relative; z-index: 3; padding: 0; }
.stat-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 15px; text-align: center; height: 100%; border-bottom: 4px solid var(--accent); }
.stat-box h3 { font-size: 2.2rem; color: var(--primary); margin: 0; }
.stat-box p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Service cards */
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; border: 1px solid #e3efec; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(15,76,74,.2); }
.service-card img { width: 100%; height: 210px; object-fit: cover; }
.service-card .card-body-wap { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-card .btn { align-self: flex-start; }

/* Feature / why us */
.feature { display: flex; gap: 18px; margin-bottom: 28px; }
.feature .icon, .icon-circle {
  width: 58px; height: 58px; flex: 0 0 58px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--violet));
}
.feature h5 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }
.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Steps */
.step { text-align: center; padding: 30px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; position: relative; }
.step .num { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent); color: var(--primary-dark); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Testimonials */
.testi { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); height: 100%; border-top: 4px solid var(--violet); position: relative; }
.testi .stars { color: var(--accent); margin-bottom: 10px; }
.testi p { color: var(--muted); font-style: italic; }
.testi h5 { font-family: 'Poppins', sans-serif; font-size: 1rem; margin: 18px 0 0; color: var(--primary); }
.testi .quote { position: absolute; right: 24px; top: 14px; font-size: 3rem; color: var(--primary-soft); }

/* Blog */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .35s; }
.blog-card:hover { transform: translateY(-8px); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.2rem; }
.blog-card h3 a { color: var(--primary-dark); }
.blog-card h3 a:hover { color: var(--accent-dark); }
.blog-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.read-more { font-weight: 600; }
.post-img { border-radius: var(--radius); width: 100%; margin-bottom: 28px; box-shadow: var(--shadow); }
.post p { font-size: 1.04rem; color: #33464c; margin-bottom: 1.3rem; }
.post h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.sidebar-box { background: var(--light); border-radius: var(--radius); padding: 28px; margin-bottom: 28px; border: 1px solid #e3efec; }
.sidebar-box h4 { font-size: 1.2rem; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { padding: 10px 0; border-bottom: 1px dashed #cfe0dc; }
.sidebar-box li:last-child { border: 0; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--violet), var(--primary)); color: #fff; border-radius: 26px; padding: 55px 40px; }
.cta h2 { color: #fff; }
.cta p { color: #e1efec; }

/* Forms / cards */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px; border-top: 5px solid var(--accent); }
.form-control, .form-select { border-radius: 12px; padding: .75rem 1rem; border: 1px solid #cddcd9; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(15,76,74,.15); }
.form-alert .alert { border-radius: 12px; margin-top: 16px; margin-bottom: 0; }
.info-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.info-card h5 { font-family: 'Poppins', sans-serif; font-size: 1rem; margin-bottom: 2px; }
.info-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Legal */
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal p, .legal li { color: #3b4e54; }

/* Footer */
.footer { background: var(--primary-dark); color: #b9d3cf; padding: 70px 0 0; }
.footer h5 { color: #fff; font-family: 'Poppins', sans-serif; font-size: 1.08rem; margin-bottom: 20px; }
.footer a { color: #b9d3cf; }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer .social a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); align-items: center; justify-content: center; margin-right: 8px; color: #fff; }
.footer .social a:hover { background: var(--accent); color: var(--primary-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding: 22px 0; font-size: .86rem; }
.disclaimer { font-size: .78rem; color: #8fb0ab; }

#toTop { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: var(--primary-dark); font-size: 1.3rem; display: none; z-index: 99; box-shadow: var(--shadow); }
.reveal { opacity: 0; transform: translateY(26px); transition: all .7s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 767px) { section { padding: 60px 0; } .hero { padding: 70px 0 100px; } .form-card { padding: 24px; } .cta { padding: 38px 22px; } }
