/* === Hero Section === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../images/home_banner.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1;
}

.hero-content, .intro {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animated {
  opacity: 0;
  animation: fadeInUp 1s forwards;
}
.fade-up {
  animation-delay: 0.4s;
}
.fade-up.delay {
  animation-delay: 0.8s;
}

/* === Hero Content === */
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 0rem;
}

.hero-content a {
  background: red;
  color: white;
  padding: 0.75rem 0rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.hero-content a:hover {
  background: darkred;
  transform: scale(1.05);
}
.main-heading {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sub-heading {
  font-size: 1.25rem;
  margin-bottom: 0rem;
}
/* === Intro Section (Still inside hero) === */
.intro {
  margin-top: 0rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* === Responsive Adjustments === */
@media screen and (max-width: 768px) {
  .hero {
    height: auto;
    padding: 1rem 1rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .intro {
    font-size: 0rem;
  }
}

.html {
  scroll-behavior: smooth;
}

/* === Service Page === */
.service-card {
  background: white;
  padding: 1.5rem;
  margin: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0,0,0,0.2);
}

@media screen and (max-width: 768px) {
  .main-heading {
    font-size: 2rem;
  }

  .cta-button {
    padding: 0.5rem 1rem;
  }

  .hero {
    height: 70vh;
  }
}

body {
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  background-color: #111;
  scroll-behavior: smooth;
	overflow-x: hidden;
}
.section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  padding: 2rem 4rem;
  background-size: cover;
  background-position: center;
  position: relative;
}
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.section-content {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 4rem;
}
.section h1 {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
}
.section .text-list {
  max-width: 50%;
}
.section .text-list ul {
  list-style-type: square;
  font-size: 1.2rem;
}

/* Header Navigation Enhancements */
.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}
.navbar a:hover, .navbar a.active {
    color: red;
    border-top: 2px solid red;
}

/* Button Styling */
button, .btn, input[type="submit"] {
  background-color: red !important;
  border: none;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover, .btn:hover, input[type="submit"]:hover {
  background-color: darkred;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-item, .section, .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .contact-left, .contact-form {
    width: 100%;
  }
}

/* Specific Get Quote Button Styling */
.get-quote {
  background-color: red !important;
  color: white !important;
  border: none;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.get-quote:hover {
  background-color: darkred;
}




/* Navbar hover effect: black to red with red top border */
nav ul li a {
  position: relative;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: red;
}

nav ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background-color: red;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

nav ul li a:hover::before {
  transform: scaleX(1);
}

/* Red animated buttons */
button, .btn {
  background-color: red;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

button:hover, .btn:hover {
  transform: scale(1.05);
  background-color: darkred;
}
.gallery-section {
  padding: 40px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  background: #000000;
  border-radius: 10px;
  padding: 15px;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  border-radius: 8px;
}

.caption {
  margin-top: 10px;
  font-weight: bold;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  background: red;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: darkred;
}


/* Get Quote button */
.slide-content button {
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  border: none;
  background-color: #0055ff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slide-content button:hover {
  background-color: #003dcc;
}


.experience-section {
  background-color: #1a1a1a;
  padding: 15px 15px;
  text-align: center;
  color: #fff;
}


.experience-section h2 {
  font-size: 2.5rem;
  margin-top: 1px;   /* reduce spacing above the heading */
  margin-bottom: 10px;
  font-weight: 700;
  color: #ff4d4d;
}

.experience-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ccc;
}

.company-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.company-logos img {
  max-height: 60px;
  filter: grayscale(80%);
  transition: filter 0.3s ease, transform 0.3s ease;
  opacity: 0.8;
}

.company-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
  opacity: 1;
}

.ten-years-badge {
  max-width: 200px;
   display: block;
  margin: 0 auto 1px auto;
  animation: popIn 1s ease-out;
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- Auto-migrated styles from index.html --- */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: white;
  overflow-x: hidden;
}

.header {
  background: #000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-link {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link:hover,
.navbar a.active {
  color: red;
  border-top: 2px solid red;
  font-weight: bold;
  padding: 0.5rem 1rem;
}

.logo-img {
  height: 50px;
  transition: transform 0.3s ease;
}
.logo-img:hover {
  transform: rotate(-3deg) scale(1.1);
}

.hero {
  background: url('../images/home_banner.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.hero-content a.btn {
  background: #0055ff;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.hero-content a.btn:hover {
  background-color: #ff4d4d;
  transform: scale(1.05);
}

.intro {
  padding: 0rem 1rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

/* === Swiper Slide Layout === */
.swiper-container {
  width: 100%;
  height: 600px;
  margin: 0;
}

.slide-mining {
  background-image: url('../images/mining.jpg');
}
.slide-oil {
  background-image: url('../images/oil.jpg');
}
.slide-gas {
  background-image: url('../images/gas.jpg');
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  height: 550px;
  width: 100%;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  gap: 2rem;
}

/* Left Column: Title */
.slide-title {
  flex: 0 0 35%;
  text-align: right;
}

.slide-title h1 {
  font-size: 4rem;
  margin: 0;
}

/* Right Column: Content */
.slide-content {
  flex: 0 0 65%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.slide-content ul {
  font-size: 1.2rem;
  line-height: 1.8;
  list-style: none;
  padding: 0;
}

.slide-button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  background: #0055ff;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.slide-button:hover {
  background-color: #ff4d4d;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: #000;
  padding: 2rem;
  text-align: center;
  color: white;
}

/* Services */
.section {
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
  color: white;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.section-mining {
  background-image: url('../images/mining.jpg');
}
.section-oil {
  background-image: url('../images/oil.jpg');
}
.section-gas {
  background-image: url('../images/gas.jpg');
}

.section-content {
  max-width: 900px;
  margin: auto;
}

.section-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.text-list ul {
  font-size: 1.2rem;
  line-height: 1.6;
  list-style: none;
  padding-left: 0;
}

.section-button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  background: #0055ff;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.section-button:hover {
  background-color: #ff4d4d;
  transform: scale(1.05);
}

/* Gallery */
.gallery-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #111;
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background-color: #1c1c1c;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-item .caption {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1.1rem;
}

.gallery-item .btn {
  margin-top: 0.8rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #0055ff;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.gallery-item .btn:hover {
  background-color: #ff4d4d;
  transform: scale(1.05);
}

.gallery-item:hover {
  transform: translateY(-5px);
}


/* Footer */

/* Contact container */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80vh;
  padding: 4rem;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
}

/* Contact info */
.contact-info {
  flex: 1;
  padding-right: 2rem;
}
.contact-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.contact-info p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Contact form */
.contact-form {
  flex: 1;
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: #333;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 1rem;
}
.contact-form button {
  background: #0055ff;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.contact-form button:hover {
  background-color: #ff4d4d;
  transform: scale(1.05);
}

/* === Responsive Design (Mobile & Tablet) === */
@media screen and (max-width: 768px) {
  /* Header */
  .header {
    flex-direction: column;
    text-align: center;
  }

  .nav-link {
    display: block;
    margin: 0.5rem 0;
  }

  /* Hero Section */
  .hero {
    height: auto;
    padding: 2rem 1rem;
  }

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

  .hero-content p {
    font-size: 1rem;
  }

  /* Intro */
  .intro {
    font-size: 0.9rem;
    padding: 1rem;
  }

  /* Swiper Slide Layout */
  .swiper-slide {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 1.5rem;
    height: auto;
  }

  .slide-title, .slide-content {
    flex: 1 1 100%;
    width: 100%;
    text-align: left;
  }

  .slide-title h1 {
    font-size: 2rem;
    text-align: left;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Contact Page */
  .contact-container {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    padding: 0;
  }

  /* Footer */
  .footer {
    font-size: 0.9rem;
    padding: 1.5rem;
  }
}