/* ===== Colors & variables ===== */
:root{
  --max-width: 1100px;
  --accent: #0b63d6;      /* primary blue */
  --accent-600: #0952b0;  /* darker blue for hover */
  --accent-700: #094fb3;
  --accent-soft: rgba(11,99,214,0.06);
  --black-900: #0b0b0b;   /* headings */
  --text: #111827;        /* body text */
  --muted: #6b7280;       /* muted text */
  --bg: #ffffff;          /* page bg */
  --card-bg: #fbfbfb;     /* section bg */
  --radius: 12px;
}

/* ===== Reset & base ===== */
* { box-sizing: border-box; }
html,body{height:100%}
body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ===== Page container ===== */
.wrap {
  max-width: var(--max-width);
  margin: 28px auto;
  padding: 0 24px;
}

/* ===== Header / nav ===== */
.site-header {
  position: relative;
  padding-top: 24px;
  padding-bottom: 12px;
  background: linear-gradient(to bottom, #ffffff, #fbfdff);
  border-bottom: 1px solid #e5e7eb;
}

.site-header::after {
  /* thin accent line under header */
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa);
  opacity: 0.20;
  margin-top: 14px;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  color: #1d4ed8;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.nav {
  float: right;
}

.nav a {
  margin-left: 20px;
  color: #374151;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease, transform .06s ease;
}

.nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* ===== Typography & sections ===== */
h1, .intro-text h1 { color: var(--black-900); }
h1 { font-size: 44px; margin: 6px 0 12px; line-height:1.15; }
h2 { font-size: 22px; margin: 30px 0 12px; color: var(--black-900); }
p, li { color: #4b5563; }

/* ===== Intro / hero ===== */
.intro {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 72px;
  max-width: 760px;
}

.intro-image img {
  width: 260px;
  height: 260px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  border: 2px solid var(--accent-soft);
}

.intro-text {
  max-width: 650px;
  font-size: 19px;
  line-height: 1.65;
  color: #374151;
}

.intro-text h1 {
  font-size: 48px;
  margin-bottom: 6px;
}

/* ===== Buttons & links ===== */
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: background .15s ease, transform .06s ease, box-shadow .12s ease;
  border: none;
  box-shadow: 0 6px 18px rgba(37,99,235,0.12);
}

.button:hover { background: var(--accent-600); transform: translateY(-2px); }

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(199,210,254,0.6);
  box-shadow: none;
}

/* ===== Cards & project blocks ===== */
.cards {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #fcfcff);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.card h3 { margin: 0 0 8px; color: var(--black-900); }
.card p { margin: 0; color: #4b5563; }

.card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 36px rgba(37,99,235,0.10);
}

/* ===== Section card (generic) ===== */
.section-card {
  border: 1px solid #f0f0f0;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card-bg);
  margin-bottom: 18px;
  box-shadow: 0 1px 0 rgba(10,10,10,0.02);
}

/* ===== Contact form (vertical) ===== */
.form-card {
  border: 1px solid #eef2ff;
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  max-width: 680px;
  margin: 30px auto;
}

.form-card label {
  display:block;
  font-weight:600;
  margin-top:12px;
  margin-bottom:8px;
  color:var(--black-900);
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="file"],
.form-card textarea {
  width:100%;
  padding:12px 14px;
  border-radius:8px;
  border:1px solid #d1d5db;
  margin-bottom:12px;
  font-size:15px;
  color:var(--text);
  font-family:inherit;
  box-sizing:border-box;
}

.form-card textarea { min-height:140px; resize:vertical; line-height:1.5; }

.form-card input:focus,
.form-card textarea:focus {
  outline:none;
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(11,99,214,0.06);
}

.form-card .button {
  margin-top: 12px;
  width: 100%;
  padding: 12px 16px;
  background: var(--accent);
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  display: inline-block;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid #f1f1f1;
  padding: 18px 0;
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

/* ===== Utility / small screens ===== */
a { color: var(--accent); }

@media (max-width: 900px) {

  .wrap { padding: 0 18px; }

  .nav { float:none; margin-top:12px; text-align:center; }
  .nav a { display:inline-block; margin:6px 10px; }

  .intro {
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:26px;
    margin-top:36px;
  }

  .intro-image img { width:220px; height:220px; border-radius:12px; }
  .intro-text h1 { font-size:36px; }
  .intro-text { font-size:17px; }

  .cards { grid-auto-flow: row; }
  .card { padding:18px; }
}

@media (max-width: 420px) {
  .brand { font-size:18px; }
  h1 { font-size:32px; }
  .intro-text { font-size:16px; }
}
