/* =========================================================
   1. GLOBAL RESET & TYPOGRAPHY
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #f9f9f9;
  color: #222222;
  padding-top: 80px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.hidden {
  display: none !important;
}

p {
  text-align: left;
}

/* =========================================================
   2. HEADER & NAVIGATION
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 999;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #228b22;
  text-decoration: none;
  line-height: 1;
}

.logo img {
  height: 70px;
  width: auto;
  margin-right: 10px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #228b22;
}

nav {
  position: relative;
  z-index: 1000;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
  min-height: 80px;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #228b22;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #1a6f1a;
}

/* =========================================================
   3. DROPDOWN MENU
========================================================= */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  padding: 10px;
  display: block;
  font-size: 14px;
  color: #228b22;
}

.submenu li a:hover {
  background: #f0f0f0;
  color: #1a6f1a;
}

/* =========================================================
   4. SEARCH BAR
========================================================= */
.styled-search {
  display: flex;
  align-items: center;
  justify-content: center;
}

.styled-search button {
  background: none;
  border: none;
  color: #228b22;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

/* =========================================================
   5. HERO SECTION
========================================================= */
.hero {
  height: 700px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-text {
  background: none !important;
  padding: 0;
}

.hero h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.hero-controls button {
  font-size: 30px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  pointer-events: all;
  transition: transform 0.2s ease;
  padding: 5px 15px;
}

.hero-controls button:hover {
  transform: scale(1.2);
}

/* =========================================================
   6. BUSINESS UNITS SECTION
========================================================= */
.business-units {
  display: flex;
  flex-wrap: wrap;
  background-color: #f2f2f2;
  padding: 80px 0;
}

.business-left {
  flex: 1;
  min-width: 500px;
  max-width: 600px;
  padding: 70px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f2f2f2;
  text-align: center;
}

.business-left h2 {
  font-size: 45px;
  font-weight: 700;
  color: #228b22;
  margin-bottom: 10px;
}

.business-left .underline {
  height: 4px;
  width: 80px;
  background: #f1c40f;
  margin: 0 auto 30px;
}

.unit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.unit-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 10px;
  cursor: pointer;
  color: #333;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

.unit-list li:hover,
.unit-list li.active {
  color: #228b22;
}

.unit-list i {
  color: #228b22;
  font-size: 42px;
}

.business-right {
  flex: 2;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 70px;
  transition: background-image 1s ease-in-out;
}

.unit-content {
  background: white;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.unit-content h3 {
  font-size: 24px;
  color: #228b22;
  margin-bottom: 15px;
}

.unit-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

/* ========== PARTNER SECTION ========== */
.partner-section {
  background-color: #1a6f1a;
  padding: 40px 20px;
  text-align: center;
}

.partner-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: 600;
  color: #fff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-grid .logo {
  width: 100px;
  height: auto;
}

.partner-grid .logo img {
  width: 120%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-grid .logo img:hover {
  transform: scale(1.05);
}

/* =========================================================
   7. ABOUT PAGE
========================================================= */
.about-page {
  padding: 2rem;
  background: #f9f9f9;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.about-header {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(rgba(219, 219, 217, 0.85), rgba(93, 94, 93, 0.6)),
    url('About-bg.jpg') center/cover no-repeat;
  color: #fff;
}

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

/* Main About Section */
.about-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  line-height: 1.7;
}

.about-section h2 {
  color: #230d5f;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.about-section p {
  margin-bottom: 1rem;
  color: #444;
  font-size: 1rem;
}

/* What We Do Section */
#what-we-do {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

#what-we-do h2 {
  color: #230d5f;
  margin-bottom: 40px;
  font-size: 2em;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.service {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease, transform 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service h3 {
  margin: 0;
  color: #1f1864;
  font-size: 1.1em;
}

.service p {
  margin-top: 15px;
  font-size: 1em;
  color: #fff;
  opacity: 0;
  max-height: 0;
  transition: all 0.4s ease;
}

.service:hover {
  background: #228b22;
  color: #fff;
}

.service:hover h3 {
  color: #fff;
}

.service:hover p {
  opacity: 1;
  max-height: 300px;
}

/* Quote-like block */
.about-quote {
  background: #f9f9f9;
  border-left: 5px solid #228b22;
  padding: 20px;
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  margin-top: 20px;
}

/* Two-column Section */
.two-column {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 20px;
}

.column {
  flex: 1;
}

.column.text {
  padding-right: 20px;
}

.column.text h2 {
  color: #230d5f;
  margin-bottom: 10px;
}

.column.image img {
  border-radius: 30%;
  max-width: 100%;
  height: auto;
}

/* Mobile responsiveness for two-column layout */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
    text-align: center;
  }
  .column.text {
    padding-right: 0;
  }
}

/* About Boxes */
.about-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.about-box {
  flex: 1 1 calc(33.333% - 20px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-box h2 {
  font-size: 1.4rem;
  color: #230d5f;
  margin-bottom: 10px;
}

.about-box p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-box {
    flex: 1 1 100%;
  }
}

/* CEO/Founder Section */
.ceo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: #f8f9fa;
  padding: 3rem 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  text-align: center;
}

.ceo-section img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #228b22;
}

.ceo-info {
  max-width: 600px;
}

.ceo-info h3 {
  font-size: 1.4rem;
  color: #230d5f;
  margin-bottom: 0.5rem;
}

.ceo-info p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================================
   8. PROJECT PAGE
========================================================= */
.project-page {
  padding: 2rem;
  background: #f9f9f9;
}

.project-header {
  background: url('MCNL-Home-Banner-1.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.project-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

.project-header * {
  position: relative;
  z-index: 1;
}

.project-header h1 {
  font-size: 3rem;
  margin: 0;
  font-weight: 700;
  color: #f0f0f0;
  padding: 10px 25px;
  border-radius: 8px;
}

.project-header p {
  margin-top: 10px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 5px 15px;
  border-radius: 6px;
}

/* Project Grid */
.projects-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  transition: transform 0.3s ease;
}

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

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 15px 20px;
}

.project-content h3 {
  font-size: 1.4rem;
  color: #230d5f;
  margin-bottom: 5px;
}

.project-content .client {
  font-size: 0.95rem;
  font-weight: bold;
  color: #228b22;
  margin-bottom: 10px;
}

.project-content .description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* =========================================================
   9. CONTACT PAGE
========================================================= */
.contact-page {
  padding: 2rem;
  background: #f9f9f9;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.contact-page h2 {
  text-align: left;
  font-size: 1.8rem;
  color: #230d5f;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.contact-block {
  background: #fff;
  padding: 1.5rem;
  border-left: 5px solid #0a9440;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form-section {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #230d5f;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

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

/* =========================================================
   10. CAREERS PAGE
========================================================= */
/* CAREERS PAGE STYLES */
.career-page {
  padding: 2rem;
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  background: #f9f9f9;
}

/* Header */
.careers-header {
  background: linear-gradient(rgba(219, 219, 217, 0.87), rgba(93, 94, 93, 0.616)), url('career-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 2.5em 1.5em;
  height: 200px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.careers-header h1 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
    color: #f2f2f2;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
}

/* Intro section */
.careers-intro {
    padding: 50px 20px;
    background: #f8f8f8;
    text-align: center;
}

.careers-intro h2 {
    color: #1f1864;
    font-weight: 700;
    margin-bottom: 15px;
}

.careers-intro p {
    font-size: 1.1rem;
    color: #333;
    font-weight: 400;
    margin: 0 auto;
    line-height: 1.6;
}

.why-join {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.why-join h2 {
  color: #1f1864; /* MCNL dark blue */
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.why-join ul {
  list-style: none;
  padding: 0;
}

.why-join li {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.why-join .icon {
  color: #1f1864; /* MCNL dark blue */
  margin-right: 10px;
  font-weight: bold;
}

/* Section background alternates for clarity */
.job-listings:nth-of-type(odd) {
    background: #f9f9f9;
}
.job-listings:nth-of-type(even) {
    background: #ffffff;
}

/* Container grid for cards */
.job-listings .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 2rem 1rem;
}

/* Category Headings */
.job-listings h2 {
    grid-column: 1 / -1; /* Full width */
    font-size: 1.75rem;
    color: #1f1864;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #1f1864;
    padding-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

/* Job Card */
.job-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Job Titles */
.job-card h3 {
    color: #1f1864;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

/* Location Text */
.job-card .location {
    font-weight: bold;
    color: #666;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* Description */
.job-card .description {
    flex-grow: 1;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #222;
}

/* Requirements List */
.job-card ul.requirements {
    padding-left: 1.2rem;
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 0;
    list-style: disc;
}
.job-card ul.requirements li {
    margin-bottom: 0.5rem;
}

/* How to Apply Section */
.application-info {
    padding: 2rem 1rem;
    background: #1f1864;
    color: #fff;
    text-align: center;
}
.application-info a {
    color: #ffd700;
    font-weight: bold;
    text-decoration: none;
}
.application-info a:hover {
    text-decoration: underline;
}

.apply-btn {
    display: inline-block;
    background: #228b22;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.apply-btn:hover {
    background: #1b6f1b;
}


/* =========================================================
   11. PARTNERS SECTION
========================================================= */
.partners-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.partners-section h2 {
  color: #230d5f;
  font-size: 2rem;
  margin-bottom: 20px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partners-logos img {
  max-width: 150px;
  transition: transform 0.3s ease;
  filter: grayscale(100%);
  cursor: pointer;
}

.partners-logos img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* =========================================================
   12. FOOTER
========================================================= */
footer {
  background: #230d5f;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  background-color: #230d5f;
  color: #fff;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-grid h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #f1c40f; /* Optional accent color */
}

.footer-grid p {
  font-size: 1em;
  line-height: 1.6;
  color: #ddd;
}

.footer-grid a {
  color: #f1c40f;
  text-decoration: none;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-grid p,
.footer-grid li {
  font-size: 1.2em;
  line-height: 1.6;
  color: #ddd;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #f1c40f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
  display: block;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  background-color: #f1c40f;
  color: #111;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  cursor: pointer;
  display: none; /* Hidden by default */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
  background-color: #fff;
  color: #111;
  transform: scale(1.1);
}

/* =========================================================
   13. BUTTONS & UTILITIES
========================================================= */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #228b22;
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s ease-in-out;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #1a6f1a;
}

.btn-outline {
  background-color: transparent;
  color: #228b22;
  border: 2px solid #228b22;
}

.btn-outline:hover {
  background-color: #228b22;
  color: #fff;
}

/* =========================================================
   14. MEDIA QUERIES
========================================================= */

/* Medium Devices (Tablets) */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 20px;
  }

  .business-left,
  .business-right {
    padding: 40px 20px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .container {
    width: 95%;
  }
}

/* Small Devices (Mobile) */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 80px;
    right: 0;
    width: 250px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #228b22;
    font-size: 26px;
  }

  .business-units {
    flex-direction: column;
  }

  .business-left,
  .business-right {
    max-width: 100%;
    min-width: auto;
    padding: 30px 20px;
  }

  .projects-container {
    grid-template-columns: 1fr;
  }

  .career-listings {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
<<<<<<< HEAD
  .hero h2 {
    font-size: 24px;
  }

  .business-left h2 {
    font-size: 28px;
  }

  .project-header h1 {
    font-size: 1.8rem;
  }

  .partners-logos img {
    max-width: 120px;
=======
  header .logo img {
    max-width: 30px !important;
>>>>>>> 017b275705002c509701fce1dc7fa85fa2313ebb
  }
}
