* {
  margin: 0;
  padding: 0;
  font-family: Familjen Grotesk, sans-serif;
}
html {
  scroll-behavior: smooth;
}
section {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
body {
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  margin: auto;
  padding: 20px;
}

header {
  top: 30px;
  width: 100%;
  z-index: 1000;
  background: rgba(34, 34, 34, 0.95);
  transition: all 0.3s ease;
}
/* Shrunk state */
header.shrink {
  padding: 8px 30px;
}

header.shrink .logo {
  height: 65px;
}

header.shrink .quote {
  font-size: 0.85rem;
}
header.scrolled {
  background: rgba(34, 33, 33, 0.95);
}
header.hide {
  transform: translateY(-100%);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.btn {
  background: #e63946;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 5px;
}
.hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.services {
  padding: 50px 0;
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
}

.why ul {
  list-style: none;
  margin-top: 20px;
}

.why li {
  margin: 10px 0;
}

.contact {
  padding: 50px 0;
  text-align: center;
}

.contact-box {
  margin-top: 20px;
  text-align: left;
}

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 15px 0;
}
.logo {
  height: 130px;  
  width: auto;
  transition: all 0.3s ease;
  padding: 2px;
}
.hero {
  background: url('images/main.jpg') center center / cover no-repeat;
   color: #fff;
  text-align: center;
  padding: 140px 20px;
  height: 50vh;
  position: relative;
  transition: transform 0.5s ease-out;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.hero .container {
  position: sticky;
  top: 40%;
  transform: translateY(-50%);
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  transition: all 0.3s ease;
}
.btn:hover {
  background: #c1121f;
  transform: scale(1.05);
}
html {
  scroll-behavior: smooth;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header-title {
  position: absolute;
  top: 9px;
  right: 110px;
   font-size: .8rem;
  font-weight: bold;
  letter-spacing: 1px;
  transform: translateX(-50%);
  color: rgb(232, 230, 230);
}
.email-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
/* Container layout */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding: 60px 20px;
  background: #111; /* Dark background like Wix */
  color: #fff;
   max-width: 1200px;
  margin: 0 auto;
}

/* Contact info */
.contact-info {
  flex: 1 1 300px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.contact-info p {
  margin-bottom: 12px;
  line-height: 1.5;
}

.contact-info a {
  color: #e63946;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Form */
.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-submit {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
   cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}contact-form textarea {
  padding: 14px 16px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0a5540;
  outline: none;
}

/* Textarea */
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}


.btn-submit:hover {
  background: #0a5540;
  transform: scale(1.03);
}

/* Responsive for mobile */
@media screen and (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(35, 35, 35, 0.5);
  }
}
.footer {
  background: #2c2c2c;
  color: #ccc;
  padding: 60px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 220px;
}

.footer-logo {
  height: 300px; /* bigger, but safe */
  width: auto;   /* maintain aspect ratio */
  margin-bottom: 20px;
}

/* Headings */
.footer-section h4 {
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

/* Links */
.footer a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #388b64;
}

/* Lists */
.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: 10px;
}

/* Contact box */
.contact-box p {
  margin-bottom: 10px;
}

/* Socials */
.socials {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.socials a {
  font-size: 13px;
  border-bottom: 1px solid transparent;
}

.socials a:hover {
  border-color: #0a5540;
}

/* Bottom bar */
.footer-bottom {
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  font-size: 13px;
}
/* Menu on right */
.menu {
  display: flex;
  gap: 40px;
}

.menu a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.menu a:hover {
  opacity: 0.6;
}
.menu a {
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 1px;
  background: white;
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}
/* Common styles for all socials */
.socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;         /* circle width */
  height: 40px;        /* circle height */
  border-radius: 50%;  /* makes it round */
  color: #fff;         /* icon color */
  background: #555;    /* default background for other icons */
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  margin-right: 10px;  /* spacing between icons */
}

/* Hover effect for all */
.socials a:hover {
  transform: scale(1.1);
   color: #2e8a5d;  
}
.quote {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;

  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f1f1f1;

  opacity: 0;
  animation: fadeSlide 1.2s ease forwards;
}
/* underline */
.quote::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: #0a5540;
  margin: 6px auto 0;
  transition: width 0.6s ease;
}

/* animate in */
header:hover .quote::after {
  width: 60%;
}
/* Wrapper: flex layout */
.request-service-wrapper {
  display: flex;
  align-items: stretch;   /* makes both form and image stretch full height */
  flex-wrap: nowrap;      /* keep side by side */
  min-height: 600px;      /* height of section */
  background: #f9f9f9;
}

/* Request Form: stretch vertically */
.request-box {
  flex: 1 1 500px;        /* flexible width */
  display: grid;
  flex-direction: column;
  justify-content: center; /* center content vertically */
  padding: 20px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Form inputs/buttons full width */
.request-box form input,
.request-box form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.request-box form button {
  background: #0a5540;
  color: #fff;
  border: none;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.request-box form button:hover {
  background: #c1121f;
  transform: scale(1.03);
}

/* Side Image: pinned to the right */
.request-image {
  position: sticky;
  top: 0;
  height: 100vh;
}

.request-image img {
  width: auto;
  height: 100%;           /* stretch full height of wrapper */
  object-fit: cover;      /* crop image to fit nicely */
}

/* Responsive: stack on mobile */
@media screen and (max-width: 768px) {
  .request-service-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .request-image img {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
}
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.phone-btn {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 12px;
   transition: all 0.3s ease;
}

.phone-btn:hover {
  background: #454545;
  transform: scale(1.05);
}
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.401),
    rgba(0, 0, 0, 0.046)
  );
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

/* Title */
.hero-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* Primary button */
.btn-primary {
  background: #0a5540;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
   transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #c1121f;
  transform: scale(1.05);
}

/* Secondary button */
.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
   transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #fff;
  color: #111;
}
.feature-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 400px;
   background: #f5f5f5;
}


.block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* Sizes */
.block-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, #e63946, #c1121f);
  color: #fff;
  text-align: right;
  position: relative;
}


.block-small {
  grid-column: span 1;
}

/* Typography */
.block h2, .block h3 {
  margin-bottom: 10px;
}

.block p {
  color: inherit;
  opacity: 0.9;
}
@media (max-width: 900px) {
  .feature-blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .block-large {
    grid-column: span 2;
    grid-row: span 1;
  }

 }

@media (max-width: 600px) {
  .feature-blocks {
    grid-template-columns: 1fr;
  }

  .block-large,
   .block-small {
    grid-column: span 1;
    grid-row: span 1;
  }
}
.block {
  position: relative;
  overflow: hidden;
   padding: 25px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-attachment: scroll;
  background-size: cover;
  transition: background-position 0.2s ease-out;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Dark overlay for readability */
.block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
 background: linear-gradient(rgba(0, 0, 0, 0.143), rgba(0, 0, 0, 0.171));
}

.bg-repair {
  background: url('images/repair.jpg') center/cover no-repeat;
}

.bg-diagnostics {
  background: url('images/diagnostics.jpg') center/cover no-repeat;
}

.bg-hydraulics {
  background: url('images/hydraulics.jpg') center/cover no-repeat;
}

.bg-maintenance {
  background: url('images/maintenance.jpg') center/cover no-repeat;
}
.feature-blocks .block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: right;
  padding: 40px;
}
/* Individual tweaks */
.block-1 h2 {
  transform: translate(-70px, 120px);
  font-size: 2.5rem;
  max-width: 500px;  
}

.block-2 h3 {
  transform: translate(-4px, -20px);
  font-size: 2rem;
}
.boxstyle2 h3 {
  width: 100%;
  text-align: center;
}
.block-3 h3 {
  transform: translate(-15px, 5px);
  font-size: 3rem;
  color: #343333;
}
.info-section {
  position: relative;
  padding: 140px 20px;
  background: radial-gradient(circle at top, #1f1f1f, #0f0f0f);
  color: white;
  overflow: hidden;
}
.info-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size: 60px 60px;
  animation: moveGrid 20s linear infinite;

  z-index: 0;
}

@keyframes moveGrid {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(60px, 60px);
  }
}
.info-section::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10,85,64,0.15), transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(80px);
  z-index: 0;
}
.info-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.info-content h1 {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.info-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #bdbdbd;
  margin-bottom: 30px;
}

.info-content p {
  color: #aaa;
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.equipment-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.equipment-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #ddd;
}

.equipment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #0a5540;
  border-radius: 50%;
}
.slide-up {
  animation: slideUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.300s; }
.delay-3 { transition-delay: 0.300s; }
.delay-4 { transition-delay: 0.600s; }
.delay-5 { transition-delay: 0.100s; }

.block-description1 {
  line-height: 1.5;
   margin-top: 15px;
   opacity: 0.9;
   color: #2b2a2a;
   text-align: left;
}
.boxstyle2 {
  width: 100%;
  margin-top: 0;
  padding-top: 10px;
  display: block;
  background: rgba(61, 60, 60, 0.483);
}
.block-2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* top */
}
.policy {
text-align: left;
padding: 10px;
}
.blocklargepara {
transform: translate(-300px, 130px);
font-size: 1.2rem;
z-index: 99;
}
.contacttext {
  margin-bottom: 20px;
  font-size: 2rem;
}
.picsection {
  background: url('images/lifts.jpg') center/cover no-repeat;
  inset: 0;
    position: relative;
  overflow: hidden;
}
/* text container */
.picbox {
  overflow: hidden;
}
.picfont {
  color: #ffffffce;
  font-size: 5rem;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-align: center;
  font-family: Familjen Grotesk, italic, sans-serif;
    display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  filter: blur(6px);
  animation: textDrop 6s ease-out forwards;
}
@keyframes textDrop {
  0% {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(6px);
  }

  60% {
    opacity: 1;
    filter: blur(0px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}
.picbox {
text-align: center;
margin: 0;
transform: translate(-15px, 5px);
padding: 200px;
}
.opc-overlay
{
position: relative;
  inset: 0;
  background: linear-gradient( rgba(0, 0, 0, 0.516), rgba(0, 0, 0, 0.259) );
  z-index: 1;
}
.footerlogo {
  height: 30px;
  width: auto;
  background: url('images/energy.png') center/contain no-repeat;
  padding: 16px 16px 16px 16px;
}
.footerstuffagain {
 padding: 8px;
}
.card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.containerheading {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
}
.containerquote {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  text-align: left;
}
.equipment-list li {
  font-size: 1.2rem;
  margin-bottom: 20px;
  cursor: pointer;
  color: #aaa;
  transition: all 0.3s ease;
}

.equipment-list li.active {
  color: #fff;
  transform: translateX(10px);
}

.equipment-list li:hover {
  transform: translateX(8px);
  color: #0a5540;
}
.infobutton {
  padding: 1px;
}
.slidepic {
  width: 200px;
  height: auto;
  margin: 20px auto;
  transition: all 0.3s ease;
  ;
}
.info-wrapper {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}

.info-left {
  flex: 1;
}

.info-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.info-right img {
  width: 100%;
  border-radius: 12px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.info-right img {
  transform: scale(1.02);
}

.info-right img.fade {
  transform: scale(1);
}
#feature-image {
  width: 80%;
  max-width: 380px;
}

@media (max-width: 900px) {
  .info-row {
    flex-direction: column;
    text-align: center;
  }

  #feature-image {
    width: 100%;
    max-width: 320px;
    height: 50px;
  }
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  margin: 50px 0;
}
/* ===== INITIAL STATE ===== */
.scroll-fade {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== ACTIVE STATE ===== */
.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* image pop effect */
#feature-image {
  opacity: 1;
  transform: scale(0.92);
  transition: all 0.8s ease;
}

#feature-image.show {
  opacity: 1;
  transform: scale(1);
}
.headerphone {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 1001;
  font-size: 20px;
  letter-spacing: 2px;
}
.phonestyle {
  color: #fff;
  text-decoration: azure;
  font-weight: bold;
  padding: 5px 10px;
  background: rgba(10, 85, 64, 0.502);
  transition: all 0.3s ease;
}
.phonestyle:hover {
  background: #0a5540;
  transform: scale(1.05);
}
.lowertext {
padding: 10px;
}
