* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  background: #f6f8fb;
  color: #111827;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.oil-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section-space {
  padding: 100px 0;
}

/* NAV */
.brand-line {
  width: 4px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #1aa3a8, #0f6b87);
}

.brand-logo-box {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 6px;
  backdrop-filter: blur(8px);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.oil-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, background 0.35s ease;
}

.oil-nav.hide-nav {
  transform: translateY(-100%);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-title {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.mobile-menu a {
  color: #ffffff;
  font-size: 0.94rem;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: #62d2d6;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.7rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px 20px;
  background: rgba(7, 17, 31, 0.94);
}

.mobile-menu.active {
  display: flex;
}












/* HERO */
.oil-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(5, 16, 31, 0.95), rgba(8, 35, 64, 0.82)),
    url("images/oil-rig.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at top right, rgba(26,163,168,0.16), transparent 35%),
    linear-gradient(to top, rgba(255, 120, 40, 0.06), transparent 35%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  pointer-events: none;
}

/* GEARS */
.hero-gears {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.gear {
  position: absolute;
  border-radius: 50%;
  border: 10px solid rgba(130, 180, 200, 0.16);
  box-shadow:
    0 0 25px rgba(26, 163, 168, 0.10),
    inset 0 0 25px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(2px);
}

.gear::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,0.05);
}

.gear::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(160, 210, 220, 0.18) 0deg 10deg,
      transparent 10deg 30deg
    );
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%);
  mask: radial-gradient(circle, transparent 58%, #000 59%);
}

.gear-1 {
  width: 260px;
  height: 260px;
  right: 18%;
  top: 18%;
  animation: spinClockwise 18s linear infinite;
}

.gear-2 {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 38%;
  animation: spinCounter 14s linear infinite;
}

.gear-3 {
  width: 120px;
  height: 120px;
  right: 28%;
  top: 50%;
  animation: spinClockwise 10s linear infinite;
}
/* LEFT SIDE GEARS */
.gear-4 {
  width: 220px;
  height: 220px;
  left: 12%;
  top: 22%;
  animation: spinCounter 20s linear infinite;
  opacity: 0.7;
}

.gear-5 {
  width: 140px;
  height: 140px;
  left: 6%;
  top: 48%;
  animation: spinClockwise 12s linear infinite;
  opacity: 0.6;
}

/* RIG */
.hero-rig {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 680px;
  max-width: 45%;
  opacity: 0.92;
  pointer-events: none;
  z-index: 4;
  filter:
    brightness(1.08)
    contrast(1.08)
    drop-shadow(0 0 18px rgba(255, 140, 60, 0.14));
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 760px;
  padding-top: 90px;
}

@keyframes spinClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinCounter {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}







/* RIG */
.hero-rig {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 680px;
  max-width: 45%;
  opacity: 0.92;
  pointer-events: none;
  z-index: 4;
  filter:
    brightness(1.08)
    contrast(1.08)
    drop-shadow(0 0 18px rgba(255, 140, 60, 0.14));
}
















/* CONTENT */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 760px;
  padding-top: 90px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}

.section-tag.dark {
  color: #0f2f45;
  border: 1px solid rgba(15,47,69,0.12);
  background: rgba(15,47,69,0.05);
}

.hero-content h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 22px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1aa3a8, #0f6b87);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 107, 135, 0.22);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
}















/* ABOUT */
.oil-about {
  background: linear-gradient(180deg, #f7fafc, #eef4f8);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
}

.about-left h3,
.section-heading h3,
.cta-box h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: #0b2138;
}

.about-left p {
  color: #44556a;
  margin-bottom: 18px;
  font-size: 1rem;
}

.glass-card {
  position: relative;
  padding: 34px 30px;
  border-radius: 28px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(11, 33, 56, 0.08);
  box-shadow: 0 20px 60px rgba(17, 33, 52, 0.08);
  backdrop-filter: blur(12px);
}

.mini-line {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, #1aa3a8, #0f6b87);
  margin-bottom: 18px;
}

.about-card h4 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #0b2138;
}

.about-card ul {
  list-style: none;
}

.about-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: #405164;
}

.about-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1799a3;
}















/* GALLERY */
.oil-gallery {
  background: #ffffff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 45px;
}

.section-heading.center {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading p {
  color: #506174;
}

.gallery-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 280px;
  box-shadow: 0 20px 50px rgba(13, 29, 48, 0.12);
}

.gallery-card.large {
  min-height: 600px;
}

.gallery-card.small {
  min-height: 289px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(7,17,31,0.92), rgba(7,17,31,0.0));
  color: #ffffff;
}

.gallery-overlay h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

















/* STRENGTH */
.oil-strength {
  background: linear-gradient(180deg, #edf4f7, #f8fbfd);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.strength-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 30px 26px;
  box-shadow: 0 18px 45px rgba(18, 37, 56, 0.08);
  border: 1px solid rgba(11, 33, 56, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(18, 37, 56, 0.12);
}

.strength-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1799a3;
  margin-bottom: 14px;
}

.strength-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0b2138;
}

.strength-card p {
  color: #506174;
}

















/* CTA */
.oil-cta {
  padding: 0 0 100px;
  background: linear-gradient(180deg, #f8fbfd, #eef4f8);
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 60px 50px;
  border-radius: 30px;
  background: linear-gradient(135deg, #071727, #0b2a46);
  box-shadow: 0 28px 70px rgba(5, 16, 31, 0.22);
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,163,168,0.28), transparent 65%);
}

.cta-box h3,
.cta-box p {
  position: relative;
  z-index: 2;
}

.cta-box h3 {
  color: #ffffff;
}

.cta-box p {
  max-width: 720px;
  color: rgba(255,255,255,0.8);
}

/* REVEAL */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.9s ease;
}

.reveal-up {
  transform: translateY(60px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-active {
  opacity: 1;
  transform: translate(0, 0);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .about-grid,
  .gallery-layout,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .gallery-side {
    grid-template-rows: auto;
  }

  .gallery-card.large,
  .gallery-card.small {
    min-height: 320px;
  }

  .cta-box {
    padding: 42px 28px;
  }
}

@media (max-width: 768px) {
  .section-space {
    padding: 80px 0;
  }

  .hero-content {
    padding-top: 110px;
  }

  .hero-content h2 {
    font-size: 2.4rem;
  }

  .hero-content p,
  .about-left p,
  .section-heading p,
  .strength-card p,
  .cta-box p {
    font-size: 0.96rem;
  }

  .btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-rig {
    width: 520px;
    max-width: 58%;
  }

  .hero-heat::before,
  .hero-heat::after {
    height: 60%;
    filter: blur(24px);
  }
}







