/* custom.css */

/* Move banner content to the left */
.banner .inner {
    position: relative !important; /* parent relative so badge positions correctly */
    width: 100%;
    height: 100vh; /* full viewport height */
    text-align: left !important;       /* Align text left */
    left: 25px !important;               /* Move slightly from left edge */
    right: auto !important;            /* Override right positioning */
    transform: translateY(-50%) !important; /* Keep vertical centering only */
    position: absolute !important;     /* Position over banner/video */
    top: 75% !important;               /* Vertical center */
    max-width: 600px;                   /* Optional: limit width */
}

#banner4 .inner {
    top: 65% !important;               /* Vertical center */
}

.banner .inner .button {
  margin: 0.5em 0.5em 0 0; /* space around each button */
}

/* BADGE */
.badge {
  position: absolute;
  bottom: 0%;
  right: -4%;
  width: 380px;
  z-index: 10;
}

/* === Mobile / Small Screens === */
@media screen and (max-width: 1280px) {

  /* Make banner full viewport height on mobile */
  .banner {
    height: 100vh !important;
    min-height: 100vh !important;
    aspect-ratio: auto !important;
    background: #000 !important;
    overflow: hidden !important;
  }

  .banner video,
  .banner iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* 👈 no cropping */
    display: block !important;
  }

  /* Center text on mobile */
  .banner .inner {
    margin-top: 80px; 
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important; /* center both vertically & horizontally */
    text-align: center !important;
    max-width: 90% !important; /* narrower on small screens */
  }

  #banner4 .inner {
    margin-top: 1px  !important;               /* Vertical center */
  }

  .banner .inner .button {
    margin: 0.5em auto; /* nice spacing + centered */
    display: inline-block;
  }

  /* Adjust badge for small screens */
  .banner .badge {
    width: 240px;        /* smaller badge */
    bottom: 4%;
    right: -12%;
  }


}


/* Tablet only */
@media screen and (min-width: 737px) and (max-width: 980px) {

}


/* ===========================
	What we Do SPANS
=========================== */
.what-we-do-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px; /* vertical and horizontal gap */
  margin: 20px 0;
}

.what-we-do-tags span {
  background: rgba(255,255,255,0.1) !important; /* subtle background */
  color: #fff !important; /* white text */
  padding: 6px 12px;
  border-radius: 20px; /* pill shape */
  font-size: 0.95rem;
  white-space: nowrap; /* keep text in one line */
  transition: transform 0.2s ease, background 0.2s ease;
}

.what-we-do-tags span:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.2);
}

/* Responsive: smaller padding & font on mobile */
@media screen and (max-width: 600px) {
  .what-we-do-tags span {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

/* ===========================
	Line animatrion
=========================== */
.draw-on-scroll {
  stroke-dashoffset: var(--dash, 280);
}
.restart {
  animation: drawLine 6s linear forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes drawLineDown { to { stroke-dashoffset: 0; } }


/* ===========================
	DOT NAV
=========================== */
#dot-nav {
  position: fixed;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

#dot-nav span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  transition: 0.2s;
}

#dot-nav span.active,
#dot-nav span:hover {
  background: #fff;
}

/* ===========================
	new buttons
=========================== */
.link-underline {
  position: relative;
  padding-bottom: 4px;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* spacing between arrow + text */
  transition: transform 0.25s ease;
}

.link-underline.arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* underline */
.link-underline:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.link-underline:hover:after {
  width: 100%;
}

/* arrow always visible */
.arrow::before {
  content: "→";
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

/* hover animation: arrow slides forward + text nudges */
.arrow:hover::before {
  transform: translateX(6px);
}

.arrow:hover {
  transform: translateX(3px);
}

/* ===========================
Modal for Get quote, contact us
=========================== */

/* modal overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 9999;
}

/* modal box */
.modal {
  background: #fff;
  max-width: 450px;
  width: 100%;
  padding: 30px;
  border-radius: 6px;
  position: relative;
}

/* close button */
.modal .close {
  position: absolute;
  cursor: pointer;
  right: 15px;
  top: 15px;
  font-size: 24px;
  color: #999;
}

.modal .close:hover {
  color: #111;
}

.modal form input,
.modal form textarea {
  width: 100%;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
}

.modal form textarea {
  height: 100px;
  resize: none;
}




.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2em;
}

.project-card {
	cursor: pointer;
	background: #fff;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	transition: transform .3s;
	text-align: center;
}

.project-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.project-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

#lightbox {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 999;
}

#lightbox img {
	max-width: 90%;
	max-height: 80%;
	border-radius: 8px;
	box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.lightbox-controls {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0 30px;
	color: #fff;
	font-size: 2em;
	cursor: pointer;
	user-select: none;
}


/* ===========================
left allign for review
=========================== */
  @media (min-width: 1024px) {
    .desktop-margin {
      margin-left: 50px;
    }
  }
  