/* === GLOBAL UTILITIES === */
body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === SECTIONS === */
section {
  padding: 3rem 0;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}
.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #FF0000;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* === PRODUCT CARDS === */
.product-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.product-card .card-header {
  background: #FF0000;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-card .card-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.product-card .card-text {
  text-align: center;
  font-size: 0.9rem;
}

/* === DISTRIBUTION LINE === */
.network-line {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.network-line .line {
  width: 200px;
  border-top: 2px dashed #FF0000;
}
.network-line .dot {
  width: 16px;
  height: 16px;
  background: #FF0000;
  border-radius: 50%;
}

/* === TESTIMONIALS === */
.testimonial {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 700px;
  margin: auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
.testimonial blockquote {
  font-style: italic;
}
.testimonial .author {
  color: #FF0000;
  font-weight: bold;
  margin-top: 15px;
}
.testimonial .position {
  color: #666;
  font-size: 14px;
}
.slider-dots {
  margin-top: 20px;
  text-align: center;
}
.slider-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: gray;
  border-radius: 50%;
  margin: 0 5px;
}
.slider-dots .dot.active {
  background: #FF0000;
}

/* === FOOTER === */
footer {
  background: #000;
  color: #eee;
  padding: 60px 20px;
  text-align: center; /* Center everything */
}

.footer-column {
  margin-bottom: 30px;
}

footer h4 {
  margin-bottom: 20px;
  font-family: 'League Spartan', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  margin: 0 auto;
  display: inline-block; /* Keep ul centered */
  text-align: left;      /* Align list items nicely */
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #FF0000;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons .social-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  background: #FF0000;
  color: white;
  text-align: center;
  border-radius: 50%;
  margin: 0 5px;
  font-weight: bold;
  font-size: 1rem;
}

/* === TRANSPARENT NAVBAR === */
.transparent-navbar {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: background-color 0.3s ease;
  z-index: 999;
  height: 80px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* === LOGO === */
.navbar-brand img {
  max-height: 182px; /* Ensure logo fits inside navbar */
  width: auto;
}
@media (max-width: 768px) {
  .navbar-brand img {
    height: 50px; /* smaller logo on mobile */
  }
}

/* === NAVBAR LINKS === */
.navbar-nav .nav-link {
  font-weight: 700;
  font-size: 1.2rem;
  color: black;
  position: relative;
  padding: 0 0.75rem;
  line-height: 80px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #FF0000;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #FF0000;
  border-radius: 2px;
}

/* Hamburger background */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff !important;
    padding: 1.5rem 1rem;
    border-radius: 0.5rem;
  }

  .navbar-nav .nav-link {
    color: #000 !important;
    padding: 0.75rem 1rem;
    font-weight: 600;
    display: block;
    text-align: center;
  }

  .navbar-nav .nav-link.active {
    color: #FF0000 !important;
    border-bottom: 2px solid #FF0000;
  }
}


/* === SPACING FOR DESKTOP === */
.navbar-nav {
  gap: 1.5rem;
}

#home {
  padding-top: 80px; /* Same height as navbar */
}



/* === BOUNCING ARROW === */
.bouncing-arrow {
  font-size: 2rem;
  color: #FF0000;
  animation: bounce 2s infinite;
  text-align: center;
  margin-top: 20px;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* === CONTACT === */
#contact {
  padding: 3rem 0;
  margin-top: 0;
  background-color: #f9f9f9;
}

.phone-hover:hover {
  color: #FF0000 !important;
  text-decoration: underline;
}

#contact .section-title {
  font-family: 'League Spartan', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
}


#contact .container {
  padding: 1rem 0;
}

#contact .bg-white {
  padding: 1rem 0;
}

.phone-hover:hover {
  color: #FF0000 !important;
  text-decoration: underline;
}


/* === HERO GLASS BOX === */
.hero-glass {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.95;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  max-width: 1000px;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Typography */
.hero-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}

.hero-paragraph {
  font-size: 1.1rem;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
}

/* === Dramatic Double Underline === */
.underline-drama {
  position: relative;
  display: inline-block;
}

.underline-drama::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 6px;
  background-image: linear-gradient(to right, transparent 10%, #FF0000 40%, #FF0000 60%, transparent 90%);
  background-size: 100% 2px, 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom, bottom 6px;
}

/* === Highlight Brush Effect (lighter + centered) === */
.highlight-brush {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 0.2rem 0.4rem;
  z-index: 1;
}

.highlight-brush::before {
  content: '';
  position: absolute;
  left: 0;
  top: 30%;
  width: 100%;
  height: 60%;
  background: #FF0000;
  opacity: 0.3; /* lighter opacity */
  z-index: -1;
  transform: skew(-8deg);
  border-radius: 4px;
}

/* === Paragraph Font Size Boost === */
.hero-paragraph {
  font-size: 1.2rem; /* increased from 1.1 */
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
}


/* === CAROUSEL === */
.carousel-inner, .carousel-item {
  height: 100%;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === MOBILE STYLES === */
@media (max-width: 768px) {
  section {
    padding: 2rem 0;
  }

  .product-card {
    margin-bottom: 1rem;
  }

  #about, #lubricants, #lpg {
    padding: 2rem 1rem !important;
  }

  #about h2, #about h3,
  #lubricants h2, #lubricants h3,
  #lpg h2, #lpg h4 {
    margin-bottom: 1rem;
  }

  #about p, #lubricants p, #lpg p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
  }

  #about img, #lubricants img, #lpg img {
    margin-bottom: 1rem;
  }

  .carousel-item img {
    object-fit: contain;
  }

  .hero-caption {
    position: relative;
    top: -10vh;
  }

  #contact .p-3 {
    padding: 1rem !important;
  }

  #contact h4 {
    margin-bottom: 0.75rem;
  }

  #contact p {
    margin-bottom: 0.5rem;
  }

  #contact .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}
/* === PORTFOLIO STYLES === */
/* === Glass Cards === */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px; /* Adjust based on your card design */
}


.glass-card:hover {
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(255, 0, 0, 0.2);
}

/* === Partner Logos === */
.partner-logo {
  max-height: 115px;
  margin-bottom: 1rem;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* === Partner Name === */
.partner-name {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.2rem;
  color: #212121;
  margin-bottom: -15px;
  font-weight: 600;
}
.patterned-section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  color: rgb(173, 25, 25);
  background-color: #1a1a1a;
  background-image: url('#topo-lines-pattern');
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 30 Q 30 10 60 30 T 200 30 M 0 60 Q 20 40 60 60 T 200 60 M 0 90 Q 25 110 60 90 T 200 90 M 0 120 Q 35 100 70 120 T 200 120 M 0 150 Q 40 170 80 150 T 200 150' fill='none' stroke='%23FF0000' stroke-width='1.5' stroke-dasharray='6 4' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
  background-attachment: fixed;
  backdrop-filter: blur(1px);
}

@keyframes pulseStroke {
  0% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: 10;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.animated-lines {
  animation: pulseStroke 6s linear infinite;
}
/* === MOBILE RESPONSIVENESS FIX === */
@media (max-width: 768px) {

  /* HERO Section */
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.65;
}

/* Fix for mobile screens */
@media (max-width: 768px) {
  .hero-bg-img {
    object-fit: contain;
    height: auto;
    max-height: 100vh;
  }

  #home {
    height: auto !important;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}


@media (max-width: 768px) {
  #home img {
    object-fit: contain;
    height: 100%;
    max-height: 100vh;
    object-position: top center;
  }
}

  .hero-glass {
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 95%;
    text-align: center;
    border-radius: 1rem;
  }

  .hero-heading {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  .hero-subtitle,
  .hero-paragraph {
    font-size: 1.1rem !important;
    line-height: 1.7;
  }

  .scroll-down {
    display: none; /* Hide arrow for smaller screens */
  }

  /* LPG Section */
  #lpg .row {
    flex-direction: column-reverse;
  }

  #lpg img {
    height: auto;
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 2rem;
  }
  @media (max-width: 768px) {
  #lpg img {
    object-fit: contain !important;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-position: center center;
  }
}


  #lpg .btn {
    width: 100%;
  }

  /* Contact image */
  #contact img {
    object-fit: contain;
    max-height: 300px;
  }

  /* Portfolio Section Pattern Fix */
  #portfolio svg {
    display: none; /* Optional: hide pattern if it overlaps */
  }

  /* General spacing for cards */
  .glass-card,
  .product-card {
    margin-bottom: 1.5rem;
  }

  .glass-card {
    padding: 1rem;
  }

  .partner-logo {
    max-height: 60px;
  }

  .section-title {
    font-size: 2rem !important;
  }
}
