/* ===================================================================================
   Global Variables
=================================================================================== */
:root {
  --primary-color: #020124;
  --secondary-color: #202538;
  --accent-gradient: linear-gradient(135deg, #2e2bb5, #2dd4bf);
  --text-color: #ffffff;
  --muted-color: #7c74ff;
  --highlight-color: #d6deff;
  --font-family: "Inter", sans-serif;
  --border-radius: 10px;
  --transition: all 0.3s ease-in-out;
  --custom-bg-dark: #121521;
  --custom-bg-secondary: #070a0f;
  --footer-link-color: #d2d7e5;
  --card-bg: #1c1e2a;
  --leader-hover-bg: #242736;
  --section-description-color: #d2d7e5;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&display=swap");

/* ===================================================================================
   Reset and Base
=================================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

section {
  overflow-x: hidden;
}
body {
  text-align: justify;
}

/* ===================================================================================
   Utilities
=================================================================================== */
.text-muted {
  color: var(--muted-color) !important;
}

.text-highlight {
  color: var(--highlight-color);
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

.text-grey {
  color: rgb(127, 130, 143) !important;
}

.underline {
  width: 60px;
  height: 3px;
  background-color: #6a5acd;
}

.bg-blur {
  backdrop-filter: blur(20px);
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 1rem;
}

.py-80 {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-padding {
  padding: 60px 0;
}

.custom-dark {
  background-color: var(--custom-bg-dark);
}

.custom-dark-secondary {
  background-color: var(--custom-bg-secondary);
}
/* ===================================================================================
   Navbar
=================================================================================== */
.navbar {
  background-color: var(--primary-color);
}

.navbar-brand,
.nav-link {
  position: relative;
  color: var(--muted-color);
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -23px;
  height: 4px;
  width: 0%;
  background-color: var(--text-color);
  transition: width 0.3s ease;
}

#navbarNav .nav-link:hover::after {
  width: 100%;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text-color) !important;
}

.nav-item button {
  background: #212537;
}

.nav-item .rounded-pill {
  padding: 5px;
  font-size: 14px;
}

.navbar-toggler {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===================================================================================
   Hero Section
=================================================================================== */
.hero-section {
  background: url("../img/bg.png") no-repeat center center;
  background-size: cover;
  min-height: calc(100vh - 100px);
  padding: 100px 20px;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3.2rem;
  }
  .footer-desc {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  #mobileDrawer .nav-link {
    padding: 20px;
  }
}

/* ===================================================================================
   Buttons
=================================================================================== */
.btn-gradient {
  background: var(--accent-gradient);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--border-radius);
  border: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-gradient:hover {
  opacity: 0.9;
}

/* -----------------------------------
   7. Tables
----------------------------------- */
.custom-table-dark {
  background-color: var(--table-dark-bg);
  color: #fff !important;
}
.custom-table-dark.table-bordered thead tr th,
.custom-table-dark.table-bordered tbody tr td {
  color: #fff;
}

.custom-table-dark td,
.custom-table-dark th {
  border: 1px solid var(--border-color) !important;
}

.custom-table-dark td {
  background-color: var(--table-dark-bg);
}

.custom-table-dark th {
  background-color: var(--table-header-bg);
}

.custom-table-dark tbody tr:hover {
  background-color: var(--table-hover-bg);
}

/* -----------------------------------
   8. Hero Section
----------------------------------- */
.hero-section {
  background: url("../img/bg.png") no-repeat center center;
  background-size: cover;
  min-height: calc(100vh - 100px);
  padding: 100px 20px;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--overlay-bg);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}

/* -----------------------------------
   9. Section Heading
----------------------------------- */
section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
}

/* -----------------------------------
   10. Counter Section
----------------------------------- */
.counter-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.counter.plus::after {
  content: "+";
  margin-left: 2px;
}

/* -----------------------------------
   11. Offcanvas Custom
----------------------------------- */
.offcanvas.offcanvas-end {
  top: 0;
  right: 0;
  width: 300px;
  border-left: var(--bs-offcanvas-border-width) solid
    var(--bs-offcanvas-border-color);
  transform: translateX(100%);
}

/* -----------------------------------
   13. Learn More Link
----------------------------------- */
a.text-primary {
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

a.text-primary:hover {
  color: #6c5ce7; /* Can be made a variable if reused */
}

a.text-primary i {
  transition: transform 0.3s ease;
}

a.text-primary:hover i {
  transform: translateX(5px);
}

/* -----------------------------------
   14. Images
----------------------------------- */
.img-fluid.rounded {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* -----------------------------------
   15. Text Utilities
----------------------------------- */
.text-white-50 {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -----------------------------------
   16. Info Cards (Mission, Vision, etc.)
----------------------------------- */
.info-card {
  background-color: #1c1e2a;
  padding: 1.5rem;
  border-radius: 16px;
  color: #bfc6dc;
  font-size: 0.95rem;
}

.who-we-are-title {
  border-left: 3px solid #4e57ff;
  padding-left: 12px;
  margin-bottom: 1.2rem;
  font-weight: 500;
  color: #b3b9d1;
  font-size: 0.95rem;
}

/* Mission/Vision Box Layout (for height consistency) */
@media (min-width: 768px) {
  .mission-box,
  .vision-box {
    min-height: 100%;
  }
}

/* -----------------------------------
   17. Infrastructure Section
----------------------------------- */
.expertise-section {
  background: url("../img/coal-bg.png") no-repeat center center/cover;
  color: #fff;
  position: relative;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #b3b9d1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1rem;
  color: #d2d7e5;
  margin-bottom: 1.2rem;
}

/* -----------------------------------
   18. Service Cards
----------------------------------- */
.service-card {
  background-color: #0f111c;
  border-radius: 18px;
  padding: 1.5rem 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background-color: #181b28;
}

.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.5rem;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.service-subtext {
  font-size: 0.9rem;
  color: #bfc6dc;
  margin-bottom: auto;
}

.learn-link {
  font-size: 0.9rem;
  color: #8369f5;
  text-decoration: none;
  font-weight: 500;
}

.learn-link:hover {
  text-decoration: underline;
}

/* -----------------------------------
   19. Leadership Section
----------------------------------- */
.leadership-section {
  position: relative;
  overflow: hidden;
  background-color: var(--custom-bg-secondary);
}

.leader-card {
  background-color: var(--custom-bg-dark);
  border-radius: 18px;
  padding: 1.2rem 1.5rem;
  color: #cdd3e0;
  transition: background-color 0.3s ease;
}

.leader-card:hover {
  background-color: #242736;
}

.leader-img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.leader-name {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.leader-role {
  font-size: 0.9rem;
  color: #a6accd;
  margin-bottom: 0.25rem;
}

.leader-desc {
  font-size: 0.85rem;
  color: #bfc6dc;
  margin: 0;
}

/* Decorative Coal Image */
.coal-img {
  position: absolute;
  right: 0;
  bottom: -50px;
  max-width: 240px;
  z-index: 0;
}

/* -----------------------------------
   20. Footer Section
----------------------------------- */
.footer-section {
  background: url("../img/footer-bg.png") no-repeat center center/cover;
  color: #fff;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted-color);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: #d2d7e5;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #d2d7e5 !important;
  transform: translateX(-6px);
}

.footer-contact i {
  margin-right: 8px;
  color: #8369f5;
}

.footer-desc {
  font-size: 0.95rem;
  color: #c0c5d8;
}

.footer-social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: #1a1a1a;
  border-radius: 8px;
  color: white;
  margin-left: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-social-icon:hover {
  transform: translateY(-4px);
  background-color: #2a2a2a;
}

.footer-bottom {
  background: #000;
}

/* -----------------------------------
   21. Global Adjustments
----------------------------------- */
body {
  overflow-x: hidden;
  background-color: ;
}

/* -----------------------------------
   22. Navbar Toggler (Custom Hamburger Icon)
----------------------------------- */
.navbar-toggler {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* -----------------------------------
   23. Scroll to Top Button
----------------------------------- */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #000;
  border: none;
  border-radius: 50%;
  z-index: 999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
}

.scroll-to-top .progress-circle {
  position: absolute;
  transform: rotate(-90deg);
}

.scroll-to-top i {
  position: relative;
  font-size: 24px;
  z-index: 2;
}

/* -----------------------------------
   24. Animations
----------------------------------- */
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-header {
  animation: fadeSlideDown 0.5s ease-out forwards;
}

/* Logo Fade-In */
@keyframes logoFadeIn {
  to {
    opacity: 1;
  }
}

/* Word-by-Word Reveal */
@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -----------------------------------
   25. Page Header (Inner Banner)
----------------------------------- */
.inner {
  background: url(../img/inner-images.png);
  min-height: 300px;
  text-align: center;
}

.page-title {
  text-align: center !important;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px) brightness(1.1);
  -webkit-backdrop-filter: blur(10px) brightness(1.1);
  display: inline-block;
  margin: 0 auto;
  padding: 6px 34px;
  border-radius: 7px 60px;
  font-size: 34px;
}

/* -----------------------------------
   26. Miners Section
----------------------------------- */
/*.miners-section {
  background-color: #0b0d1a;
}*/

/* -----------------------------------
   27. Loader / Intro Screen
----------------------------------- */
.intro-wrapper {
  position: fixed;
  inset: 0;
  background-color: #070e13;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.intro-logo {
  width: 600px;
  opacity: 0;
  animation: logoFadeIn 0.1s ease-out forwards;
}

.intro-text {
  margin-top: 1.5rem;
  font-size: 3rem;
  color: #fff;
  overflow: hidden;
  display: inline-block;
}

.intro-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.6s ease-out forwards;
  margin-right: 10px;
}

/* -----------------------------------
   28. Utility Classes (Extras)
----------------------------------- */
.text-grey {
  color: rgb(127, 130, 143) !important;
}

.underline {
  width: 60px;
  height: 3px;
  background-color: #6a5acd;
}

/* -----------------------------------
   29. Logos/Client Sections
----------------------------------- */
.shipping-c,
.c-parties,
.miner-logo {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* -----------------------------------
   30. Owl Carousel Wrapper
----------------------------------- */
.owl-carousel {
  position: relative;
}

/* -----------------------------------
   12. Responsive Queries
----------------------------------- */
@media (max-width: 767.98px) {
  .btn-gradient {
    font-size: 15px;
  }
  .hero-section h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  #mobileDrawer .nav-link {
    padding: 20px;
  }

  .inner {
    min-height: 100px;
  }
  .intro-logo {
    width: 200px !important;
  }
}

/*for tab*/

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3.2rem;
  }

  .footer-desc {
    max-width: 320px;
  }
}
@media (min-width: 1400px) {
  .container-1200 {
    max-width: 1200px !important;
  }
}
.card-bg {
  background-color: #252939;
}
.footer-social-icon {
  display: none;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: var(--text-color) !important;
  font-weight: 600;
}