
:root {
  --branding-color: #2a6fdb;
  --branding-dark: #122c91;
  --accent-color: #48d6d2;
  --accent-light: #81e9e6;
  --warm-highlight: #fefcbf;
  --secondary-color: #f5ffff;
  --surface-color: #ffffff;
  --text-color: #17234b;
  --muted-color: #687392;
  --border-color: #dcecec;
  --heading-font-family: "Playfair Display", Georgia, serif;
  --default-font-family: "Poppins", Arial, sans-serif;
  --shadow-soft: 0 18px 45px rgba(18, 44, 145, 0.10);
  --shadow-button: 0 12px 25px rgba(42, 111, 219, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-color);
  background: var(--surface-color);
  font-family: var(--default-font-family);
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--branding-dark);
  font-family: var(--heading-font-family);
  font-weight: 700;
}

h1 {
  font-size: 96px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h2 {
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 48px;
  line-height: 1.2;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
}

.text-muted {
  color: var(--muted-color) !important;
}

.site-nav {
  padding: 18px 0;
}

.site-nav .logo {
  display: block;
  max-height: 46px;
  width: auto;
}

.site-nav ul {
  padding: 0;
  margin: 0;
}

.site-nav li {
  display: inline;
  margin-left: 22px;
  list-style: none;
  line-height: 46px;
}

.site-nav a {
  color: #313b5d;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav li.active a {
  color: var(--branding-color);
}

.hero {
  padding: 86px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 80% 18%, rgba(254, 252, 191, 0.72) 0 90px, transparent 91px),
    radial-gradient(circle at 14% 80%, rgba(129, 233, 230, 0.25) 0 130px, transparent 131px),
    var(--secondary-color);
}

.hero p {
  margin: 0;
  color: var(--text-color);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
}

.hero h2 {
  font-family: var(--default-font-family);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
}

.btn-branding,
.btn-branding-outline {
  display: inline-block;
  min-height: 52px;
  padding: 13px 29px;
  border: 1px solid var(--branding-color);
  border-radius: 5px;
  font-size: 17px;
  font-weight: 500;
  line-height: 25px;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.btn-branding {
  color: #ffffff;
  background: var(--branding-color);
  box-shadow: var(--shadow-button);
}

.btn-branding:hover {
  color: #ffffff;
  background: var(--branding-dark);
  border-color: var(--branding-dark);
  box-shadow: 0 15px 30px rgba(18, 44, 145, 0.24);
  transform: translateY(-2px);
}

.btn-branding-outline {
  color: var(--branding-color);
  background: transparent;
}

.btn-branding-outline:hover {
  color: var(--branding-dark);
  background: var(--warm-highlight);
  border-color: var(--branding-dark);
  transform: translateY(-2px);
}

.featured-intro {
  margin: 54px auto 34px;
  color: #596481;
  text-align: center;
}

.project-row {
  margin-bottom: 76px;
}

.project-image-shell {
  overflow: hidden;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.project-image-shell img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.project-description {
  max-width: 570px;
  padding: 90px 55px;
}

.project-description p {
  max-width: 65ch;
}

.content-container {
  padding: 62px 20px;
}

.content {
  margin: 30px;
}

.content h1 {
  font-size: 64px;
  line-height: 1.25;
}

.content h2 {
  font-family: var(--default-font-family);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.content h3 {
  font-family: var(--default-font-family);
  font-size: 24px;
  line-height: 1.5;
}

.content p {
  max-width: 66ch;
  font-size: 15px;
}

.about-image {
  display: block;
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.work-card {
  height: 100%;
  padding-bottom: 16px;
}

.work-card .project-preview {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--border-color);
  border-radius: 9px;
  box-shadow: 0 12px 32px rgba(18, 44, 145, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-card:hover .project-preview {
  box-shadow: 0 18px 42px rgba(18, 44, 145, 0.14);
  transform: translateY(-4px);
}

.work-card .project-tech {
  min-height: 48px;
  max-width: 48ch;
  margin-right: auto;
  margin-left: auto;
}

.contact-form {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(18, 44, 145, 0.07);
}

.contact-form label {
  color: var(--branding-dark);
  font-weight: 600;
}

.contact-form .form-control {
  min-height: 48px;
  border: 1px solid #cfdfe8;
  border-radius: 6px;
}

.contact-form textarea.form-control {
  min-height: 170px;
  resize: vertical;
}

.contact-form .form-control:focus {
  border-color: var(--branding-color);
  box-shadow: 0 0 0 4px rgba(72, 214, 210, 0.23);
}

.contact-details a {
  color: var(--branding-color);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--branding-dark);
  text-decoration: underline;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted-color);
  font-size: 13px;
}

footer {
  margin: 70px 0 44px;
}

footer .contact-box {
  padding: 30px 100px;
  background:
    linear-gradient(115deg, rgba(129, 233, 230, 0.33), rgba(254, 252, 191, 0.76));
  border: 1px solid rgba(42, 111, 219, 0.08);
  border-radius: 11px;
}

footer .contact-box p {
  margin: 0;
}

footer .email-link {
  color: var(--branding-dark);
  font-size: 23px;
  text-decoration: none;
  transition: color 160ms ease;
}

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

footer .credit {
  color: #74809a;
  font-size: 13px;
}

footer .credit strong {
  color: var(--branding-dark);
}

@media (max-width: 991.98px) {
  h1 {
    font-size: 52px;
    line-height: 1.25;
  }

  h2 {
    font-size: 44px;
  }

  h3 {
    font-size: 28px;
  }

  .hero {
    padding: 64px 18px;
  }

  .hero p {
    font-size: 28px;
  }

  .content {
    margin: 12px;
    padding: 0;
    text-align: center;
  }

  .content h1 {
    font-size: 48px;
    line-height: 1.25;
  }

  .content p {
    margin-right: auto;
    margin-left: auto;
  }

  .project-description {
    max-width: none;
    padding: 22px 10px 10px;
    text-align: center;
  }

  .project-description p {
    margin-right: auto;
    margin-left: auto;
  }

  .project-row {
    margin-bottom: 62px;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 15px;
  }

  .site-nav {
    padding: 14px 0;
  }

  .site-nav .logo {
    max-height: 40px;
  }

  .site-nav li {
    margin-left: 10px;
    font-size: 13px;
    line-height: 40px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 38px;
  }

  .hero p {
    font-size: 23px;
  }

  .hero h2 {
    font-size: 17px;
  }

  .btn-branding,
  .btn-branding-outline {
    min-height: 48px;
    padding: 11px 23px;
    font-size: 15px;
  }

  .content-container {
    padding: 42px 14px;
  }

  .content h1 {
    font-size: 40px;
  }

  footer {
    margin-top: 50px;
  }

  footer .email-link {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
