/* Reset & Core Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
  --bg-dark: #080e1a;
  --bg-surface: #0f172a;
  --bg-card: #1e293b;
  --primary: #0284c7;
  --accent: #f59e0b;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border: #334155;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Logo Container */
header {
  background: #0f172a;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

/* White Circle Badge for Logo Visibility */
.logo-badge {
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.logo-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}

.brand-text span {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--accent);
}

/* Hero Section with Oil Rig Background */
.hero {
  padding: 7rem 5% 6rem;
  background: linear-gradient(rgba(8, 14, 26, 0.82), rgba(8, 14, 26, 0.95)),
              url('https://upload.wikimedia.org/wikipedia/commons/3/36/Oil_platform_P-51.jpg') center/cover no-repeat;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero p {
  color: #e2e8f0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 780px;
  margin: 0 auto 2rem;
}

.tagline {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* Inner Page Banner */
.page-banner {
  padding: 5rem 5% 4rem;
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.98)),
              url('https://upload.wikimedia.org/wikipedia/commons/7/75/AHTS_Far_Sovereign.jpg') center/cover no-repeat;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-banner h1 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Main Content Layout */
main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: #ffffff;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Real-Life Picture Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px -10px rgba(2, 132, 199, 0.35);
}

.card-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #000;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}

.service-list li {
  color: #cbd5e1;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.service-list li::before {
  content: "▸";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
  text-align: center;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Form Styles */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #000000;
  padding: 0.85rem 2rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #d97706;
  color: #ffffff;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Footer */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
  margin-top: auto;
}
/* Justify Footer Paragraph Text */
.footer-about {
  text-align: justify;
  text-justify: inter-word;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-top: 0.4rem;
}

.footer-col p, .footer-col li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsiveness */
@media (max-width: 820px) {
  header {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  
  nav ul {
    gap: 1.25rem;
  }
}