/* ---------------------- GLOBAL RESET ---------------------- */
* {
  font-family: 'Arial', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

/* ---------------------- HEADER + NAVIGATION ---------------------- */
.logo img {
  background-color: transparent;
  display: block;
}

header {
  background-color: #fffffe;
  position: relative;
  z-index: 1;
}

.navbar {
  width: 100%;
  background-color: #fffefe;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  padding-left: 125px;
}

.logo {
  position: absolute;
  top: 10px;    /* 10px down from top */
  left: 55px;   /* 55px away from left */
  z-index: 2;
  margin: 0;
  padding: 0;
}

.logo img {
  height: 100px;
  object-fit: contain;
  margin: 0;
  padding: 0;
  display: block;
  background-color: transparent !important
}

.navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navigation ul li a {
  text-decoration: none;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #302c2c;
  transition: color 0.3s;
}

.navigation ul li a:hover {
  color: #b38f00;
  text-decoration: underline;
}

.search-bar input {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .navbar .container {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    padding-left: 1rem;
  }

  .logo {
    flex: 0 0 auto;
    left: auto;
    position: static;
    top: auto;
  }

  .logo img {
    height: 72px;
  }

  .navigation {
    flex: 1 1 auto;
    min-width: 0;
  }

  .navigation ul {
    flex-wrap: nowrap;
    gap: 0.75rem;
    justify-content: flex-start;
  }

  .navigation ul li a {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .search-bar {
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    max-width: none;
    min-width: 0;
  }

  .search-bar input {
    max-width: 360px;
    width: min(100%, 360px);
  }
}

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    padding-left: 1rem;
  }

  .logo {
    left: auto;
    position: static;
    top: auto;
  }

  .logo img {
    height: 68px;
  }

  .navigation {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .navigation ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    align-items: center;
    justify-content: flex-start;
  }

  .navigation ul li a {
    display: block;
    font-size: 0.95rem;
    padding: 0.1rem 0;
  }

  .search-bar {
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    margin-top: 0;
    max-width: 100%;
    width: 100%;
  }

  .search-bar input {
    max-width: 340px;
    width: min(100%, 340px);
  }
}

/* ---------------------- LINKS AND ACCENTS ---------------------- */
a, button, .accent {
  color: #FFD700;
  cursor: pointer;
}

a:hover, button:hover, .accent:hover {
  color: #b38f00;
  text-decoration: underline;
}

/* ---------------------- HOME PAGE ---------------------- */
.Home * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.Home body,
.Home html {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Flex layout wrapper */
.Home .page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main grows to fill space between header and footer */
.Home main {
  flex: 2;
}

/* Background of the home page */
.Home .background {
  background-color: whitesmoke;
  position: absolute;
  width: 100%;
  z-index: -2;
}

/* Hero / Overview section */
.Home .hero {
  padding: 2rem 2rem 2rem;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 640px) {
  .navbar .container {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.75rem;
  }

  .logo img {
    height: 62px;
  }

  .navigation {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .navigation ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    align-items: center;
    justify-content: flex-start;
  }

  .navigation ul li a {
    display: block;
    font-size: 0.9rem;
    padding: 0.15rem 0;
  }

  .search-bar {
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    max-width: none;
    width: 100%;
  }

  .search-bar input {
    max-width: 320px;
    width: min(100%, 320px);
  }
}

.Home .hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #e2c93b;
  text-align: center;
}

.Home h1:hover {
  cursor: auto;
}

.Home .hero h2 {
  font-size: 1.8rem;
  font-weight: 550;
  margin-bottom: 2rem;
  color: #92925e;
  text-align: center;
}

.Home .hero p {
  max-width: 800px;
  font-size: 1rem;
  line-height: 1.5;
  font-style: normal;
  color: rgb(17, 17, 14);
}

.Home .hero-description {
  max-width: 800px;
  margin: 1rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}

/* body image*/
.Home .body-image {
  width: 90vw;
  max-width: 100%;
  height: 300px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Call to Action Button */
.Home .cta-text {
  display: inline-block;
  color: #6b8d5c;
  font-weight: bold;
  text-decoration: underline;
  font-size: 0.8rem;
}

.Home .cta-text:hover {
  color: 35860f;
  transform: scale(1.1);
}

.Home .cta-button:hover {
  background-color: #707ea5;
}

.Home .cta-button.hero-title:hover {
  background-color: #f4c542;
  color: rgb(0, 0, 0);
  text-decoration: none;
  transform: none;
}

/* Responsive layout */
@media (max-width: 768px) {
  .Home header {
    flex-direction: column;
    align-items: flex-start;
  }

  .Home nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .Home .search-bar input {
    width: 100%;
    margin-top: 0.5rem;
  }

  .Home .info {
    flex: 1 1 100%;
  }
}

.Home #more-info {
  display: none;
}

/* Sector service stamps */
.Home .info-sections h2 {
  text-align: left;
  color: #000000;
}

.Home .info-sections {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 20px;
}

.Home .info-sections h2 {
  margin-bottom: 1rem;
}

.Home .info {
  flex: 1 1 30%;
  min-width: 250px;
  position: relative;
  padding-left: 16px;
}

.Home .info h2 {
  margin: 0 0 1rem 0;
  text-align: left;
  color: #333;
}

/* Initially hidden */
.Home .hidden {
  display: none;
}

/* Reveal with animation */
.Home .visible {
  display: flex;
  animation: fadeInUp 4s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(20px);
  }
}

/* Yellow line styles */
.Home .sectors,
.Home .services,
.Home .stamps {
  flex: 1;
  padding-left: 16px;
  position: relative;
  margin-left: 0;
  margin-bottom: 20px;
}

.Home .sectors::before,
.Home .services::before,
.Home .stamps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #f4c542;
  margin-top: auto;
}

/* List styles */
.Home .sectors li,
.Home .services li,
.Home .stamps li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.Home .stamps i {
  color: #f4c542;
  margin-right: 6px;
}

.Home .sectors ul,
.Home .services ul,
.Home .stamps ul {
  padding-left: 0;
  list-style: none;
}

.Home .tick {
  color: green;
}

/* CTA Button */
.Home .cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  margin-bottom: 20px;
}

.Home .cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2rem;
  background-color: #f4c542;
  color: rgb(0, 0, 0);                 
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;       
  font-weight: normal;         
}

.Home .cta-button:hover {
  transform: scale(1.05);
}

/* Smooth scroll behavior */
.Home html {
  scroll-behavior: smooth;
}

/* bottom section - core values */
.Home .core-values {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 1.1rem;
  font-weight: 500;
  flex-wrap: wrap;
  margin-top: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 2rem;
  border-radius: 0;
}

.Home .core-values h2 {
  width: 100%;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #f4c542;
  text-align: center;
}

/* ---------------------- CONTACT PAGE ---------------------- */
.Contact .banner {
  background: url('../Images/banner.jpg') center/cover no-repeat;
  height: 200px;
  position: relative;
}

.Contact .banner-overlay {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 60px 20px;
}

.Contact .banner-overlay h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}
.Contact.banner-overlay p {
  margin: 0;
}


.Contact .container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.Contact .office {
  border: 1px solid #eee;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 4px;
}

.Contact .office h2 {
  margin-bottom: 10px; /* space below office name */
}

.Contact .office p {
  margin-bottom: 6px;  /* space between address and phone */
  line-height: 1.5;    /* optional: improves readability */
}

.Contact .contact-line {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.Contact .contact-line i {
  color: #000;
  flex: 0 0 18px;
  line-height: 1.5;
  text-align: center;
}

.Contact .office a[href^="mailto:"] {
  color: #0000ee;
  text-decoration: underline;
}

.Contact .office a[href^="mailto:"]:hover {
  color: #551a8b;
}

/* ---------------------- ABOUT PAGE ---------------------- */
.About {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

.About body {
  color: #333;
  line-height: 1.6;
}

.About .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.About .about-content {
  max-width: 1200px;     
  width: 90%;            
  margin: 48px auto;
  padding: 0;            
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.About .about-text {
  flex: 1;
  min-width: 300px;
}

.About .about-image {
  flex: 1;
  min-width: 300px;
}

.About .about-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.About .vision-section,
.About .values-section,
.About .affiliations-section {
  max-width: 1200px; 
  width: 90%;         
  margin: 48px auto;  
  padding: 0;         
}

.About .vision-section {
  background: #f5f8fb;
  border-left: 5px solid #f4c542;
  padding: 28px 32px;
  border-radius: 6px;
}

.About .vision-section p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.About .value-item {
  background: #fff;
  border-left: 4px solid #f4c542;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  padding: 24px;
}

.About .values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}


.About .affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 28px;
}

.About .affiliations img {
  height: 80px;
  width: auto;
}


.About .image-grid {
  display: flex;
  gap: 20px;
  margin-top: 0;
}

.About .image-grid img {
  flex: 1;
  max-width: 50%;
}

.About h1, .About h2, .About h3 {
  color: #0066cc;
  margin-bottom: 20px;
}

.About h1 {
  font-size: 2.5rem;
}

.About h2 {
  font-size: 2rem;
  margin-top: 0;
}

.About h3 {
  font-size: 1.5rem;
  margin-top: 0;
}

.About p {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .About .about-content,
  .About .vision-section,
  .About .values-section,
  .About .affiliations-section {
    width: 92%;
    margin: 36px auto;
  }

  .About .values-grid {
    grid-template-columns: 1fr;
  }

  .About .image-grid {
    flex-direction: column;
  }

  .About .image-grid img {
    max-width: 100%;
  }
}

/* ---------------------- SERVICES PAGE ---------------------- */
.Services {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  padding: 48px 0 64px;
}

.Services .services-intro,
.Services .services-grid {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.Services h1,
.Services h2 {
  color: #0066cc;
  text-align: center;
}

.Services h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.Services p.description {
  max-width: 760px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1.1rem;
  text-align: center;
}

.Services .services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.Services .service {
  background: #ffffff;
  border: 0;
  border-left: 4px solid #f4c542;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #333;
  cursor: default;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  text-align: left;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.Services .service h3 {
  color: #0066cc;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.Services .service p {
  color: #444;
  margin-bottom: 12px;
}

.Services .service p:last-child {
  margin-bottom: 0;
}

.Services .service:hover {
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.14);
}

.Services .modal-overlay {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 1000;
}

.Services .modal-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #333;
  max-width: 600px;
  padding: 2rem;
  position: relative;
  width: 90%;
}

.Services .modal-content h3 {
  color: #0066cc;
  margin-bottom: 1rem;
  padding-right: 36px;
}

.Services .service-modal-close {
  background: transparent;
  border: 0;
  color: #333;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 14px;
}

.Services .service-modal-close:hover,
.Services .service-modal-close:focus-visible {
  color: #0066cc;
  outline: none;
}

@media (max-width: 768px) {
  .Services {
    padding: 36px 0 48px;
  }

  .Services .services-intro,
  .Services .services-grid {
    width: 92%;
  }

  .Services .services-grid {
    grid-template-columns: 1fr;
  }

  .Services .service {
    min-height: 0;
  }
}

/* ---------------------- PROJECTS PAGE ---------------------- */
.Projects {
  flex: 1;
  flex-direction: column;
  display: flex;
  width: 100%;
  min-height: 100vh; 
}
.Projects .page-title {
  text-align: center;
  margin: 2rem 0;
}

.Projects .project-list {
  max-width: 800px;
  margin: auto;
  padding: 0 1rem;
  width: 100%;
}

.Projects .project-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-left: 5px solid #007bff;
}

.Projects .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.Projects .filter-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.Projects .filter-select {
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 16px;
  min-width: 200px;
}

.Projects .load-more {
  display: block;
  margin: 30px auto;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.Projects .load-more:hover {
  background: #0056b3;
}

.Projects .load-more:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.Projects .project-date {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
}

.Projects .hidden {
  display: none;
}


/* ---------------------- LOGIN PAGE ---------------------- */
.Login .login-container {
  max-width: 400px;
  margin: 100px auto;
  text-align: center;
}

.Login input {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
}

.Login button {
  padding: 10px 20px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
}

.Login .toggle-password {
  cursor: pointer;
  display: inline-block;
  margin-left: 10px;
  font-size: 0.9rem;
  color: #0066cc;
}
/* ---------------------- ADMIN PAGE ---------------------- */
.Admin body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
}

.Admin .page-title {
  text-align: center;
  margin: 2rem 0;
}

.Admin .project-list {
  max-width: 800px;
  margin: auto;
}

.Admin .project-card {
  background: white;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid #007bff;
  border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.Admin .add-btn {
  display: block;
  margin: 0 auto 2rem;
  background: green;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ---------------------- ADD PROJECT PAGE ---------------------- */
.Add-project main {
  padding: 2.54cm 2.54cm 1cm; /* 1 inch left/right, 1cm bottom */
  box-sizing: border-box;
}

.Add-project .form-container {
  max-width: 700px;
  margin: 0 auto;
}

.Add-project h2 {
  text-align: center;
  margin-top: 1cm;
  margin-bottom: 1.5rem;
  color: #0066cc;
}


.Add-project .add-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1rem;
  background-color: #f5f7fa;
  min-height: calc(100vh - 120px); /* adjust for header/footer */
}

.Add-project .form-box {
  background: white;
  border-left: 5px solid #0066cc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem;
  width: 100%;
  max-width: 600px;
}

.Add-project .form-box h2 {
  margin-bottom: 1.5rem;
  color: #0066cc;
}

.Add-project form label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-weight: bold;
  color: #333;
}

.Add-project form input,
.Add-project form select,
.Add-project form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  resize: vertical;
}

.Add-project form textarea {
  min-height: 100px;
}

.Add-project .button-group {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.Add-project .submit-btn,
.Add-project .cancel-btn {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.Add-project .submit-btn {
  background-color: #0066cc;
  color: white;
}

.Add-project .submit-btn:hover {
  background-color: #004c99;
}

.Add-project .cancel-btn {
  background-color: #ccc;
  color: #333;
}

.Add-project .cancel-btn:hover {
  background-color: #aaa;
}

.Add-project .edit-project-images {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.Add-project .edit-project-image {
  cursor: pointer;
  display: block;
  position: relative;
  width: 96px;
}

.Add-project .edit-project-image input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.Add-project .edit-project-image .project-thumb {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto !important;
  object-fit: cover;
  width: 100% !important;
}

.Add-project .edit-project-image-remove {
  align-items: center;
  background: #000;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 24px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -8px;
  top: -8px;
  width: 24px;
  z-index: 1;
}

.Add-project .edit-project-image input:checked + .edit-project-image-remove {
  background: #c62828;
}

.Add-project .edit-project-image input:checked ~ .project-thumb {
  opacity: 0.35;
  outline: 3px solid #c62828;
}

.Add-project .new-image-preview:empty {
  display: none;
}

.Add-project .new-image-preview-item .project-thumb {
  outline: 3px solid #0066cc;
}


/* ---------------------- FOOTER ---------------------- */

/* Make the page fill the full height of the viewport */
html, body {
  height: 100%;
  margin: 0;
}

/* Flex container to push footer to the bottom */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full height */
}

/* Main content should grow to fill space */
main {
  flex: 1;
}

/* Sticky footer styles */
footer {
  background-color: #cccccc; /* light gray */
  color: white;
  text-align: center;
  height: 1cm;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0;
  margin: 0;
}

/* Small thumbnail image */
.project-thumb {
  width: 80px;            /* thumbnail size */
  height: auto;
  cursor: pointer;        /* show hand cursor */
  border-radius: 4px;
  transition: transform 0.2s ease;
}

/* Slight zoom on hover */
.project-thumb:hover {
  transform: scale(1.1);
}


/* Force thumbnails to be small + clickable */
.project-thumb {
  width: 80px !important;
  height: auto !important;
  cursor: pointer !important;
  display: inline-block;
  border: 1px solid #ddd;
}
.modal-nav.prev { left: 20px; }
.modal-nav.next { right: 20px; }


.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}


/* Make the page fill the full height of the viewport */
html, body {
  height: 100%;
  margin: 0;
}

/* Flex container to push footer to the bottom */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full height */
}

/* Main content should grow to fill space */
main {
  flex: 1;
}

/* Sticky footer styles */
footer {
  background-color: #cccccc; /* light gray */
  color: white;
  text-align: center;
  height: 1cm;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0;
  margin: 0;
}

/* Small thumbnail image */
.project-thumb {
  width: 80px;            /* thumbnail size */
  height: auto;
  cursor: pointer;        /* show hand cursor */
  border-radius: 4px;
  transition: transform 0.2s ease;
}

/* Slight zoom on hover */
.project-thumb:hover {
  transform: scale(1.1);
}


/* Force thumbnails to be small + clickable */
.project-thumb {
  width: 80px !important;
  height: auto !important;
  cursor: pointer !important;
  display: inline-block;
  border: 1px solid #ddd;
}


.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Large modal image */
#modalImage {
  max-width: 90vw;
  max-height: 85vh;
  transform-origin: center center;
  user-select: none;
  touch-action: none;
}

/* ===============================
   Modal navigation buttons
   =============================== */

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: transparent;
  border: none;

  font-size: 56px;
  font-weight: 900;
  color: #000;

  cursor: pointer;
  user-select: none;

  padding: 0;
  line-height: 1;

  transition: color 0.2s ease, transform 0.15s ease;
}

/* Hover / active effect */
.modal-nav:hover,
.modal-nav:active {
  color: #f5b400; /* yellow-orange */
  transform: translateY(-50%) scale(1.15);
}

/* Left / Right arrows */
.modal-prev { left: 25px; }
.modal-next { right: 25px; }


/* ===== Modal arrows (keep absolute in center) ===== */
.modal-prev, .modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* ===============================
   IMAGE MODAL – ZOOM CONTROLS
   =============================== */

.zoom-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 36px;
  z-index: 10001;
}

/* Zoom + / - / Reset buttons */
.zoom-controls .modal-nav {
  position: static;             /* override arrow positioning */
  background: transparent;
  border: none;

  font-size: 44px;
  font-weight: 900;
  color: #000;

  padding: 0;
  line-height: 1;

  cursor: pointer;
  user-select: none;

  transition: color 0.2s ease, transform 0.15s ease;
}

/* Reset button slightly smaller */
.zoom-controls .modal-reset {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Hover / active effect */
.zoom-controls .modal-nav:hover,
.zoom-controls .modal-nav:active {
  color: #f5b400; /* yellow-orange */
}

/* ===============================
   PAN HAND CURSOR (DESKTOP)
   =============================== */

/* Default image cursor */
#modalImage {
  cursor: default;
  transition: transform 0.15s ease;
}

/* When zoomed → show grab hand */
#modalImage.is-zoomed {
  cursor: grab;
}

/* While dragging */
#modalImage.is-panning {
  cursor: grabbing;
}

.modal-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modal-thumbs{
  display: flex;
  gap: 10px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 6px 10px;
}

.modal-thumbs img {
  width: 80px;          /* SAME width for all */
  height: 60px;         /* SAME height for all */
  object-fit: cover;   /* crop to fit box (no stretching) */

  cursor: pointer;
  border-radius: 6px;

  opacity: 0.7;
  border: 2px solid transparent;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-thumbs img.active {
  opacity: 1;
  border-color: #f2b300;   /* your yellow/orange */
  transform: scale(1.05);
}

.modal-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.modal-thumbs{
  display:flex;
  gap:8px;
  max-width:90vw;
  overflow-x:auto;
  padding:6px;
}

.modal-thumbs img {
  width: 80px;          /* SAME width for all */
  height: 60px;         /* SAME height for all */
  object-fit: cover;   /* crop to fit box (no stretching) */

  cursor: pointer;
  border-radius: 6px;

  opacity: 0.7;
  border: 2px solid transparent;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-thumbs img.active {
  opacity: 1;
  border-color: #f2b300;   /* your yellow/orange */
  transform: scale(1.05);
}


.modal-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 92vw;
  max-height: 92vh;
}

#modalImage{
  max-width: 90vw;
  max-height: 75vh;
  user-select: none;
}

/* thumbs row */
.modal-thumbs{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 8px;
  max-width: 90vw;
}

.modal-thumbs img {
  width: 80px;          /* SAME width for all */
  height: 60px;         /* SAME height for all */
  object-fit: cover;   /* crop to fit box (no stretching) */

  cursor: pointer;
  border-radius: 6px;

  opacity: 0.7;
  border: 2px solid transparent;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-thumbs img.active {
  opacity: 1;
  border-color: #f2b300;   /* your yellow/orange */
  transform: scale(1.05);
}

/* zoom buttons position (bottom center) */
.zoom-controls{
  position: absolute;
  bottom: 200px;
  left: 91%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10000;
}

/* hand icons when zoomed / dragging */
#modalImage.is-zoomed{ cursor: grab; }
#modalImage.is-panning{ cursor: grabbing; }

#modalImage {
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  cursor: grab;
}
#modalImage.is-panning { cursor: grabbing; }

.modal-thumbs { cursor: grab; }
.modal-thumbs.is-dragging { cursor: grabbing; }
.modal-thumbs img { -webkit-user-drag: none; user-select: none; }

.modal-close{
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: none;
  font-size: 50px;
  font-weight: 900;
  color: #000;
  cursor: pointer;
  z-index: 10002;
  line-height: 1;
  user-select: none;
  transition: color 0.2s ease, transform 0.15s ease;
}

.modal-close:hover,
.modal-close:active{
  color: #f5b400;
  transform: scale(1.1);
}

/* ===== Projects Accordion ===== */
.project-header{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;

  background: transparent;
  border: none;
  padding: 14px 10px;
  cursor: pointer;
  text-align: left;
}

.project-title{
  font-weight: 700;
  font-size: 1.5rem;
}

.project-date{
  color: #666;
  font-size: 0.9rem;
  white-space: nowrap;
}

.project-chevron{
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.project-card.is-open .project-chevron{
  transform: rotate(180deg);
}

.project-body{
  padding: 10px 10px 14px;
}

.project-desc{
  margin: 0 0 10px;
  color: #333;
  line-height: 3;
}

.scope-title{
  margin: 20px 0 10px;
  font-size: 35px;
  font-weight: 750;
}

.project-header{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background: #fff;
  border: none;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
}

.project-chevron{
  transition: transform .2s ease;
}

.project-card.is-open .project-chevron{
  transform: rotate(180deg);
}

/* ===== Projects accordion color override ===== */

.Projects .project-header {
  color: #000000;              /* black */
}

.Projects .project-title {
  color: #000000;              /* black */
 
}

.Projects .project-chevron {
  color: #000000;              /* black */
}

/* hover effect (optional) */
.Projects .project-header:hover .project-title,
.Projects .project-header:hover .project-chevron {
  color: #000000;              /* black */
}

/* ---------------------- PROJECTS PAGE CLEANUP ---------------------- */
.Projects {
  background-color: #f8f9fa;
  padding: 48px 0 64px;
}

.Projects .projects-intro,
.Projects .filter-container,
.Projects .project-list {
  max-width: 1200px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.Projects .page-title {
  color: #0066cc;
  font-size: 2.5rem;
  margin: 0 0 16px;
  text-align: center;
}

.Projects .projects-description {
  color: #555;
  font-size: 1.1rem;
  margin: 0 auto 32px;
  max-width: 760px;
  text-align: center;
}

.Projects .filter-container {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.Projects .filter-container label {
  color: #333;
  font-weight: 700;
}

.Projects .filter-select {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #333;
  min-width: 220px;
}

.Projects .project-list {
  max-width: 960px;
  padding: 0;
}

.Projects .scope-section {
  margin-bottom: 42px;
}

.Projects .scope-projects {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.Projects .scope-title {
  color: #0066cc;
  font-size: 2rem;
  margin: 0 0 18px;
}

.Projects .project-card {
  background: #fff;
  border-left: 4px solid #f4c542;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: default;
  margin-bottom: 18px;
  padding: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.Projects .project-card:hover {
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.16);
  transform: translateY(-2px);
}

.Projects .project-header {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  justify-content: flex-start;
  gap: 10px;
  padding: 18px 20px;
}

.Projects .project-header:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.25);
  outline-offset: 2px;
}

.Projects .project-title {
  color: #000;
  font-size: 1.2rem;
}

.Projects .project-chevron {
  color: #000;
  font-size: 1.2rem;
}

.Projects .project-body {
  padding: 0 20px 22px;
}

.Projects .project-desc {
  color: #333;
  line-height: 1.7;
  margin: 0 0 18px;
}

.Projects .project-images {
  cursor: grab;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 4px 2px 12px;
  scroll-behavior: smooth;
  scrollbar-color: #f4c542 #e8e8e8;
  scrollbar-width: thin;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.Projects .project-images::-webkit-scrollbar,
.Projects .modal-thumbs::-webkit-scrollbar {
  height: 8px;
}

.Projects .project-images::-webkit-scrollbar-track,
.Projects .modal-thumbs::-webkit-scrollbar-track {
  background: #e8e8e8;
  border-radius: 999px;
}

.Projects .project-images::-webkit-scrollbar-thumb,
.Projects .modal-thumbs::-webkit-scrollbar-thumb {
  background: #f4c542;
  border-radius: 999px;
}

.Projects .project-images.is-dragging-thumbs,
.Projects .modal-thumbs.is-dragging-thumbs {
  cursor: grabbing;
  scroll-behavior: auto;
}

.Projects .project-images.is-dragging-thumbs *,
.Projects .modal-thumbs.is-dragging-thumbs * {
  cursor: grabbing !important;
}

.Projects .project-thumb-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 132px;
  padding: 0;
  position: relative;
}

.Projects .project-thumb {
  aspect-ratio: 4 / 3;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: block;
  height: auto !important;
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100% !important;
}

.Projects .project-thumb-button,
.Projects .project-thumb {
  cursor: pointer !important;
}

.Projects .project-thumb-button:hover .project-thumb,
.Projects .project-thumb-button:focus-visible .project-thumb {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transform: scale(1.03);
}

.project-hover-preview {
  align-items: center;
  display: flex;
  height: min(60vh, 460px);
  justify-content: center;
  left: 50%;
  pointer-events: none;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(72vw, 720px);
  z-index: 9000;
}

.project-hover-preview img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.Projects .image-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 72px 72px 150px;
  position: fixed;
  z-index: 9999;
}

.Projects .modal-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 72px 72px 150px;
  justify-content: center;
  max-height: none;
  max-width: none;
  position: absolute;
}

.Projects #modalImage {
  cursor: default;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  touch-action: none;
  transition: transform 0.15s ease;
  user-select: none;
}

.Projects #modalImage.is-zoomed {
  cursor: grab;
}

.Projects #modalImage.is-panning {
  cursor: grabbing;
}

.Projects .modal-close,
.Projects .modal-nav {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  position: absolute;
  user-select: none;
  z-index: 10002;
}

.Projects .modal-close {
  font-size: 48px;
  right: 22px;
  top: 18px;
}

.Projects .modal-prev,
.Projects .modal-next {
  font-size: 64px;
  top: 50%;
  transform: translateY(-50%);
}

.Projects .modal-prev {
  left: 24px;
}

.Projects .modal-next {
  right: 24px;
}

.Projects .modal-close:hover,
.Projects .modal-nav:hover,
.Projects .modal-close:focus-visible,
.Projects .modal-nav:focus-visible {
  color: #f4c542;
  outline: none;
}

.Projects .modal-thumbs {
  bottom: 24px;
  cursor: grab;
  display: flex;
  gap: 8px;
  left: 50%;
  max-width: min(900px, calc(100vw - 48px));
  overflow-x: auto;
  padding: 6px 8px 12px;
  position: absolute;
  scrollbar-color: #f4c542 #2f2f2f;
  scrollbar-width: thin;
  touch-action: pan-x;
  transform: translateX(-50%);
  -webkit-overflow-scrolling: touch;
  z-index: 10001;
}

.Projects .modal-thumb-button {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  padding: 0;
}

.Projects .modal-thumb-button.active {
  border-color: #f4c542;
  opacity: 1;
}

.Projects .modal-thumb-button img {
  border-radius: 4px;
  cursor: pointer;
  display: block;
  height: 64px;
  object-fit: cover;
  width: 92px;
}

.Projects .zoom-controls {
  bottom: 112px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  display: flex;
  gap: 22px;
  left: 50%;
  padding: 8px 14px;
  position: absolute;
  transform: translateX(-50%);
  z-index: 10001;
}

.Projects .zoom-controls .modal-nav {
  font-size: 38px;
  position: static;
}

.Projects .zoom-controls .modal-reset {
  font-size: 18px;
}

@media (max-width: 768px) {
  .Projects {
    padding: 36px 0 48px;
  }

  .Projects .projects-intro,
  .Projects .filter-container,
  .Projects .project-list {
    width: 92%;
  }

  .Projects .filter-container {
    align-items: stretch;
    flex-direction: column;
  }

  .Projects .filter-select {
    width: 100%;
  }

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

  .Projects .modal-prev {
    left: 12px;
  }

  .Projects .modal-next {
    right: 12px;
  }

  .Projects .image-modal {
    padding: 64px 44px 144px;
  }

  .Projects .modal-content {
    inset: 64px 44px 144px;
  }

  .Projects .modal-thumbs {
    max-width: calc(100vw - 24px);
  }

  .Projects .modal-thumb-button img {
    height: 56px;
    width: 76px;
  }

  .Projects .zoom-controls {
    bottom: 98px;
  }
}

.cta-button.static {
  cursor: default;        /* no hand cursor */
  pointer-events: none;   /* completely non-clickable */
  font-weight: 700;
}

.hero-title {
  display: inline-block;
  margin-top: 15px;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
}
.hero-title {
  display: block;        /* take full width */
  text-align: center;    /* center the text */
  font-weight: 700;      /* bold */
  font-size: 24px;
  margin: 20px auto;
}

.cta-button.hero-title {
  display: block;
  width: max-content;
  max-width: calc(100vw - 40px);
  margin: 20px auto;
  text-align: center;
  font-weight: 700;
  cursor: default;
}
