
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  will-change: auto;
  background: url('images/mtu-engine.jpg') no-repeat center center/cover;
  background-attachment: fixed;
}

header, section, footer {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); /* light overlay */
  backdrop-filter: blur(px); /* blur only background */
  z-index: -1;
  pointer-events: none;
}

header {
  background: white;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
  z-index: 10;
}

header h1 {
  margin: 0;
  color: #0077cc;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.time {
  font-size: 14px;
  color: #555;
  background: #eef3f8;
  padding: 5px 10px;
  border-radius: 5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #0077cc;
}

.hero-text {
  max-width: 750px;
  margin: 15px auto 25px;
  text-align: center;
  font-size: 50px;
  color: #070000;
  line-height: 1.6;
  padding-top: -5px;
}

.hero-subtext {
  text-align: center;
  font-size: 14px;
  color: #070000;
}

.hero {
  display: flex;
  flex-direction: column;
  color: #070000;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  text-align: center;
  gap: 15px;
  padding-top: 20px;
}

.hero {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero p {
  font-size: 14px;
  margin: 30px 0;
  margin-bottom: 0px;
}


.hero p:first-of-type {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

.hero p:last-of-type {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.hero > * {
  margin-left: auto;
  margin-right: auto;
}

.hero h2 {
  font-size: 32px;
  font-weight: 600; /* lighter = modern */
  margin: 0;
  line-height: 1.3;
  max-width: 700px;
}

.container {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  text-align: center;
  margin-top: -160px;
}

.content-section {
  padding: 100px 20px 40px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.card {
  background: white;
  padding: 8px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
  cursor: pointer;
  margin-bottom:20px;
  color: #0077cc;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.how-section {
  padding: 60px 20px;
  text-align: center;
}

.how-section h2 {
  margin-bottom: 30px;
  color: #0077cc;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.step-card {
  position: relative;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.step-card h3 {
  background: #0077cc;
  color: white;
  width: 40px;
  height: 40px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto;
}

.timeline-step {
  width: 250px;
  text-align: center;
  position: relative;
}

.circle {
  width: 50px;
  height: 50px;
  background: #0077cc;
  color: white;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

.timeline-step p {
  font-size: 14px;
  color: #444;
}

.how-it-works {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.how-section {
  max-width: 900px;
  width: 100%;
  padding: 30px;
  border-radius: 20px;
  align-items: center;

  /* 🔥 glass effect */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  text-align: center;

  margin: 0 auto; 
}

.note {
  margin-top: 20px;
  color: #555;
}

html {
  scroll-behavior: smooth;
} 


.table-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  font-family: 'Calibri', sans-serif;
}

.manual-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
}

.manual-table th, .manual-table td {
  padding: 12px;
  border: 1px solid #ddd;
}

.manual-table th {
  background: #0077cc;
  color: white;
}

.manual-table tr:hover {
  background: #a5a9ae;
}

.table-note {
  margin-top: 10px;
  color: #050000;
}

.table-search {
  width: 60%;
  max-width: 500px;
  padding: 12px 20px;
  margin: 20px auto;
  display: block;
  border-radius: 30px;
  border: 1px solid #ddd;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

table {
  contain: content;
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.series-header td {
  background-color: #0077cc;   /* dark background */
  color: white;                /* text color */
  text-align: center;          /* center text */
  padding: 12px;
  font-size: 16px;
  border-top: 3px solid #ddd;
  border-radius: 6px;
}

td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

tr:hover {
  background: #f5f9ff;
}

.highlight {
  background-color: #fff3cd !important;
}

.filter-buttons {
  text-align: center;
  margin: 10px 0;
}

.filter-buttons button {
  margin: 5px;
  padding: 8px 15px;
  border: none;
  background: #0077cc;
  color: white;
  border-radius: 20px;
  cursor: pointer;
}

.filter-buttons button:hover {
  background: #005fa3;
}

.no-results {
  text-align: center;
  margin-top: 30px;
  color: #050101;
  font-size: 16px;
  display: none;
}

.preview-btn {
  padding: 6px 12px;
  background: #0077cc;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
}

.preview-btn:hover {
  background: #005fa3;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  position: relative;
  width: 80%;
  height: 80%;
  margin: 5% auto;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

#pdfFrame {
  width: 100%;
  height: 100%;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;

  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  font-weight: bold;

  color: white;
  background: #ff4d4d; /* 🔴 red button */

  border-radius: 50%;
  cursor: pointer;

  transition: all 0.3s ease;
  z-index: 10;
}
.close-btn:hover {
  background: #cc0000;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.6);  
}

.modal-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #ffffff;
  width: 520px;
  max-width: 90%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  animation: popupIn 0.35s ease;
}

/* HEADER */
.popup-header {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  padding: 20px;
  text-align: center;
}

.popup-header h2 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
}

/* ICON */
.icon-circle {
  width: 50px;
  height: 50px;
  background: #ffffff;
  color: #0d6efd;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-size: 22px;
  font-weight: bold;
}

/* BODY */
.popup-body {
  padding: 25px 30px;
  text-align: center;
}

.popup-body p {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.6;
}

.popup-body strong {
  color: #0d6efd;
}

/* FOOTER */
.popup-footer {
  padding: 15px;
  text-align: center;
  background: #f8f9fa;
}

.ok-btn {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Hover effect */
.ok-btn:hover {
  background: linear-gradient(135deg, #0b5ed7, #084298);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.5);
}

/* Click effect */
.ok-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  background: white;
  font-size: 14px;
  color: #777;
}

@media (max-width: 600px) {
  .search-box {
    width: 150px;
  }
}


/*rental tools */


.tool-container {
  width: 90%;
  margin: 40px auto;
}

.tool-title {
  text-align: center;
  color: #04070b;
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 600;
}

.tool-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* IMAGE */
.tool-image {
  flex: 1;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.tool-image img {
  max-width: 100%;
  border-radius: 6px;
}

/* DETAILS */
.tool-details {
  flex: 1;
}

.tool-details table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tool-details td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.tool-details td:first-child {
  font-weight: 600;
  color: #333;
  width: 50%;
}

.tool-details td:last-child {
  color: #555;
}

/* BUTTON */
.enquiry-btn {
  margin-top: 20px;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.enquiry-btn:hover {
  background: #0b5ed7;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .tool-content {
    flex-direction: column;
  }
}