:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #34495e;
}

/* Preloader Styling */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0d1117;
  top: 0;
  left: 0;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loader {
  border: 6px solid #ffffff30;
  border-top: 6px solid #0d6efd;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 1s linear infinite;
}

.loading-text {
  margin-top: 15px;
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  font-family: 'Oswald', sans-serif;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


body {
  font-family: "Roboto", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Oswald", sans-serif;
  color: var(--dark-color);
  font-weight: 600;
}

.navbar {
  background-color: var(--primary-color);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: white !important;
}

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-link {
  font-weight: 500;
  color: white !important;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("image/home.jpeg");
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #c0392b;
  border-color: #c0392b;
  transform: translateY(-3px);
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  text-align: center;
}

.section-title:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.about-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

/* Justify paragraph text */
.about-section p {
  text-align: justify;
}

/* Card container */
.capability-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  height: 100%;
}

/* Card hover effect */
.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Card image */
.capability-card img {
  width: 100%;
  height: 250PX;
}


/* Card body text */
.capability-card .card-body {
  padding: 20px;
}

/* ✅ Justify paragraph text */
.capability-card .card-text {
  text-align: justify;
}

.capability-card .card-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.services-section {
  padding: 100px 0;
  background-color: white;
}

.service-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
}

.service-box:hover {
  background-color: var(--light-color);
  transform: translateY(-5px);
}

.service-box i {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Products Section with Tabs */
.products-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}
.product-tabs .nav-link {
    color: #333 !important;
    background: none;
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.product-tabs .nav-link.active {
    background-color: #e74c3c;
    color: white !important;
}
.product-tabs .nav-link:hover:not(.active) {
    background-color: #ddd;
}

.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.product-card:hover {
    transform: translateY(-8px);
}
.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card img:hover {
    transform: scale(1.05);
}
.product-row .col-lg-4:nth-child(n+5) {
    display: none;
}

/* motivation  */
.motivation-section {
  padding: 100px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

/* Compliance Section */
.compliance-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

.compliance-logo {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;  /* Vertically center */
  align-items: center;       /* Horizontally center */

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 30px;
}


.compliance-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.compliance-logo img {
  max-height: 80px;
  margin-bottom: 15px;
}

.motivation-section h2 {
  color: white;
}

/* Premium Stats Section */
.stats-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), #0b2035);
  text-align: center;
}

.stat-box {
  transition: all 0.3s ease;
}

.stat-box-inner {
  background: rgba(255, 255, 255, 0.08);
  padding: 35px 25px;
  border-radius: 15px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: 0.4s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.stat-box-inner:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Icon Style */
.stat-box i {
  font-size: 48px;
  color: #e74c3c;
  margin-bottom: 12px;
  transition: 0.3s ease;
}

.stat-box-inner:hover i {
  transform: scale(1.15);
}

/* Number */
.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

/* Text */
.stat-text {
  font-size: 16px;
  color: #f1f1f1;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Quotes Section */
.quotes-section {
  padding: 100px 0;
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  color: white;
}

.quotes-section h2 {
  color: white;
}

.quote-item {
  text-align: center;
  padding: 0 50px;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.8;
}

.quote-author {
  font-weight: 600;
  font-size: 1.1rem;
}

.carousel-indicators {
  bottom: -60px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 5px;
}

.carousel-indicators button.active {
  background-color: var(--secondary-color);
}

.contact-section {
  padding: 100px 0;
  background-color: white;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 18px;
}

.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 70px 0 20px;
}

.footer h5 {
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 50px;
  text-align: center;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section {
    height: 100vh;
  }
}

/* Add bottom margin between cards on mobile view */
@media (max-width: 760px) {
  .compliance-section .col-sm-6 {
    margin-bottom: 20px; /* spacing between stacked cards */
  }

  /* Optional: make sure the last card doesn’t add extra space */
  .compliance-section .col-sm-6:last-child {
    margin-bottom: 0;
  }
}


/* Center the button on mobile */
@media (max-width: 768px) {
  .about-section .btn {
    display: block;
    margin: 20px auto 0; /* centers horizontally and adds spacing */
    text-align: center;
  }
}

/* ✅ Add spacing between cards on smaller screens */
@media (max-width: 760px) {
  .services-section .col-sm-6{
    margin-bottom: 20px;
  }
}