/* style.css (Refined for tighter layout, consistent CTA, and better visual flow with insights page centering restored) */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #000;
  line-height: 1.6;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  background-color: #001b5e;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
.container.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
}
header img.logo {
  height: 40px;
}
.logo:hover {
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: 0;
}
nav ul li {
  position: relative;
}
nav ul li a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  display: block;
}
nav ul li a:hover {
  text-decoration: underline;
}

/* Dropdown */
.dropdown-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #001b5e;
  min-width: 200px;
  z-index: 1000;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}
.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
}
.dropdown-menu a {
  display: block;
  color: #fff;
  padding: 0.6rem 1rem;
  text-align: left;
}
.dropdown-menu a:hover {
  background-color: #003080;
}

/* Responsive nav */
.menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    cursor: pointer;
    color: #fff;
    font-size: 1.8rem;
  }
  nav ul {
    flex-direction: column;
    background-color: #001b5e;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    display: none;
  }
  nav ul.show {
    display: flex;
  }
}

/* Hero Banner */
.video-hero {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: relative;
  width: 100%;
  height: 100%;
}
.video-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 37, 64, 0.75);
  color: #fff;
  padding: 1rem 1.5rem;
  text-align: center;
  border-radius: 6px;
  max-width: 700px;
}

/* About Banner Shared */
.about-banner {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.about-banner img,
.about-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(10, 37, 64, 0.75);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  max-width: 600px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
}
.banner-text p strong {
  font-size: 2rem;
  line-height: 1.4;
}

/* Section layout */
.features,
.news,
.cta,
.container {
  margin-top: 2rem;
  padding: 1.5rem 1rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.section-title {
  font-size: 1.75rem;
  color: #001b5e;
  margin-bottom: 1.5rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1.25rem;
  border-radius: 6px;
  text-align: left;
  max-width: 320px;
  flex: 1 1 calc(50% - 1.25rem);
  margin-bottom: 0.5rem;
}
.cards .card:nth-child(3):nth-last-child(1) {
  flex-basis: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA (shared style for insights + homepage) */
.cta,
.cta-insight {
  background-color: #001b5e;
  color: #ffffff;
  padding: 2.5rem 1rem;
  text-align: center;
  margin-top: 3rem;
}
.cta h2,
.cta-insight h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.cta a.btn-primary,
.cta-insight .cta-button {
  display: inline-block;
  background-color: #0077B5;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}
.cta a.btn-primary:hover,
.cta-insight .cta-button:hover {
  background-color: #005e93;
}

/* Footer */
.site-footer {
  background: #f8f9fa;
  padding: 2rem 1rem;
  color: #333;
}
.site-footer ul {
  list-style: none;
  padding-left: 0;
}
.site-footer ul li {
  margin-bottom: 0.5rem;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #0077B5;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.footer-linkedin:hover {
  background-color: #005e93;
}
.footer-linkedin img {
  height: 20px;
  width: 20px;
}

/* Utility */
.read-more {
  display: inline-block;
  margin-top: 2rem;
  color: #007BFF;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.read-more:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* Highlight Section Block */
.highlight-block {
  background-color: #f1f6fb;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2.5rem;
  text-align: left;
}

