:root {
  --navy: #001a35;
  --gold: #0056b3;
  --white: #ffffff;
  --transition: all 0.3s ease;

  --navy: #001a35;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #ffffff;
  --section-padding: 100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif;}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0f0f0f; /* Deep professional dark */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
}

.loader-content {
  text-align: center;
}

.logo-text {
  color: #ffffff;
  font-family: 'Inter', sans-serif; /* Or your brand font */
  font-weight: 300;
  letter-spacing: 10px;
  margin-bottom: 20px;
  animation: spread 2.5s ease-in-out infinite;
}

.logo-text span {
  font-weight: 700;
  color: #0056b3; /* A sophisticated gold/bronze accent */
}

.progress-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: #0056b3;
  position: absolute;
  animation: load 2s infinite ease-in-out;
}

@keyframes spread {
  0%, 100% { letter-spacing: 10px; opacity: 0.7; }
  50% { letter-spacing: 14px; opacity: 1; }
}

@keyframes load {
  0% { left: -100%; width: 30%; }
  50% { left: 0%; width: 60%; }
  100% { left: 100%; width: 100%; }
}

/* Class to hide preloader */
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

body { font-family: 'Inter', sans-serif; height: 200vh; /* Just for scrolling demo */ }

/* --- Navbar Styles --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); /* Modern glass effect */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -1px;
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

/* The Hover Effect */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--gold);
}

/* --- THE ACTIVE FEATURE --- */
.nav-links a.active {
  color: var(--gold);
  font-weight: 700;
}

.nav-links a.active::after {
  width: 100%; /* Keeps the underline visible on active page */
}

/* Mobile Menu Icon */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

/* --- Responsive Design --- */
@media (max-width: 850px) {
  .menu-toggle { display: block; }

  .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--white);
      flex-direction: column;
      align-items: center;
      padding: 40px 0;
      gap: 25px;
      clip-path: circle(0% at 100% 0); /* Hidden by default */
      transition: transform 0.5s ease-in-out, clip-path 0.5s ease-in-out;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .nav-links.open {
      clip-path: circle(150% at 100% 0); /* Shows menu */
  }
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-light);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Hero --- */
.hero-simple {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 26, 53, 0.85)), 
                url('../Media/Image/serviceBgImage.jpg') center/cover;
    padding: 160px 0 100px;
    text-align: center;
    color: white;
    height: 500px;
}

.expertise-tag {
    background: var(--gold);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.hero-simple h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 20px 0;
    text-transform: uppercase;
}

/* --- Zig-Zag Sections --- */
.service-row {
    padding: var(--section-padding) 0;
    display: flex;
    align-items: center;
    gap: 80px;
}

.service-row:nth-child(even) { flex-direction: row-reverse; }

.service-image { flex: 1; }

.service-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.service-text { flex: 1; }

.category-tag {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.service-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--navy);
    line-height: 1.2;
}

.service-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-list { list-style: none; margin-bottom: 30px; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}
.feature-list li i { color: var(--gold); font-size: 1.2rem; }

/* --- Equipment Table Section --- */
.equipment-section {
    padding: 80px 0;
    background: #f8f9fa;
    border-radius: 50px;
    margin: 40px 0;
}

.equipment-section h2 {
    text-align: center;
    font-family: 'Montserrat';
    margin-bottom: 50px;
    color: var(--navy);
}

.equipment-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.equipment-table th {
    background: var(--navy);
    color: white;
    padding: 20px;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.equipment-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #444;
}

.equipment-table tr:hover { background: #fffcf5; }

/* --- CTA --- */
.heavy-cta {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 26, 53, 0.85)),
    url('../Media/Image/man.jpg') center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 40px;
    margin: 60px 20px;
    height: 500px;
}

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 20px 45px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    margin-top: 30px;
    transition: 0.3s;
}

.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3); }

/* Responsive */
@media (max-width: 992px) {
    .service-row, .service-row:nth-child(even) { flex-direction: column; text-align: center; gap: 40px; }
    .feature-list li { justify-content: center; }
    .service-image img { height: 350px; }
    .equipment-table { display: block; overflow-x: auto; }
}

/* --- Footer Style --- */
  footer {
      background: #000;
      color: white;
      padding: 80px 0 40px;
      margin-top: 50px;
  }

  .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1.5fr;
      gap: 40px;
      padding-bottom: 50px;
      border-bottom: 1px solid #333;
  }

  .footer-logo h2 { font-family: 'Montserrat'; font-size: 1.8rem; margin-bottom: 15px; }
  .footer-col h4 { margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; color: #999; font-size: 0.9rem; }

  /* Responsive */
  @media (max-width: 992px) {
      .service-row, .service-row:nth-child(even) { flex-direction: column; text-align: center; }
      .feature-list li { justify-content: center; }
      .service-image img { height: 300px; }
      .footer-grid { grid-template-columns: 1fr; text-align: center; }
  }