/* Base styles */
body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  padding-top: 80px; /* for fixed header */
}

header {
  background: #002147;
  color: white;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.5rem; /* Ensures spacing: M S J N K */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-left: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

nav a.active {
  font-size: 1.1rem;
  font-weight: bold;
}

/* Page titles */
.page-title {
  background: #e8f0ff;
  padding: 3rem 2rem 3rem;
  text-align: center;
}

.page-title .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-title h1 {
  font-size: 1rem;
  color: #002147;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

/* Intro section (Home) */
.intro {
  text-align: center;
  margin-top: 1rem;
}

.intro h2 {
  font-size: 2rem;
  color: #002147;
  margin-top: 0rem;
  margin-bottom: 0rem;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.3;
  color: #444;
}

/* Services & Careers */
.services-grid,
.career-listing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.service-card,
.job-card {
  background: white;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  min-height: 220px; /* Add this line */
}

.service-card:hover,
.job-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-color: #ccc;
}

.service-card h3,
.job-card h3 {
  color: #002147;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}


/* About Page */
.about-content {
  padding: 2rem 0;
}

.about-content > div {
  margin-bottom: 2rem;
}

.about-content h2 {
  color: #002147;
  margin-bottom: 0.5rem;
}

.about-content p {
  text-align: left;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.founder-name {
  color: #002147;
  text-decoration: underline;
  cursor: pointer;
  text-align: center;
  margin-top: 1rem;
}

.founder-img {
  display: none;
  text-align: center;
  margin-top: 1rem;
}

.founder-img img {
  max-width: 180px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Career page */
.apply-note {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
  margin-buttom: 3rem;
  line-height: 1;
  color: #004080;
}

/* Contact Section */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-info h2,
.contact-form h2 {
  color: #002147;
  margin-bottom: 0.5rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.75rem;
  background-color: #002147;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #00162e;
}

/* Footer */
footer {
  display: none;
}

.section h2,
.section p {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 1rem 0;
}

.partner-name {
  color: #004080;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

.qualification-text {
  display: none;
  color: #444;
  font-style: italic;
}


/* Responsive */
@media screen and (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .services-grid,
  .career-listing,
  .contact-section {
    flex-direction: column;
    align-items: center;
  }

  .service-card,
  .job-card {
    width: 100%;
  }
}
