/* =====================================
   SSIRA Unified Style Sheet (Mobile Optimized)
   ===================================== */

/* ====== Color Variables ====== */
:root {
  --primary-color: #0a2c4c;
  --secondary-color: #144d7f;
  --accent-color: #095293;
  --text-color: #222;
  --background-color: #f9f9f9;
  --highlight-color: #eaf2fa;
  --link-hover-color: #ffc107;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --spacing: 1rem;
}

/* ====== Reset & Base ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
p { font-size: 1.1rem; margin-bottom: var(--spacing); }

/* ====== Layout Wrappers ====== */
.container {
  max-width: 1000px;
  margin: auto;
  padding: calc(var(--spacing) * 2);
}

/* ====== Header & Hero ====== */
header.hero {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing);
  position: relative;
}

header.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 { font-size: 3rem; font-weight: 700; }
.hero-text p { font-size: 1.3rem; margin-top: 0.5rem; }

/* ====== Navigation ====== */
nav {
  background: var(--secondary-color);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover, nav a:focus {
  color: var(--link-hover-color);
  outline: none;
}

/* ====== Sections & Cards ====== */
section {
  background: white;
  border-radius: var(--radius);
  padding: calc(var(--spacing) * 2);
  margin-bottom: calc(var(--spacing) * 2);
  box-shadow: var(--shadow);
}

section.intro {
  background-color: var(--highlight-color);
  border-left: 5px solid var(--primary-color);
}

.photo-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing);
}

.feature-box {
  flex: 1;
  min-width: 250px;
  text-align: center;
  background: white;
  padding: var(--spacing);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 80px;
  margin-bottom: 1rem;
}

.quote-box {
  font-style: italic;
  font-size: 1.3rem;
  text-align: center;
  margin: 2rem auto;
  color: #555;
}

/* ====== Buttons & CTA ====== */
.cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta a {
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta a:hover, .cta a:focus {
  background-color: var(--accent-color);
  outline: none;
}

/* ====== Footer ====== */
footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: var(--spacing);
  margin-top: 3rem;
}

footer a {
  color: var(--link-hover-color);
  text-decoration: none;
  font-weight: 500;
}

/* ====== Tables ====== */
.data-table-wrapper {
  overflow-x: auto;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

table.data-table th, table.data-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

table.data-table th {
  background-color: var(--highlight-color);
}

/* ====== Misc ====== */
.responsive-img {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

a:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  p { font-size: 1rem; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { font-size: 1rem; }
  nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  .container {
    padding: var(--spacing);
  }
  section, .feature-box {
    padding: var(--spacing);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.3rem; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 0.9rem; }
  nav {
    padding: 0.5rem;
  }
}



