@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --navy: #192f4d;
  --red: #ef4637;
  --bg: #f7faff;
  --white: #fff;
  --gray: #e9eef6;
  --font-main: 'Open Sans', Arial, sans-serif;
  --font-heading: 'Montserrat', Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 12px #192f4d18;
}

body {
  margin: 0;
  background: var(--bg);
  color: #222b35;
  font-family: var(--font-main);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: var(--navy);
  text-decoration: underline;
}

header {
  background: var(--white);
  box-shadow: 0 2px 12px #192f4d0c;
  padding: 0.7em 0 0.5em 0;
  margin-bottom: 1.5em;
  text-align: center;
}
.logo-img {
  height: 100px;
  margin: 0 auto 0.2em auto;
  display: block;
}
nav {
  margin-top: 0.4em;
  display: flex;
  gap: 2em;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1em;
}
nav a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 2.5px solid transparent;
  transition: border 0.15s, color 0.15s;
  padding-bottom: 0.1em;
}
nav a.active, nav a:hover, nav a:focus {
  border-bottom: 2.5px solid var(--red);
  color: var(--red);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2em;
}
.center { text-align: center; }

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2em 1.5em;
  margin-bottom: 2em;
}
.hero-content {
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}
.hero-img {
  max-width: 340px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 180px;
  margin-left: 2em;
}
@media (max-width: 900px) {
  .hero { flex-direction: column; }
  .hero-img { margin: 1.2em 0 0 0; }
}

.btn, .btn-alt {
  display: inline-block;
  font-family: var(--font-heading);
  background: var(--red);
  color: var(--white);
  padding: 0.7em 1.7em;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 600;
  margin: 0.5em 0.7em 0.5em 0;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px #ef463720;
  transition: background 0.16s, color 0.16s;
  text-decoration: none;
}
.btn:hover, .btn:focus { background: var(--navy); }
.btn-alt { background: var(--navy); }
.btn-alt:hover, .btn-alt:focus { background: var(--red); }

.features-section {
  margin: 2em 0 1.5em 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4em 1em;
  width: 250px;
  max-width: 96vw;
  min-height: 170px;
}

.about-preview, .about-main {
  margin: 2em 0 1.7em 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6em 1.2em;
}

.cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2em 1em 1.3em 1em;
  margin: 2em 0 1.5em 0;
  box-shadow: 0 2px 14px #192f4d18;
}
.cta h2, .cta h3 { color: var(--white); }

footer {
  background: var(--navy);
  color: var(--white);
  font-size: 1em;
  padding: 1.2em 0 0.8em 0;
  margin-top: 3em;
  letter-spacing: 0.5px;
  text-align: center;
}

input, textarea {
  font-family: var(--font-main);
  font-size: 1em;
  width: 100%;
  margin-bottom: 1em;
  padding: 0.7em 0.8em;
  border: 1.5px solid var(--gray);
  border-radius: 7px;
  background: var(--bg);
  transition: border 0.15s;
  resize: vertical;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--red);
  outline: none;
}
label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2em;
  display: block;
}
.contact-form {
  max-width: 450px;
  margin: 2em auto 1em auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5em 1.2em 1em 1.2em;
}

ul { padding-left: 1.5em; }
li { margin-bottom: 0.7em; }

@media (max-width: 700px) {
  nav { font-size: 1em; gap: 1em; }
  .feature-card { width: 98vw; min-width: 220px; }
}