/* Root colour variables for easy theming */
:root {
  --primary: #0a1930;        /* Deep navy background */
  --secondary: #122c50;      /* Slightly lighter for sections */
  --accent: #f7c400;         /* Gold accent colour */
  --text-light: #f5f5f5;     /* Light text */
  --text-medium: #cccccc;    /* Muted text */
  --card-bg: #13294b;        /* Card background */
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--primary);
  color: var(--text-light);
  scroll-behavior: smooth;
}

/* Utility classes */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #d4ac0d;
}

/* Specific adjustments for the navigation call-to-action */
.nav-cta {
  padding: 8px 20px;
  font-size: 14px;
  white-space: nowrap;
}

/* Navigation bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 25, 48, 0.8);
  backdrop-filter: blur(5px);
}

.nav-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
}

.nav-brand span {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--accent);
}

/* Hero section */
.hero {
  height: 100vh;
  background: url('hero.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 100px;
}

/* Dark overlay on hero for contrast */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 48, 0.85);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 25px;
  color: var(--text-medium);
}

.hero-cta {
  background: var(--accent);
  color: #000;
}

/* Sections */
.section {
  padding: 80px 20px;
}

.section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--accent);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* About section */
.about p {
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* Features cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: var(--text-light);
}

.card p {
  color: var(--text-medium);
  font-size: 16px;
}

/* Vision list */
.vision-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.vision-list li {
  padding-left: 30px;
  margin-bottom: 15px;
  position: relative;
  color: var(--text-medium);
  font-size: 18px;
}

.vision-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

/* Timeline styles */
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
  max-width: 800px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.timeline-item {
  display: flex;
  margin: 30px 0;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item .circle {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.timeline-content {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  width: 45%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-content h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 24px;
}

.timeline-content p {
  margin: 0;
  color: var(--text-medium);
  font-size: 16px;
}

/* Reveal timeline items when visible */
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contact */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  background: var(--card-bg);
  color: var(--text-light);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-medium);
}

.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  background: var(--accent);
  color: #000;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #d4ac0d;
}

/* Footer */
.footer {
  background: var(--secondary);
  padding: 40px 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-content p {
  margin: 0;
  color: var(--text-medium);
  font-size: 16px;
}

.social {
  display: flex;
  gap: 20px;
}

.social a {
  color: var(--accent);
  font-size: 20px;
  transition: color 0.3s ease;
}

.social a:hover {
  color: #d4ac0d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .timeline::before {
    left: 8px;
  }
  .timeline-item {
    flex-direction: column;
  }
  .timeline-item .circle {
    left: 8px;
    transform: translateY(-50%);
  }
  .timeline-content {
    width: calc(100% - 40px);
    margin-left: 40px;
  }
  .nav-links {
    display: none;
  }
  .navbar {
    flex-direction: column;
  }
  .nav-cta {
    margin-top: 10px;
  }
}

/* Hide the navigation call-to-action on slightly smaller screens to prevent overflow */
@media (max-width: 1024px) {
  .nav-cta {
    display: none;
  }
}