/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  scroll-behavior: smooth;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #002244;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo and Brand */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-link .logo {
  width: 80px;
  height: auto;
  background: white;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  display: block;
}

.logo-link .logo-text {
  color: white;
  line-height: 1.2;
}

.logo-link .company-name {
  font-size: 1.2rem;
  font-weight: bold;
}

.logo-link .tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: #ccc;
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  font-size: 1.5em;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
}

/* Desktop Navigation */
.top-bar nav {
  display: flex;
  gap: 1.5rem;
}

.top-bar nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.top-bar nav a:hover,
.top-bar nav a.active {
  color: #ffcc00;
}

.top-bar nav a.active {
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 4px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .top-bar nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #002244;
    padding: 10px 20px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }

  .top-bar nav.show {
    display: flex;
  }

  .top-bar nav a {
    margin: 8px 0;
    padding: 10px 0;
    border-top: 1px solid #003366;
  }
}

/* Header */
header {
  background-color: #003366;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

header .mission-summary {
  font-size: 1rem;
  margin-top: 8px;
  color: #e0e0e0;
}

/* Sections */
section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 40px auto;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

section h2 {
  color: #003366;
}

section img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #003366;
  color: white;
  margin-top: 40px;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
}

/* Contact Section */
.contact-section {
  text-align: center;
}

.contact-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
  font-size: 1rem;
  flex-wrap: wrap;
}

.contact-item i {
  color: #003366;
  font-size: 1.2rem;
  min-width: 24px;
  text-align: center;
}

.contact-item a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item.social-icons {
  flex-direction: column;
}

.contact-item.social-icons span {
  margin-bottom: 10px;
  font-weight: bold;
}

.social-links a {
  margin: 0 10px;
  color: #003366;
  text-decoration: none;
  font-size: 1.5em;
}

.social-links a:hover {
  color: #ffcc00;
}

/* Insights Section */
#insights {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  margin-top: 40px;
}

#insights h2 {
  color: #003366;
  margin-bottom: 30px;
  text-align: center;
}

.insight {
  margin-bottom: 30px;
  border-left: 4px solid #003366;
  padding-left: 15px;
}

.insight h3 {
  margin-top: 0;
  color: #002244;
}

.insight p {
  font-size: 0.95rem;
  color: #555;
}

.insight a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.insight a:hover {
  text-decoration: underline;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 10px 0 8px;
  color: #002244;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #003366;
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  text-align: center;
  font-size: 1.2em;
  cursor: pointer;
  display: none;
  z-index: 999;
}

#back-to-top:hover {
  background: #ffcc00;
  color: #003366;
}

/* Call-to-Action Button */
.back-button {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #003366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #ffcc00;
  color: #003366;
}

/* Contact methods left-aligned */
.contact-methods {
  max-width: 500px;
  margin: 0 auto 20px auto;
  text-align: left;
}

.contact-methods p {
  font-size: 1rem;
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-methods i {
  color: #003366;
  font-size: 1.2rem;
  min-width: 24px;
  text-align: center;
}

.contact-methods a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.contact-methods a:hover {
  text-decoration: underline;
}
