/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #004085;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo img {
  height: 100px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover,
nav a.active {
  text-decoration: underline;
}

/* Main Layout Sections */
section, main {
  padding: 4rem 2rem;
}

/* Hero (Home) */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #e8f1ff;
  gap: 2rem;
}
.hero-text {
  max-width: 600px;
}
.hero-text h1 {
  font-size: 2.5rem;
  color: #004085;
}
.hero-text p {
  margin: 1rem 0;
}
.hero-text button {
  padding: 0.8rem 1.5rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.hero-text button:hover {
  background: #0056b3;
}
.hero-image img {
  max-width: 500px;
  border-radius: 12px;
}

/* About/Services/Blog Titles */
section h2, main h1 {
  color: #004085;
  font-size: 2rem;
  margin-bottom: 1rem;
}
section p {
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #333;
  font-size: 1.1rem;
}

/* Cards Layout */
.cards, .blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.card, .blog-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.card h3, .blog-card h4 {
  color: #007bff;
  margin-bottom: 1rem;
}
.blog-card p {
  font-size: 0.95rem;
  color: #444;
}

/* Contact Page */
.contact-section {
  background: #f0f7ff;
  text-align: center;
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 2rem;
}
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  flex: 1;
}
.contact-form label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form button {
  margin-top: 1.5rem;
  background: #007bff;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.contact-form button:hover {
  background: #0056b3;
}
.contact-info {
  flex: 1;
  max-width: 300px;
  text-align: left;
}
.contact-info h2 {
  margin-bottom: 1rem;
}
.contact-info p, .contact-info a {
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.5;
  text-decoration: none;
}

/* Footer */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}
footer a {
  color: #66b2ff;
  text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero, .contact-container {
    flex-direction: column;
    align-items: center;
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}
