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

/* Global Styles */
html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Figtree", sans-serif;
}

/* Scroll Snap (only on hero) */
html {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

/* Fixed Hero Image Background */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #B5B5B5;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -2;
}

.hero-img {
  width: 100vw;
  height: auto;
  position: relative;
  z-index: -2;
  transition: opacity 1.5s ease;
  opacity: 0;
}

.hero-img.fade-in {
  opacity: 1;
}

/* Fixed Logo Box */
.logo-box {
  position: fixed;
  top: -1px;
  left: -1px;
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* for iOS Safari */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: all 0.4s ease;
  cursor: pointer;
}

.logo {
  max-width: 100%;
  max-height: 100%;
}

/* Snap Container */
.snap-container {
  scroll-snap-type: y mandatory;
  height: 100vh;
  overflow-y: scroll;
}

.side-panel {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  height: 100vh;
  background-color: rgba(61, 60, 63, 0.35);
  z-index: 14;
  transition: left 0.4s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);         /* Main blur effect */
  -webkit-backdrop-filter: blur(8px); 
}

.side-panel.open {
  left: 0;
}

.close-pill {
  position: absolute;
  top: 32px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 16px;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  cursor: pointer;
  color: white;
  width: fit-content;
  margin-left: 24px;
  transition: background-color 0.3s ease;
}

.x-icon {
  font-size: 20px;
  line-height: 1;
}

/* Push logo when menu is open */
.logo-box.pushed {
  transform: translate(400px);
}

.contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4242AD;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px 24px;
  z-index: 1000;
}

.contact-overlay.active {
  display: flex;
}

.close-icon {
  position: absolute;
  top: 48px;
  right: 48px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 1000;
}

.close-icon .bar {
  position: absolute;
  width: 48px;
  height: 6px;
  background-color: #ffffff; /* Match your menu close color */
  top: 50%;
  left: 0;
  transform-origin: center;
  transition: all 0.3s ease;
}

.close-icon .bar1 {
  transform: rotate(45deg);
}

.close-icon .bar2 {
  transform: rotate(-45deg);
}

.close-icon:hover {
  opacity: 0.7;              /* Slight fade on hover */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 600px;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Figtree', sans-serif;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #4242AD;
  background-color: #e0ebff;
  color: #4242AD;
  border-radius: 2px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-family: 'Figtree', sans-serif;
  font-weight: 600; /* Bold */
  font-size: 16px;
  color: #4242AD;
  opacity: 1; /* Ensures full color opacity in all browsers */
}

.contact-form textarea {
  resize: none; /* Prevents manual resizing and hides the drag handle */
}

.contact-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 140px;
  line-height: 96px;
  color: #e0ebff;
  margin-bottom: 64px;
  text-align: center; /* Optional: center-align the heading */
}

.submit-button {
  background-color: #ffffff;
  color: #4242AD;
  font-size: 20px;
  font-weight: 600;
  border: none;
  padding: 0px;
  border-radius: 100px;
  cursor: pointer;
  width: 120px;
  height: 56px;
  margin: 0 auto; /* Horizontally center */
  display: block;
}

.submit-button:hover {
  opacity: 0.8;              /* Slight fade on hover */
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(255, 255, 255, 0.6);
}

.contact-icons {
  position: fixed;
  bottom: 48px;
  left: 48px;
  display: flex;
  gap: 16px;
  z-index: 1001; /* above overlay content but below close icon */
}

.contact-icons img {
  width: 56px;
  height: 56px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact-icons img:hover {
  opacity: 0.7;
}

.copy-toast {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: #FE8952;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2000;
}

.copy-toast.active {
  opacity: 1;
  pointer-events: auto;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 24px;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  padding-top: 72px;
  padding-left: 48px;
}

.side-nav .project-link {
  font-size: 18px; /* smaller than 28px */
  font-weight: 300;
  opacity: 0.8;
  color: #fff;
  margin-top: -16px;
}

.side-nav a {
  position: relative;
  padding-bottom: 6px; /* space for the underline */
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
  display: inline-block;
  width: 300px;
}

.side-nav a:hover {
  opacity: 0.6;
}

.side-nav a.project-link:hover {
  opacity: 1;
  font-weight: 500;
}

.side-nav a.active {
  color: #dff574; /* your orange */
  font-weight: 500;
}

.side-nav a {
  position: relative; /* anchor for the line */
}

.side-nav a.active::before {
  content: "";
  position: absolute;
  left: -12px;              /* 4px to the left of the text */
  top: 40%;
  transform: translateY(-50%);
  width: 1.6px;
  height: 24px;
  background-color:  #dff574; /* green */
  border-radius: 2px;
}

.close-pill:hover {
  opacity: 0.6;
}


.blur-overlay {
  position: fixed;
  top: 0;
  left: 0; /* aligns right next to the side panel */
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(16, 76, 230, 0.1);
  z-index: 9; /* under logo-box (15) and menu (14) */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.blur-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}


/* Hero Section (empty just to trigger scroll) */
.section {
  scroll-snap-align: start;
  width: 100vw;
  position: relative;
}

.hero-section {
  height: 100vh;
}

/* Content Section (all scrolling content here) */
.content-section {
  min-height: 100vh; /* Instead of fixed height */
  background: white;
  padding-top: 120px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 24px;
  height: auto;
}

/* 3 Columns Layout */
.columns {
  display: flex;
  gap: 5%;
  margin-bottom: 56px;
}

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

.col-1 {
  font-weight: 500;
  font-size: 16px;
  width: 10%;
}

.col-2 {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
}

.scope-items p {
  margin: 2px 0;
}

.col-3 {
  width: 45%;
  line-height: 1.5;
  text-align: justify;
  font-size: 16px;
  padding-right: 24px;
  max-width: 640px;
  gap: 12px;
}

.bold {
  font-weight: 600;
}

/* Project Content Starts */
.project-content {
  padding: 0 0 24px 0;
}

/* Full Width Image */
.full-width img {
  width: 100%;
  display: block;
  margin-bottom: 24px;
}

/* Text + Image Row */
.text-image-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.text-box {
  flex: 1;
  max-width: 50%;
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
}

.image-box {
  flex: 2;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Two Column Layout */
.two-columns {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.two-columns .column:first-child {
  flex: 3; /* Two-thirds */
}

.two-columns .column:last-child {
  flex: 2; /* One-third */
}

.column-image {
  width: 100%;
  display: block;
  margin-bottom: 24px;
}

.column-text {
  font-size: 14px;
  line-height: 1.5;
  max-width: 560px;
  text-align: justify;
}

.footer-section {
  margin-top: 80px;
  background-color: white;
}

.footer-divider {
  height: 1px;
  background-color: black;
  margin-bottom: 24px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 0px;
}

.footer-heading {
  font-size: 20px;
  font-weight: 400;
  padding-bottom: 0px;
}

.footer-carousel {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
}

.carousel-item {
  flex: 0 0 calc((100% - 48px) / 3); /* 3 items with 2 gaps of 24px */
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
}

.carousel-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-image:hover {
  opacity: 0.8;
}

.carousel-title {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}

.carousel-link {
  text-decoration: none;
  color: black;
}

.carousel-link:hover .carousel-title {
  opacity: 0.6;
}




@media (max-width: 760px) {
  .content-section {
    padding-top: 100px;
  }

  .scope-items p {
    margin-top: 0;
  }

  .hero-img {
    content: url("Images/Pro_Hero Image_Mobile.png");
  }

  /* Fix the columns */
  .columns {
    flex-direction: column;
    gap: 16px;
    text-align: left;
    margin-bottom: 24px;
  }

  .col-1,
  .col-2,
  .col-3 {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .col-3 {
    margin-top: 16px;
    margin-right: 16px;
    max-width: 100%;
    font-size: 14px;
  }
  
  /* Make images fill the container without overflow */
  img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Text-image row fixes */
  .text-image-row {
    flex-direction: column;
    gap: 24px;
  }

  .text-box,
  .image-box {
    max-width: 100%;
    flex: none;
  }

  /* Two column section fix */
  .two-columns {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 0px;
  }

  .two-columns .column {
    width: 100%;
  }

  .column-text {
    max-width: 100%;
  }

  .columns {
    display: flex;
    gap: 24px;
    margin-bottom: 56px;
}

.footer-section {
  margin-top: 0px;
}

.footer-content {
  gap: 24px;
}

.footer-carousel {
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-right: -24px;
  padding-right: 24px;
  align-items: flex-start; /* Add this to prevent vertical shifting */
}

.carousel-text {
  flex: none; /* Reset flex to default */
    padding: 0;
}

.carousel-link {
  flex: 0 0 300px; /* Reduce size for mobile */
    max-width: 85%;
    align-self: flex-start;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Consistent alignment */
  height: auto; /* Let height be determined by content */
}

.footer-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
}


@media (max-width: 480px) {
  .logo-box {
    position: fixed;
    top: 0%;
    left: 0px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.4s ease;
  }
  
  .logo-box.shrunk {
    width: 48px;
    height: 48px;
    transition: all 0.4s ease;
  }

  .side-panel {
    position: fixed;
    top: 0;
    left: -100vw;        /* hide completely off-screen */
    width: 100vw;
    height: 100vh;
    padding: 16px 8px;
  }
  
  .side-panel.open {
    left: 0;
  }
  
  .logo-box.pushed {
    transform: translateX(100vw);
  }
  
  /* Nav links */
  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 20px;
    padding-left: 32px;
  }

  .side-nav .project-link {
    font-size: 16px; /* smaller than 28px */
    margin-top: -16px;
  }

  .close-pill {
    font-size: 14px;
  }

  .side-nav a {
    text-decoration: none;   /* no underline */
    color: white;            /* keep color white */
    transition: opacity 0.3s ease;
    position: relative; /* only animate opacity */
  }

  .side-nav a.active::before {
    content: "";
    position: absolute;
    left: -12px;              /* 4px to the left of the text */
    top: 40%;
    transform: translateY(-50%);
    width: 1.6px;
    height: 24px;
    background-color:  #dff574; /* green */
    border-radius: 2px;
  }

  .contact-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 40px;
  }

  .close-icon {
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
  }
  
  .close-icon .bar {
    width: 40px;
    height: 6px;
  }

  .contact-icons {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 1001;
  }
  
  .contact-icons img {
    width: 40px;
    height: 40px;
  }

  .pill {
    width: 32px;
    height: 6px;
  }

  .submit-button {
    height: 48px;
    line-height: 48px;
  }
}