:root {
  --blue: #0b4f8a;
  --blue-light: #e5f0fa;
  --grey-dark: #333333;
  --grey-mid: #bfc4cc;
  --grey-light: #f4f5f7;
  --white: #ffffff;
  --max-width: 1400px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--grey-dark);
  background-color: var(--white);
}

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

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-divider {
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
}

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

/* Typography */

h1,
h2,
h3 {
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--blue);
}

h2 {
  font-size: 2rem;
  color: var(--blue);
}

h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey-dark);
}

p {
  margin: 0 0 16px;
  line-height: 1.6;
  color: #444;
}

/* Buttons */

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary:hover {
  background-color: #083a65;
}

.btn-outline {
  background-color: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background-color: var(--blue-light);
}

/* Header / Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Ensure vertical alignment with menu */
.main-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-dark);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Minimal hover effect */
.nav-list a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* Dropdown */

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--white);
  border: 1px solid var(--grey-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  list-style: none;
  padding: 8px 0;
  margin: 12px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.dropdown li a {
  display: block;
  padding: 8px 16px;
  border-bottom: none;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.dropdown li a:hover {
  background-color: var(--blue-light);
  color: var(--blue);
}

/* Smooth hover interaction */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hero */

.hero {
  padding-top: 96px;
  background-color: var(--white);
}

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

.hero-text p {
  max-width: 480px;
}

.intro {
  margin-top: 56px;
  border-top: 1px solid var(--grey-light);
  padding-top: 32px;
}

.services-preview {
  margin-top: 56px;
}

.card {
  border: 1px solid var(--grey-light);
  padding: 24px;
  border-radius: 12px;
  background-color: #fafbfc;
}

.section-header {
  margin-bottom: 32px;
}

.featured-projects {
  margin-top: 72px;
  border-top: 1px solid var(--grey-light);
  padding-top: 48px;
}

.project {
  border-radius: 12px;
}

/* Placeholder images */

.placeholder-image {
  border-radius: 12px;
  border: 1px dashed var(--grey-mid);
  background-color: var(--grey-light);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-mid);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-image {
  min-height: 260px;
}

.map {
  min-height: 220px;
}

.cta-row {
  margin-top: 32px;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  border-left: 1px solid var(--grey-light);
  padding-left: 24px;
}

/* Services */

.service-block {
  padding: 32px 0;
  border-top: 1px solid var(--grey-light);
}

.service-block:last-of-type {
  border-bottom: 1px solid var(--grey-light);
}

/* Contact */

.contact-form {
  border: 1px solid var(--grey-light);
  padding: 24px;
  border-radius: 12px;
  background-color: #fafbfc;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--grey-dark);
}

input,
select,
textarea {
  border-radius: 6px;
  border: 1px solid var(--grey-mid);
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue-light);
}

.contact-details > div {
  margin-bottom: 24px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--grey-light);
  padding: 24px 0;
  background-color: #fafbfc;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #777;
}

/* Mobile Navigation */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--grey-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger animation */
.nav-toggle.nav-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.nav-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.nav-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .two-column,
  .grid-3,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--grey-light);
    padding-top: 24px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--grey-light);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .main-nav.nav-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
  }

  .has-dropdown {
    width: 100%;
  }

  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    margin: 8px 0 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
  }

  .dropdown li a {
    padding: 6px 0 6px 12px;
  }

  .hero {
    padding-top: 88px;
  }
}
.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

.social-icons a img {
  width: 26px;
  height: 26px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.services-preview .section-title {

  margin-bottom: 40px;
  font-size: 2.4rem;
  font-weight: 600;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}



.service-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}


.service-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15); /* much lighter */
  transition: background 0.3s ease;
}

.service-card:hover .overlay {
  background: rgba(0,0,0,0.05); /* almost transparent on hover */
}


.service-content {
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* KEY FIX */
  height: 100%;
}

.service-content h3 {
  margin: 0;
}

.service-content p {
  margin: 12px 0;
  flex-grow: 1; /* keeps the gap centered */
}

.read-more {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.9;
}
.service-content h3,
.service-content p,
.service-content .read-more {
  color: #fff;
}
.social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: brightness(0) saturate(100%) invert(20%) sepia(90%) saturate(600%) hue-rotate(190deg);
}

.social-icons a:hover img {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(800%) hue-rotate(190deg);
}
.social-icons,
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icons a svg,
.footer-social a svg {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover svg,
.footer-social a:hover svg {
  transform: scale(1.1);
  opacity: 0.8;
}
.footer-copy {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #333;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
}

.footer-social a svg {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social a:hover svg {
  transform: scale(1.12);
  opacity: 0.75;
}
