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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #222;
}

a {
  text-decoration: none;
  color: #000;
  margin-left: 20px;
  font-weight: 500;
}

h3 a {
  margin-left: 0;
}

header {
  position: relative;
}

.navbar {
  position: fixed; /* changed from absolute to fixed */
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10; /* ensure it's above slides */
  background-color: rgba(255, 255, 255, 0.95); /* translucent white */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px); /* optional glassy effect */
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.logo img {
  height: 32px; /* adjust as needed */
  width: auto;
  display: block;
}

.hero {
  height: 80vh;
  background: url('../images/landing_header.jpg') center/cover no-repeat;
}

.section {
  padding: 60px;
}

.container {
  max-width: 1140px;
  margin: auto;
}

.projects-section {
  background-color: #f9f9f7;
  padding: 100px 60px;
}

@media (max-width: 768px) {
  .projects-container {
    flex-direction: column;
    text-align: left;
    gap: 40px;
    padding: 0 20px;
  }

  .projects-text {
    max-width: 100%;
    text-align: left;
  }

  .project-types {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    justify-items: center;
  }

  .project-type {
    text-align: center;
  }

  .project-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
  }
  
  .project-type img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }
}

.projects-container {
  display: flex;
  align-items: flex-start;
  justify-content: left;
  gap: 60px; /* 👈 Controls equal spacing between text and icons */
  max-width: 1140px;
  margin: 0 auto;
}

.projects-text {
  flex: 1;
}

.projects-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.projects-text p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.project-types {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.project-type {
  text-align: center;
  flex: 1;
}

.project-type img {
  width: clamp(64px, 8vw, 146px); /* responsive size between 64px–96px */
  height: auto;
  margin-bottom: 12px;
}

.project-type span {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: #222;
}

@media (max-width: 480px) {
  .project-types {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .project-type {
    max-width: 100px;
  }
}

.project-category-filter {
  margin-top: 48px;
  text-align: center;
}

.project-categories {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.project-categories button {
  background: none;
  border: 1px solid #ccc;
  padding: 6px 16px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.project-categories button.active,
.project-categories button:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* ✅ Full-width isolated section without touching body */
.masonry-wrapper {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Masonry column layout */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.masonry-grid img {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  break-inside: avoid;
  border-radius: 0;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .masonry-grid {
    grid-template-columns: 1fr;
  }
}

.masonry-item {
  position: relative;
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  break-inside: avoid;
  overflow: hidden;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

/* Hover scale image slightly */
.masonry-item:hover img {
  transform: scale(1.03);
}

/* Overlay setup */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.masonry-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Overlay content styling */
.overlay-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: bold;
}

.overlay-content p {
  margin: 0;
  font-size: 14px;
  color: #444;
}


.see-all {
  margin-top: 32px;
  text-align: center;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.about-content .text {
  flex: 2;
}

.about-content .image {
  flex: 1;
}

.about-content .image img {
  width: 100%;
  border-radius: 6px;
}

/* MOBILE / TABLET LAYOUT */
@media (max-width: 768px) {
  .about-section {
    /* background-color: #111; */
    /* color: white; */
    text-align: center;
    padding: 60px 20px;
  }

  .about-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-content .text {
    max-width: 600px;
    margin-bottom: 30px;
  }

  .about-content .image {
    width: 100%;
    max-width: 300px;
  }

  .about-content strong {
    color: #00bcd4;
  }
}


.parallax {
  background: url('https://i.imgur.com/tfYlozG.jpg') center/cover fixed no-repeat;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}

.categories {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  font-size: 1.2rem;
}

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

.grid img {
  width: 100%;
  border-radius: 4px;
}

.press-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.press-grid img {
  width: 100%;
  border-radius: 4px;
}

.black-button {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 4px;
  cursor: pointer;
}

.footer {
  background: url('../images/footer-background.jpg') center/cover no-repeat;
  position: relative;
  padding: 80px 60px 30px;
  color: #eee;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* dark overlay */
  z-index: 0;
}

.footer-logo-row {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-left {
  flex: 3;
  min-width: 260px;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start; /* ensures button stays left aligned */
}

.footer-contact p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px; /* optional spacing between icon and text */
}

.footer-contact a {
  color: #ccc !important;
  text-decoration: none;
  padding: 0;
  margin: 0;
  line-height: inherit;
}

.footer-contact img {
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.footer-left h3 {
  font-size: 22px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.footer-left p,
.footer-contact p {
  font-size: 14px;
  color: #ccc;  /* Make sure this wins */
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-instagram {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
  margin: 0 0 16px 0;
  padding: 0;
  line-height: 1.6;
}

.footer-instagram img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  filter: brightness(0) invert(1); /* Makes black icon white-ish */
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-instagram:hover {
  color: #fff;
}

.footer-instagram:hover img {
  opacity: 1;
}

.footer .copyright {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.hero-slide:not(.active) {
  opacity: 0;
  pointer-events: none;
}

/* Positioning for hero content */
.hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: inherit; /* Inherit from modifier */
  z-index: 2;
  max-width: 600px;
  padding: 0 20px;
}

/* Variants */
.hero-slide.right .hero-content {
  right: 10%;
  text-align: right;
}

.hero-slide.left .hero-content {
  left: 10%;
  text-align: left;
}

.hero-slide.center .hero-content {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Hero Text */
.hero-content .subtitle {
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.hero-content .subtitle-highlight {
  background-color: white;
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  padding-left: 12px;
  padding-right: 12px;
}

.hero-content h1 {
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-content h1 .blue {
  color: white;
  background: #000;
  padding-left: 12px;
  padding-right: 12px;
}

/* Light text (for dark background images) */
.hero-light {
  color: #fff;
}

.hero-light h1 .blue {
  color: white;
  background: #000;
}

/* Dark text (for light background images) */
.hero-dark {
  color: #000;
}

.hero-dark h1 .blue {
  color: black;
  background: #fff;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background-color: #417db6;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #2c5c8e;
}

/* Gradient Overlay */
.hero-gradient-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.6) 20%, transparent 80%);
  z-index: 1;
}


/* PROJECT FILTERS */
.project-categories {
  display: flex;
  gap: 16px;
  margin: 30px 0;
}

.project-categories button {
  background: none;
  border: 1px solid #ccc;
  padding: 6px 16px;
  cursor: pointer;
  border-radius: 20px;
}

.project-categories button.active,
.project-categories button:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.see-all {
  text-align: center;
  margin-top: 20px;
}

/* PRESS CARDS */
.press-grid > div {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  flex: 1;
  text-align: center;
}

.press-grid h4 {
  margin-top: 10px;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }

  .projects-section {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

.hero-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 40px; /* reduced from 100px */
  width: 100%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

.about-section {
  padding: 100px 60px;
}

.about-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.about-content {
  display: flex;
  align-items: flex-start; /* 👈 aligns text and image to top */
  justify-content: space-between;
  gap: 60px;
}

.about-content .text {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 16px; /* spacing between paragraphs */
  text-align: left;
}

.about-content .text p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.about-content .text p:not(:last-child) {
  margin-bottom: 12px;
}

.about-content .image.framed {
  flex: 1;
  max-width: 300px;
  margin-top: -30px; /* 👈 pulls the image upward slightly */
}

.about-content .image.framed img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.workflow-section {
  background-color: #fff; /* adjust as needed */
  padding: 80px 20px;
  text-align: center;
}

.workflow-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.workflow-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.process-section {
  background-color: #ffffff; /* White background */
  color: #222;               /* Dark text for readability */
  padding: 60px 20px;
  text-align: center;
}

.process-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  color: #333;
}

.process-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

/* Step Card Style */
.process-step {
  background-color: #f9f9f9;           /* Light gray card */
  border: 2px solid #ddd;
  border-radius: 60px 60px 0 0;
  padding: 30px 25px;
  width: 280px;
  max-width: 90%;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.process-step h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #222;
}

.process-step p {
  font-size: 1em;
  color: #555;
  line-height: 1.5;
}

/* Responsive layout for small screens */
@media (max-width: 768px) {
  .process-container {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    width: 100%;
    max-width: 400px;
  }
}

.latest-news-section {
  padding: 80px 24px;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header h6 {
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 48px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.news-card {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
}

.news-card img {
  width: 100%;
  height: auto;
  display: block;
}

.news-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 16px;
}

.news-card .meta {
  font-size: 13px;
  color: #777;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 16px 8px;
}

.news-card p {
  font-size: 15px;
  color: #333;
  margin: 0 16px 24px;
  line-height: 1.5;
}

/* Entire navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
  z-index: 10;
}

/* Logo */
.logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* Hamburger style */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Nav links desktop */
#nav-menu {
  display: flex;
  gap: 20px;
}

/* Mobile style */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #nav-menu {
    position: absolute;
    top: 70px; /* below navbar */
    right: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    padding: 0 20px;
  }

  #nav-menu.expanded {
    max-height: 100vh; /* full screen height if needed */
    padding-top: 10px;
    padding-bottom: 10px;
  }  

  #nav-menu a {
    padding: 10px 0;
    width: 100%;
  }
}


.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background-color: #25D366;
  border-radius: 50%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-button img {
  width: 32px;
  height: 32px;
}

.footer-right-header {
  display: flex;
  align-items: center;
  gap: 8px; /* spacing between text and icon */
  margin-bottom: 12px;
}

.footer-right-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.instagram-icon img {
  width: 36px;   /* ⬅️ increased from 18px */
  height: 36px;
  display: inline-block;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.instagram-icon:hover img {
  transform: scale(1.1);
}

.whatsapp-cta-wrapper {
  margin-top: 20px;
  text-align: center;
}

.whatsapp-estimate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  margin-top: 10px;
  width: auto;          /* Don't stretch full width */
  max-width: 100%;      /* Prevent overflow */
  align-self: flex-start; /* Optional: align left inside flexbox */
}

.whatsapp-estimate img {
  width: 22px;
  height: 22px;
  display: inline-block;
}

.whatsapp-estimate:hover {
  background-color: #1ebe5d;
}


.whatsapp-estimate *,
.whatsapp-estimate img {
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.image-wrapper {
  position: relative;
  height: 200px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-wrapper.loading {
  background: #f3f3f3;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.phone-link {
  color: #ccc;
  text-decoration: none;
}

.contact-link {
  color: #ccc;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}
