/* Reset and base styles */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f9ff;
  color: #333;
  line-height: 1.6;
}
a {
  color: #007acc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background: #005f99;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}
nav ul {
  list-style: none;
  margin: 0; 
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
nav ul li {
  padding: 0.3rem 0;
}
nav ul li a {
  font-weight: 600;
}

/* Hero Section */
.hero {
  background: url center center/cover no-repeat;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.hero::after {
  content: "";
  background-color: rgba(0, 95, 153, 0.65);
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero > div {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.btn-primary {
  background: #ffc107;
  color: #005f99;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 35px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1.1rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  background: #e6b007;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Sections Styling */
section {
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgb(0 0 0 / 8%);
}
section h2 {
  border-bottom: 3px solid #005f99;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  color: #005f99;
}
p.lead {
  font-size: 1.1rem;
  color: #555;
}

/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}
.card {
  background: #f9fbfd;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgb(0 0 0 / 5%);
  text-align: center;
  transition: transform 0.3s ease;
  cursor: default;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgb(0 0 0 / 15%);
}
.card img {
  width: 80px;
  margin-bottom: 1rem;
}
.card h3 {
  margin-bottom: 0.7rem;
  color: #007acc;
}
.card p {
  font-size: 0.95rem;
  color: #444;
}

/* Contact Form */
form {
  max-width: 600px;
  margin: 0 auto;
}
form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
form input, 
form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1.2rem;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}
form input:focus,
form textarea:focus {
  border-color: #005f99;
  outline: none;
}
form button {
  background: #005f99;
  border: none;
  color: white;
  padding: 0.8rem 1.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 35px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
form button:hover {
  background: #004a77;
}

/* Footer */
footer {
  background: #005f99;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}
footer a {
  color: #ffc107;
  margin: 0 0.3rem;
}
footer a:hover {
  color: #ffdb58;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.6rem;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
} 