:root {
  --colorPrimary: #002366; /* French Navy */
  --colorSecondary: #003399; /* Royal Blue */
  --colorBackground: #f5f7fa; /* Light grey/blue for slight contrast with white */
  --colorWhite: #ffffff;
  --colorTextHero: #ffffff;
  --colorTextDark: #1a1f36;
  --colorTextLight: #4a5568;
  
  --font-main: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--colorBackground);
  color: var(--colorTextDark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--colorPrimary);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--colorSecondary);
  border-radius: var(--radius-sm);
}

p {
  margin-bottom: 1rem;
  color: var(--colorTextLight);
  font-size: 1.1rem;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
}

/* Header & Nav */
header {
  background-color: var(--colorWhite);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--colorPrimary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo img {
  height: 40px;
  border-radius: 4px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--colorPrimary);
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover {
  color: var(--colorSecondary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--colorPrimary);
  color: var(--colorWhite);
  padding: 4rem 20px;
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  text-align: left;
  animation: fadeIn 1.5s ease;
}

.hero-image {
  flex: 1;
  animation: fadeIn 1.5s ease;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.hero-stats {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  border-left: 4px solid var(--colorSecondary);
}

.hero-stats p {
  font-size: 1rem !important;
  margin-bottom: 0.8rem !important;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95) !important;
}

.hero-stats p:last-of-type {
  margin-bottom: 0.5rem !important;
}

.hero-stats small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  display: block;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-buttons .btn {
  margin-left: 0 !important;
}

.hero h1 {
  font-size: 4rem;
  color: var(--colorWhite);
  text-shadow: none;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: none;
  margin-bottom: 2rem;
  text-align: left;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--colorSecondary);
  color: var(--colorWhite);
  box-shadow: 0 4px 15px rgba(0, 51, 153, 0.3);
}

.btn-primary:hover {
  background-color: var(--colorPrimary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 35, 102, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--colorWhite);
  border: 2px solid var(--colorWhite);
}

.btn-outline:hover {
  background-color: var(--colorWhite);
  color: var(--colorPrimary);
}

/* Cards & Sections */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--colorWhite);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-top: 4px solid var(--colorSecondary);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card h3 {
  font-size: 1.5rem;
}

/* About Us Section */
.about {
  background-color: var(--colorWhite);
  display: flex;
  align-items: center;
  gap: 4rem;
}
.about-img {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.about-img img {
  width: 100%;
  height: auto;
  display: block;
}
.about-text {
  flex: 1;
}

/* Meetings Section */
.meetings {
  background-color: var(--colorBackground);
}
.map-placeholder {
  width: 100%;
  height: auto;
  background-color: #e2e8f0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--colorTextLight);
  margin-top: 2rem;
  padding: 1.5rem;
}

.map-overlay {
  background: var(--colorWhite);
  width: 100%;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Support section images */
.support-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: var(--colorWhite);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-decoration: none;
  color: var(--colorText);
  display: block;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.news-card h3 {
  margin-bottom: 1rem;
  color: var(--colorPrimary);
}

.feed-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.feed-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-news {
  background-color: #cbd5e1;
  color: #334155;
}

.badge-event {
  background-color: #dcfce7;
  color: #166534;
}

.badge-cpsa {
  background-color: #dbeafe;
  color: #1e40af;
}

.feed-source {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #64748b;
  font-style: italic;
}

.news-card-content {
  padding: 1.5rem;
}
.news-date {
  font-size: 0.85rem;
  color: var(--colorTextLight);
  font-weight: 500;
}

/* Footer */
footer {
  background-color: var(--colorPrimary);
  color: var(--colorWhite);
  padding: 4rem 0 2rem 0;
  text-align: center;
}

.footer-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--colorWhite);
}

.disclaimer {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  border-left: 4px solid #ff4757;
  text-align: left;
}

.disclaimer p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 1rem;
}

.disclaimer strong {
  color: #ff4757;
}

.qr-code {
  width: 100px;
  height: 100px;
  background-color: var(--colorWhite);
  padding: 5px;
  border-radius: var(--radius-sm);
}

.qr-code img {
  width: 100%;
  height: auto;
}

.copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container { flex-direction: column; text-align: center; gap: 2rem; }
  .hero-content, .hero h1, .hero p { text-align: center; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
  .hero-buttons { justify-content: center; }
  .about { flex-direction: column; }
  nav ul { display: none; } /* Simplified for template, normally would add hamburger menu */
  .footer-content { align-items: center; text-align: center; }
  .disclaimer { text-align: center; border-left: none; border-top: 4px solid #ff4757; }
  .logo .logo-text { font-size: 1rem; line-height: 1.2; display: inline-block; max-width: 200px; }
}
