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

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background-color: #f4f7fb;
  color: #333;
  line-height: 1.8;
  overflow-x: hidden;
  max-width: 100%;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.brand-container {
  display: flex;
  align-items: center;
}

.brand-container img {
  height: 50px;
  margin: 10px 5px 10px 20px;
}

.navbar-brand {
  color: #074aac;
  font-size: 28px;
  font-weight: 640;
  font-family: "Times New Roman", Times, serif;
  text-shadow: 1px 1px 1px;
}

.nav-link {
  color: #074aac;
  font-weight: bold;
}

.nav-link:hover {
  background-color: #093164;
  border-radius: 5px;
  padding-left: 5px;
  color: #fff;
}

/* Motto Section with Gradient Blend */
.motto {
  padding: 60px 20px 40px;
  text-align: center;
  color: #fff;
  background-image: linear-gradient(to bottom, #134ea6 0%, #4a7dc9c6 100%),
    url("nexus.jpeg");
  background-size: contain;
}

.motto h1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  font-size: 40px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.motto-break {
  display: none;
}

@media (max-width: 768px) {
  .motto-break {
    display: inline;
  }
}

.motto p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: #eaeaea;
}

/* Section Headings */
h2,
h4 {
  color: #074aac;
  margin-bottom: 15px;
}

/* About + Vision + Approach */
.aboutNexus {
  padding: 20px 30px;
}

.vision {
  background-color: rgba(181, 191, 199, 0.2);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.approach ul {
  padding-left: 20px;
}

.approach li {
  margin-bottom: 15px;
}

/* Core Values Grid */
.core-values {
  margin-top: 40px;
}

.core-values .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 10px;
  list-style: none;
  font-weight: 600;
}

/* Focus Areas */
.focus-areas-section {
  padding: 20px 0;
}

.focus-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

.area-card {
  border-left: 5px solid #004aad;
  padding: 20px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.area-card:hover {
  transform: scale(1.03);
}

/* Why We Exist */
.why-we-exist {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 40px;
}

.joinus {
  background-image: url("nexus.jpeg");
  background-size: contain;
  padding: 55px 10px;
  background-position: center;
  width: 100%;
}

@media (max-width: 576px) {
  .joinus {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
  }

  .why-we-exist {
    padding: 30px 20px;
    margin: 0 auto;
  }
}

/* Footer */
footer {
  background-color: #093164;
  color: #fff;
  padding: 30px 20px;
}

footer a {
  color: #fff;
}
