/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  
}

/* Layout only inside nav */
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0.7rem 0rem ;
  
}


/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.65rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: #0a2540;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar a {
  color: white;
  margin: 0 1rem;
  font-weight: bold;
}

.navbar a:hover {
  color: #00bfa6;
}

.nav-left a {
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  color: #fff;
}

/* Ensure all nav links have consistent vertical alignment */
.nav-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* Same height for all */
  padding: 0 1rem;
  text-decoration: none;
  color: white;
  font-weight: bold;
  margin-left: 1rem;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-right {
  display: flex;
}


/* Style the "Join" button differently */
.nav-button {
  background-color: #00bfa6;
  border: 1px solid #00bfa6;
}

.navbar .nav-button:hover {
  background-color: #0a2540;
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(to right, #0a2540, #12446e);
  color: white;
  padding: 6rem 1rem 3rem; /* Adjusted for fixed navbar */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons a {
  margin: 0 0.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 0.5rem;
}

.btn-primary {
  background-color: #00bfa6;
  color: white;
}

.btn-secondary {
  background-color: white;
  color: #0a2540;
  border: 2px solid #0a2540;
}

/* Main Wrapper (Restrict Width) */
.main-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Sections */
section {
  padding: 2rem 1rem;
}

.highlight-section {
  background-color: #e9ecef;
  padding: 2rem 1rem;
}

/* Three Column Workflow */
.three-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  text-align: center;
}

.workflow-step {
  flex: 1;
  min-width: 250px;
}

/* Division List */
.division-list li {
  margin: 0.5rem 0;
}


.divisions .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.division-card {
  padding: 1.5rem;
  background: #f7f9fc;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


/* Project List */
.project-list li {
  margin: 0.5rem 0;
}

/* Footer */
footer {
  background-color: #1c1c1c;
  color: #ccc;
  padding: 2rem 0;
  text-align: center;
}

footer nav a {
  margin: 0 1rem;
  color: #ccc;
}

footer nav a:hover {
  color: #00bfa6;
}


/* Hero base styles */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 3rem;
  color: white;
  overflow: hidden;
}

/* Default background: solid gradient */
.hero.default-bg {
  background: linear-gradient(to right, #0a2540, #12446e);
}

/* Background image support */
.hero.image-bg {
  background: url('your-image.jpg') no-repeat center center/cover;
}

/* Background video styling */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6; /* optional fade */
}

/* Ensure text content stays above background */
.hero-content {
  position: relative;
  z-index: 1;
}


