:root {
--primary: #1f4f7b;
--secondary: #0f2538;
--accent: #f0b429;
--bg: #f5f7fa;
--text: #222;
--muted: #d8d5d5;
--white: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #a1abb9;
color: #fff;
line-height: 1.6;
}

a { color: var(--white); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: var(--white);
padding: 2rem 1.5rem 3rem;
}

.container {
max-width: 1100px;
margin: 0 auto;
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}

nav .logo img {
width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.20);
  transition: transform 0.3s ease;
 
}

nav ul {
list-style: none;
display: flex;
gap: 1.2rem;
font-size: 0.95rem;
}

nav ul li a {
color: var(--white);
font-weight: 500;
}

.hero {
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
gap: 2rem;
align-items: center;
}

.hero-title {
font-size: 2.1rem;
margin-bottom: 0.5rem;
font-weight: 700;
}

.hero-subtitle {
font-size: 1.1rem;
color: #dbe7f5;
margin-bottom: 1rem;
}

.hero-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1.5rem;
}

.tag {
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.4);
padding: 0.25rem 0.75rem;
font-size: 0.8rem;
}

.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.6rem 1.2rem;
border-radius: 999px;
border: 1px solid transparent;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary {
background: var(--accent);
color: #1b2838;
box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 10px 22px rgba(0,0,0,0.3);
}

.btn-ghost {
background: transparent;
color: var(--white);
border-color: rgba(255,255,255,0.5);
}

.hero-card {
background: rgba(10,20,35,0.85);
border-radius: 1rem;
padding: 1.5rem;
box-shadow: 0 18px 40px rgba(0,0,0,0.45);
border: 1px solid rgba(255,255,255,0.08);
}

.hero-card h2 {
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 0.12em;
color: #c9d7f2;
margin-bottom: 0.75rem;
}

.hero-card ul {
list-style: none;
font-size: 0.9rem;
color: #e4ecff;
}

.hero-card li + li {
margin-top: 0.4rem;
}

main {
padding: 2.5rem 1.5rem 3rem;
}

section {
padding: 2.5rem 0;
border-bottom: 1px solid #dde3ee;
}

section:last-of-type {
border-bottom: none;
}

.section-title {
font-size: 1.4rem;
margin-bottom: 0.5rem;
color: var(--secondary);
}

.section-subtitle {
font-size: 0.95rem;
color: #fff;
margin-bottom: 1.5rem;
}

.grid-2 {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1.5rem;
}

.card {
background: #1f4f7b;
border-radius: 0.9rem;
padding: 1.25rem 1.4rem;
box-shadow: 0 4px 12px rgba(39, 68, 99, 0.06);
border: 1px solid #e1e6f0;
}

.card h3 {
font-size: 1rem;
margin-bottom: 0.4rem;
color: var(--secondary);
}

.card small {
display: block;
font-size: 0.8rem;
color: var(--muted);
margin-bottom: 0.4rem;
}

.pill-row {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
margin-top: 0.4rem;
}

.pill {
font-size: 0.85rem;
padding: 0.15rem 0.55rem;
border-radius: 999px;
background: #d64d94;
color: #fff;
}

.timeline {
border-left: 2px solid #d0d7e6;
padding-left: 1rem;
}

.timeline-item {
margin-bottom: 1rem;
position: relative;
}

.timeline-item::before {
content: "";
position: absolute;
left: -1.15rem;
top: 0.25rem;
width: 10px;
height: 10px;
border-radius: 999px;
background: var(--primary);
}

.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.5rem;
}

.project-meta {
font-size: 0.8rem;
color: var(--muted);
margin-bottom: 0.4rem;
}

.project-tags {
margin-top: 0.6rem;
}

.downloads-list {
list-style: none;
}

.downloads-list li + li {
margin-top: 0.5rem;
}

.downloads-list a {
font-weight: 500;
}

.contact-grid {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
gap: 1.5rem;
}
.contact-grid p {
  padding: 0.5rem;
}
.contact-grid h3{
  color: #fff;
}
.contact-grid a {
  color:#3a1414;
}
.contact-grid .card {
   background-color: #1f4f7b;
   color: #fff;
}

form {
display: grid;
gap: 0.75rem;
}

label {
font-size: 0.85rem;
font-weight: 600;
color: #fff;
}

input, textarea {
width: 100%;
padding: 0.55rem 0.7rem;
border-radius: 0.5rem;
border: 1px solid #cfd6e6;
font: inherit;
}

textarea {
min-height: 120px;
resize: vertical;
}

footer {
padding: 1.5rem;
text-align: center;
font-size: 0.8rem;
color: var(--muted);
border-top: 1px solid #dde3ee;
background: #a1abb9;
}

footer a { color: var(--muted); }

@media (max-width: 800px) {
.hero {
grid-template-columns: 1fr;
}
nav ul {
display: none;
}
.grid-2, .contact-grid {
grid-template-columns: 1fr;
}
header {
padding-bottom: 2.5rem;
}
}