/* Reset some defaults */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 200;
  letter-spacing: 1px;
  word-break: normal;
  overflow-wrap: normal;
  white-space: nowrap;    /* Prevent line break */
  max-width: none;        /* Remove width restriction */
}

@media (max-width: 700px) {
  .site-title {
    display: none; /* Hide the title on small screens */
  }
  .header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1 0 auto;
  min-height: calc(100vh - 70px - 70px); /* header + footer height */
  display: flex;
  flex-direction: column;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0a3d7c;
  color: #fff;
  padding: 0 32px;
  position: fixed;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  min-height: 70px;      /* Set a fixed header height */
  max-height: 70px;      /* Prevent header from growing */
}

.site-logo {
  height: 60px;          /* Increase logo size */
  width: auto;
  margin-right: 16px;
  object-fit: contain;
  max-height: 60px;      /* Prevent logo from overflowing header */
}


/* Header */
header {
  background: #0a3d7c;
  color: #fff;
  padding: 24px 0 16px 0;
  text-align: left; /* Change from center to left */
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative; /* Ensure positioning for hamburger */
}

/* ...existing code... */

/* New header layout */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0a3d7c;
  color: #fff;
  padding: 0 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  min-height: 70px;      /* Set a fixed header height */
  max-height: 70px;      /* Prevent header from growing */
}

.site-logo {
  height: 60px;          /* Increase logo size */
  width: auto;
  margin-right: 16px;
  object-fit: contain;
  max-height: 60px;      /* Prevent logo from overflowing header */
}

.header-left {
  display: flex;
  align-items: center;
}

.site-title {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Navigation styles */
.nav-menu {
  display: flex;
  gap: 18px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 6px 12px;
  border-radius: 4px;
}

.nav-menu a:hover {
  background: #0053b3;
  color: #ffd700;
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  z-index: 100;
}

.hamburger span {
  height: 4px;
  width: 28px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  display: block;
  transition: 0.3s;
}

/* Responsive nav menu for mobile */
@media (max-width: 700px) {
  .nav-menu {
    flex-direction: column;
    background: #0a3d7c;
    position: absolute;
    top: 70px;
    right: 32px;
    width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 18px 0;
    display: none;
    z-index: 99;
  }
  .nav-menu.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

/* ...existing code... */

header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
  margin-left: 24px; /* Add left margin for spacing */
  display: inline-block; /* Prevent full width */
  vertical-align: middle;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 18px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #ffd700;
}

/* Hero Section */
.hero {
  background: linear-gradient(90deg, #e3f0ff 60%, #f5f8fa 100%);
  padding: 0px 0 24px 0;
  text-align: center;
}

.hero img {
  border-radius: 0px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.hero h2 {
  font-size: 1.7rem;
  color: #0a3d7c;
  margin-bottom: 8px;
}

.hero p {
  font-size: 1.1rem;
  color: #333;
}

/* Search Section */
.search-section {
  text-align: center;
  margin: 32px 0 24px 0;
}

.search-section h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #0a3d7c;
}

.search-box {
  display: inline-flex;
  gap: 8px;
}

.search-box input {
  padding: 10px 14px;
  border: 1px solid #bcdffb;
  border-radius: 4px;
  font-size: 1rem;
  width: 700px;
}

.search-box button {
  padding: 10px 22px;
  background: #0a3d7c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.search-box button:hover {
  background: #0053b3;
}

/* Cards Section */
.container {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 32px 0;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 24px 28px;
  width: 340px;
  min-width: 260px;
}

.card h2 {
  font-size: 1.2rem;
  color: #0a3d7c;
  margin-bottom: 14px;
}

.card ul {
  list-style: disc;
  padding-left: 20px;
}

.card li {
  margin-bottom: 10px;
}

.card a {
  color: #0053b3;
  text-decoration: none;
  transition: color 0.2s;
}

.card a:hover {
  color: #0a3d7c;
  text-decoration: underline;
}

/* Newsletter */
.newsletter {
  background: #e3f0ff;
  padding: 28px 0;
  text-align: center;
  margin-bottom: 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.newsletter h2 {
  color: #0a3d7c;
  margin-bottom: 10px;
}

.newsletter input[type="email"] {
  padding: 10px 14px;
  border: 1px solid #bcdffb;
  border-radius: 4px;
  font-size: 1rem;
  width: 200px;
  margin-right: 8px;
}

.newsletter button {
  padding: 10px 20px;
  background: #0a3d7c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter button:hover {
  background: #9bc5f6;
}

.newsletter-form{
    display: inline-block;
    margin-top: 12px;
}

/* Footer */
footer {
  background: #7cb3f6;
  color: #fff;
  text-align: center;
  padding: 18px 0;
  font-size: 1rem;
  margin-top: 0;
}

footer a {
  color: #ffd700;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}
/* ...existing code... */




/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .card {
    width: 90%;
    min-width: unset;
  }
}

/* --- Responsive adjustments for main content and sections --- */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .card {
    width: 95%;
    min-width: unset;
    padding: 16px 10px;
  }
  .main-content {
    padding: 0 4px;
  }
  .hero img {
    max-height: 220px;
  }
  .search-box input {
    width: 90vw;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .main-header {
    padding: 0 8px;
  }
  .site-logo {
    height: 40px;
    max-height: 40px;
    margin-right: 8px;
  }
  .hero h2 {
    font-size: 1.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .newsletter {
    padding: 18px 0;
  }
  .newsletter input[type="email"] {
    width: 70vw;
    min-width: 0;
  }
  .container {
    margin: 16px 0;
    gap: 12px;
  }
  .card h2 {
    font-size: 1rem;
  }
  .footer {
    font-size: 0.9rem;
    padding: 12px 0;
  }
}

/* --- Ensure images and sections scale --- */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

/* --- Remove horizontal overflow --- */
body, html {
  overflow-x: hidden;
}