/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;*/
	font-family: serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container for constraining max-width on large laptop screens */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   2. TOP NAVIGATION MENU
   ========================================================================== */
.navbar {
  background-color: #002445;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
	color:#FFF;
	padding-top:15px;
	padding-bottom:15px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
	padding-right: 100px;
}

.nav-logo {
  font-size: 30px;
  font-weight: bold;
  color: #FFF;
}

.nav-logo-sub {
  font-size: 18px;
  font-weight: bold;
  color: #FFF;
	margin-top:-10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-items-align{
	padding-left:50px;
}

.nav-item a {
  font-weight: 500;
  transition: color 0.3s;
}

.nav-item a:hover {
  color: #FFF;
}

/* ==========================================================================
   3. HERO BANNER
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #2563eb;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.2s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  background-color: #f0f4ff;
}

/* ==========================================================================
   4. 6-COLUMN GRID LAYOUT (Laptop Default)
   ========================================================================== */
.grid-section {
  padding: 60px 0;
}

.grid-container {
  display: grid;
  /* Laptop/Desktop default: 6 equal columns */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.grid-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   5. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Medium Devices (Tablets, less than 1024px) */
@media (max-width: 1024px) {
  .grid-container {
    /* Switch to 3 columns on tablet sizes */
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Small Devices (Landscape Phones & Small Tablets, less than 768px) */
@media (max-width: 768px) {
  .nav-menu {
    gap: 15px;
  }
}

/* Extra Small Devices (Mobile Phones, less than 576px) */
@media (max-width: 576px) {
  .nav-container {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    height: auto;
    padding: 15px 0;
  }
  
  .hero {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .grid-container {
    /* Stack columns vertically into 1 column on mobile */
    grid-template-columns: 1fr;
  }
}
