
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f3f4f6;
  color: #111827;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #0f5fd4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  color: #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.9rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.logo-text small {
  color: #9ca3af;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-link {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #d1d5db;
}

.nav-link.active,
.nav-link:hover {
  background-color: #2563eb;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #4b5563;
  border-radius: 999px;
  color: #e5e7eb;
  padding: 4px 10px;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  color: #ffffff;
}

.hero-large {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/workshop-hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.6), transparent 60%);
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 32px;
  padding: 72px 16px 56px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.02rem;
  max-width: 640px;
}

.hero-actions {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
}

.hero-points li::before {
  content: "• ";
  color: #93c5fd;
}

.hero-panel {
  background: rgba(17, 24, 39, 0.92);
  border-radius: 16px;
  padding: 18px 18px 14px;
  border: 1px solid rgba(147, 197, 253, 0.8);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.5);
}

.hero-panel h3 {
  margin-top: 0;
}

.mini-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.mini-form label {
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-form input {
  border-radius: 8px;
  border: 1px solid #4b5563;
  padding: 6px 8px;
  font-size: 0.85rem;
  background: #020617;
  color: #e5e7eb;
}

.mini-form input:focus {
  outline: none;
  border-color: #60a5fa;
}

.mini-note {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, #2563eb, #b103fc);
  color: #ffffff;
}

.btn.ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(191, 219, 254, 0.9);
}

.btn.full {
  width: 100%;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background-color: #e5f0ff;
}

.section-cta {
  background: transparent;
  color: inherit;
}


.center {
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: flex-start;
}

.cards-3,
.cards-4 {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid #d1e0ff;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.2);
}

.card h3, .card h2 {
  margin-top: 0;
}

.list-check {
  list-style: none;
  padding-left: 0;
  font-size: 0.93rem;
}

.list-check li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 4px;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-size: 0.8rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  background-color: #0f172a;
  color: #e5e7eb;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #b103fc;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
}

.muted {
  color: #6b7280;
}

.small {
  font-size: 0.8rem;
}

.image-cards .image-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d1e0ff;
  box-shadow: 0 10px 28px rgba(148, 163, 184, 0.3);
}

.image-placeholder {
  height: 150px;
  background: repeating-linear-gradient(135deg, #dbeafe, #dbeafe 6px, #bfdbfe 6px, #bfdbfe 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #1e3a8a;
}

.image-card h3 {
  margin: 12px 14px 4px;
}

.image-card p {
  margin: 0 14px 14px;
  font-size: 0.9rem;
}

.section-cta .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-head {
  background: linear-gradient(135deg, #b103fc, #0f172a);
  color: #e5e7eb;
  padding: 34px 0 30px;
}

.page-head h1 {
  margin: 0 0 6px;
}

.page-head p {
  margin: 0;
  max-width: 700px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #d1e0ff;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.25);
}



/* Services cards with background images (Services page) */
.service-card.has-bg{
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-color: #0b1220; /* fallback */
  background-image: none;
  min-height: 260px;
}

.service-card.has-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0.45; /* balanced visibility */ /* make background image softer */
  transform: scale(1.01);
}

.service-card.has-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
}

.service-card.has-bg > *{
  position: relative;
  z-index: 1;
}

.service-card.has-bg h2{
  color: #ffffff;
}

.service-card.has-bg p,
.service-card.has-bg li{
  color: rgba(255,255,255,0.92);
}

.info-bar {
  background-color: #e0f2fe;
  border-left: 4px solid #2563eb;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
}

.machine-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.machine-table th,
.machine-table td {
  border: 1px solid #d1e0ff;
  padding: 8px 10px;
  vertical-align: top;
}

.machine-table th {
  background-color: #e5f0ff;
  text-align: left;
}

.img-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  color: #b103fc;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 10px 10px 14px;
  border: 1px solid #d1e0ff;
  box-shadow: 0 8px 22px rgba(148, 163, 184, 0.25);
  font-size: 0.9rem;
}

.gallery-item figcaption {
  margin-top: 8px;
}

.contact-form {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #d1e0ff;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.25);
}

.contact-form label {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 9px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.footer {
  background-color: #1f3f6f;
  color: #9ca3af;
  margin-top: 40px;
  padding: 32px 0 12px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
}

.footer-grid h4 {
  color: #e5e7eb;
  margin-top: 0;
}

.footer-grid a {
  color: #cbd5e1;
}

.footer-grid ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid #111827;
  margin-top: 20px;
  padding-top: 8px;
  text-align: center;
  font-size: 0.8rem;
}

.whatsapp {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 16px 35px rgba(22, 163, 74, 0.7);
  z-index: 60;
}

.whatsapp-icon{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: block;
}

.whatsapp:hover {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    inset: 52px 12px auto;
    background-color: #020617;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #1f2937;
    display: none;
    flex-direction: column;
  }
  .nav.nav-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

/* Animation definitions */
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(25px); }
  to { opacity:1; transform: translateY(0); }
}
.animate {
  opacity:0;
  animation: fadeInUp 0.9s ease forwards;
}
.section, .page-head, .hero, .card, .service-card, .gallery-item {
  animation: fadeInUp 0.8s ease both;
}


/* --- Professional Animations --- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* parallax hero */
.hero-large {
  background-attachment: fixed;
}


/* Counter Section */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
  margin-top: 20px;
}

.counter-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #d1e0ff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.counter {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2563eb;
  display: block;
}


/* Hover Effects for Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  transition: transform 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  text-align: center;
  padding-top: 6px;
  font-size: 0.9rem;
  color: #1e3a8a;
}


/* LIGHTBOX */
.lightbox-overlay {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.85);
  display:none;
  justify-content:center;
  align-items:center;
  z-index: 9999;
}

.lightbox-overlay img {
  max-width:90%;
  max-height:90%;
  border-radius:10px;
  box-shadow:0 0 25px rgba(255,255,255,0.3);
}

.lightbox-close {
  position:absolute;
  top:25px;
  right:40px;
  font-size:2.5rem;
  color:white;
  cursor:pointer;
  font-weight:bold;
}


.cat-btn {
  padding:10px 20px;
  border: none;
  background:#b103fc;
  color:white;
  margin:5px;
  border-radius:6px;
  cursor:pointer;
}
.cat-btn:hover { background:#2563eb; }


.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.tech-table th {
  background: #1e3a8a;
  color: white;
  padding: 12px;
  text-align: left;
}
.tech-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #dce4ff;
}
.tech-table tr:hover td {
  background: #eef4ff;
}


.machine-info {
  background:#f5f7ff;
  border:1px solid #dce4ff;
  padding:10px;
  margin-top:10px;
  border-radius:8px;
  font-size:0.9rem;
  line-height:1.3rem;
}
.machine-info strong {color:#1e3a8a;}
.machine-info span {color:#333;}


/* GALLERY STYLE FACILITY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
  gap:20px;
}
.gallery-item img {
  width:100%;
  border-radius:10px;
  cursor:pointer;
  transition:0.3s ease;
}
.gallery-item img:hover { transform:scale(1.03); }
.machine-text-box {
  background:#f5f7ff;
  border:1px solid #dce4ff;
  padding:10px;
  margin-top:8px;
  border-radius:8px;
  font-size:.9rem;
  line-height:1.3rem;
}
.machine-text-box strong { color:#b103fc; }


.edit-box {
  margin-top: 8px;
  background: #fff7cc;
  border: 1px dashed #e0c200;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  min-height: 60px;
}
.edit-box:focus {
  outline: 2px solid #ffd500;
  background: #fff3a8;
}


.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 999;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 35px; height: 35px; }


/* WhatsApp Popup */
.whatsapp-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.popup-content {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  width: 320px;
}
.popup-content h2 {
  margin-bottom: 10px;
  color: #1e3a8a;
}
.qr-image {
  width: 220px;
  margin: 10px 0;
}
.popup-btn {
  display: block;
  background: #25D366;
  color: white;
  padding: 10px;
  border-radius: 8px;
  margin: 10px 0;
  text-decoration: none;
  font-size: 16px;
}
.popup-close {
  display: inline-block;
  margin-top: 10px;
  color: red;
  cursor: pointer;
}


/* Larger Page Header */
.page-head {
  padding: 80px 0;
}
.page-head h1 {
  font-size: 48px;
  font-weight: 800;
}
.page-head p {
  font-size: 20px;
}

/* Larger main menu text */
nav ul li a {
  font-size: 20px;
  font-weight: 600;
}


/* EXTRA Bigger Page Titles */
.page-head h1 {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 1px;
}
.page-head p {
  font-size: 22px;
}


/* Modern Blue Theme */
:root {
  --main-blue: #b103fc;
  --dark-blue: #8002b6;
  --light-blue: #f3d9ff;
}

/* Header */
header {
  background: var(--main-blue);
}
nav ul li a:hover {
  color: var(--light-blue);
}

/* Page head */
.page-head {
  background: var(--dark-blue);
  color: white;
}
.page-head h1 { color: white; }
.page-head p { color: #dbe5ff; }

/* Buttons */
.btn-blue, .popup-btn {
  background: var(--main-blue) !important;
  color: white !important;
}
.btn-blue:hover {
  background: var(--dark-blue) !important;
}

/* Service Boxes */
.service-box {
  border-top: 4px solid var(--main-blue);
}
.service-box:hover {
  background: var(--light-blue);
}

/* Footer */
footer {
  background: #1f3f6f;
  color: white;
}


/* Animated Blue Glow and Gradient */
header {
  background: linear-gradient(90deg, #b103fc, #b103fc, #b103fc);
  background-size: 300% 300%;
  animation: headerGlow 8s ease infinite;
}

@keyframes headerGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated Hover Glow for Service Boxes */
.service-box {
  transition: 0.4s ease;
}
.service-box:hover {
  box-shadow: 0px 0px 20px rgba(10,76,255,0.4);
  transform: translateY(-5px);
}

/* Animated Blue Glow for Buttons */
.btn-blue, .popup-btn {
  position: relative;
  overflow: hidden;
}
.btn-blue::after, .popup-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.3);
  transition: 0.4s;
}
.btn-blue:hover::after, .popup-btn:hover::after {
  left: 100%;
}

/* Page Head Title Glow */
.page-head h1 {
  animation: titleGlow 3s ease-in-out infinite;
}
@keyframes titleGlow {
  0% { text-shadow: 0 0 10px #b103fc; }
  50% { text-shadow: 0 0 20px #ffffff; }
  100% { text-shadow: 0 0 10px #b103fc; }
}


/* FLOATING HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  animation: headerGlow 8s ease infinite;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
body { padding-top: 120px; }

/* NEON BORDER AROUND SECTIONS */
.section {
  border: 2px solid rgba(10,76,255,0.4);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 0 25px rgba(10,76,255,0.3);
}

/* NEON HOVER EFFECT FOR MACHINE CARDS */
.gallery-item img {
  transition: 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item img:hover {
  box-shadow: 0 0 25px rgba(0,123,255,0.7);
  transform: scale(1.05);
}

/* NEON TEXT ON HEADERS */
.page-head h1 {
  text-shadow: 0 0 15px #b103fc, 0 0 30px #b103fc;
}

/* NEON BUTTON */
.btn-blue, .popup-btn {
  box-shadow: 0 0 15px rgba(0,123,255,0.8);
}
.btn-blue:hover, .popup-btn:hover {
  box-shadow: 0 0 25px rgba(0,123,255,1);
}


/* UPDATED NAVIGATION STYLE */
nav ul li a {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #b103fc !important;
}

nav ul li a:hover {
  color: #8002b6 !important;
  text-shadow: 0 0 10px #b103fc;
}

/* ONLY NAV MENU FONT SIZE UPDATED */
.nav-link {
    font-size: 22px !important;
    font-weight: 600 !important;
}

/* REMOVE TOP GAP ON ALL PAGES */
body { margin-top:0!important; padding-top:0!important; }
.header { margin:0!important; padding-top:0!important; }
html,body { scroll-behavior:auto!important; }
/* HEADER BACKGROUND IMAGE */
.header {
    background: url('images/header-bg.jpg') no-repeat center center !important;
    background-size: cover !important;
    padding: 20px 0;
}

/* Make header darker if text is not visible */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);  /* adjust 0.0 to 0.5 for darkness */
    z-index: 0;
}

.header-inner, 
.header .logo, 
.nav-link {
    position: relative;
    z-index: 1;
}
/* CHANGE HEADER COLOR */
.header {
    background: 
#3a6ae2 !important;
}

/* NAV TEXT COLOR */
.nav-link {
    color: white !important;
}

/* ACTIVE MENU BUTTON */
.nav-link.active {
    background: white !important;
    color: 
#0c6ba5 !important;
    border-radius: 25px;
}

/* LOGO COLOR */
.logo-text strong,
.logo-text small,
.logo-mark {
    color: white !important;
}
/* ============================================
   GLOBAL WEBSITE COLOR THEME: #3a6ae2
   ============================================ */

/* HEADER COLOR */
.header {
    background: #3a6ae2 !important;
}

/* NAVIGATION TEXT */
.nav-link {
    color: white !important;
}

/* ACTIVE NAV TAB */
.nav-link.active {
    background: white !important;
    color: #3a6ae2 !important;
    border-radius: 25px;
}

/* LOGO TEXT */
.logo-text strong,
.logo-text small,
.logo-mark {
    color: white !important;
}

/* BUTTONS */
.btn.primary {
    background: #3a6ae2 !important;
    border-color: #3a6ae2 !important;
}

.btn.primary:hover {
    background: #2f55b8 !important;
}

.btn.ghost {
    color: #3a6ae2 !important;
    border-color: #3a6ae2 !important;
}

.btn.ghost:hover {
    background: #3a6ae2 !important;
    color: white !important;
}

/* SECTION TITLES */
h1, h2, h3 {
    color: #3a6ae2 !important;
}

/* LINKS */
a {
    color: #3a6ae2 !important;
}

/* ICONS, CHECKMARKS, BULLETS */
.list-check li::before {
    color: #3a6ae2 !important;
}

/* CARD BORDERS / HIGHLIGHTS */
.card:hover {
    border-color: #3a6ae2 !important;
}

/* FOOTER LINKS */
.footer a:hover {
    color: #3a6ae2 !important;
}
/* FORCE SAME HEADER COLOR ON ALL PAGES */
.header {
    background: #3a6ae2 !important;
}

/* ENSURE NO PAGE OVERRIDES HEADER */
.facility .header,
.gallery .header,
section.header,
header.header,
.page-header {
    background: #3a6ae2 !important;
}

/* NAV COLOR STAY WHITE */
.nav-link {
    color: white !important;
}

.nav-link.active {
    background: white !important;
   /* FULL FORCE OVERRIDE — MATCH HEADER ON ALL PAGES */
header,
.header,
.page-header,
.top-header,
.hero-header,
.inner-header {
    background: #3a6ae2 !important;
}

/* REMOVE ANY IMAGE BACKGROUND */
header,
.header {
    background-image: none !important;
}

}
/* SAME HEADER COLOR ON ALL PAGES */
.header {
    background: #3a6ae2 !important;
}

/* PAGE TOP BAR (Gallery / Facility title area) */
.page-head {
    background: #3a6ae2 !important;
    color: #ffffff !important;
}

.page-head h1,
.page-head p {
    color: #ffffff !important;
}

/* NAV COLORS */
.nav-link {
    color: #ffffff !important;
}

.nav-link.active {
    background: #ffffff !important;
    color:  !important;
    border-radius: 25px;
}
/* REMOVE PAGE-HEAD COLOR (MAKE IT NORMAL WHITE) */
.page-head {
    background: none !important;
    color: inherit !important;
    padding: 30px 0; /* keep spacing neat */
}

/* REMOVE PAGE-HEAD TEXT COLOR FORCE */
.page-head h1,
.page-head p {
    color: inherit !important;
}

/* MAKE FACILITY & GALLERY SAME LIKE OTHER PAGES */

/* Remove colored background from page-head (top title area) */
.page-head {
    background: none !important;
    padding: 40px 0 !important;
    border-bottom: 1px solid #eee;
}

/* Match title style like About, Services, Contact pages */
.page-head h1 {
    font-size: 36px !important;
    font-weight: 700;
    margin-bottom: 5px;
    color: #222 !important;
}

.page-head p {
    font-size: 18px !important;
    color: #555 !important;
}

/* Match page spacing with other pages */
.section,
.page-head,
.container {
    margin: 0 auto;
    padding: 0 16px;
}

/* Remove any unwanted margin on top */
header.header {
    margin-bottom: 0 !important;
}
.logo-img {
    height: 60px;       /* change size easily */
    width: auto;
    margin-right: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text strong,
.logo-text small {
    color: white !important;
}
.logo-img {
    height: 60px;       /* change size easily */
    width: auto;
    margin-right: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text strong,
.logo-text small {
    color: white !important;
}
.top-right-img {
    height: 80px;            /* size control */
    width: auto;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 10;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-right-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.hero-left {
    z-index: 2;
}

/* Mobile responsive */
@media(max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-img-box {
        margin-top: 20px;
    }
}

.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center;}
.hero-image img{max-width:100%;}


.hero-grid.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-left {
  max-width: 680px;
}

.hero-right img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-grid.hero-home {
    grid-template-columns: 1fr;
  }
  .hero-right {
    margin-top: 20px;
  }
}
.hero-right img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.hero-right img:hover {
  transform: scale(1.05);
}
.hero-right img {
  width: 100%;
  border-radius: 12px;
  transition: 0.4s;
}

.hero-right img:hover {
  box-shadow: 0 0 25px #3a6ae2, 0 0 40px #3a6ae2;
  transform: scale(1.03);
}
[ IMG1 ] [ IMG2 ]
[ IMG3 ] [ IMG4 ]
.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.hero-gallery img {
  width: 100%;
  border-radius: 10px;
}
/* Hover Zoom + Soft Shadow */
.image-card .image-wrapper {
  overflow: hidden;
  border-radius: 12px;
  transition: 0.3s ease-in-out;
}

.image-card .image-wrapper img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-card:hover .image-wrapper img {
  transform: scale(1.07);
  box-shadow: 0 10px 25px rgba(0,0,0,0.30);
}
.btn.primary {
    background: #ffffff !important;
    color: #003fbd;   /* blue text – aap chahein to black kar do */
    border: 2px solid #003fbd;  /* optional: remove if no border wanted */
}

.btn.primary:hover {
    background: #f1f1f1 !important; /* light grey hover */
    color: #003fbd;
}


/* ===== COOLANT + SPARK LOADER ===== */
#preloader{
  position:fixed; inset:0;
  background:#ffffff;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  z-index:9999999;
  overflow:hidden;
}

/* coolant mist */
.cool-mist{
  position:absolute;
  width:300px; height:300px;
  background:radial-gradient(circle, rgba(59,130,246,0.45), transparent 70%);
  filter:blur(35px);
  animation:mistMove 4s ease-in-out infinite;
  opacity:0.55;
}
.mist2{
  animation-duration:6s;
  background:radial-gradient(circle, rgba(6,182,212,0.40), transparent 70%);
}

@keyframes mistMove{
  0%{ transform:translate(-40px,20px) scale(1); }
  50%{ transform:translate(40px,-20px) scale(1.3); }
  100%{ transform:translate(-40px,20px) scale(1); }
}

/* center container */
.cool-wrap{
  position:relative;
  width:180px; height:180px;
  display:flex; align-items:center; justify-content:center;
  z-index:5;
}

/* logo */
.cool-logo{
  width:90px; height:auto;
  z-index:10;
  animation:logoPulse 1.6s ease-in-out infinite;
}

/* rings */
.cool-ring{
  position:absolute;
  width:180px; height:180px;
  border-radius:50%;
  border:6px solid rgba(37,99,235,0.3);
  border-top-color:#2563eb;
  animation:spin 1.8s linear infinite;
  z-index:4;
}
.cool-ring.inner{
  width:135px; height:135px;
  border-width:5px;
  border-color:rgba(6,182,212,0.3);
  border-top-color:#06b6d4;
  animation-duration:2.8s;
  animation-direction:reverse;
}

/* sparks */
.cool-spark{
  position:absolute;
  width:7px; height:7px;
  background:#f97316;
  border-radius:50%;
  box-shadow:0 0 12px #fb923c, 0 0 28px #f97316;
  opacity:0;
  animation:sparkFly 1.3s linear infinite;
  z-index:12;
}

.s1{ top:12%; left:45%; animation-delay:0s; }
.s2{ top:25%; left:80%; animation-delay:0.2s; }
.s3{ top:55%; left:92%; animation-delay:0.4s; }
.s4{ top:82%; left:60%; animation-delay:0.6s; }
.s5{ top:88%; left:30%; animation-delay:0.8s; }
.s6{ top:40%; left:8%;  animation-delay:1s; }

@keyframes sparkFly{
  0%{ opacity:1; transform:translate(0,0) scale(1); }
  100%{ opacity:0; transform:translate(20px,-50px) scale(0.3); }
}

/* pulse */
@keyframes logoPulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.18); }
}

/* spin */
@keyframes spin{
  to{ transform:rotate(360deg); }
}

/* text */
.cool-text{
  margin-top:20px;
  font-size:1rem;
  color:#2563eb;
  font-weight:700;
  letter-spacing:0.12em;
}

/* hide */
.preloader-hide{
  opacity:0; visibility:hidden;
  transition:0.55s ease;
}

.logo-icon{
  height:42px;
  width:auto;
  object-fit:contain;
  vertical-align:middle;
}


.logo-icon {
    margin-top: 5px !important;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 6px #ffffff);
}


/* Updated logo size + brightness + position */
.logo-icon {
    height: 46px !important;      /* 10% bigger */
    margin-top: 8px !important;   /* previously 5px, now +3px = 8px */
    filter: drop-shadow(0 0 4px #ffffff)
            drop-shadow(0 0 10px #ffffff)
            brightness(1.25);     /* increased brightness */
}

/* HD & Larger Logo */
.logo-icon {
    height: 54px !important;      /* Increased size */
    margin-top: 8px !important;   /* Keep previous alignment */
    filter: drop-shadow(0 0 5px #ffffff)
            drop-shadow(0 0 12px #ffffff)
            brightness(1.30);
}


/* FINAL Large Header Logo (Option C — Very Big, Very Clear) */
.logo-icon {
    height: 85px !important;        /* Larger logo */
    margin-top: 8px !important;     /* Drop down by 3px more */
    filter: drop-shadow(0 0 8px #ffffff)
            drop-shadow(0 0 16px #ffffff)
            brightness(1.38);       /* Extra brightness */
}


/* --- About Page Background Image FIXED --- */
.about-photo-block{
    position: relative;
    width: 100%;
    height: 420px;
    margin-top: 25px;
    background: url('aboutimg.jpg') center/cover no-repeat;
    border-radius: 10px;
    overflow: hidden;
}
.about-photo-block .overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}


/* TEXT OVER BACKGROUND IMAGE */
.text-with-bg{
    position: relative;
    padding: 60px 25px;
    color: #ffffff;
    background: url('aboutimg.jpg') center/cover no-repeat;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 25px;
}
.text-with-bg::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    z-index:0;
}
.text-with-bg *{
    position:relative;
    z-index:5;
}


/* === ABOUT BACKGROUND - PERMANENT FIX === */
.about-hero-bg{
    position: relative;
    margin-top: 30px;
    padding: 70px 30px;
    background: url('aboutimg.jpg') center/cover no-repeat;
    border-radius: 14px;
    overflow: hidden;
}
.about-hero-bg::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    z-index:0;
}
.about-hero-bg h2,
.about-hero-bg p{
    position:relative;
    z-index:5;
    color:#ffffff;
}
.about-hero-bg,
.about-hero-bg *{
    opacity:1 !important;
    transform:none !important;
    visibility:visible !important;
}


/* === SIMPLE & STABLE PARALLAX (NO JS) === */
.about-hero-bg{
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
}

/* Mobile safety */
@media (max-width: 992px){
    .about-hero-bg{
        background-attachment: scroll;
    }
}


/* === ABOUT SECTION BACKGROUND (CORRECT POSITION) === */
.about-hero-bg{
    position: relative;
    background: url('aboutimg.jpg') center/cover no-repeat;
    padding: 80px 40px;
}
.about-hero-bg::before{
    content:'';
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.45);
}
.about-hero-bg h2,
.about-hero-bg p{
    position:relative;
    z-index:2;
    color:#fff;
}
/* FORCE BACKGROUND IMAGE BEHIND ABOUT TEXT */
.reveal.page-head {
    position: relative;
    background: url('aboutimg.jpg') center/cover no-repeat !important;
}

/* dark transparent layer so text readable rahe */
.reveal.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}

/* text ko upar lao */
.reveal.page-head * {
    position: relative;
    z-index: 2;
    color: #fff;
}
/* FIX ABOUT PAGE TEXT VISIBILITY */
.reveal.page-head h2,
.reveal.page-head p {
    color: #ffffff !important;          /* pure white text */
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.8),       /* dark shadow */
        0 4px 10px rgba(0,0,0,0.6);      /* deep shadow */
}
.reveal.page-head::before {
    background: rgba(0,0,0,0.55) !important;
}
body .reveal.page-head h2 {
    color: #ffd200 !important;   /* CNC yellow */
    font-weight: 900 !important;
    text-shadow:
        0 3px 6px rgba(0,0,0,0.9),
        0 6px 14px rgba(0,0,0,0.8) !important;
}
.reveal.page-head i,
.reveal.page-head svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}
/* FIX EMAIL & WHATSAPP TAB BUTTONS */
.reveal.page-head .tab,
.reveal.page-head .tab a,
.reveal.page-head .action-btn,
.reveal.page-head .action-btn a {
    background-color: rgba(0,0,0,0.55) !important; /* dark transparent bar */
    color: #ffffff !important;                     /* white text */
    border: 1px solid rgba(255,255,255,0.4);
}

/* Force text inside */
.reveal.page-head .tab *,
.reveal.page-head .action-btn * {
    color: #ffffff !important;
}
.reveal.page-head button {
    background-color: rgba(0,0,0,0.55) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.4);
}

/* Preloader company name */
.cool-text{ text-align:center; line-height:1.4; font-weight:600; }
.cool-text strong{ font-size:1.1em; }


/* ===== Preloader Text Animation (Al Manthoor Eng) ===== */
.cool-text{
  text-align:center;
  margin-top: 12px;
}
.cool-text strong{
  display:inline-block;
  letter-spacing: 1.2px;
  animation: preloaderTextFloat 1.6s ease-in-out infinite,
             preloaderTextGlow 2.4s ease-in-out infinite;
  will-change: transform, opacity, filter;
}

@keyframes preloaderTextFloat{
  0%,100%{ transform: translateY(0); opacity: .9; }
  50%{ transform: translateY(-6px); opacity: 11; }
}

@keyframes preloaderTextGlow{
  0%,100%{ filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  50%{ filter: drop-shadow(0 0 10px rgba(255,255,255,.55)); }
}


/* Typing cursor effect */
#typingText::after{
  content: "|";
  margin-left: 4px;
  animation: blink 1s infinite;
}
@keyframes blink{
  0%,50%,100%{ opacity:1; }
  25%,75%{ opacity:0; }
}


/* Neon typing gradient (blue -> purple) */
.cool-text strong{
  background: linear-gradient(90deg, #3a6ae2, #b103fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 6px rgba(58,106,226,.55),
    0 0 14px rgba(177,3,252,.45);
}

#typingText::after{
  background: linear-gradient(90deg, #3a6ae2, #b103fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 6px rgba(58,106,226,.65),
    0 0 14px rgba(177,3,252,.55);
}
