:root {
  --black: #121212;
  --dark: #1b1b1b;
  --gray: #2a2a2a;
  --accent: #c4161c;
  --text: #eaeaea;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--black);
  color: var(--text);
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background:var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loader img {
  width: 500px;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(18,18,18,0.95);
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  z-index: 100;
}

.navbar a {
  color: whitesmoke;
  margin-left: 30px;
  text-decoration: none;
  font-weight: 500;
}

.btn {
  background: blue;
  padding: 10px 20px;
  border-radius: 30px;
}
.navbar a:hover {
  color:blue;
}
.btn:hover {
  background: white;
  color: black; /* optional */
}


/* Hero */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
    url("../images/hero/hero_black_pearl\ \(2\).png") center/cover;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero h1 {
  font-size: 3.5rem;
}

.hero p {
  margin: 20px 0;
  max-width: 500px;
}

.hero a {
  color: whitesmoke;
  margin-left: 0px;
  text-decoration: none;
  font-weight: 1000;
}

/* Sections */
.section {
  padding: 100px 80px;
  background: whitesmoke;
}


.section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.product-card {
  background: var(--dark);
  padding: 15px;
  border-radius: 18px;
  transition: 0.4s;
}


.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}

/* Footer */
footer {
  background: #0e0e0e;
  padding: 40px;
  text-align: center;
  color: #aaa;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

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


/* Page Header */
.page-header {
  height: 50vh;
  background:
    linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
    url("../images/hero.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header h1 {
  font-size: 3rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-grid p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
}

/* Stats */
.stats {
  background: #0e0e0e;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 80px;
}

.stat h3 {
  font-size: 3rem;
  color: var(--accent);
}

.stat p {
  margin-top: 10px;
  color: #aaa;
}



/* Filters */
.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.filters input {
  padding: 12px 18px;
  border-radius: 30px;
  border: none;
  outline: none;
  width: 260px;
}

.filter-buttons button {
  background: var(--gray);
  color: var(--text);
  border: none;
  padding: 10px 20px;
  margin-left: 10px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.filter-buttons .active,
.filter-buttons button:hover {
  background: var(--accent);
}


/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--dark);
  padding: 30px;
  border-radius: 18px;
  transition: 0.4s;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,.4);
}

.blog-card h3 {
  margin: 15px 0;
}

.blog-card p {
  color: #bbb;
  line-height: 1.6;
}

.blog-card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent);
  text-decoration: none;
}

.tag {
  display: inline-block;
  background: var(--gray);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
}


/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  color: #bbb;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: var(--dark);
  color: var(--text);
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

.contact-form button {
  border: none;
  cursor: pointer;
}


/* Product Slider */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
}

.slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slide-btn {
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.slide-btn.prev {
  margin-right: 15px;
  background-color: black;
}

.slide-btn.next {
  margin-left: 15px;
  background-color: black;
}

.product-card {
  min-width: 260px;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}


.section h2 {
  color: #000000;
}




/* About Hero */
.about-hero {
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.about-hero-content {
  position: relative;
  max-width: 600px;
}

.about-hero h1 {
  font-size: 3rem;
}

/* About company */
.about-company {
  max-width: 800px;
}

/* Dark section */
.dark-section {
  background: #0f0f0f;
}

/* Vision mission */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.vm-card {
  background: #1b1b1b;
  padding: 30px;
  border-radius: 18px;
}

/* Certification slider */
.cert-slider {
  overflow: hidden;
}

.cert-track {
  display: flex;
  gap: 40px;
  overflow-x: hidden;
}

.cert-card {
  min-width: 200px;
  background: #1b1b1b;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
}

.cert-card img {
  height: 70px;
  filter: grayscale(100%);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
}

.stats h3 {
  font-size: 3rem;
  color: var(--accent);
}

/* Video Button */
.video-btn {
  margin-top: 20px;
  padding: 12px 26px;
  border-radius: 30px;
  border: none;
  background: #0000FF;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.video-box {
  position: relative;
  max-width: 800px;
  width: 90%;
}

.video-box video {
  width: 100%;
  border-radius: 12px;
}

.close-video {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* White section */
.white-section {
  background: #ffffff;
  color: #333;
}

/* Marquee */
.marquee-section {
  overflow: hidden;
  background: #0f0f0f;
  padding: 40px 0;
}

.marquee-track {
  display: flex;
  gap: 30px;
  animation: marquee 20s linear infinite;
}

.marquee-card {
  min-width: 300px;
  background: #1b1b1b;
  padding: 30px;
  border-radius: 18px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



/* Certifications */
.cert-slider {
  overflow: hidden;
}

.cert-track {
  display: flex;
  gap: 40px;
}

.cert-card {
  min-width: 200px;
  background: #1b1b1b;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
}

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 320px;
}

.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  opacity: 0;
  transition: 0.8s;
}

.about-img.active {
  opacity: 1;
}


/* Center stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
}

/* White section */
.white-section {
  background: #fff;
  color: #333;
}





/* CERTIFICATIONS PREMIUM */
.cert-light {
  background: #f7f7f7;
  color: #111;
}

.cert-marquee {
  overflow: hidden;
  margin-top: 40px;
}

.cert-track {
  display: flex;
  gap: 60px;
  animation: certMove 20s linear infinite;
}

@keyframes certMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cert-card {
  min-width: 220px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 0 transparent;
  transition: 0.4s;
}

.cert-card img {
  width: 160px;
  height: auto;
}

.cert-card:hover {
  box-shadow: 0 0 25px rgba(255,255,255,0.9);
}

.center { text-align: center; }



/* CERTIFICATIONS */
.cert-black {
  background: #000;
}

.cert-marquee {
  overflow: hidden;
  margin-top: 40px;
}

.cert-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: certFlow 25s linear infinite;
}

@keyframes certFlow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cert-card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 18px;
  transition: 0.4s;
}

.cert-card img {
  width: 180px;
}

.cert-card:hover {
  box-shadow: 0 0 30px rgba(255,255,255,0.8);
}


.center { text-align: center; }


/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stats h3 {
  font-size: 2.5rem;
  color: var(--accent);
}

/* CERTIFICATIONS */
.cert-black {
  background: #000;
}

.cert-marquee {
  overflow: hidden;
  margin-top: 40px;
}

.cert-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: certFlow 25s linear infinite;
}

@keyframes certFlow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cert-card {
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 25px;
  transition: 0.4s;
}

.cert-card img {
  width: 300px;
  height: 350px;
}

.cert-card:hover {
  box-shadow: 0 0 30px rgba(255,255,255,0.8);
}


/* CENTER TEXT */
.center {
  text-align: center;
}



.cert-black h2 {
  color: #ffffff;
}


/* SEARCH BAR */
.product-search {
  position: relative;
  max-width: 420px;
  margin: 0 auto 30px;
}

.product-search input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border-radius: 30px;
  border: none;
  background: #1f1f1f;
  color: #fff;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

/* CLICKABLE CARDS */
.product-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 500;
}

.product-top {
  text-align: center;
  margin-bottom: 30px;
}

.product-top select {
  padding: 12px 20px;
  border-radius: 30px;
  background: #1f1f1f;
  color: #fff;
  border: none;
}

.product-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 15px;
}


.blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.read-more {
  font-weight: 600;
  color: blue;
}




/* BLOG DETAIL PAGE */

.blog-detail {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  line-height: 1.9;
  font-size: 16px;
  color: #e5e5e5;
}

/* Headings */
.blog-detail h2 {
  font-size: 1.8rem;
  margin-top: 50px;
  margin-bottom: 15px;
  color: #ffffff;
  position: relative;
}

.blog-detail h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: blue;
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* Paragraphs */
.blog-detail p {
  margin-bottom: 20px;
  color: #cfcfcf;
}

/* Page Header Upgrade */
.page-header {
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.5)
  ), url("../images/hero.jpg") center/cover;
}

.page-header h1 {
  font-size: 3rem;
  color: #ffffff;
  max-width: 900px;
  margin: auto;
}

/* Back Button */
.blog-detail .btn {
  margin-top: 50px;
  display: inline-block;
  background: blue;
  padding: 12px 28px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.blog-detail .btn:hover {
  background: #ffffff;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.2rem;
  }

  .blog-detail {
    font-size: 15px;
  }
}

/* BLOG DETAIL TEXT COLOR — BLACK */

.blog-detail {
  color: #111;
}

.blog-detail p {
  color: #333;
}

.blog-detail h2 {
  color: #000;
}

/* Page header text stays white (correct for banner) */
.page-header h1 {
  color: #fff;
}

/* CONTACT PAGE */

.contact-section {
  background:white;
  padding-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 30px;
  color: #fff;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.info-item img {
  width: 40px;
  height: 40px;
}

.info-item h4 {
  margin-bottom: 5px;
  color:black;
}

.info-item p {
  color: black;
}

.map-link {
  display: inline-block;
  margin-top: 5px;
  color: blue;
  text-decoration: none;
  font-weight: 500;
}

/* FORM */

.contact-form {
  background: black;
  padding: 40px;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  background: #2a2a2a;
  color: #fff;
  font-size: 14px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.submit-btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


.leader-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.leader-card .role {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.leader-card p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .leader-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .leader-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== LEADERSHIP STATIC SECTION ===== */

.leader-static-section {
  background: #ffffff;
  color: #111;
}

.leader-static-section h2 {
  color: #000;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.leader-card {
  background: #1b1b1b;
  color: #fff;
  padding: 45px 30px;
  border-radius: 28px;
  text-align: center;
  transition: 0.4s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.leader-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0000FF;
  margin-bottom: 20px;
}

.leader-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.leader-card .role {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.leader-card p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .leader-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .leader-grid {
    grid-template-columns: 1fr;
  }
}

/* STATS RESPONSIVE */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stats h3 {
  font-size: 3rem;
  color: #0000ff;
}

.stats p {
  font-size: 14px;
  color: #aaa;
}

/* Tablet */
@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .stats h3 {
    font-size: 2.4rem;
  }
}


/* Pause certification marquee on hover & touch */
.cert-marquee:hover .cert-track,
.cert-marquee:active .cert-track {
  animation-play-state: paused;
}


.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}


.contact-form {
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
    url("../images/contactback/contactback.jpg") center/cover no-repeat;
  padding: 50px;
  border-radius: 24px;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 35px 25px;
  }
}




/* HAMBURGER ICON */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* MOBILE VIEW */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #121212;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 25px 0;
  }

  .navbar nav a {
    margin: 12px 0;
    font-size: 18px;
  }

  .navbar nav.active {
    display: flex;
  }
}


/* Navbar base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  position: relative;
  z-index: 1000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.4s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    text-align: center;

    /* animation magic */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.3s ease;
    padding: 0;
  }

  nav a {
    padding: 14px 0;
    display: block;
  }

  nav.active {
    max-height: 400px;
    padding: 15px 0;
  }
}


.logo img {
  height: 60px;        /* adjust as needed */
  width: auto;
  display: block;
}

.blog-detail {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 40px 20px;
  background: #ffffff;
}
.page-header {
  padding: 140px 20px;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("../images/hero/hero_black_pearl.png") center/cover no-repeat;
}

.video-btn:hover {
  background: #ffffff;
  color: #000000;
}



.footer-socials {
  margin: 20px 0;
}

.footer-socials a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1b1b1b;
  color: #fff;
  margin: 0 6px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: #0000FF;
  transform: translateY(-4px);
}

.footer-links a {
  color: #aaa;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color:#0000ff;
}



.product-card img {
  width: 100%;
  height: 220px;   /* image height badhao */
  object-fit: contain; /* image distort na ho */
}

.slider {
  display: flex;
  gap: 20px;
}

.product-card {
  min-width: 300px; /* card ki width */
  background:black;
  padding: 15px;
  border-radius: 30px;
  text-align: center;
}
@media (max-width: 768px) {
  .product-card {
    min-width: 100%;   /* ek card pura dikhe */
  }

  .product-card img {
    height: 260px;     /* mobile ke liye image aur badi */
  }
}
.slider {
  overflow-x: auto;
  scroll-behavior: smooth;
}

.slider::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* FORCE certificates images to show in color */
.cert-card img {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1;
}


