@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0f172a;
  --navy-soft: #0b1324;
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.08);
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --white: #ffffff;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 32px 80px rgba(15, 23, 42, 0.24);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  line-height: 1.15;
  font-family: 'Poppins', sans-serif;
}

p {
  margin: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  font-family: 'Poppins', sans-serif;
}

.brand span {
  color: var(--blue);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #dbe4f0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active {
  color: var(--blue);
}

.nav-cta,
.button-primary,
.button-secondary,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-cta,
.button-primary,
.btn-submit {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: var(--white);
}

.nav-cta:hover,
.button-primary:hover,
.btn-submit:hover {
  filter: brightness(1.08);
}

.button-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}

.mobile-menu {
  display: none;
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-link {
  color: #dbe4f0;
  font-size: 0.92rem;
  font-weight: 500;
}

.mobile-link.active {
  color: var(--blue);
}

.hero {
  background: var(--navy);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  padding: 4rem 1rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.hero h1 {
  margin-top: 1.5rem;
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 620px;
}

.hero h1 .highlight {
  color: var(--blue);
}

.hero-copy {
  margin-top: 1.3rem;
  max-width: 36rem;
  color: #a9b9d4;
  font-size: 1.12rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-wrap {
  aspect-ratio: 4 / 3;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
}

.floating-card {
  position: absolute;
  left: -1rem;
  bottom: -1.2rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
}

.floating-card small {
  color: #64748b;
  font-size: 0.72rem;
  display: block;
}

.floating-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
}

.section {
  padding: 5.25rem 0;
}

.soft-section {
  background: var(--soft);
}

.section-head {
  text-align: center;
  margin-bottom: 2.8rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.services-grid,
.projects-grid,
.featured-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 1.4rem;
}

.services-grid {
  grid-template-columns: 1fr;
}

.service-card,
.project-card,
.feature-card,
.contact-card,
.review-card,
.skill-card,
.process-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card,
.feature-card,
.skill-card,
.process-card {
  padding: 1.6rem;
}

.service-card:hover,
.project-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 1.2rem;
}

.service-card h3,
.feature-card h3,
.project-card h3,
.contact-card h3,
.skill-card h3,
.process-card h3 {
  font-size: 1.09rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.service-card p,
.project-card p,
.feature-card p,
.contact-card p,
.review-card p,
.process-card p,
.about-copy p,
.contact-copy p,
.contact-info p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.about-layout,
.contact-layout,
.why-layout {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.about-copy {
  max-width: 40rem;
}

.about-copy h2,
.why-copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 1.3rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-image {
  position: relative;
}

.about-image-frame {
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.experience-chip {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  background: var(--blue);
  border-radius: 1rem;
  color: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 0.9rem 1.1rem;
}

.experience-chip small {
  display: block;
  opacity: 0.8;
  font-size: 0.72rem;
}

.experience-chip strong {
  font-size: 1.15rem;
  line-height: 1.2;
}

.why-copy {
  max-width: 40rem;
}

.why-copy .link-more {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-weight: 600;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.check-item svg {
  color: var(--blue);
  flex-shrink: 0;
}

.featured-header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.featured-header .link-more {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.projects-grid {
  grid-template-columns: 1fr;
}

.project-card {
  overflow: hidden;
  cursor: pointer;
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.55;
  background: #e2e8f0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-tag {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 0.35rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.project-card-body {
  padding: 1.4rem 1.3rem 1.5rem;
}

.project-card h3 {
  margin-bottom: 0.45rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.project-tags span {
  padding: 0.35rem 0.65rem;
  border-radius: 0.55rem;
  background: #f1f5f9;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 500;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.62rem 1rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.review-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.review-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
}

.review-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue);
  margin: 0 auto 1rem;
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #f59e0b;
}

.review-card q {
  display: block;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.6rem;
}

.review-person {
  font-weight: 700;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

.review-company {
  font-size: 0.86rem;
  color: #64748b;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  background: #cbd5e1;
  padding: 0;
}

.carousel-dots button.active {
  width: 1.5rem;
  border-radius: 999px;
  background: var(--blue);
}

.callout {
  background: var(--navy);
  border-radius: 1.7rem;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.callout h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 0.9rem;
}

.callout p {
  max-width: 650px;
  margin: 0 auto;
  color: #a9b9d4;
  font-size: 1.05rem;
}

.callout-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-card {
  padding: 1.8rem;
}

.contact-layout {
  grid-template-columns: 1fr;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
}

.form-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.input,
.select,
.textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input.error,
.select.error,
.textarea.error {
  border-color: var(--danger);
}

.textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-error {
  color: var(--danger);
  font-size: 0.72rem;
  min-height: 1rem;
}

.submit-row {
  margin-top: 0.6rem;
}

.success-box {
  display: none;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #166534;
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 600;
}

.success-box.show {
  display: flex;
}

.contact-info-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  background: rgba(37, 99, 235, 0.14);
  color: #60a5fa;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.contact-details {
  font-size: 0.9rem;
  color: #dbe4f0;
}

.availability-box {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  color: #166534;
  font-weight: 600;
}

.availability-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--success);
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.footer-brand span {
  color: var(--blue);
}

.footer-copy {
  max-width: 18rem;
  color: #a9b9d4;
  font-size: 0.9rem;
  line-height: 1.7;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.social-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #dbe4f0;
}

.footer-title {
  color: #a9b9d4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-link {
  color: #dbe4f0;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--white);
}

.footer-cta {
  margin-top: 1rem;
  display: inline-flex;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.2rem 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.82rem;
}

.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.75rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  background: var(--blue);
  color: var(--white);
  border: 0;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.scroll-top.visible {
  display: flex;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
}

.modal-backdrop.show {
  display: flex;
}

.modal {
  width: min(100%, 900px);
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
}

.modal-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 1.8rem;
}

.modal-body h3 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.modal-category {
  display: inline-block;
  margin-bottom: 0.8rem;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 0.35rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.modal-description {
  margin-bottom: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.modal-columns {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

.modal-columns h4 {
  margin-bottom: 0.7rem;
  color: #94a3b8;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-columns p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
}

.feature-list svg {
  margin-top: 0.25rem;
  color: var(--blue);
  flex-shrink: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.tag-row span {
  background: #f1f5f9;
  color: var(--muted-2);
  border-radius: 0.55rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .services-grid,
  .projects-grid,
  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-layout,
  .contact-layout,
  .why-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 380px;
  }

  .featured-header {
    flex-direction: row;
    align-items: end;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.7fr 1fr;
  }
}

@media (max-width: 767px) {
  .nav-cta {
    display: none;
  }

  .section {
    padding: 4.2rem 0;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .callout {
    padding: 3rem 1.2rem;
  }

  .modal-body {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
