@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");

/* Base Styles */
:root {
  --primary-color: #e6262c;
  --secondary-color: #333;
  --dark-gray: #444;
  --light-gray: #f5f5f5;
  --white: #fff;
  --black: #000;
  --footer-bg: #333;
}

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

::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}

::-webkit-scrollbar {
  width: 6px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background-color: #6a6a69;
}

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: var(--secondary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Lazy Loading Styles */
.lazy-load {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  filter: blur(5px);
  position: relative;
  z-index: 2;
}

.lazy-load[src],
.loaded {
  opacity: 1;
  filter: blur(0);
  transition: opacity 1s ease-in-out, filter 1s ease-in-out;
}

/* Image placeholder for lazy loading */
.image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(15px);
  z-index: 1;
  transform: scale(1.1);
}

/* Background lazy loading */
section[data-src] {
  background-color: var(--dark-bg);
  /* Placeholder color before image loads */
  transition: background-image 0.5s ease-in-out;
  position: relative;
}

/* Section animations */
.section-hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: none;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.background-loaded {
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 1;
  }
}

/* Add staggered animation for service cards */
.service-grid .service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out,
    box-shadow 0.3s ease, transform 0.3s ease;
}

.section-visible .service-card:nth-child(1) {
  transition-delay: 0.1s;
}

.section-visible .service-card:nth-child(2) {
  transition-delay: 0.2s;
}

.section-visible .service-card:nth-child(3) {
  transition-delay: 0.3s;
}

.section-visible .service-card:nth-child(4) {
  transition-delay: 0.4s;
}

.section-visible .service-card {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #c01e23;
}

.highlight {
  color: #1F3D1B;
  font-weight: 800;
}


/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: 22px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 18px 0;
}

header.inner-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 18px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

nav ul {
  display: flex;
  margin: 0;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  transition: color 0.3s ease;
  color: #000;
  font-family: Lato;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

nav ul li a.active,
nav ul li a:hover {
  color: #1F3D1B;
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.cta-button .btn {
  border-radius: 10px;
  background: #1F3D1B;
  box-shadow: 0px 20px 50px 0px rgba(230, 0, 19, 0.05);
  display: flex;
  padding: 12px 40px;
  justify-content: center;
  align-items: center;
  color: #fffbee;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  outline: none;
  border: 0;
}

.hero-content .btn,
.capabilities .btn {
  border-radius: 10px;
  background: #1F3D1B;
  box-shadow: 0px 20px 50px 0px rgba(230, 0, 19, 0.05);
  display: flex;
  max-width: 170px;
  padding: 12px 40px;
  justify-content: center;
  align-items: center;
  color: #fffbee;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  outline: none;
  border: 0;
}

/* Hero Section */
.hero {
  padding: 95px 0 0px 0;
  background: rgba(229, 216, 197, 0.50);
  position: relative;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 77vh;
}

.hero-content {
  flex: 1;
  opacity: 1 !important;
  transform: none !important;
}

.hero-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  right: 0;
  top: 95px;
  height: 450px;
}

.hero h1 {
  color: #000;
  font-family: Lato;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 72px;
  text-transform: capitalize;
  margin-bottom: 25px;
}

.hero p {
  color: #2B2B2B;
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 30px;
}

/* Intro Section */
.intro {
  padding: 50px 0;
  text-align: center;
  background-color: var(--white);
}

.intro p {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 50px 0;
  background-color: #fff;
}

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

.section-heading {
  flex: 0 0 43%;
}

.section-label {
  color: #0F73F6;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 3.2px;
  margin-bottom: 10px;
  display: block;
}


.about.inner-about {
  padding: 110px 0 50px 0;
  margin-top: 20px;
}

.about .about-container {
  display: flex;
  align-items: center;
  border-radius: 40px;
  background: rgba(236, 63, 77, 0.1);
  gap: 10px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.about-content {
  flex: 1;
  padding: 10px 20px;
}

.about h2 {
  color: #1c1c1e;
  font-size: 40px;
  font-weight: 400;
  line-height: 50px;
}

.about-content p {
  color: #4a4a4a;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

.about-description {
  flex: 0 0 48%;
}

.about-description p {
  color: #222;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 20px;
}

.about-gallery {
  display: flex;
  gap: 20px;
}

.gallery-image.large {
  flex: 1.5;
  height: 525px;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.two-col-gallery {
  display: grid;
  column-gap: 20px;
  row-gap: inherit;
}

/* Capabilities Section */
.capabilities {
  padding: 80px 0;
  background-color: var(--white);
  text-align: center;
}

.capabilities.inner-capabilities {
  padding-top: 110px;
  margin-top: 20px;
}

.capabilities .section-header {
  text-align: left;
}

.capabilities .section-label {
  color: #323390;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
  text-align: left;
}

.capabilities .top-section-header .section-label {
  text-align: center;
}

.capabilities .top-section-header h2,
.capabilities .top-section-header p {
  text-align: center;
}

.capabilities h2 {
  color: #000;
  text-align: left;
  font-size: 40px;
  font-weight: 400;
  line-height: 50px;
}

.capabilities-grid {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.capability-card {
  min-height: 184px;
  padding: 24px;
  border-radius: 20px;
  background: #F2EBE2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.capability-card.active-block {
  background: #1F3D1B;
}

.capability-card.active-block h3,
.capability-card.active-block p {
  color: #fff;
}

.capability-card h3 {
  color: #222;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 5px;
}

.capability-card p {
  color: #222;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}


/* Footer */
footer {
  background: rgba(242, 235, 226, 0.20);
  padding: 50px 0 0px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 0 0 48%;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: #222;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  max-width: 400px;
  margin: 0;
}

.footer-info {
  flex: 0 0 48%;
  display: flex;
  justify-content: end;
}

.contact-details h3 {
  color: #222;
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-info {
  display: flex;
  gap: 12px;
  margin-bottom: 5px;
}

.contact-info-icon i {
  color: #222;
  font-size: 15px;
  opacity: 0.6;
}

.contact-info-text {
  color: #222;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  opacity: 0.6;
}

.footer-bottom {
  text-align: center;
  background: #1F3D1B;
  padding: 25px;
}

.footer-bottom p {
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  margin: 0;
  opacity: 0.6;
}


/* Quote Section */
section.quote-section {
  background-image: linear-gradient(180deg, #ffffff, #f2f2f2);
  padding-top: 80px;
  padding-bottom: 50px;
}

section.quote-section .container {
    max-width: 1340px;
}

.quotation-block {
  border-radius: 10px;
  padding: 10px 40px 20px 40px;
  background: #fff;
}

.quote-header {
  text-align: center;
}

.quote-header h3 {
  color: #000;
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.6px;
}

.quote-header h3 span {
  color: #1F3D1B;
}

.quote-header p {
  color: #212a37;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.quotation-block .form-control {
  border-radius: 8px;
  border: 1px solid #212a37;
  background: #fff;
  padding: 5px;
  height: 40px;
  box-shadow: none;
}

.quotation-block label {
  color: #212a37;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.quotation-block .astrick {
  color: #f00;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.quotation-block .text-muted {
  color: #212a37;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-top: 10px;
  margin-bottom: 0;
}

.send-btn {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: end;
}

.send-btn .btn-reset {
  border-radius: 8px;
  border: 1px solid #212a37;
  background: #fff;
  padding: 15px 45px;
  color: #212a37;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.32px;
  outline: none;
}

.send-btn .btn-submit {
  border-radius: 8px;
  background: #1F3D1B;
  padding: 15px 45px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.32px;
  border: 1px solid #1F3D1B;
  outline: none;
}

.upload-box {
  border: 1px dashed #212a37;
  border-radius: 4px;
  padding: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.upload-box input[type="file"] {
  display: none;
}

.upload-box p {
  color: #212a37;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}

.upload-box label {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
  text-decoration: underline;
}

.equipment-overview {
  background: rgba(50, 51, 144, 0.05);
  position: relative;
  margin-bottom: 50px;
}

.services-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.equipment-overview .services-text {
  padding: 92px 0;
  flex: 1;
}

.equipment-overview .services-text .section-heading {
  flex: inherit;
  color: #2E2E2E;
  font-size: 32px;
  font-weight: 600;
  line-height: 38px;
  margin-bottom: 15px;
}

.equipment-overview .services-text p {
  color: #222;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  margin-bottom: 30px;
}

.services-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.equipment-overview .services-image img {
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.equipment-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.equipment-item {
  min-width: 32px;
  height: 32px;
  background: #323390;
  border-radius: 50%;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.equipment-item-text {
  color: #2E2E2E;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.additional-services {
  padding-bottom: 80px;
}

.additional-services-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.additional-services-text {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-direction: column;
  position: relative;
}

.additional-services-text::after {
  position: absolute;
  content: "";
  border-radius: 420px;
  opacity: 0.1;
  background: #1F3D1B;
  filter: blur(100px);
  width: 420px;
  height: 420px;
  right: 70px;
  bottom: -66px;
  z-index: -1;
}

.additional-services-text-container {
  border-radius: 20px;
  background: #FFF;
  box-shadow: 0px 4px 40px 0px rgba(29, 57, 95, 0.02);
  padding: 24px;
  display: flex;
  gap: 15px;
}

.additional-services-count {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #1F3D1B;
  color: #fff;
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.additional-services-text-content h3 {
  color: #222;
  font-size: 20px;
  font-style: normal;
  line-height: 30px;
}

.additional-services-text-content p {
  color: #222;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 0;
}

.contact-content .section-heading {
  color: #222;
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  margin-bottom: 15px;
}

.contact-content p {
  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
}

.contact-content b {
  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  margin-bottom: 10px;
  display: block;
}

.contact-info {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.contact-info-icon i {
  color: #222;
  font-size: 15px;
  opacity: 0.6;
}

.contact-info-text {
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  opacity: 1;
}

.contact-info-text a {
  color: #222;
  font-size: 16px;
  font-weight: 700;

}

/* Responsive Design */
@media screen and (max-width: 1199px) {
  .hero-image img {
    position: relative;
    top: 0;
  }

  .equipment-overview .services-image img {
    position: relative;
    right: inherit;
    top: inherit;
    width: auto;
  }
}

@media (max-width: 1024px) {
  .equipment-overview .services-image {
    display: none;
  }
}

@media (max-width: 992px) {

  .equipment-overview .services-text {
    padding: 40px 0;
  }

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

  .hero h1 {
    font-size: 2.5rem;
    line-height: 50px;
  }

  .about .about-container {
    align-items: self-start;
  }

  nav ul li {
    margin-left: 20px;
  }

  nav ul li a {
    letter-spacing: 0;
  }

  .logo img {
    height: 30px;
  }

  .about-content {
    display: block;
    padding: 30px 10px;
  }

  .copyright {
    text-align: center;
  }

  .contact-card {
    width: 100%;
  }

  .capabilities {
    padding: 40px 0;
  }

  .capabilities .section-header {
    margin-bottom: 50px;
  }

  .about-gallery {
    flex-direction: column;
  }

  .gallery-image.large {
    height: auto;
  }

  .gallery-grid {
    display: flex;
  }

  .two-col-gallery {
    display: flex;
  }

  .capabilities-content-section {
    display: block !important;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  .cta-button {
    order: 2;
  }

  .logo {
    order: 1;
    margin-left: 40px;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
  }

  nav.active {
    left: 0;
    padding-top: 50px;
  }

  nav ul {
    flex-direction: column;
    padding: 20px 20px 30px;
  }

  nav ul li {
    margin: 15px 0;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 1001;
  }

  .hero .container,
  .about .container {
    flex-direction: column;
  }

  .hero-content,
  .about-content,
  .about-image {
    width: 100%;
    padding: 0;
    margin: 0 0 30px 0;
  }

  .hero-content {
    margin: 30px 0 30px 0;
  }

  .hero-image img {
    display: none;
  }

  .hero .container {
    height: auto;
  }

  .hero-content .btn {
    width: 100%;
    max-width: 100%;
  }

  .footer-details {
    flex-direction: column;
    align-items: center;
  }

  .address {
    text-align: center;
  }

  .address,
  .contact,
  .hours {
    margin-bottom: 20px;
  }

  .about .about-container {
    display: block;
  }

  .about-image {
    margin: 0;
  }

  .about-image img {
    width: 100%;
  }

  .footer-top {
    display: block;
    text-align: center;
  }

  .footer-info {
    display: block;
    text-align: center;
  }

  .contact-info {
    display: block;
  }

  .contact-details {
    margin-top: 30px;
  }

  .additional-services-content {
    display: block;
  }

  .additional-services-image img {
    width: 100%;
    margin-bottom: 40px;
  }

  .additional-services-text {
    align-items: initial;
  }

  .contact-content .contact-info {
    display: flex;
  }


}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .intro p,
  .about p {
    font-size: 1rem;
  }
}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-container .loader {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #3452b6;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}