/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html, body {
  overflow-x: hidden;
}


/* NAV */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}
.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #e5e5e5;
  font-size: 14px;
  letter-spacing: 1px;
}

.logo {
  font-weight: 500;
  letter-spacing: 2px;
}

/*attempting background*/
/* SERVICES BACKGROUND WRAPPER */
.services-bg {
  position: relative;
  background-image: url("../assets/Dune\ background2.JPEG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 110px;
  
}

/* Optional dark overlay for readability */
.services-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}


/* Keep content above overlay */
.services-bg > * {
  position: relative;
  z-index: 1;
}


/* INTRO SECTION */
.services-intro {
  min-height: 45vh;
  padding: 0 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* center horizontally */
  text-align: center;  /* center the text */
}

.services-intro h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;   /* normal weight, not bold */
  margin-bottom: 24px;
  color: #e5e5e5;
}

.services-intro p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 400;   /* normal weight */
  color: #e5e5e5;
}

/* RECTANGLES SECTION */
.services-rectangles {
  display: flex;
  flex-direction: column;
}

/* SERVICE CARD */
.service-card {
  position: relative;
  width: 100%;
  height: 35vh;
  overflow: hidden;
  margin-bottom: 0px;
  border: none;
  box-shadow: none;
}

/* CARD IMAGES */
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(0.8);
  opacity: 0;
  transition: opacity 0.65s ease;
  z-index: 1;
  
}


.service-card .hover-img {
  opacity: 0;
}

.service-card:hover .hover-img {
  opacity: 1;
}

/* TEXT OVERLAY */
.service-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-left: 8vw;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;  /* changed from 600 to 400 to make normal weight */
  color: #ffffff;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-text {
  opacity: 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 500;
  letter-spacing: 2px;
  color: #fff; /* make text white */
}

.logo img.logo-icon {
  height: 40px; /* adjust to taste */
  width: auto;
  margin-right: 10px; /* space between icon and text */
}

.logo {
  font-weight: 500;
  letter-spacing: 2px;
}

.logo img {
  height: 63px; /* adjust to taste */
  width: auto;
  display: block;
}

/* FOOTER */
.footer {
  padding: 60px 0 40px;
  width: 100%;
  position: relative;
  background: rgba(255,255,255, 0.08) /* 👈 blends with page */
}

.footer-content {
  max-width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  color: #ffffff; /* matches brand but softer */
}

/* LEFT */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-location {
  font-weight: 500;
}

.footer-email {
  opacity: 0.8;
}

/* SOCIAL ICONS BELOW EMAIL */
.footer-socials {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}

.footer-socials a {
  color: #144961;
  font-size: 20px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-socials a:hover {
  opacity: 1;
}



/* RIGHT */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #ffffff;
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.6;
}

/* Shrink header text on small screens */
@media (max-width: 480px) {
  .services-intro h1 {
    font-size: 2rem; /* smaller but readable */
    line-height: 1.2; /* keep it tight */
  }
  .services-intro p {
    font-size: 0.9rem; /* optional: shrink paragraph too */
  }
}




/* BLUR REVEAL */
.blur-reveal {
  opacity: 0;
  filter: blur(20px);
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    filter 0.8s ease;
}

.blur-reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

.service-text.blur-reveal {
  /* scroll-in */
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.service-card:hover .service-text {
  /* hover out */
  opacity: 0;
  transition: opacity 0.15s ease;
}


/* SERVICES HIGHLIGHT SECTION */
.services-highlight {
  width: 100%;
  padding: 10vh 50px;
  text-align: center;
  color: #e5e5e5;
}




.services-highlight h2 {
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 400;
  margin-bottom: 16px;
}

.services-highlight > p {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 80px;
}

/* GRID */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* SQUARE CARDS */
.highlight-card {
  min-height: 550px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 36px 28px 0px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;      /* centers horizontally */
  justify-content: flex-start; /* pushes content to the top */
  text-align: center;       /* centers text */
  transition: transform 0.35s ease, background 0.35s ease;
}


.highlight-card h3 {
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 25px;
 
}

.highlight-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  text-align: left;
}

/* HOVER */
.highlight-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.04);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}

/* SERVICES CTA */
.services-cta {
  margin-top: 0px;
  text-align: center;
}

.services-cta p {
  max-width: 800px;
  margin: 0 auto 32px;
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
  color: #e5e5e5;
}

/* BUTTON */
.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  margin-bottom: 110px;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-2px);
}
.cta-btn {
  backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
  .services-highlight {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (max-width: 768px) {
  .services-highlight {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}

@media (max-width: 768px) {
  .highlight-card {
    padding-left: 20px;
    padding-right: 20px;
  }
}


@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .logo {
    margin-right: auto;
  }

  .logo img {
    height: 42px;
  }

  .nav-links {
    display: flex;
    gap: 16px;
  }

  .nav-links a {
    margin-left: 0;
    font-size: 13px;
  }
}


@media (max-width: 768px) {
  .services-bg {
    padding-top: 90px;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 42px;
  }
}
