/* Color Palette from Logo & Brand Identity */
:root {
    --brand-teal: #2b7a78;
    --brand-amber: #f39c12;
    --dark-petroleum: #121212;
    --slate-gray: #1e293b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--slate-gray);
}

/* Global Navigation Header */
header {
    background: linear-gradient(135deg, #121212 0%, #1e293b 100%);
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    padding: 0.9rem 8%;
}

/* Logo Layout Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1.1rem; 
    text-decoration: none;
}

/* Enlarged & Stretched Oil Drop */
.logo-drop-img {
    height: 72px !important; 
    width: auto;
    object-fit: contain;
    display: block;
}

/* Enlarged & Horizontally Stretched Text Cut */
.logo-text-img {
    height: 60px !important; 
    width: auto;
    object-fit: contain;
    display: block;
    transform: scaleX(1.18); 
    transform-origin: left center;
    filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.9)) drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.5));
}

/* Scrolled Header Background  */
header.scrolled {
    background: linear-gradient(135deg, #1b4d4f 0%, #1e293b 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 0.8rem 8%;
}


nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--brand-amber);
}

.btn-primary {
    background: var(--brand-amber);
    color: var(--dark-petroleum);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(30, 41, 59, 0.85)), 
                url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 10rem 8% 6rem;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 2rem;
    color: white;
}

/* Moving Partner Ticker */
.ticker-section {
    background: #000000;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(243, 156, 18, 0.3);
    border-bottom: 1px solid rgba(243, 156, 18, 0.3);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 22s linear infinite;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.4rem;
    margin: 0 0.8rem;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

/* Footer */
footer {
    background: var(--dark-petroleum);
    color: var(--white);
    padding: 2rem 8%;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

/* SERVICES PAGE HERO & CARDS STYLING */
.services-hero {
  background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.92)), 
              url('rig.jpg') center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.specialty-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #2d5a4c; 
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-top-color: #10b981;
}

.specialty-badge {
  display: inline-block;
  background: #e6f4f1;
  color: #2d5a4c;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.specialty-card h3 {
  color: #0f172a;
  font-size: 1.3rem;
  margin: 0 0 12px 0;
}

.specialty-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.specialty-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
}

.specialty-list li {
  color: #334155;
  font-size: 0.88rem;
  padding: 5px 0;
  position: relative;
  padding-left: 18px;
}

.specialty-list li::before {
  content: "•";
  color: #2d5a4c;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 1px;
}

body {
  background-color: #f8fafc;
  color: #334155;
  margin: 0;
}

/* AREAS OF SPECIALTY SECTION BACKGROUND */
.specialty-section-bg {
  padding: 80px 20px;
  background: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.88)), 
              url('rig.jpg') center/cover no-repeat fixed;
  position: relative;
}

.specialty-section-bg h2 {
  color: #ffffff !important;
}

.specialty-section-bg p.subtitle {
  color: #cbd5e1 !important;
}

/*  BACKGROUND FOR SPECIALTIES + ACCOMPLISHMENTS */
.rig-background-wrapper {
  padding: 80px 20px;
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.88)), 
              url('rig.jpg') center/cover no-repeat fixed;
  position: relative;
}

.rig-background-wrapper h2 {
  color: #ffffff !important;
}

.rig-background-wrapper p.subtitle {
  color: #cbd5e1 !important;
}

.hero-section {
  background: linear-gradient(rgba(10, 25, 47, 0.82), rgba(10, 25, 47, 0.9)), url('turbine.jpg') no-repeat center center/cover;
  padding: 100px 5%;
  colour: #ffffff;
  position: relative;
}


/* Dark Top Banner */
.energy-contact-hero {
  background: #111827; /* Dark background with optional background image overlay */
  padding: 130px 20px 140px;
  text-align: center;
  color: #ffffff;
}

.energy-contact-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.energy-contact-hero p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

/* White Main Section holding the Floating Cards */
.energy-contact-section {
  background-color: #ffffff; /* <--- CLEAN WHITE MAIN BACKGROUND */
  position: relative;
  z-index: 10;
  margin-top: -90px; /* <--- PULLS CARDS UP INTO DARK HERO */
  padding: 0 20px 120px;
  min-height: calc(100vh - 400px); /* Keeps footer at bottom */
}

/* Grid Wrapper for Left and Right Cards */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}

@media (max-width: 868px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Dark Styled Cards over White Background */
.energy-contact-section .info-card,
.energy-contact-section .form-card {
  background-color: #1a2332; 
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Left Card Elements */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.icon-box {
  width: 44px;
  height: 44px;
  background-color: rgba(230, 126, 34, 0.15);
  color: #e67e22; /* Gold/Amber Icon color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.info-item small {
  font-size: 0.75rem;
  color: #64748b;
}

/* Form Styling */
.form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #ffffff;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #e67e22;
}

/* Gold/Amber Button */
.btn-energy-submit {
  width: 100%;
  background-color: #e67e22;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.btn-energy-submit:hover {
  background-color: #d35400;
}

/* Hero section with image background */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(18, 18, 18, 0.75), rgba(30, 41, 59, 0.75)),
              url('turbine.jpg') no-repeat center center/cover;
  padding: 140px 20px 180px; 
  text-align: center;
  color: #ffffff;
}

.contact-container {
  max-width: 1200px;
  margin: -3rem auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  position: relative;
  z-index: 10;
}

.info-card {
  background: #111827;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-card {
  background: #111827;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


