@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f7f8fa;
  --text: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --nav-link: #4a4a5a;
  --card-bg: #fff;
  --card-border: rgba(0,0,0,0.04);
  --input-bg: #f9fafb;
  --input-border: #e5e7eb;
  --label-color: #374151;
  --footer-border: rgba(0,0,0,0.04);
  --testimonial-text: #4b5563;
  --stat-bg: #fff;
  --logo-color: #1a1a2e;
  --section-heading: #1a1a2e;
  --hero-bg: #0f172a;
  --page-hero-start: #0f172a;
  --page-hero-mid: #134e4a;
  --page-hero-end: #0d9488;
  --shadow-sm: rgba(0,0,0,0.04);
  --shadow-md: rgba(0,0,0,0.06);
  --shadow-lg: rgba(0,0,0,0.10);
}

[data-theme="dark"] {
  --bg: #121212;
  --text: #e0e0e0;
  --text-secondary: #a0a0a0;
  --text-muted: #808080;
  --nav-link: #b0b0b0;
  --card-bg: #1e1e1e;
  --card-border: rgba(255,255,255,0.06);
  --input-bg: #2a2a2a;
  --input-border: #3a3a3a;
  --label-color: #c0c0c0;
  --footer-border: rgba(255,255,255,0.06);
  --testimonial-text: #c0c0c0;
  --stat-bg: #1e1e1e;
  --logo-color: #e0e0e0;
  --section-heading: #e0e0e0;
  --hero-bg: #0a0a0a;
  --page-hero-start: #0a0a0a;
  --page-hero-mid: #0d3331;
  --page-hero-end: #0a5c54;
  --shadow-sm: rgba(0,0,0,0.3);
  --shadow-md: rgba(0,0,0,0.4);
  --shadow-lg: rgba(0,0,0,0.5);
}

[data-theme="radiant"] {
  --bg: #fef7f2;
  --text: #2d1b69;
  --text-secondary: #7c3aed;
  --text-muted: #a78bfa;
  --nav-link: #6d28d9;
  --card-bg: #fff;
  --card-border: rgba(124,58,237,0.12);
  --input-bg: #fff;
  --input-border: #c4b5fd;
  --label-color: #5b21b6;
  --footer-border: rgba(124,58,237,0.1);
  --testimonial-text: #4c1d95;
  --stat-bg: #fff;
  --logo-color: #2d1b69;
  --section-heading: #2d1b69;
  --hero-bg: #2d1b69;
  --page-hero-start: #2d1b69;
  --page-hero-mid: #5b21b6;
  --page-hero-end: #7c3aed;
  --shadow-sm: rgba(124,58,237,0.08);
  --shadow-md: rgba(124,58,237,0.12);
  --shadow-lg: rgba(124,58,237,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; }

nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; flex-wrap: wrap; position: relative;
}
nav .logo { display: flex; align-items: center; }
nav .logo img { display: block; }
nav .nav-links { display: flex; align-items: center; gap: 4px; }
nav .nav-links a {
  color: var(--nav-link); text-decoration: none; padding: 8px 16px; font-size: 14px;
  font-weight: 500; border-radius: 8px; transition: all 0.2s;
}
nav .nav-links a:hover { color: #0d9488; background: rgba(13,148,136,0.06); }
nav .nav-links a.active { color: #0d9488; background: rgba(13,148,136,0.08); font-weight: 600; }
nav .nav-links .btn {
  background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff !important;
  padding: 10px 24px; border-radius: 8px; font-weight: 600; margin-left: 8px;
  box-shadow: 0 4px 14px rgba(13,148,136,0.3); transition: all 0.25s;
}
nav .nav-links .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.4); }

.theme-toggle {
  background: var(--card-bg); border: 1.5px solid var(--card-border);
  color: var(--text); width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: 17px; display: flex; align-items: center;
  justify-content: center; margin-left: 10px; transition: all 0.3s;
  box-shadow: 0 2px 8px var(--shadow-sm); flex-shrink: 0;
}
.theme-toggle:hover {
  transform: scale(1.1); box-shadow: 0 4px 12px var(--shadow-md);
}

.hero {
  position: relative; overflow: hidden; border-radius: 20px;
  margin: 16px 0; background: var(--hero-bg);
  box-shadow: 0 20px 40px var(--shadow-lg);
  transition: background 0.3s;
}
.hero-slide { display: none; position: relative; width: 100%; min-height: 300px; align-items: center; padding: 40px 60px; }
.hero-slide.active { display: flex; }
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 20px; border: 5px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), inset 0 0 0 1px rgba(255,255,255,.5);
}

.hero-content { position: relative; z-index: 2; color: #fff; max-width: 620px; }
.hero-content .badge {
  display: inline-block; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15); padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 20px; color: rgba(255,255,255,0.9);
}
.hero-content h1 {
  font-size: 32px; line-height: 1.15; margin-bottom: 8px; font-weight: 800;
  letter-spacing: -0.5px;
}
.hero-content p {
  font-size: 14px; opacity: 0.85; max-width: 500px; margin-bottom: 20px;
  line-height: 1.5; font-weight: 400;
}
.hero-content .cta {
  background: #fff; color: #1a1a2e; padding: 10px 28px; border-radius: 8px;
  text-decoration: none; font-weight: 700; font-size: 13px; display: inline-block;
  transition: all 0.25s; box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.hero-content .cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.hero-content .cta-outline {
  border: 1.5px solid rgba(255,255,255,0.25); color: #fff; padding: 10px 28px;
  border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 13px;
  display: inline-block; margin-left: 10px; transition: all 0.25s;
}
.hero-content .cta-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35);
  cursor: pointer; transition: all 0.3s;
}
.hero-dots span.active { background: #fff; width: 32px; border-radius: 4px; }

.page-hero {
  position: relative; overflow: hidden; border-radius: 20px;
  padding: 56px 60px; margin: 20px 0; text-align: center;
  background: linear-gradient(135deg, var(--page-hero-start) 0%, var(--page-hero-mid) 50%, var(--page-hero-end) 100%);
  box-shadow: 0 25px 50px rgba(13,148,136,0.15);
  transition: background 0.3s;
}
.page-hero h1 { font-size: 42px; margin-bottom: 12px; color: #fff; font-weight: 800; letter-spacing: -0.5px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 540px; margin: 0 auto; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 50px 0 40px; text-align: center;
}
.stat {
  background: var(--stat-bg); border-radius: 16px; padding: 40px 24px;
  box-shadow: 0 4px 20px var(--shadow-sm); border: 1px solid var(--card-border);
  transition: all 0.3s;
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-md); }
.stat h3 {
  font-size: 40px; font-weight: 800; color: #0d9488; margin-bottom: 4px;
  letter-spacing: -1px; background: linear-gradient(135deg, #0d9488, #14b8a6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat p { font-size: 13px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

.section { padding: 56px 0; }
.section h2 {
  font-size: 36px; margin-bottom: 12px; text-align: center; font-weight: 800;
  letter-spacing: -0.5px; color: var(--section-heading); transition: color 0.3s;
}
.section > .subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 56px; font-size: 16px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--card-bg); border-radius: 16px; padding: 36px 32px;
  border: 1px solid var(--card-border); transition: all 0.3s;
  box-shadow: 0 4px 16px var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-8px); box-shadow: 0 24px 48px var(--shadow-md);
  border-color: rgba(13,148,136,0.1);
}
.service-card .icon {
  font-size: 36px; margin-bottom: 20px; display: inline-block;
  background: rgba(13,148,136,0.06); padding: 12px; border-radius: 12px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--section-heading); font-weight: 700; transition: color 0.3s; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.about-section { display: flex; gap: 48px; padding: 56px 0; align-items: center; }
.about-content { flex: 1; }
.about-content h2 { font-size: 36px; margin-bottom: 20px; text-align: left; font-weight: 800; letter-spacing: -0.5px; color: var(--section-heading); transition: color 0.3s; }
.about-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; font-size: 15px; }
.about-content .cta {
  background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff;
  padding: 14px 32px; border-radius: 10px; text-decoration: none; font-weight: 600;
  font-size: 14px; display: inline-block; transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(13,148,136,0.3);
}
.about-content .cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.4); }
.about-image { flex: 1; border-radius: 16px; overflow: hidden; }
.about-image img {
  width: 100%; height: 380px; object-fit: cover; border-radius: 16px; display: block;
  transition: transform 0.5s; border: 1px solid var(--card-border);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}
.about-image:hover img { transform: scale(1.03); }

.contact-section {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  border-radius: 20px; padding: 48px; text-align: center; margin: 32px 0;
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}
.contact-section h2 { font-size: 32px; margin-bottom: 12px; color: #fff; font-weight: 800; }
.contact-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 16px; }
.contact-section .cta {
  background: #fff; color: #1a1a2e; padding: 14px 44px; border-radius: 10px;
  text-decoration: none; font-weight: 700; display: inline-block;
  transition: all 0.25s; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.contact-section .cta:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

.btn-primary {
  background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff;
  padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 14px;
  display: inline-block; transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(13,148,136,0.3); border: none; cursor: pointer;
  font-family: inherit; text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.4); }

.footer {
  text-align: center; padding: 36px 0; color: var(--text-muted); font-size: 13px;
  border-top: 1px solid var(--footer-border); margin-top: 40px;
}

form { max-width: 600px; margin: 0 auto; background: var(--card-bg); padding: 40px; border-radius: 20px; box-shadow: 0 4px 20px var(--shadow-sm); border: 1px solid var(--card-border); transition: background 0.3s; }
.form-group { margin-bottom: 22px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--label-color); letter-spacing: 0.3px; transition: color 0.3s; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 18px; border: 1.5px solid var(--input-border); border-radius: 10px;
  font-size: 14px; transition: all 0.2s; outline: none; background: var(--input-bg);
  font-family: inherit; color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #0d9488; box-shadow: 0 0 0 4px rgba(13,148,136,0.08); background: var(--card-bg);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff;
  padding: 15px 40px; border: none; border-radius: 10px; font-weight: 700;
  font-size: 15px; cursor: pointer; transition: all 0.25s; width: 100%;
  box-shadow: 0 6px 20px rgba(13,148,136,0.25); font-family: inherit;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13,148,136,0.35); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  background: var(--card-bg); border-radius: 16px; padding: 36px 32px;
  border: 1px solid var(--card-border); transition: all 0.3s;
  box-shadow: 0 4px 16px var(--shadow-sm);
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px var(--shadow-md); }
.case-card .tag {
  display: inline-block; background: rgba(13,148,136,0.08); color: #0d9488;
  font-size: 11px; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px;
  font-weight: 600; letter-spacing: 0.3px;
}
.case-card h3 { font-size: 21px; margin-bottom: 10px; color: var(--section-heading); font-weight: 700; transition: color 0.3s; }
.case-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.case-card .results {
  font-size: 13px; color: #0d9488; font-weight: 600; padding-top: 12px;
  border-top: 1px solid var(--card-border);
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card {
  text-align: center; padding: 40px 32px; background: var(--card-bg); border-radius: 16px;
  border: 1px solid var(--card-border); transition: all 0.3s;
  box-shadow: 0 4px 16px var(--shadow-sm);
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px var(--shadow-md); }
.value-card .icon { font-size: 42px; margin-bottom: 18px; display: inline-block; }
.value-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--section-heading); font-weight: 700; transition: color 0.3s; }
.value-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--card-bg); border-radius: 16px; padding: 36px 32px;
  border: 1px solid var(--card-border); transition: all 0.3s;
  box-shadow: 0 4px 16px var(--shadow-sm); position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; left: 24px;
  font-size: 64px; color: rgba(13,148,136,0.08); font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px var(--shadow-md); }
.testimonial-card .quote {
  font-size: 15px; color: var(--testimonial-text); line-height: 1.8; font-style: italic;
  margin-bottom: 20px; position: relative; z-index: 1; transition: color 0.3s;
}
.testimonial-card .author { font-size: 14px; font-weight: 700; color: var(--text); }
.testimonial-card .role { font-size: 13px; color: var(--text-muted); }

.form-loading {
  display: none; margin-top: 16px; text-align: center;
}
.form-loading.active { display: block; }
.form-loading .bar {
  width: 100%; height: 4px; background: #e5e7eb; border-radius: 4px; overflow: hidden;
  margin-bottom: 8px;
}
.form-loading .bar span {
  display: block; height: 100%; width: 30%; background: linear-gradient(90deg, #0d9488, #14b8a6);
  border-radius: 4px; animation: loading 1.2s ease infinite;
}
@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}
.form-loading p { font-size: 13px; color: var(--text-secondary); }

.go-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff; border: none; cursor: pointer;
  font-size: 20px; display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(13,148,136,0.3);
  transition: all 0.25s;
}
.go-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(13,148,136,0.4); }
.go-top.visible { display: flex; }

.file-upload-wrapper { position: relative; }
.file-upload-wrapper input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2;
}
.file-upload-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--input-bg); border: 1.5px solid var(--input-border);
  border-radius: 10px; padding: 13px 18px; transition: all 0.2s;
  color: var(--text-muted); font-size: 14px;
}
.file-upload-wrapper:hover .file-upload-btn {
  border-color: #0d9488;
}
.file-upload-btn .file-upload-name {
  color: var(--text); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-upload-btn .file-upload-placeholder { flex: 1; }
.file-upload-btn .file-upload-clear {
  background: none; border: none; font-size: 20px; cursor: pointer;
  color: var(--text-muted); padding: 0 4px; line-height: 1; z-index: 3; display: none;
}
.file-upload-btn .file-upload-clear:hover { color: #ef4444; }
.file-upload-wrapper.has-file .file-upload-placeholder { display: none; }
.file-upload-wrapper.has-file .file-upload-clear { display: inline; }

@media (min-width: 1400px) {
  .container { max-width: 1280px; }
}

@media (max-width: 992px) {
  .hero-content h1 { font-size: 28px; }
  .hero-slide { padding: 36px 40px; min-height: 260px; }
  .hero-content .cta-outline { margin-left: 0; margin-top: 10px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .section h2 { font-size: 28px; }
  .about-content h2 { font-size: 28px; }
  .stats { gap: 16px; }
  .stat { padding: 28px 18px; }
  .stat h3 { font-size: 30px; }
}

@media (max-width: 768px) {
  nav { flex-direction: column; gap: 12px; }
  nav .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
  nav .nav-links a { padding: 6px 12px; font-size: 13px; }
  nav .nav-links .btn { padding: 8px 18px; margin-left: 4px; margin-top: 2px; font-size: 13px; }
  .theme-toggle { margin-left: 0; }
  .hero-content h1 { font-size: 22px; }
  .hero-content p { font-size: 13px; margin-bottom: 16px; }
  .hero-slide { padding: 28px 24px; min-height: 240px; }
  .hero-content .cta-outline { margin-left: 0; margin-top: 8px; }
  .hero-content .badge { font-size: 9px; padding: 3px 10px; margin-bottom: 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 32px 0 20px; }
  .stat h3 { font-size: 26px; }
  .stat { padding: 20px 14px; }
  .services-grid, .case-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { flex-direction: column; gap: 28px; padding: 32px 0; }
  .about-image img { height: 240px; }
  .about-content h2 { font-size: 24px; }
  .about-content p { font-size: 14px; }
  .page-hero { padding: 36px 24px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14px; }
  .section { padding: 36px 0; }
  .section h2 { font-size: 24px; }
  .section > .subtitle { margin-bottom: 28px; font-size: 14px; }
  .contact-section { padding: 36px 24px; margin: 20px 0; }
  .contact-section h2 { font-size: 24px; }
  .service-card { padding: 24px 20px; }
  .case-card { padding: 24px 20px; }
  .testimonial-card { padding: 24px 20px; }
  form { padding: 24px 20px; }
  .stats { padding: 28px 0 16px; }
  .hero-dots { bottom: 18px; }
  .hero-dots span.active { width: 28px; }
}

@media (max-width: 576px) {
  .container { padding: 0 16px; }
  nav .logo { font-size: 18px; }
  nav .nav-links a { padding: 4px 10px; font-size: 12px; }
  nav .nav-links .btn { padding: 6px 14px; font-size: 12px; }
  .theme-toggle { width: 34px; height: 34px; font-size: 15px; }
  .hero-content h1 { font-size: 20px; letter-spacing: -0.3px; }
  .hero-content p { font-size: 12px; margin-bottom: 14px; }
  .hero-content .cta, .hero-content .cta-outline {
    padding: 8px 20px; font-size: 12px; width: 100%; text-align: center; margin-left: 0;
  }
  .hero-content .badge { margin-bottom: 8px; font-size: 9px; padding: 3px 8px; }
  .hero-slide { padding: 20px 16px; min-height: 220px; }
  .hero-dots { bottom: 8px; gap: 6px; }
  .hero-dots span { width: 5px; height: 5px; }
  .hero-dots span.active { width: 14px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; padding: 24px 0 12px; }
  .stat h3 { font-size: 22px; }
  .stat p { font-size: 10px; letter-spacing: 1px; }
  .stat { padding: 16px 12px; }
  .values-grid { gap: 12px; }
  .value-card { padding: 24px 16px; }
  .about-image img { height: 180px; }
  .about-content h2 { font-size: 22px; }
  .page-hero { padding: 32px 16px; }
  .page-hero h1 { font-size: 22px; }
  .section { padding: 32px 0; }
  .section h2 { font-size: 22px; }
  .section > .subtitle { font-size: 13px; margin-bottom: 24px; }
  .contact-section { padding: 32px 16px; }
  .contact-section h2 { font-size: 22px; }
  .contact-section p { font-size: 13px; }
  .service-card { padding: 20px 16px; }
  .service-card .icon { font-size: 26px; padding: 8px; }
  .service-card h3 { font-size: 16px; }
  .case-card { padding: 20px 16px; }
  .case-card h3 { font-size: 17px; }
  .testimonial-card { padding: 20px 16px; }
  .testimonial-card .quote { font-size: 13px; }
  form { padding: 20px 16px; border-radius: 14px; }
  .form-group input, .form-group select, .form-group textarea { padding: 11px 14px; font-size: 14px; }
  .btn-submit { padding: 14px 32px; font-size: 14px; }
  .footer { padding: 24px 0; font-size: 12px; }
  .stat { padding: 24px 16px; }
  .hero { border-radius: 16px; }
  .page-hero { border-radius: 16px; }
  .about-section { gap: 28px; padding: 32px 0; }
  .about-content h2 { font-size: 22px; }
  .about-content p { font-size: 13px; }
}

@media (max-width: 400px) {
  nav .nav-links a { padding: 4px 6px; font-size: 11px; }
  nav .logo { font-size: 16px; }
  nav .nav-links .btn { padding: 5px 10px; font-size: 11px; margin-left: 2px; }
  .hero-content h1 { font-size: 16px; }
  .hero-slide { padding: 16px 12px; min-height: 180px; }
  .hero-content .cta, .hero-content .cta-outline { padding: 8px 16px; font-size: 11px; }
  .stat h3 { font-size: 20px; }
  .stats { gap: 8px; }
  .page-hero h1 { font-size: 20px; }
  .page-hero { padding: 24px 12px; }
  .section h2 { font-size: 18px; }
}

