* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --body: #f5f8fb;
  --white: #ffffff;
  --dark: #0f2f35;
  --dark-2: #163f46;
  --text: #14252b;
  --muted: #6e7f86;
  --primary: #236c75;
  --accent: #d8ff66;
  --accent-2: #7df3ea;
  --border: #e3eaee;
  --soft: #eef5f6;
  --shadow: 0 18px 45px rgba(17, 54, 61, 0.12);
  --shadow-strong: 0 28px 70px rgba(17, 54, 61, 0.18);
  --radius: 26px;
   --darktext:#fff;
}

body.dark-mode {
  --body: #0d1f24;
  --white: #122a30;
  --dark: #071b20;
  --dark-2: #0f3138;
  --text: #f4fbfc;
  --muted: #a8bdc4;
  --primary: #d8ff66;
  --accent: #d8ff66;
  --accent-2: #7df3ea;
  --border: #25434a;
  --soft: #10282e;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 28px 70px rgba(0, 0, 0, 0.38);
  --darktext:#000;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--body);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* Header */

.main-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header-inner {
  min-height: 76px;
  padding: 0 18px 0 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(227, 234, 238, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 18px 45px rgba(17, 54, 61, 0.1);
}

body.dark-mode .header-inner {
  background: rgba(15, 47, 53, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.9px;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

.logo b {
  color: var(--primary);
  margin: 0 2px;
}

body.dark-mode .logo {
  color: #ffffff;
}

body.dark-mode .logo b {
  color: var(--accent);
}

.footer .logo {
  color: var(--text);
}

.footer .logo b {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 17px;
  border-radius: 999px;
  transition: 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--soft);
}

body.dark-mode .nav-menu a {
  color: rgba(255, 255, 255, 0.75);
}

body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--border);
}

.header-person img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.header-person strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}

.header-person span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
  margin-top: 3px;
  white-space: nowrap;
}

body.dark-mode .header-person {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .header-person strong {
  color: #ffffff;
}

.theme-toggle {
  width: 62px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #eef5f6;
  padding: 4px;
  cursor: pointer;
  transition: 0.3s ease;
  flex: 0 0 auto;
}

.toggle-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(17, 54, 61, 0.18);
  transition: 0.3s ease;
}

.toggle-icon {
  font-size: 12px;
  color: var(--primary);
  line-height: 1;
}

body.dark-mode .theme-toggle {
  background: #071b20;
  border-color: rgba(255, 255, 255, 0.18);
}

body.dark-mode .toggle-circle {
  transform: translateX(28px);
  background: var(--accent);
}

body.dark-mode .toggle-icon {
  color: #071b20;
}

.header-btn {
  height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  transition: 0.3s ease;
  box-shadow: 0 12px 24px rgba(35, 108, 117, 0.22);
}

.header-btn:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

body.dark-mode .header-btn {
  background: var(--accent);
  color: #071b20;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--soft);
  cursor: pointer;
}

.menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 5px auto;
}

body.dark-mode .menu-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .menu-btn span {
  background: #ffffff;
}

/* Hero */

.hero {
  padding: 115px 0 60px;
}

.hero-wrapper {
  position: relative;
  min-height: 760px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 25% 15%, rgba(216, 255, 102, 0.2), transparent 26%),
    radial-gradient(circle at 80% 45%, rgba(125, 243, 234, 0.22), transparent 25%),
    linear-gradient(135deg, #f8fcfd 0%, #eef7f8 45%, #ffffff 100%);
  overflow: hidden;
  padding: 60px 55px 50px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border);
}

body.dark-mode .hero-wrapper {
  background:
    radial-gradient(circle at 25% 15%, rgba(216, 255, 102, 0.13), transparent 28%),
    radial-gradient(circle at 80% 45%, rgba(125, 243, 234, 0.1), transparent 25%),
    linear-gradient(135deg, var(--dark) 0%, #12393f 48%, #0b252b 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(35, 108, 117, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.42;
  pointer-events: none;
}

body.dark-mode .hero-wrapper::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  opacity: 0.32;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: 130px;
  left: 70px;
  background: rgba(35, 108, 117, 0.05);
  border-radius: 4px;
  box-shadow:
    520px 40px 0 rgba(35,108,117,0.045),
    680px 120px 0 rgba(35,108,117,0.04),
    820px 270px 0 rgba(35,108,117,0.04);
}

body.dark-mode .hero-wrapper::after {
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    520px 40px 0 rgba(255,255,255,0.035),
    680px 120px 0 rgba(255,255,255,0.035),
    820px 270px 0 rgba(255,255,255,0.035);
}

.hero-top {
  position: relative;
  z-index: 2;
  max-width: 880px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge,
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  border-radius: 999px;
  background: rgba(35, 108, 117, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 22px;
}

body.dark-mode .hero-badge {
  background: rgba(255,255,255,0.1);
  color: #dff6f2;
}

.hero h1 {
  color: var(--text);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -3px;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 span {
  color: var(--primary);
}

body.dark-mode .hero h1 {
  color: #d7eee8;
}

body.dark-mode .hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 690px;
  margin: 0 auto;
}

body.dark-mode .hero p {
  color: rgba(255,255,255,0.72);
}

.hero-showcase {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 180px 250px 350px 230px;
  gap: 22px;
  align-items: end;
  margin-top: 62px;
}

/* Hero Cards */

.side-stat {
  min-height: 340px;
  border-left: 2px solid rgba(35, 108, 117, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 22px;
}

body.dark-mode .side-stat {
  border-left-color: rgba(216, 255, 102, 0.32);
}

.avatar-stack {
  display: flex;
  margin-bottom: 16px;
}

.avatar-stack span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #123137;
  border: 3px solid #ffffff;
  font-weight: 800;
  margin-left: -10px;
}

body.dark-mode .avatar-stack span {
  border-color: #123137;
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.side-stat h3 {
  color: var(--text);
  font-size: 42px;
  line-height: 1;
}

.side-stat p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

body.dark-mode .side-stat h3 {
  color: #ffffff;
}

body.dark-mode .side-stat p {
  color: rgba(255,255,255,0.72);
}

.profile-panel {
  position: relative;
  background: #d9e3e5;
  border-radius: 20px;
  overflow: hidden;
  min-height: 350px;
  box-shadow: 0 25px 55px rgba(17, 54, 61, 0.18);
}

body.dark-mode .profile-panel {
  box-shadow: 0 25px 55px rgba(0,0,0,0.25);
}

.profile-panel img {
  height: 350px;
  object-fit: cover;
  object-position: center top;
}

.mini-card {
  position: absolute;
  left: 24px;
  bottom: 22px;
  width: 150px;
  padding: 13px;
  border: 5px solid #122b30;
  border-radius: 13px;
  background: #8bd99e;
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.mini-card small {
  display: block;
  color: #102b30;
  font-size: 10px;
}

.mini-card strong {
  color: #102b30;
  font-size: 18px;
}

.mini-progress {
  height: 7px;
  background: rgba(16,43,48,0.25);
  border-radius: 99px;
  margin-top: 10px;
  overflow: hidden;
}

.mini-progress span {
  display: block;
  width: 76%;
  height: 100%;
  background: var(--accent);
}

.data-panel {
  position: relative;
  min-height: 405px;
  border-radius: 20px;
  padding: 24px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.94), rgba(255,255,255,0.8)),
    linear-gradient(135deg, #ffffff, #dfe5e4);
  box-shadow: 0 25px 55px rgba(17, 54, 61, 0.18);
  overflow: hidden;
}

body.dark-mode .data-panel {
  box-shadow: 0 25px 55px rgba(0,0,0,0.25);
}

.data-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 145px;
  background: linear-gradient(135deg, #d5d8d3, #9ea6a1);
  opacity: 0.6;
  clip-path: polygon(0 40%, 30% 15%, 52% 45%, 72% 20%, 100% 48%, 100% 100%, 0 100%);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #102b30;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.panel-head span {
  font-size: 13px;
  color: #42575c;
}

.panel-head b {
  color: #102b30;
}

.data-panel h2 {
  position: relative;
  z-index: 2;
  color: #050505;
  font-size: 36px;
  letter-spacing: -1.2px;
  line-height: 1.05;
}

.data-panel p {
  position: relative;
  z-index: 2;
  color: #3d4f55 !important;
  font-size: 13px;
  margin-top: 8px;
}

.chart-card {
  position: absolute;
  right: 34px;
  bottom: 30px;
  z-index: 3;
  width: 220px;
  padding: 20px;
  border-radius: 16px;
  border: 6px solid #071b20;
  background: #8bd99e;
}

.chart-top span {
  display: block;
  color: #102b30;
  font-size: 13px;
}

.chart-top b {
  display: block;
  color: #050505;
  font-size: 31px;
  margin-top: 8px;
}

.bars {
  height: 100px;
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 16px;
}

.bars span {
  width: 28px;
  background: #ffffff;
  border-radius: 7px 7px 0 0;
}

.bars span:nth-child(4) {
  background: #236c75;
}

.right-info {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.small-progress-box {
  padding: 16px;
  border-radius: 12px;
  background: rgba(35, 108, 117, 0.08);
  border: 1px solid rgba(35, 108, 117, 0.12);
}

body.dark-mode .small-progress-box {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
}

.small-progress-box div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--text);
  font-size: 12px;
  margin-bottom: 10px;
}

body.dark-mode .small-progress-box div:first-child {
  color: #ffffff;
}

.line-progress {
  height: 8px;
  background: rgba(35,108,117,0.13);
  border-radius: 99px;
  overflow: hidden;
}

body.dark-mode .line-progress {
  background: rgba(255,255,255,0.13);
}

.line-progress span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--accent);
}

.rating-box {
  background: var(--accent);
  border-radius: 18px;
  padding: 26px;
  color: #071b20;
}

.rating-box h3 {
  font-size: 58px;
  line-height: 1;
}

.rating-box div {
  color: #f97316;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 8px 0;
}

.rating-box p {
  color: #071b20 !important;
  font-size: 13px;
}

/* Strip */

.brand-strip {
  padding: 38px 0 20px;
}

.strip-inner {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.strip-inner span {
  background: var(--soft);
  color: var(--muted);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
}

/* Common */

.section {
  padding: 95px 0;
}

.two-col,
.package-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 50px;
  align-items: center;
}

.section-content h2,
.section-head h2,
.package-content h2,
.contact-content h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -1.6px;
  margin-bottom: 18px;
}

.section-content p,
.package-content p,
.contact-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 15px;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 55px;
  text-align: center;
}

/* About */

.about-card,
.service-card,
.price-card,
.process-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.about-card {
  padding: 38px;
}

.about-card h3 {
  font-size: 26px;
  margin-bottom: 22px;
}

.about-card ul,
.check-list {
  list-style: none;
}

.about-card li,
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.about-card li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

/* Services */

.services-section,
.process-section {
  background: var(--soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 30px;
}

.service-card:hover,
.process-card:hover,
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.service-card span,
.process-card b {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 20px;
}

.service-card h3,
.process-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.service-card p,
.process-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

/* Package */

.check-list {
  margin-top: 26px;
}

.price-card {
  padding: 38px;
}

.price-card > span {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.price-card h3 {
  font-size: 56px;
  color: var(--text);
  line-height: 1;
}

.price-card h3 small {
  font-size: 18px;
  color: var(--muted);
}

.price-card p {
  color: var(--muted);
  margin: 12px 0 22px;
}

.price-note {
  background: var(--soft);
  color: var(--muted);
  padding: 22px;
  border-radius: 18px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.primary-btn {
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--darktext);
  font-size: 14px;
  font-weight: 700;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: 0.3s ease;
}

.primary-btn:hover {
  transform: translateY(-3px);
  background: var(--dark-2);
}

body.dark-mode .primary-btn:hover {
  background: var(--accent);
  color: #071b20;
}

.full-btn {
  width: 100%;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  padding: 30px;
}

/* CTA */

.cta-section {
  padding: 90px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: 32px;
  padding: 55px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  box-shadow: var(--shadow-strong);
}

.cta-box span {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  margin: 14px 0;
}

.cta-box p {
  color: rgba(255,255,255,0.75);
  max-width: 720px;
  line-height: 1.8;
}

.cta-btn {
      background: var(--accent);
    color: #071b20;
    /* min-height: 50px; */
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

/* Contact */

.contact-info {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact-info a {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-info strong {
  display: block;
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-form {
  padding: 32px;
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--body);
  color: var(--text);
  padding: 0 16px;
  font-family: inherit;
  outline: none;
}

.contact-form textarea {
  height: 130px;
  resize: vertical;
  padding-top: 16px;
}

.form-msg {
  text-align: center;
  font-size: 14px;
  color: var(--primary);
}

/* Footer */

.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 60px 0 25px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 28px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer p {
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 13px;
}

/* Back Top */

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: 0.3s ease;
  z-index: 90;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Animation */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: 0.75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1100px) {
  .hero-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .side-stat,
  .right-info {
    min-height: auto;
  }

  .right-info {
    gap: 22px;
  }

  .two-col,
  .package-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-person {
    display: none;
  }
}

@media (max-width: 920px) {
  .main-header {
    top: 12px;
  }

  .menu-btn {
    display: block;
  }

  .header-btn {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 92px;
    left: 20px;
    right: 20px;
    display: grid;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: 0.3s ease;
    box-shadow: var(--shadow-strong);
  }

  body.dark-mode .nav-menu {
    background: var(--dark);
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    border-radius: 12px;
  }

  .hero-wrapper {
    padding: 105px 24px 35px;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .side-stat {
    border-left: 0;
    padding-left: 0;
    text-align: center;
    align-items: center;
  }

  .profile-panel,
  .data-panel {
    max-width: 420px;
    width: 100%;
    margin: auto;
  }

  .right-info {
    max-width: 420px;
    width: 100%;
    margin: auto;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .logo {
    font-size: 20px;
  }

  .theme-toggle {
    width: 56px;
    height: 32px;
  }

  body.dark-mode .toggle-circle {
    transform: translateX(24px);
  }

  .hero {
    padding-top: 95px;
  }

  .hero-wrapper {
    min-height: auto;
    padding: 100px 18px 28px;
  }

  .hero h1 {
    letter-spacing: -1.4px;
  }

  .hero-showcase {
    margin-top: 42px;
  }

  .data-panel {
    min-height: 420px;
  }

  .chart-card {
    left: 24px;
    right: 24px;
    width: auto;
  }

  .services-grid,
  .process-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .cta-box {
    padding: 32px;
    border-radius: 24px;
  }

  .footer-inner {
    flex-direction: column;
  }
}


/* Testimonials */

.testimonial-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(216, 255, 102, 0.16), transparent 26%),
    radial-gradient(circle at 90% 70%, rgba(125, 243, 234, 0.18), transparent 28%),
    var(--body);
}

.testimonial-section .section-head p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-wrap {
  position: relative;
  margin-top: 10px;
}

.testimonial-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  min-height: 335px;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -20px;
  right: 22px;
  font-size: 120px;
  line-height: 1;
  font-weight: 900;
  color: rgba(35, 108, 117, 0.08);
}

body.dark-mode .testimonial-card::before {
  color: rgba(216, 255, 102, 0.09);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.testimonial-top img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--soft);
}

.testimonial-top h3 {
  font-size: 18px;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 5px;
}

.testimonial-top span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.testimonial-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.testimonial-rating {
  margin-top: 22px;
  color: #f97316;
  letter-spacing: 3px;
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.testimonial-arrow:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

body.dark-mode .testimonial-arrow:hover {
  background: var(--accent);
  color: #071b20;
}

.prev-testimonial {
  left: -22px;
}

.next-testimonial {
  right: -22px;
}

/* Testimonial Responsive */

@media (max-width: 1050px) {
  .testimonial-slider {
    grid-auto-columns: calc((100% - 22px) / 2);
  }
}

@media (max-width: 700px) {
  .testimonial-slider {
    grid-auto-columns: 100%;
  }

  .testimonial-arrow {
    display: none;
  }

  .testimonial-card {
    min-height: auto;
  }
}


/* David Profile Section */

.david-profile-section {
  position: relative;
  background:
    linear-gradient(180deg, var(--body) 0%, var(--soft) 100%);
  overflow: hidden;
}

.david-profile-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(216, 255, 102, 0.18);
  top: 80px;
  right: -160px;
  filter: blur(25px);
  pointer-events: none;
}

.david-profile-section::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(125, 243, 234, 0.16);
  bottom: 90px;
  left: -140px;
  filter: blur(25px);
  pointer-events: none;
}

.david-profile-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 58px;
  align-items: center;
}

.david-image-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.david-image-card::before {
  content: "";
  position: absolute;
  inset: 34px -18px -18px 34px;
  border-radius: 34px;
  border: 2px solid rgba(35, 108, 117, 0.18);
  z-index: -1;
}

body.dark-mode .david-image-card::before {
  border-color: rgba(216, 255, 102, 0.18);
}

.david-image-wrap {
  border-radius: 26px;
  overflow: hidden;
  background: var(--soft);
}

.david-image-wrap img {
  height: 510px;
  object-fit: cover;
  object-position: center top;
  transition: 0.45s ease;
}

.david-image-card:hover .david-image-wrap img {
  transform: scale(1.04);
}

.david-signature-box {
  padding: 24px 10px 8px;
  text-align: center;
}

.david-signature-box h3 {
  color: var(--text);
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.david-signature-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.david-content h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -1.7px;
  color: var(--text);
  margin-bottom: 22px;
}

.david-content p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.profile-highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.profile-highlight-row div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.profile-highlight-row div:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.profile-highlight-row strong {
  display: block;
  color: var(--primary);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}

.profile-highlight-row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  display: block;
}

.credentials-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 58px;
}

.credential-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  min-height: 310px;
  position: relative;
  overflow: hidden;
}

.credential-card::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -34px;
  top: -34px;
  border-radius: 50%;
  background: rgba(35, 108, 117, 0.08);
}

body.dark-mode .credential-card::before {
  background: rgba(216, 255, 102, 0.09);
}

.credential-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.credential-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--soft);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 20px;
}

.credential-card h3 {
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.credential-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.credential-card ul {
  list-style: none;
}

.credential-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.credential-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}

/* David Profile Responsive */

@media (max-width: 1100px) {
  .david-profile-grid {
    grid-template-columns: 1fr;
  }

  .david-image-card {
    max-width: 540px;
    margin: auto;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .profile-highlight-row {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .david-image-wrap img {
    height: 410px;
  }

  .david-image-card::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .david-image-wrap img {
    height: 340px;
  }

  .david-signature-box h3 {
    font-size: 24px;
  }

  .credential-card {
    min-height: auto;
  }
}