/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --lime: #C8FF00;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray: #888888;
  --light-gray: #f5f7fa;
  --border: #e8e8e8;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --heading-font: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 60px;
  transition: background 0.4s ease, padding 0.4s ease;
  background: transparent;
}

.site-header.scrolled {
  background: #ffffff;
  padding: 16px 60px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  position: relative;
  display: block;
}

.logo img {
  height: 20px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

/* White logo - visible by default */
.logo-white {
  opacity: 1;
}

/* Dark logo - hidden by default */
.logo-dark {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* When scrolled - swap logos */
.site-header.scrolled .logo-white {
  opacity: 0;
}

.site-header.scrolled .logo-dark {
  opacity: 1;
}

/* NAV */
.nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav ul li a {
  text-decoration: none;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  padding-bottom: 4px;
  transition: color 0.3s ease;
  position: relative;
}

.site-header.scrolled .nav ul li a {
  color: var(--black);
}

.nav ul li a.active,
.nav ul li.current-menu-item > a,
.nav ul li.current_page_item > a,
.nav ul li.current-menu-ancestor > a {
  border-bottom: 2px solid var(--lime);
}

.nav ul li a:hover {
  opacity: 0.7;
}

/* ===== HERO ===== */
.hero {
  width: 100%;
  height: 100vh;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* ===== INTRO ===== */
.intro {
  background: #f5f5f5;
  padding: 80px 0;
}

.intro-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 60px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
  max-width: 100%;
}

.intro-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.3;
}

.intro-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* BUTTON */
.btn-lime {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  padding: 11px 46px;
  border-radius: 50px;        /* Pill shape - fully rounded */
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-lime:hover {
  background: #ffffff;
  color: var(--black);
  border: 2px solid var(--black);
}

/* ===== STATS ===== */
.stats {
  padding: 80px 0;
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 40px;
}

.stat-item h3 {
  font-size: 52px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--light-gray);
}

.services-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.services-left h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--black);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.accordion-btn:hover {
  color: var(--gray);
}

.accordion-btn .accordion-title {
  flex: 1;
}

.accordion-btn .icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-btn .icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 300px;
}

.accordion-content p {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.services-right img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

/* ===== CLIENTS ===== */
.clients {
  padding: 80px 0;
  background: #ffffff;
}

.clients h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--black);
}

.clients-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
  background: transparent;
}

.clients-track-container {
  overflow: hidden;
  flex: 1;
}

.clients-track {
  display: flex;
  gap: 60px;
  transition: transform 0.4s ease;
}

.client-item {
  min-width: calc(25% - 45px);
  border-radius: 12px;
  transition: all 0.3s ease;
  background: transparent;
  padding: 30px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  box-shadow: none;
}

.client-item:hover {
  filter: brightness(0.92) grayscale(0.2);
}

.client-item img {
  max-width: 170%;
  max-height: 128px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ARROWS - MINIMAL CHEVRONS */
.slider-btn {
  background: transparent;
  color: var(--black);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
}

.slider-btn:hover:not(:disabled) {
  background: var(--black);
  color: var(--white);
}

.slider-btn:disabled {
  background: transparent;
  color: #cccccc;
  cursor: not-allowed;
}

.slider-btn svg {
  width: 24px;
  height: 24px;
}


/* ===== FOOTER ===== */
.site-footer {
  background: #f8f8f8;
  padding: 60px 0 30px;
  border-top: 1px solid #e8e8e8;
}

.footer-top {
  text-align: center;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  display: inline-block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

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

.footer-col ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.footer-col ul li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--black);
}

.footer-col ul li svg {
  color: #888;
  flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
  font-size: 13px;
  color: #888;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  background: #ffffff;
}

.social-links a:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.social-links a svg {
  display: block;
}



/* ===== ABOUT PAGE ===== */

/* About Hero */
.about-hero {
  padding: 140px 0 80px;
  background: #ffffff;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero-text h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--black);
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-img-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

/* Founder Section */
.founder {
  padding: 80px 0;
  background: #ffffff;
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.founder-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

.founder-text h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--black);
}

.founder-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.founder-name {
  margin-top: 24px;
}

.founder-name strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.founder-name span {
  font-size: 14px;
  color: var(--gray);
}

/* Mission & Vision */
.mission-vision {
  padding: 80px 0;
  background: #f8f8f8;
}

.mission-vision h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--black);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  
  transition: all 0.4s ease;
}

.mv-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.mv-icon {
  color: var(--black);
  margin-bottom: 16px;
}

.mv-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.mv-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* Watermark Logo - Grey on hover */
.mv-watermark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.mv-watermark img {
  height: 80px;
  width: auto;
  filter: grayscale(100%) opacity(0.15);
  transition: all 0.4s ease;
}

.mv-card:hover .mv-watermark {
  opacity: 1;
}

.mv-card:hover .mv-watermark img {
  filter: grayscale(100%) opacity(0.25);
  transform: scale(1.1);
}

/* Strategic Partner */
.strategic {
  padding: 100px 0;
  background: #ffffff;
}

.strategic-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.strategic-text h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--black);
}

.strategic-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.strategic-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

/* About Services */
.about-services {
  padding: 80px 0;
  background: #f8f8f8;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--black);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.service-text h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--black);
}

.service-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* ===== WHAT WE OFFER ===== */
.what-we-offer {
  padding: 80px 0;
  background: #ffffff;
}

.what-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.what-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
}

.what-arrows {
  display: flex;
  gap: 16px;
}

/* Minimal chevron arrows - NO circle border */
.arrow-btn {
  width: 62px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  padding: 0;
}

.arrow-btn:hover {
  opacity: 0.6;
}

.arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.arrow-btn svg {
  width: 24px;
  height: 24px;
}

/* Offer cards - horizontal scroll row */
.offer-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.offer-grid::-webkit-scrollbar {
  display: none;
}

.offer-card {
  flex: 0 0 calc(25% - 18px);
  scroll-snap-align: start;
  text-align: center;
}

.offer-card img {
  width: 100%;
  height: 320px;          /* Taller images */
  object-fit: cover;
  border-radius: 16px;    /* More rounded corners */
  margin-bottom: 20px;
}

/* Bolder titles */
.offer-card h4 {
  font-size: 16px;
  font-weight: 700;       /* Bolder */
  margin-bottom: 12px;
  color: var(--black);
}

.offer-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

/* ===== ABOUT PAGE HEADER - BLACK TEXT ===== */
.about-page .site-header {
  background: #ffffff;
  /*box-shadow: 0 2px 20px rgba(0,0,0,0.08); */
}

.about-page .site-header .logo-white {
  opacity: 0;
}

.about-page .site-header .logo-dark {
  opacity: 1;
}

.about-page .nav ul li a {
  color: var(--black);
}

.about-page .nav ul li a.active,
.about-page .nav ul li.current-menu-item > a,
.about-page .nav ul li.current_page_item > a {
  border-bottom: 2px solid var(--lime);
}

.about-page .nav ul li a:hover {
  color: var(--gray);
}


/* ===== CONTACT PAGE HEADER - TRANSPARENT OVER HERO ===== */
.contact-page .site-header {
  background: transparent;        /* Transparent over hero */
  box-shadow: none;               /* No shadow on hero */
}

.contact-page .site-header.scrolled {
  background: #ffffff;            /* White when scrolled */
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.contact-page .site-header .logo-white {
  opacity: 1;                     /* White logo visible */
}

.contact-page .site-header .logo-dark {
  opacity: 0;                     /* Dark logo hidden */
}

.contact-page .site-header.scrolled .logo-white {
  opacity: 0;                     /* White logo hidden on scroll */
}

.contact-page .site-header.scrolled .logo-dark {
  opacity: 1;                     /* Dark logo visible on scroll */
}

.contact-page .nav ul li a {
  color: var(--white);            /* White text over hero */
}

.contact-page .site-header.scrolled .nav ul li a {
  color: var(--black);            /* Black text when scrolled */
}

.contact-page .nav ul li a.active,
.contact-page .nav ul li.current-menu-item > a,
.contact-page .nav ul li.current_page_item > a {
  border-bottom: 2px solid var(--lime);
}

.contact-page .nav ul li a:hover {
  opacity: 0.7;
}

/* ===== CONTACT HERO ===== */
.contact-hero {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  background-image: url('/maap/images/Building\ 15.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.contact-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);  /* Dark overlay */
}

.contact-hero-content {
  position: relative;
  z-index: 2;
}

.contact-hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}

/* ===== GET IN TOUCH ===== */
.get-in-touch {
  padding: 80px 0;
  background: #ffffff;
}

.form-header {
  text-align: center;
  margin-bottom: 50px;
}

.form-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.form-header p {
  font-size: 15px;
  color: #888;
}

/* Contact Form */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  margin-bottom: 24px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--black);
  background: #fafafa;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
  background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  text-align: center;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.contact-info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

.contact-info-details h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 40px;
  color: var(--black);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.info-text span {
  font-size: 14px;
  color: #666;
}

.info-text a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-text a:hover {
  color: var(--black);
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-list span {
  font-size: 13px;
  color: #666;
}

/* Form Messages */
.form-message {
  max-width: 800px;
  margin: 0 auto 24px;
  padding: 16px 24px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ===== PORTFOLIO HERO ===== */
.portfolio-hero {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  background-image: url('/maap/images/Building\ 16.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.portfolio-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.portfolio-hero-content {
  position: relative;
  z-index: 1;
}

.portfolio-hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.portfolio-hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--white);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

/* ===== CATEGORY GRID ===== */
.project-categories {
  padding: 80px 0;
  background: #ffffff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-label span {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.category-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ===== CATEGORY HERO ===== */
.category-hero {
  width: 100%;
  height: 40vh;
  min-height: 300px;
  background-image: url('/maap/images/Building\ 17.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.category-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.category-hero-content {
  position: relative;
  z-index: 1;
}

.category-hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
  padding: 80px 0;
  background: #ffffff;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

  .project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
  }

.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 80%;
}

.project-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.project-link {
  font-size: 12px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: var(--black);
}

/* ===== PROJECT DETAIL ===== */
.project-detail {
  padding: 80px 0;
  background: #ffffff;
}

.project-detail > .container > h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--black);
}

.project-category {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.project-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 30px;
  align-items: start;
}

.project-images img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

/* Override the absolute-positioned .project-info badge inside detail page */
.project-detail-inner .project-info {
  position: static;
  padding: 0;
  background: none;
  box-shadow: none;
  max-width: none;
  border-radius: 0;
}

.project-detail-inner .project-info h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--black);
}

.project-detail-inner .project-info p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meta-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.meta-item span {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

page-id-17 .site-header {
    background: #ffffff;
  }
  .page-id-17 .site-header .logo-white {
    opacity: 0;
  }
  .page-id-17 .site-header .logo-dark {
    opacity: 1;
  }
  .page-id-17 .nav ul li a {
    color: var(--black);
  }
  .page-id-17 .nav ul li a:hover {
    color: var(--gray);
  }
 .project-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-top: 24px;
    margin-bottom: 16px;
  }
.project-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
  }

  .project-left img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
  }

  .project-right {
    padding-top: 8px;
  }

  .project-right .project-description {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
  }
 .project-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--black);
    margin-top: 12px;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .project-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
  }
 .project-left-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
  }

  .project-left img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
  }

 .project-category {  
	 display: block;
    font-size: 12px;    
	 font-weight: 700;
    color: var(--black);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .project-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .project-right .project-description {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
  }

/* ===================================================
   CAREERS PAGE
   =================================================== */

/* ----- Hero ----- */
.careers-hero {
  width: 100%;
  height: 50vh;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.careers-hero--short {
  height: 36vh;
  min-height: 200px;
}
.careers-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.careers-hero-content {
  position: relative;
  z-index: 1;
}
.careers-hero-content h1 {
  font-family: var(--heading-font);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

/* ----- Build Your Future ----- */
.careers-build {
  padding: 90px 0;
  background: var(--white);
}
.careers-build-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.careers-build-text h2 {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 24px;
  line-height: 1.25;
}
.careers-build-text p {
  font-family: var(--font);
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 16px;
}
.careers-build-text p:last-child { margin-bottom: 0; }
.careers-build-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 380px;
}

/* ----- Why Join MAAP ----- */
.careers-why {
  padding: 90px 0;
  background: var(--light-gray);
}
.section-title-center {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 800;
  color: var(--black);
  text-align: center;
  margin-bottom: 56px;
}
.careers-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.benefit-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #E6FD25;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.benefit-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.benefit-card h3 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}
.benefit-card p {
  font-family: var(--font);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
}

/* ----- Open Positions ----- */
.open-positions {
  padding: 90px 0;
  background: var(--white);
}
.open-positions .section-title-center {
  margin-bottom: 48px;
}
.positions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.position-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.position-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}
.position-card-header h3 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.position-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.position-meta span {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.4px;
}
.pos-department {
  background: rgba(200,255,0,0.15);
  color: #4a5a00;
}
.pos-location {
  background: var(--light-gray);
  color: #555;
}
.pos-type {
  background: var(--light-gray);
  color: #555;
}
.position-excerpt {
  font-family: var(--font);
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  flex: 1;
}
.no-positions {
  text-align: center;
  font-size: 16px;
  color: var(--gray);
  padding: 40px 0;
}

/* ----- Apply Now Button ----- */
.btn-lime {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
}
.btn-lime:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-full {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 15px;
}

/* ----- Apply Modal (desktop) ----- */
.apply-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.apply-modal.open {
  display: flex;
}
.apply-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.70);
  cursor: pointer;
}
.apply-modal-content {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  width: 90%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #888;
  transition: color 0.2s ease;
}
.modal-close:hover { color: var(--black); }
.modal-header {
  margin-bottom: 32px;
}
.modal-header h2 {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}
.modal-position-name {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}

/* ----- Apply Form ----- */
.apply-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s ease;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lime);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.full-width {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

/* ----- File Drop Zone ----- */
.file-drop-zone {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--lime);
  background: rgba(200,255,0,0.04);
}
.file-drop-zone p {
  font-size: 13px;
  color: #555;
  margin: 8px 0 4px;
}
.file-drop-zone span {
  font-size: 12px;
  color: #aaa;
}
.file-drop-zone .file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
}
.file-name-display {
  font-size: 12px;
  color: #4a5a00;
  margin-top: 6px;
  font-weight: 500;
}

/* ----- Form messages ----- */
.form-message {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}
.form-message.success {
  background: #f0fff0;
  border: 1px solid #9cda9c;
  color: #2d6e2d;
}
.form-message.error {
  background: #fff0f0;
  border: 1px solid #f5a5a5;
  color: #8b2020;
}

/* ----- Apply Page (mobile full-page form) ----- */
.apply-page-section {
  padding: 60px 0 80px;
  background: var(--white);
}
.apply-page-card {
  max-width: 560px;
  margin: 0 auto;
}
.apply-page-header {
  text-align: center;
  margin-bottom: 36px;
}
.apply-page-header h2 {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}
.apply-page-header p {
  font-family: var(--font);
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}
.apply-form--page .form-group {
  margin-bottom: 20px;
}

/* ===================================================
   CAREERS — RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .careers-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .careers-build-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .careers-build-img {
    order: -1;
  }
  .careers-build-img img {
    max-height: 260px;
  }
  .careers-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .positions-grid {
    grid-template-columns: 1fr;
  }
  .apply-form-grid {
    grid-template-columns: 1fr;
  }
  .apply-modal-content {
    padding: 32px 24px;
    border-radius: 12px 12px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
  }
  .apply-modal {
    align-items: flex-end;
  }
}