:root {
  /* Colors */
  --primary-color: #004aad; /* Dark Blue - Primary Brand Color */
  --secondary-color: #cc0000; /* Red from Logo - Accent Color */
  --text-color: #333; /* Standard Dark Gray for Body Text */
  --light-bg: #f7f7f7; /* Light Background for Sections */
  --white: #fff;
  
  /* Fonts - Professional System Stack */
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Georgia', Times, 'Times New Roman', serif;
}

/* === BASE STYLES & TYPOGRAPHY === */
body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-top: 0;
  /* CRITICAL CHANGE: Centers all h1, h2, and h3 elements */
  text-align: center;
}

h1 { font-size: 2.2em; }
h2 { font-size: 1.8em; color: var(--secondary-color); margin-bottom: 0.5em;}
h3 { font-size: 1.4em; color: var(--primary-color); }

/* === LAYOUT & CONTAINER === */
.content {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--primary-color);
  color: var(--white);
  /* Reduced padding for a smaller header */
  padding: 5px 0; 
  /* Ensures all inline content (h1, p) is centered */
  text-align: center; 
}

header .logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5px; 
}

header img {
  /* Reduced logo height for a smaller header */
  height: 60px; 
}

nav a {
  color: var(--white);
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 0;
  transition: color 0.3s, text-decoration 0.3s;
}

nav a:hover, nav a.active {
  text-decoration: underline;
  color: var(--light-bg);
}

/* === HERO SECTION (Top Banner) === */
.hero {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  /* Reduced padding for smaller hero box */
  padding: 50px 20px; 
}

.hero h1 {
  font-size: 2.5em;
  color: var(--white);
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  font-weight: 300;
}

/* === CONTENT SECTIONS === */
.section {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.section:last-child {
  border-bottom: none;
}

.bg-light {
  background-color: var(--light-bg);
}

/* === UTILITY: IMAGES & LISTS === */
.image-container {
    padding: 20px 0;
    text-align: center; 
}

.image-container img {
    /* Ensures image doesn't stretch past container width */
    max-width: 100%; 
    /* Allows image to display at natural height */
    height: auto; 
    border-radius: 10px;
}

.placeholder-box {
  width: 100%;
  max-width: 800px; 
  height: 300px; 
  background-color: #ccc;
  border-radius: 10px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  color: #666;
  border: 2px dashed #999;
  margin-left: auto;
  margin-right: auto;
}

ul {
  padding-left: 20px;
  list-style-type: square;
}

ul li {
  margin-bottom: 10px;
}

/* === CONTACT FORM === */
form {
  display: grid;
  gap: 15px;
  max-width: 500px;
  margin: 30px auto 0;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

button {
  background: var(--secondary-color);
  color: var(--white);
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background 0.3s;
}

button:hover {
  background: #a30000; /* Darker red */
}

/* === FOOTER === */
footer {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

footer a {
  color: var(--light-bg);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
