
/* ==========================================
   AKOGUN SEC
   Surveying & Environmental Consultancy
   Brand: Blue, Red and Orange
========================================== */

/* 1. GLOBAL STYLES */
:root {
  --blue: #073b7a;
  --blue-dark: #052951;
  --blue-light: #eaf1f9;
  --red: #d62832;
  --orange: #f28c28;
  --orange-dark: #dc7414;
  --white: #ffffff;
  --background: #f5f7fa;
  --text: #253347;
  --muted: #65748b;
  --border: #e1e7ef;
  --shadow: 0 12px 35px rgba(5, 41, 81, 0.09);
  --radius: 12px;
  --container: 1200px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: "DM Sans", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
  line-height: 1.25;
  color: var(--blue-dark);
}

p {
  margin-bottom: 14px;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section-pad {
  padding: 95px 0;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 9999;
  padding: 12px 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 5px;
}

.skip-link:focus {
  top: 15px;
}

/* 2. TOP CONTACT BAR */
.topbar {
  position: relative;
  z-index: 1002;
  color: var(--white);
  background: var(--blue-dark);
  font-size: 12px;
}

.topbar-inner {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-inner p {
  margin: 0;
}

.topbar-inner p span {
  color: var(--orange);
  margin-right: 6px;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--transition);
}

.topbar-contact a:hover {
  color: var(--orange);
}

/* 3. MAIN HEADER AND NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(7, 59, 122, 0.09);
  box-shadow: 0 4px 20px rgba(5, 41, 81, 0.05);
}

.nav-wrap {
  min-height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.site-header .brand img {
  width: 190px;
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nav-link {
  position: relative;
  padding: 12px 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  padding: 10px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
  transition: background-color var(--transition), border-color var(--transition);
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 4. BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-orange {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 6px 16px rgba(242, 140, 40, 0.18);
}

.button-orange:hover {
  background: var(--orange-dark);
  box-shadow: 0 9px 22px rgba(242, 140, 40, 0.25);
}

.button-blue {
  color: var(--white);
  background: var(--blue);
}

.button-blue:hover {
  background: var(--blue-dark);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}

.button-outline:hover {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--white);
}

.header-cta {
  min-height: 43px;
  padding: 10px 15px;
  white-space: nowrap;
}

/* 5. HERO CAROUSEL */

/* HERO CAROUSEL */
.hero {
    position: relative;
    min-height: 650px;
    height: min(760px, calc(100vh - 130px));
    overflow: hidden;
    isolation: isolate;
    color: var(--white);
    background: var(--blue-dark);
}

/* Individual slides */
.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;

    visibility: hidden;
    opacity: 1;
    pointer-events: none;

    transform: translateX(100%);
    transition: transform 0.8s ease;
}

/* Currently active slide */
.hero-slide.is-active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* Slide background image */
.hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(3, 27, 58, 0.68) 0%,
            rgba(3, 35, 72, 0.52) 48%,
            rgba(3, 35, 72, 0.18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(3, 27, 58, 0.18),
            transparent 50%
        );
}
.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 60px;
  padding-bottom: 85px;
  color: var(--white);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  display: inline-block;
  width: 28px;
  height: 3px;
  flex: 0 0 28px;
  background: var(--red);
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 23px;
  color: var(--white);
  font-size: clamp(36px, 5.1vw, 65px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.13;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 29px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.hero-note span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(242, 140, 40, 0.16);
}

/* .hero-corner {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.hero-corner-red {
  top: 0;
  right: 0;
  width: 90px;
  height: 7px;
  background: var(--red);
}

.hero-corner-orange {
  top: 7px;
  right: 0;
  width: 58px;
  height: 7px;
  background: var(--orange);
} */

.hero-controls {
  position: absolute;
  z-index: 10;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  cursor: pointer;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  transition: var(--transition);
}

.hero-arrow:hover {
  color: var(--blue-dark);
  background: var(--orange);
  border-color: var(--orange);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.hero-dot.is-active {
  width: 26px;
  border-radius: 8px;
  background: var(--orange);
}

/* 6. SECTION HEADINGS */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  margin-bottom: 13px;
}

.eyebrow-dark {
  color: var(--blue);
}

.section-heading h2,
.about-copy h2,
.founder-copy h2,
.contact-intro h2 {
  font-size: clamp(29px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -1.2px;
}

.section-heading > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* 7. FOUNDER SECTION */
.founder-section {
  background: var(--white);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 75px;
}


.founder-portrait {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--blue-light);
  border-radius: var(--radius);
}

.founder-portrait > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Show more of the founder portrait on tablet screens */
@media (min-width: 769px) and (max-width: 900px) {
  .founder-portrait {
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .founder-portrait > img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius);
  }
}

.founder-portrait > img.founder-logo-placeholder {
  padding: 50px;
  object-fit: contain;
  background: var(--blue-light);
}

.founder-photo-caption {
  position: absolute;
  right: 15px;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  color: var(--white);
  background: rgba(5, 41, 81, 0.94);
  border-left: 4px solid var(--orange);
  border-radius: 5px;
}

.founder-caption-mark,
.label-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--white);
  background: var(--red);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.founder-photo-caption strong,
.founder-photo-caption small {
  display: block;
}

.founder-photo-caption strong {
  font-size: 14px;
}

.founder-photo-caption small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
}

.founder-copy h2 {
  margin-bottom: 22px;
}

.founder-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.founder-short-note {
  padding-left: 17px;
  border-left: 3px solid var(--orange);
}

.founder-details {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.founder-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 19px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.founder-details summary::-webkit-details-marker {
  display: none;
}

.details-plus {
  color: var(--orange);
  font-size: 23px;
  transition: transform var(--transition);
}

.founder-details[open] .details-plus {
  transform: rotate(45deg);
}

.founder-full-profile {
  padding: 5px 19px 20px;
}

.founder-full-profile h3 {
  margin-bottom: 14px;
  font-size: 17px;
}

.founder-full-profile p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
}

.founder-full-profile strong {
  color: var(--blue);
}

.profile-reminder {
  padding: 12px;
  background: var(--blue-light);
  border-left: 3px solid var(--orange);
}

/* 8. SERVICES */
.services {
  background: var(--background);
}

.services-heading {
  align-items: flex-end;
}

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

.service-item {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: 0 5px 20px rgba(5, 41, 81, 0.035);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-item:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 140, 40, 0.65);
  box-shadow: var(--shadow);
}

.service-image {
  width: 100%;
  height: 215px;
  object-fit: cover;
  background: var(--blue-light);
  transition: transform 0.5s ease;
}

.service-item:hover .service-image {
  transform: scale(1.035);
}

.service-body {
  position: relative;
  padding: 24px 21px 25px;
  background: var(--white);
}

.service-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 21px;
  width: 42px;
  height: 3px;
  background: var(--orange);
}

.service-body h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.45;
}

.service-body p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  transition: color var(--transition);
}

.text-link span {
  color: var(--red);
  transition: transform var(--transition);
}

.text-link:hover {
  color: var(--red);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* 9. STAFF AND TEAM */
.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.team-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 7px 24px rgba(5, 41, 81, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.team-photo {
  height: 320px;
  overflow: hidden;
  background: var(--blue-light);
  border-bottom: 3px solid var(--orange);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

.team-card-copy {
  padding: 22px;
}

.team-card-copy h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.team-card-copy p {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

/* 10. ABOUT THE COMPANY */
.about {
  background: var(--blue-light);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}

.about-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #dbe4ef;
  border-radius: var(--radius);
}

.about-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-label {
  position: absolute;
  right: 15px;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--white);
  background: rgba(5, 41, 81, 0.94);
  border-left: 4px solid var(--orange);
}

.photo-label strong,
.photo-label small {
  display: block;
}

.photo-label strong {
  font-size: 14px;
}

.photo-label small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.about-copy .eyebrow {
  margin-bottom: 15px;
}

.about-copy h2 {
  margin-bottom: 22px;
}

.about-copy > p:not(.eyebrow) {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.about-copy .button {
  margin-top: 12px;
}

/* 11. MISSION AND VISION */
.mission-vision {
  background: var(--white);
}

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

.purpose-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(5, 41, 81, 0.04);
}

.mission-card {
  border-top: 4px solid var(--blue);
}

.vision-card {
  border-top: 4px solid var(--red);
}

.purpose-symbol {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  color: var(--white);
  background: var(--blue);
  border-radius: 9px;
  font-size: 29px;
}

.vision-card .purpose-symbol {
  background: var(--red);
}

.purpose-kicker {
  margin-bottom: 7px;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.purpose-card h3 {
  margin-bottom: 13px;
  font-size: 22px;
}

.placeholder-copy {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.edit-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: italic;
}

/* 12. PROJECT ENQUIRY PANEL */
.projects {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
}

.project-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 60px;
}

.project-panel .eyebrow {
  color: var(--orange);
}

.project-panel h2 {
  max-width: 600px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(30px, 3.5vw, 43px);
  letter-spacing: -1px;
}

.project-panel > div:first-child > p:not(.eyebrow) {
  max-width: 550px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.9;
}

.project-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 59, 122, 0.65), rgba(5, 41, 81, 0.88)),
    url("images/founder%20image%20(8).jpeg")
    center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.visual-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.ring-two {
  width: 145px;
  height: 145px;
  border-color: var(--orange);
}

.visual-cross {
  position: relative;
  z-index: 1;
  color: var(--orange);
  font-size: 70px;
  font-weight: 300;
}

.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px;
  color: var(--white);
  background: rgba(5, 41, 81, 0.9);
  border-left: 3px solid var(--red);
}

.visual-caption strong {
  display: block;
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 1.5px;
}

.visual-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}

/* 13. ONSITE PROJECT GALLERY */
.onsite-section {
  background: var(--background);
}

.onsite-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 255px;
  gap: 20px;
}

.onsite-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #dce5ef;
  border-radius: var(--radius);
  box-shadow: 0 7px 22px rgba(5, 41, 81, 0.08);
}

.onsite-photo-large {
  grid-row: span 2;
}

.onsite-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.onsite-photo:hover img {
  transform: scale(1.045);
}

.onsite-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 40px 20px 18px;
  color: var(--white);
  background: linear-gradient(
    to top,
    rgba(5, 41, 81, 0.95),
    rgba(5, 41, 81, 0)
  );
}

.onsite-photo figcaption strong {
  font-size: 16px;
}

.onsite-photo figcaption span {
  color: rgba(255, 255, 255, 0.83);
  font-size: 12px;
}

/* 14. CONTACT SECTION */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 70px;
}

.contact-intro h2 {
  margin-bottom: 20px;
}

.contact-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-method:hover {
  transform: translateX(3px);
  border-color: var(--orange);
}

.contact-method > span:nth-child(1) {
  flex: 1;
}

.contact-method small,
.contact-method strong {
  display: block;
}

.contact-method small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.contact-method strong {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: 14px;
}

.method-arrow {
  color: var(--red);
  font-size: 21px;
}

.method-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--white);
  background: var(--blue);
  border-radius: 7px;
}

.placeholder-warning {
  margin-top: 18px;
  padding: 12px 14px;
  color: #845116;
  background: #fff5e8;
  border-left: 3px solid var(--orange);
  font-size: 11px;
  line-height: 1.7;
}

/* Enquiry form */
.enquiry-form {
  padding: 35px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.enquiry-form h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.form-intro {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.enquiry-form label {
  display: block;
  margin: 17px 0 7px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.enquiry-form label span {
  color: var(--red);
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  padding: 12px 14px;
  color: var(--text);
  background: #fbfcfe;
  border: 1px solid #d9e1eb;
  border-radius: 5px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.enquiry-form textarea {
  min-height: 120px;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 59, 122, 0.09);
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
  color: #9aa6b5;
}

.form-submit {
  width: 100%;
  margin-top: 24px;
  border: 0;
}

.form-help {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  transition: all var(--transition);
}

.form-help.is-success {
  margin-top: 14px;
  padding: 12px 16px;
  color: #14532d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.form-help.is-error {
  margin-top: 14px;
  padding: 12px 16px;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

@keyframes formGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.5);
    border-color: var(--orange);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(242, 140, 40, 0.2);
    border-color: var(--orange);
  }
  100% {
    box-shadow: var(--shadow);
    border-color: var(--border);
  }
}

.enquiry-form.form-pulse {
  animation: formGlow 1.2s ease-in-out;
}

/* 15. FOOTER */
.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #041f40;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr 1fr;
  gap: 40px;
  padding-top: 65px;
  padding-bottom: 55px;
}

.footer-brand img {
  width: 185px;
  max-height: 85px;
  margin-bottom: 22px;
  padding: 8px;
  object-fit: contain;
  background: var(--white);
  border-radius: 5px;
}

.footer-brand p {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  line-height: 1.9;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-column h2 {
  position: relative;
  margin-bottom: 13px;
  padding-bottom: 12px;
  color: var(--white);
  font-size: 16px;
}

.footer-column h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--orange);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  overflow-wrap: anywhere;
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--orange);
}

.footer-contact h3 {
  margin-top: 14px;
  color: var(--white);
  font-size: 14px;
}

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

.footer-column .social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

.footer-column .social-links a:hover {
  transform: translateY(-3px);
  color: var(--white);
  background: var(--red);
}

.social-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.footer-bottom a {
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
}

/* 16. SCROLL REVEAL
   Works with app.js if it toggles .visible or .is-visible. */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.animate-on-scroll.visible,
.reveal.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 17. TABLET */
@media (max-width: 1100px) {
  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .nav-wrap {
    gap: 16px;
  }

  .site-header .brand img {
    width: 165px;
  }

  .navigation {
    gap: 13px;
  }

  .nav-link {
    font-size: 12px;
  }

  .header-cta {
    padding-inline: 12px;
    font-size: 11px;
  }

  .founder-grid,
  .about-grid,
  .contact-grid {
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
}

/* 18. MOBILE NAVIGATION AND LAYOUT */
@media (max-width: 800px) {
  .topbar-inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .topbar-inner > p {
    font-size: 10px;
  }

  .topbar-contact {
    gap: 12px;
  }

  .topbar-contact a {
    font-size: 10px;
  }

  .nav-wrap {
    position: relative;
    min-height: 78px;
    justify-content: space-between;
  }

  .site-header .brand img {
    width: 165px;
    max-height: 65px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .header-cta {
    margin-left: auto;
  }

  .navigation {
    position: absolute;
    top: 100%;
    right: -18px;
    left: -18px;
    z-index: 1001;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 18px;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 15px 25px rgba(5, 41, 81, 0.12);
  }

  /* Supports common mobile-menu class names. */
  .navigation.open,
  .navigation.is-open,
  .navigation.active {
    display: flex;
    flex-direction: column;
  }

  .navigation .nav-link {
    padding: 13px 4px;
    border-bottom: 1px solid #edf0f5;
    font-size: 13px;
  }

  .navigation .nav-link::after {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 610px;
  }

  .hero-slide {
    padding: 50px 0 95px;
  }

  .hero-content {
    padding-top: 20px;
    padding-bottom: 35px;
  }

  .hero h1 {
    font-size: clamp(34px, 7vw, 49px);
    letter-spacing: -1px;
  }

  .hero-copy {
    max-width: 540px;
    font-size: 14px;
  }

  .hero-controls {
    right: 18px;
    bottom: 18px;
  }

  .section-pad {
    padding: 70px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-heading > p {
    max-width: 600px;
  }

  .founder-grid,
  .about-grid,
  .contact-grid,
  .project-panel {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .founder-portrait {
    min-height: 430px;
  }

  .about-photo {
    min-height: 350px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 320px;
  }

  .enquiry-form {
    padding: 28px;
  }
}

/* Mobile hero carousel adjustments */
@media (max-width: 768px) {
  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(3, 27, 58, 0.68) 0%,
        rgba(3, 35, 72, 0.52) 55%,
        rgba(3, 35, 72, 0.30) 100%
      ),
      linear-gradient(
        0deg,
        rgba(3, 27, 58, 0.18),
        transparent 50%
      );
  }
}


/* Mobile navigation menu */
@media (max-width: 768px) {
  .navigation.is-open {
    display: flex;
    flex-direction: column;
  }
}


/* 19. SMALL MOBILE SCREENS */
@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .topbar-inner > p {
    font-size: 10px;
  }

  .topbar-contact {
    flex-wrap: wrap;
    gap: 6px 16px;
  }

  .nav-wrap {
    min-height: 72px;
    gap: 8px;
  }

  .site-header .brand img {
    width: 125px;
    max-height: 58px;
  }

  .header-cta {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 10px;
  }

  .menu-toggle {
    width: 39px;
    height: 39px;
    padding: 8px;
  }

  .navigation {
    right: -16px;
    left: -16px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-slide {
    padding-top: 40px;
    padding-bottom: 90px;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(3, 27, 58, 0.52),
      rgba(3, 35, 72, 0.62)
    );
  }

  .hero h1 {
    font-size: clamp(31px, 8vw, 40px);
    line-height: 1.18;
  }

  .hero-copy {
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    max-width: 290px;
    font-size: 10px;
  }

  .hero-controls {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 23px;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
  }

  .hero-dot.is-active {
    width: 21px;
  }

  .section-pad {
    padding: 58px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .founder-copy h2,
  .contact-intro h2 {
    font-size: 29px;
  }

  .services-grid,
  .team-grid,
  .onsite-gallery {
    grid-template-columns: 1fr;
  }

  .service-image {
    height: 225px;
  }

  .team-photo {
    height: 320px;
  }

  .onsite-gallery {
    grid-auto-rows: 260px;
  }

  .onsite-photo-large {
    grid-row: auto;
  }

  .founder-portrait {
    min-height: 350px;
  }

  .founder-photo-caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 12px;
  }

  .founder-photo-caption small {
    font-size: 9px;
  }

  .purpose-card {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .project-panel h2 {
    font-size: 30px;
  }

  .project-visual {
    min-height: 280px;
  }

  .contact-method {
    padding: 15px;
  }

  .contact-method strong {
    font-size: 12px;
  }

  .enquiry-form {
    padding: 22px 18px;
  }

  .enquiry-form h3 {
    font-size: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

/* 20. REDUCED MOTION ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   FOUNDER PROFESSIONAL VALUES
========================================= */

.founder-values {
    margin-top: 28px;
    padding: 28px;
    background: #f5f8fc;
    border-left: 4px solid var(--orange);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 8px 25px rgba(3, 27, 58, 0.06);
}

.founder-values-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.founder-values-line {
    display: inline-block;
    width: 28px;
    height: 3px;
    background: var(--red);
    flex-shrink: 0;
}

.founder-values-label {
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.founder-values h3 {
    margin: 0 0 16px;
    color: var(--blue-dark);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.3;
    font-weight: 800;
}

.founder-values-intro {
    margin: 0 0 22px;
    color: #46556a;
    font-size: 15px;
    line-height: 1.9;
}

.founder-values h4 {
    margin: 0 0 16px;
    color: var(--blue-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.founder-achievements {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.founder-achievements li {
    position: relative;
    padding: 0 0 13px 28px;
    color: #46556a;
    font-size: 14px;
    line-height: 1.8;
    border-bottom: 1px solid rgba(3, 27, 58, 0.09);
}

.founder-achievements li::before {
    content: "✓";
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    color: var(--white);
    background: var(--blue-dark);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.founder-achievements li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.founder-values-conclusion {
    margin: 22px 0 0;
    padding: 16px 18px;
    color: var(--blue-dark);
    background: rgba(242, 140, 40, 0.10);
    border-radius: 8px;
    border-left: 3px solid var(--orange);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

/* Mobile layout */
@media (max-width: 600px) {
    .founder-values {
        margin-top: 22px;
        padding: 20px 17px;
    }

    .founder-values-intro,
    .founder-achievements li {
        font-size: 14px;
    }

    .founder-values-conclusion {
        padding: 13px;
    }
}



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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
}

.social-links a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}


/* =====================================
   PROJECT PORTFOLIO
===================================== */

.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 42px 0 28px;
}

.project-filter {
  padding: 10px 17px;
  border: 1px solid rgba(20, 55, 95, 0.16);
  border-radius: 30px;
  background: transparent;
  color: var(--blue-dark);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.project-filter:hover,
.project-filter.active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 55, 95, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(10, 35, 65, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInCard 0.45s ease forwards;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(10, 35, 65, 0.13);
}

.project-card[hidden] {
  display: none;
}

.project-card-image {
  position: relative;
  min-height: 220px;
  background-color: var(--blue-light);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.project-card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(3, 27, 58, 0.55),
    transparent 65%
  );
  content: "";
}

.project-category {
  position: absolute;
  z-index: 1;
  bottom: 15px;
  left: 15px;
  padding: 7px 11px;
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.project-card-content {
  padding: 23px;
}

.project-card-number {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.project-card-content h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 1.2rem;
  line-height: 1.4;
}

.project-card-content > p:not(.project-card-number) {
  margin: 0 0 20px;
  color: #5d6877;
  font-size: 0.94rem;
  line-height: 1.75;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 55, 95, 0.1);
  color: #647084;
  font-size: 0.78rem;
}

.project-status > span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--orange);
}

.social-links a svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform var(--transition);
}

.social-links a:hover svg {
  transform: scale(1.12);
}

/* Project Card images with approved local high-res site photography */
.project-image-survey {
  background-image:
    linear-gradient(rgba(8, 34, 62, 0.25), rgba(8, 34, 62, 0.45)),
    url("images/founder%20image%20(6).jpeg");
}

.project-image-estate {
  background-image:
    linear-gradient(rgba(8, 34, 62, 0.25), rgba(8, 34, 62, 0.45)),
    url("images/Dessin%20Industriel.jpg");
}

.project-image-construction {
  background-image:
    linear-gradient(rgba(8, 34, 62, 0.25), rgba(8, 34, 62, 0.45)),
    url("images/site-work.jpeg");
}

.project-image-property {
  background-image:
    linear-gradient(rgba(8, 34, 62, 0.25), rgba(8, 34, 62, 0.45)),
    url("images/site-work1.jpeg");
}

/* Tablet */
@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 560px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card-image {
    min-height: 210px;
  }

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

  .project-filters {
    justify-content: flex-start;
  }
}

/* =====================================
   21. SUBPAGES (ABOUT, SERVICES, TEAM, PROJECTS, CONTACT)
===================================== */
.page-banner {
  position: relative;
  padding: 85px 0 70px;
  background:
    linear-gradient(135deg, rgba(5, 41, 81, 0.94) 0%, rgba(7, 59, 122, 0.88) 100%),
    url("images/site-work.jpeg") center/cover no-repeat;
  color: var(--white);
  border-bottom: 4px solid var(--orange);
}

.page-banner-content {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
  color: var(--orange);
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-banner p.lead {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

/* Breadcrumb separator */
.breadcrumbs span[aria-hidden="true"] {
  opacity: 0.5;
}

/* Feature Grid for About & Services */
.features-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 45px;
}

@media (max-width: 768px) {
  .features-split-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.feature-box {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(5, 41, 81, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}

.feature-box-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--blue-dark);
}

.feature-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* Detailed Services Cards */
.services-detailed-list {
  display: grid;
  gap: 35px;
  margin-top: 40px;
}

.service-card-detailed {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(5, 41, 81, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card-detailed:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(5, 41, 81, 0.12);
}

.service-card-image {
  position: relative;
  min-height: 280px;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-info {
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-info h3 {
  font-size: 24px;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.service-card-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 20px;
}

.service-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .service-card-detailed {
    grid-template-columns: 1fr;
  }
  .service-card-image {
    min-height: 220px;
  }
  .service-card-info {
    padding: 24px;
  }
}

/* Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  position: relative;
  padding: 30px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 4px solid var(--blue);
  transition: transform var(--transition);
}

.process-step-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--orange);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 18px;
  font-size: 14px;
}

.process-step-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--blue-dark);
}

.process-step-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* Projects Dynamic Filter Bar & Search */
.projects-header-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 35px 0 30px;
}

.project-search-box {
  position: relative;
  min-width: 260px;
}

.project-search-box input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: var(--white);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.project-search-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 59, 122, 0.08);
}

.project-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
}

.project-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.project-meta-pill svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Project Detail Modal */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 41, 81, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
  from {
    transform: scale(0.94) translateY(15px);
  }
  to {
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--blue-dark);
  cursor: pointer;
  transition: background var(--transition);
}

.modal-close-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.modal-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: var(--blue-light);
}

.modal-body {
  padding: 30px;
}

.modal-body h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 16px 0;
  margin: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.modal-meta-item small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-meta-item strong {
  font-size: 14px;
  color: var(--blue-dark);
}

.modal-body p {
  font-size: 14px;
  line-height: 1.85;
  color: #4a5568;
}

/* Admin Portal Floating Pill */
.admin-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  transition: all var(--transition);
}

.admin-portal-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
