/* ===============================
   coaltrading.in - GLOBAL STYLE
   Premium Industrial Theme
================================= */

/* Reset */

html {
  scroll-behavior: smooth;
}

html, body {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px;
}


/* ===============================
   STICKY NAVBAR
================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 252, 246, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 154, 43, 0.2);
  transition: all 0.4s ease;
}

/* On scroll feel (visual lift effect) */
.navbar:hover {
  background: rgba(255, 252, 246, 0.96);
}

/* NAV LINKS ANIMATION */
nav a {
  position: relative;
  padding: 8px 0;
}

/* underline animation */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* active hover glow */
nav a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

/* LOGO ANIMATION */
.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: 0.3s;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

/* Theme Colors */
:root {
  --black: #36454F;
  --charcoal: #f7f7f3;
  --gold: #c79a2b;
  --white: #ffffff;
  --gray: #4b5563;
  --text-dark: #111827;
  --border-soft: #e8e2d4;
}

/* Body */
body {
  background: #f4f7f6;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 4%;
}

/* Header */
header {
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(199, 154, 43, 0.22);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  padding: 0px !important;
  border: none;
}

/* Logo */
.logo {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  white-space: nowrap;
  margin-left: 2%;
  margin-bottom: 2%;
}

.logo span {
  color: var(--text-dark);
  margin-left:2%;
  font-size: 16px;
  font-weight: 300;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  color: rgba(31, 41, 55, 0.98);
  text-decoration: none;
  margin-left: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.25s ease, font-weight 0.25s ease, transform 0.25s ease;
  position: relative;
}

.nav-menu a:hover {
  color: rgba(31, 41, 55, 0.98);
  font-weight: 600;
  transform: translateY(-1px);
}

.nav-menu a.active {
  color: var(--gold);
  font-weight: 700;
}

.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #f1c75b);
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  background: #b8912f;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* Modal */
body.modal-open,
html.modal-open {
  overflow: hidden;
  height: 100%;
}

.modal-overlay,
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 250, 240, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
}

.modal-overlay.active,
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog,
.popup-dialog {
  position: relative;
  width: min(560px, 100%);
  max-width: 100%;
  max-height: min(92dvh, 760px);
  overflow-y: auto;
  background: linear-gradient(145deg, #fffdf8, #f7efe0);
  border: 1px solid rgba(199, 154, 43, 0.25);
  border-radius: 20px 20px 0 0;
  padding: 24px 18px 20px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active .modal-dialog,
.popup-overlay.active .popup-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 24px;
  cursor: pointer;
}

.modal-dialog h3,
.popup-dialog h3 {
  color: var(--gold);
  margin-bottom: 8px;
  text-align: left;
}

.modal-dialog p,
.popup-dialog p {
  margin-bottom: 8px;
}

.enquiry-form label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  color: var(--text-dark);
  font-size: 14px;
}

.enquiry-form span {
  display: inline-block;
  min-width: 120px;
  margin-top: 10px;
  text-align: left;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  flex: 1;
  width: 100%;
  padding: 12px;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  border-radius: 8px;
  outline: none;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--gold);
}

.form-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray);
}

/* Section Base */
section {
  padding: 80px 0;
}

/* Headings */
h1, h2, h3 {
  font-weight: 600;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--gold);
}

/* Text */
p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.75;
}

/* ===============================
   HERO SECTION
================================= */

.hero {
  min-height: 100vh;
  background: linear-gradient(
      120deg,
      rgba(255, 249, 238, 0.96),
      rgba(255, 244, 223, 0.9)
    ),
    url("../image/home-bg.png");
  background-blend-mode: soft-light;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-bottom: 2%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(199, 154, 43, 0.18), transparent 35%);
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(199, 154, 43, 0.25);
  color: var(--text-dark);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-badge span {
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  color: var(--charcoal);
  margin-bottom: 15px;
  line-height: 1.08;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  color: var(--charcoal);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-secondary {
  background: antiquewhite;
  border: 1px solid rgba(199, 154, 43, 0.32);
  color: var(--text-dark);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 700px;
}

.stat-card {
  padding: 16px;
  border-radius: 14px;
  background: antiquewhite;
  border: 1px solid rgba(199, 154, 43, 0.2);
  backdrop-filter: blur(10px);
}

.stat-card strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.stat-card span {
  color: var(--gray);
  font-size: 13px;
}

/* ===============================
   SECTION INTROS
================================= */

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.left {
  margin: 0 0 28px;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 700;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  font-size: 16px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.trust-chip {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(199, 154, 43, 0.14);
  background: linear-gradient(135deg, rgba(199, 154, 43, 0.08), rgba(255, 255, 255, 0.03));
}

.trust-chip strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.trust-chip span {
  color: var(--gray);
  font-size: 13px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid rgba(199, 154, 43, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 0;
  background: rgba(199, 154, 43, 0.16);
  font-size: 20px;
  flex-shrink: 0;
}

.feature-card h3 {
  color: var(--text-dark);
  margin-bottom: 0;
}

/* ===============================
   GRID SYSTEM
================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ===============================
   CARDS
================================= */

.card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--gray);
}

/* ===============================
   HIGHLIGHT BOX
================================= */

.highlight {
  background: rgba(199, 154, 43, 0.12);
  border-left: 4px solid var(--gold);
  padding: 15px;
  margin: 20px 0;
}

/* ===============================
   COAL GRADE TABLE (G7â€“G11)
================================= */

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}

.table th,
.table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table th {
  background: rgba(199, 154, 43, 0.12);
  color: var(--text-dark);
  font-weight: 600;
}

.table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ===============================
   GRADE & LOGISTICS PANELS
================================= */
.grades-layout {
  display: grid;
  gap: 20px;
}

.grade-pills {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.grade-pill {
  padding: 14px 12px;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(199, 154, 43, 0.16);
}

.grade-pill strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.grade-pill span {
  color: var(--gray);
  font-size: 12px;
}

.table-wrap {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(199, 154, 43, 0.16);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.process-card {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(199, 154, 43, 0.16);
}

.process-card h3 {
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* ===============================
   CONTACT FORM
================================= */

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px !important;
}

.map-wrap {
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(199, 154, 43, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.contact-details {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(199, 154, 43, 0.24), rgba(255, 208, 88, 0.14));
  color: var(--gold);
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(199, 154, 43, 0.3);
}

.contact-phone {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.contact-phone:hover {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-call-btn {
  background: linear-gradient(135deg, var(--gold), #f2c96b);
  color: var(--black);
  box-shadow: 0 8px 20px rgba(199, 154, 43, 0.2);
}

.contact-call-btn:hover {
  background: linear-gradient(135deg, #f2c96b, var(--gold));
  transform: translateY(-2px);
}

form {
  max-width: 700px;
  margin: auto;
  background: #fffdf9;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  border-radius: 5px;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
}

/* ===============================
   GALLERY
================================= */

.gallery-intro {
  text-align: center;
  margin-bottom: 24px;
  color: var(--gray);
}

.gallery-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.gallery-marquee:hover .gallery-nav,
.gallery-marquee:focus-within .gallery-nav {
  opacity: 1;
  pointer-events: auto;
}

.gallery-nav:hover {
  background: rgba(199, 154, 43, 0.9);
  color: var(--black);
}

.gallery-nav-left {
  left: 12px;
}

.gallery-nav-right {
  right: 12px;
}

.gallery-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.gallery-group {
  display: flex;
  gap: 18px;
  padding: 18px;
  flex-shrink: 0;
}

.gallery-card {
  width: min(280px, 80vw);
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.15);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(247, 239, 224, 0.8));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #f5efe2;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-card:hover img,
.gallery-card:hover video {
  transform: scale(1.04);
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .gallery-card {
    width: min(240px, 74vw);
    height: 200px;
  }
}

/* ===============================
   FOOTER
================================= */

footer {
  background: #f7f2e7;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.dark-mode body {
  background: linear-gradient(135deg, #050608 0%, #121820 45%, #090d12 100%);
  color: var(--white);
}

.dark-mode header,
.dark-mode .navbar {
  background: rgba(8, 10, 13, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dark-mode .navbar:hover {
  background: rgba(8, 10, 13, 0.98);
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.dark-mode .nav-menu a {
  color: #ffffff;
}

.dark-mode .nav-menu a:hover,
.dark-mode .nav-menu a.active {
  color: #ffd95d;
}

.dark-mode .menu-toggle span {
  background: var(--white);
}

.dark-mode .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.dark-mode .hero {
  background: linear-gradient(120deg, rgba(0,0,0,0.86), rgba(0,0,0,0.5)), url("../image/home-bg.png");
}

.dark-mode .hero-badge,
.dark-mode .hero-stats .stat-card,
.dark-mode .trust-chip,
.dark-mode .feature-card,
.dark-mode .card,
.dark-mode .process-card,
.dark-mode .table-wrap,
.dark-mode .map-wrap,
.dark-mode .form,
.dark-mode .gallery-marquee,
.dark-mode .gallery-card {
  background: rgba(255, 255, 255, 0.06);
}

.dark-mode .hero-badge{
  color: var(--charcoal);
}

.dark-mode .grade-pill,
.dark-mode .process-card,
.dark-mode .table-wrap {
  background: rgba(255, 255, 255, 0.08);
}

.dark-mode .grade-pill {
  border-color: rgba(255, 255, 255, 0.12);
}

.dark-mode .process-card,
.dark-mode .card,
.dark-mode .feature-card,
.dark-mode .trust-chip {
  border-color: rgba(255, 255, 255, 0.12);
}

.dark-mode .card h3,
.dark-mode .feature-card h3,
.dark-mode .process-card h3,
.dark-mode .section-heading h2,
.dark-mode .hero h1,
.dark-mode .modal-dialog h3,
.dark-mode .popup-dialog h3 {
  color: var(--gold);
}

.dark-mode .section-heading p,
.dark-mode .hero p,
.dark-mode .feature-card p,
.dark-mode .process-card p,
.dark-mode .contact-card p,
.dark-mode .contact-phone,
.dark-mode .gallery-intro,
.dark-mode footer p,
.dark-mode .form-note {
  color: rgba(255,255,255,0.84);
}

.dark-mode .section-dark .section-heading h2,
.dark-mode .section-accent .section-heading h2,
.dark-mode .grade-pill strong,
.dark-mode .process-card h3,
.dark-mode .modal-close {
  color: var(--gold);
}

.dark-mode .container {
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.12);
}

.dark-mode .grade-pill span,
.dark-mode .section-dark .section-heading p,
.dark-mode .section-accent .section-heading p,
.dark-mode .section-dark .eyebrow,
.dark-mode .section-accent .eyebrow {
  color: rgba(255,255,255,0.84);
}

.dark-mode .table th{
  color: var(--gold);
  background: rgba(199, 154, 43, 0.12);
}
.trust-chip strong,
.stat-card strong  {
  color: var(--gold);
}
.dark-mode .modal-dialog, .dark-mode .popup-dialog,.dark-mode form,
.dark-mode .enquiry-form input,
.dark-mode .enquiry-form select,
.dark-mode .enquiry-form textarea {
  background: #111419;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.dark-mode .gallery-card img,
.dark-mode .gallery-card video {
  background: #0e1116;
}

.dark-mode footer {
  background: #090c11;
}

footer p {
  color: var(--gray);
  font-size: 14px;
}

.dark-mode .brand-subtitle,
.dark-mode .nav-menu a,
.dark-mode .eyebrow,
.dark-mode .stat-card span,
.dark-mode .trust-chip span,
.dark-mode .feature-card h3,
.dark-mode .feature-card p,
.dark-mode .process-card p,
.dark-mode .card p,
.dark-mode footer p,
.dark-mode .table td,
.dark-mode .gallery-intro {
  color: var(--charcoal);
}

footer span {
  color: var(--gold);
}

/* ===============================
   WHATSAPP FLOAT BUTTON
================================= */

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: white;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* ===============================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 40px;
  }

  nav a {
    margin-left: 12px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hero-stats,
  .trust-band,
  .grade-pills {
    grid-template-columns: 1fr;
  }

  .contact-card {
    align-items: flex-start;
  }

  .contact-details {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
    text-align: center;
  }

  .coal-mine-logo-container {
    padding: 6px 10px 6px 6px;
    min-width: 0;
    gap: 8px;
  }

  .mine-logo-svg {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .mine-glowing-ring {
    width: 48px;
    height: 48px;
    left: 6px;
  }

  .brand-subtitle {
    font-size: 8px;
  }

  .hero {
    text-align: center;
    padding: 0 20px;
  }

  .hero-content {
    margin: auto;
  }

  .hero h1 {
    font-size: 32px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .header-flex {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    margin-left: 0;
    padding: 8px 0;
    width: 100%;
  }

  .logo {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .modal-overlay,
  .popup-overlay {
    align-items: flex-end;
  }

  .modal-dialog,
  .popup-dialog {
    width: 100%;
    border-radius: 18px 18px 0 0;
    padding: 20px 16px 18px;
  }

  .enquiry-form label {
    flex-direction: column;
    gap: 6px;
  }

  .enquiry-form span {
    min-width: 0;
    margin-top: 0;
  }
}

/* ===============================
   ULTRA PREMIUM NAVBAR
================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 252, 246, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  transition: all 0.4s ease;
}

/* hover glow + depth */
.navbar:hover {
  background: rgba(255, 252, 246, 0.95);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* LOGO */
.logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  transition: 0.3s;
}

.logo span {
  color: var(--white);
}

.logo:hover {
  transform: scale(1.08);
  text-shadow: 0 0 8px rgba(199, 154, 43, 0.24);
}

.theme-toggle {
  margin-left: 16px;
  border: 1px solid rgba(199, 154, 43, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-dark);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.theme-toggle:hover {
  background: rgba(199, 154, 43, 0.12);
  transform: translateY(-1px);
}

/* NAV LINKS */
nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
  position: relative;
  transition: 0.3s ease;
  padding: 6px 0;
}

/* animated underline */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #fff3b0);
  transition: 0.35s ease;
}

nav a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

nav a:hover::after {
  width: 100%;
}

/* ===============================
   SECTION PREMIUM EFFECTS
================================= */

section {
  padding: 20px 0;
  position: relative;
}

/* subtle background glow */
section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(212, 175, 55, 0.08);
  filter: blur(100px);
  top: 10%;
  left: -100px;
  z-index: 0;
}

.card {
  background: linear-gradient(145deg, #fefcf7, #f7efe0);
  padding: 25px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* glowing edge */
.card::before {
  content: "";
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.12), transparent 60%);
  transform: rotate(25deg);
  opacity: 0;
  transition: 0.5s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}
.hero {
  height: 100vh;
  background:
    linear-gradient(120deg, rgba(0,0,0,0.85), rgba(0,0,0,0.6)),
    url("../image/home-bg.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

/* animated overlay glow */
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212,175,55,0.12), transparent 60%);
  animation: pulseGlow 6s infinite alternate;
}

@keyframes pulseGlow {
  from { opacity: 0.4; }
  to { opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Append these updated design rules into your main style.css stylesheet */
.coal-mine-logo-container {
  margin-top:5px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 8px;
    min-width: 190px;
    width: auto;
    background: aliceblue;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.35), 0 4px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Subtle gritty background accent texture mimicking a mine shaft wall */
.coal-mine-logo-container::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(#ffffff 1px, transparent 0), radial-gradient(#ffffff 1px, transparent 0);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    pointer-events: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    position: relative;
    z-index: 2;
    margin-left: 3px;
}

.brand-subtitle {
    font-size: 9px;
    letter-spacing: 0.16em;
    color: #c4c4c4;
    text-transform: uppercase;
    margin-top: 2px;
}

.mine-logo-svg {
    width: 48px;
    height: 48px;
    min-width: 48px;
    z-index: 2;
}

/* Industrial Gold Headlamp/Lantern Glow Effect */
.mine-glowing-ring {
    position: absolute;
    width: 56px;
    height: 56px;
    left: 8px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ffb700;
    border-right-color: rgba(255, 183, 0, 0.2);
    z-index: 1;
    filter: drop-shadow(0 0 4px #ffb700);
    animation: spinMineRing 3.2s linear infinite;
}

/* Seamless Bottom-to-Top Rising Arrow Engine */
.mine-animated-arrow {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: shootArrowUp 4.0s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    filter: drop-shadow(0px 2px 6px rgba(255, 183, 0, 0.6));
}

@keyframes shootArrowUp {
    0% {
        stroke-dashoffset: 200; /* Hidden deep in the base of the mine structure */
    }
    35% {
        stroke-dashoffset: 0; /* Accelerates upwards and builds out completely */
    }
    75% {
        stroke-dashoffset: 0; /* Remains illuminated at the peak trade destination */
    }
    90% {
        stroke-dashoffset: -200; /* Dissolves cleanly off-screen */
    }
    100% {
        stroke-dashoffset: -200; /* Short reset delay before launching the next loop cycle */
    }
}

@keyframes spinMineRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dark-mode .nav-menu a, .dark-mode .hero h1, .dark-mode .enquiry-form span, .dark-mode .modal-dialog p{
    color: var(--charcoal);
}
.dark-mode .hero{
  background-blend-mode:normal;
}
.contact-us
{
  border-bottom: none !important;
}

.theme-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-track {
  position: relative;
  width: 58px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8dce3, #9aa4b2);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.22);
  transition: all 0.25s ease;
}

.theme-toggle-icon {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff7c2;
  color: #f39c12;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

html.dark-mode .theme-toggle-track {
  background: linear-gradient(135deg, #1f2630, #374151);
}

html.dark-mode .theme-toggle-icon {
  left: 31px;
  background: #2d3748;
  color: #f8d56d;
}

.theme-toggle:hover .theme-toggle-track {
  filter: brightness(1.06);
}

.theme-toggle:focus-visible {
  outline: 2px solid #ffb700;
  outline-offset: 4px;
  border-radius: 999px;
}

.brand-subtitle, .logo span{
 color: var(--text-dark);
 font-weight: 600;
}
.dark-mode .brand-subtitle{
  color: var(--charcoal); 
}

.dark-mode .logo span{
  color: var(--white); 
}

.dark-mode .coal-mine-logo-container {
  background: linear-gradient(135deg, #12161b 0%, #1c2128 100%);
  border-color: rgba(255, 255, 255, 0.08);
}