/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: 'Raleway', sans-serif;
}

/* Global Background & Overlay */
body {
  background: #0B0E23; /* Dark blue background to match the home page */
  color: #fff;
  position: relative;
  z-index: 0;
  min-height: 100vh;
}
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* NAVIGATION BAR */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 25px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav .logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 5px;
  white-space: nowrap;
  align-items: center;
}
nav ul li {
  position: relative;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 15px;
  display: block;
  transition: all 0.3s ease;
}

/* Dropdown styles */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.9);
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #00F0FF;
  color: #0B0E23;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Add a pointer cursor to dropdown items */
.dropdown > a::after {
  content: '▼';
  font-size: 0.6em;
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* Container for Page Content */
.container {
  max-width: 1200px;
  margin: 78px auto 40px auto; /* Top margin to account for fixed nav */
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header */
header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}
header p {
  font-size: 1.2rem;
  color: #ccc;
}

/* Sections */
section {
  margin-top: 40px;
  padding: 20px;
  background: #222;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 40px;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff6600;
  border-bottom: 2px solid rgba(255,102,0,0.7);
  padding-bottom: 10px;
}
section p {
  font-size: 1.1rem;
  color: #ddd;
  margin: 10px 0;
}

/* Core Pillars */
.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.pillar {
  flex: 1 1 calc(33.333% - 20px);
  background: #333;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}
.pillar p {
  font-size: 1rem;
  color: #ccc;
}

/* Join Our Journey Section */
.join-journey {
  text-align: center;
}
.join-journey h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff6600;
}
.join-journey p {
  font-size: 1.1rem;
  color: #ddd;
  margin: 10px 0;
}
.cta-button {
  padding: 15px 30px;
  background-color: #ff6600;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin: 20px 0;
  display: inline-block;
}

/* Social Icons */
.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-icons a {
  font-size: 1.8rem;
  color: #fff;
  transition: transform 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.1);
  color: #1e90ff;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .pillars {
    flex-direction: column;
  }
  .pillar {
    flex: 1 1 100%;
  }
}
