html {
  height: 100%;
}

* {
  box-sizing: border-box;
}

:root {
  --sea-dark: #1a4d7a;
  --sea-blue: #2b6cb0;
  --text-dark: #1a2a3a;
  --foam: #f0f8ff;
  --light-sea: #e3f3ff;
}

body {
   min-height: 100vh !important;
  margin: 0;
  font-family: 'Open sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, var(--foam) 0%, var(--light-sea) 100%);
  color: var(--text-dark);
  background-attachment: fixed;
}

header {display: flex;         
  justify-content:space-between;
  align-items: center;
  background: #02243a;
  padding: 0.5rem 1rem;
  margin: 0;
   color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}


header nav a {
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.1rem;
  text-decoration: none;
  color: #ffffff;
}

nav a {
   padding: 0.4rem 0.8rem;
    text-decoration: none;
  border-radius: 6px;
   transition: background 0.2s;
}

nav a:hover {
  background: rgba(255,255,255,0.1);
}




nav ul {
  
margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;}


main {
  display: flex;
  flex-wrap: wrap;
  padding: 2.5rem 1.5rem 3rem;
  max-width: 750px;
  margin: 0 auto;
}

section {
  flex: 2 1 300px;
  margin-bottom: 3rem;
}

aside {
  flex: 1 1 200px;
}

h1 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2.5rem;
  margin-top: 2rem;
   line-height: 1.3;
    font-weight: 600;
  letter-spacing: -0.02em;
   background: linear-gradient(135deg, #1a4d7a 0%, #2b6cb0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--sea-dark) !important;
}

h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
   line-height: 1.3;
    font-weight: 600;
     color: var(--sea-dark) !important;
}

p {
  
  line-height: 2;
  font-size: 1.1rem;
}

p, li {
  color: var(--text-dark);
}

h2 + p {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
  }

  main {
    flex-direction: column;
    padding: 1rem 0.75rem;
  }

  h1 {
    font-size: 1.6rem;
  }
}


article img {
  width: 100%;
  max-height: 320px;
  display: block;
  margin: 0 auto 0.75rem;
   box-shadow: 0 8px 25px rgba(26,77,122,0.2);
   object-fit: cover;
}


figure {text-align: center;
  margin: 1.5rem 0;
 max-width: 100%;
  height: auto;
  display: block;
font-size: 0.9rem;
  color: #555;}

  article > h1 {text-align: center; }

  article h2 { text-align: left;

  }

  .logo {
font-weight: 700;
letter-spacing: 0.03em;
font-size: 1.1rem;
word-spacing: 0.15em;
text-transform: uppercase;
 background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #ffffff 100%);
 -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-list {
  list-style: none;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-list a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: #e3f3ff;
  color: var(--sea-dark);
  text-decoration: none;
  font-size: 1.1rem;
}

.tech-list a:hover {
  background: var(--sea-blue);
  color: #fff;
}

.form-control, textarea.form-control {
  background-color: var(--foam) !important;
  border: 1px solid var(--light-sea) !important;
  color: var(--sea-dark) !important;
}

.form-control:focus, textarea.form-control:focus {
  background-color: var(--light-sea) !important;
  border-color: var(--sea-dark) !important;
  box-shadow: 0 0 0 0.2rem rgba(26,77,122,0.15) !important;}

  .form-control::placeholder {
  color: #6b7280 !important;
}

.btn.btn-info {
  background: linear-gradient(135deg, #1a4d7a, #2b6cb0) !important;
  border: none !important;
  color: white !important;
}

.btn.btn-info:hover {
  background: linear-gradient(135deg, #2b6cb0, #1a4d7a) !important;
}


