/*___________________________Base Styles___________________________*/

:root {
  --primary-color: #2bc6fe;
  --secondary-color: #000000;
  --accent-color: #2bc6fe;
  --dark-color: #000000;
  --light-color: #f8f9fa;
  --text-color: #333;
  --text-light: #777;
  --white: #ffffff;
  --black: #000;
  --gray: #e9ecef;
  --dark-gray: #6c757d;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
  --transition: all 0.2s ease;
  --border-radius: 40px;
  --border-radius-lg: 40px;
  /* --container-width: 1500px;  */
  --header-height: 120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

ul {
  list-style: none;
}

img {
  max-width: 90%;
  height: auto;
  display: block;
}

.container {
  width: 95%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 16px; /* Optional: adds breathing room */
}

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/*___________________________Glow Effect___________________________*/
.glow-effect {
  position: relative;
  overflow: hidden;
}

.glow-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition);
}

.glow-effect:hover::before {
  left: 100%;
}

/*___________________________Shadow Effect___________________________*/
.shadow-effect {
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.shadow-effect:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/*___________________________Loading Animation___________________________*/
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--gray);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loader-hidden {
  opacity: 0;
  visibility: hidden;
}
/*___________________________Announcement Bar Styles___________________________*/
.announcement-bar {
  background: var(--primary-color);
  color: var(--white);
  height: 40px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  overflow: hidden; /* Important: hides the text outside the bar */
  display: flex;
  align-items: center;
}
.announcement-bar p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
}
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content {
  display: inline-flex;
  animation: scroll-left 25s linear infinite;
}

.marquee-content p {
  display: inline-block;
  padding-right: 50px; /* Space between the two sets of text */
  margin-bottom: 0;
  font-size: 0.85rem;
}
.header {
  top: 40px;
}
.header.scrolled {
  top: 40px;
}
.hero {
  margin-top: 40px;
}

@media (min-width: 992px) {
  .marquee-content {
    animation: none;
    display: block;
    text-align: center;
    width: 100%;
  }
  .marquee-content p:last-child {
    display: none; /* Hide the duplicate on desktop */
  }
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* Moves by half because we duplicated the text */
}

/*___________________________Header Styles___________________________*/
.header {
  position: fixed;
  left: 0;
  width: 100%;
  height: 120px;
  color: var(--light-color);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Optional: adds a crisp edge */
}
.header.scrolled {
  height: 60px;
  color: var(--text-color);
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.logo img {
  padding: 0;
  max-height: 90px;
  max-width: 90%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}
.header.scrolled .logo img {
  height: 50px;
  width: auto;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-color);
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--dark-color);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-toggle.active .hamburger {
  background-color: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
/* 1. Pehle desktop par inko hide karein */
.mobile-social-links {
  display: none;
  margin-top: 2rem;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-social-links a {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* 2. Mobile Media Query ke andar isse show karein */
@media (max-width: 768px) {
  .nav-list.active .mobile-social-links {
    display: flex; /* Jab menu active ho tab show ho */
    justify-content: center;
  }

  .nav-list {
    /* Aapki existing styling mein display flex hai, social links ko end mein rakhne ke liye ye zaroori hai */
    justify-content: flex-start !important;
  }
}

/*___________________________Hero Section___________________________*/
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero .container {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding-top: 120px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-text {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.hero-controls button {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero-controls button:hover {
  background-color: var(--primary-color);
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background-color: var(--white);
  transform: scale(1.2);
}

/*___________________________About Section___________________________*/
.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;

  position: relative;
}

.about-text {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about-image {
  align-items: center;
  flex: auto;
  position: relative;
}
.about-image img {
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

/*___________________________Services Section___________________________*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-light);
}

/*___________________________Products category Section___________________________*/
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.category-card {
  align-items: center;
  text-align: center;
  background-color: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.category-card img {
  display: block;
  margin: 0 auto 1rem auto;
  align-items: center;
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.category-card h3 {
  font-size: 1.2rem;
  color: var(--dark-color);
}

/*___________________________Contact Section___________________________*/
.contact-content {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-content h3 {
  margin-bottom: 0.5rem;
}

.contact-form {
  flex: 1;
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/*___________________________Footer___________________________*/
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 5rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  padding: 0 1rem;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
}

.footer-about {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--white);
}

/*___________________________Whatsapp button___________________________*/
.whatsapp-float {
  position: fixed;
  right: 10px;
  bottom: 20px;
  z-index: 99;
}
.whatsapp-float img {
  width: 65px;
  transition: 0.3s;
}
.whatsapp-float img:hover {
  transform: scale(1.1);
}

/*___________________________Back to Top Button___________________________*/
.back-to-top {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ___________________________Responsive Styles___________________________*/

/* Large tablets and smaller (up to 992px) */
@media (max-width: 992px) {
  .about-content,
  .contact-content {
    flex-direction: column;
    align-items: center; /* center items vertically */
    gap: 1.5rem; /* add spacing between elements */
  }

  .material-slide {
    flex-direction: column;
    min-height: auto;
  }

  .material-image {
    height: 300px;
    width: 100%; /* make sure image scales properly */
    object-fit: cover; /* maintain aspect ratio */
  }
}

/* Tablets and smaller (up to 768px) */
@media (max-width: 768px) {
  .section {
    padding: 3rem 1.5rem; /* added horizontal padding */
  }
  .section-title {
    font-size: 2rem;
    line-height: 1.2;
    text-align: center; /* center headings on smaller screens */
  }
  .nav-toggle {
    display: block;
    z-index: 1001;
  }
  .nav-link,
  .header.scrolled .nav-link {
    color: var(--dark-color) !important;
    font-weight: 600;
    font-size: 1.2rem;
  }
  .nav-list {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;

    background-color: var(--light-color);

    flex-direction: column;
    justify-content: center;
    align-items: left;
    padding: 30px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    overflow-y: auto; /* allow scrolling if menu is tall */
    z-index: 1000;
  }
  .nav-list.active {
    left: 0;
  }
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    text-align: center;
    padding: 0 1rem;
  }
  .hero-text {
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
  }
}

/* Phones and smaller (up to 576px) */
@media (max-width: 576px) {
  .section {
    padding: 2.5rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.2;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
}

/* General improvements for images inside flex containers */
.material-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Ensure all text scales well on mobile */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Optional: smooth font scaling for mobile */
html {
  font-size: 100%; /* base font size */
}

@media (max-width: 768px) {
  html {
    font-size: 90%; /* slightly smaller base font on tablets */
  }
}

@media (max-width: 576px) {
  html {
    font-size: 85%; /* smaller base font on phones */
  }
}

/*___________________________Responsive adjustments___________________________*/
@media (max-width: 768px) {
  .materials-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .material-image {
    height: 250px;
  }
}
@media (max-width: 480px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }
}
/*___________________________Trust Signals Section___________________________*/
.trust-signals {
  padding: 3rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
}

.trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10rem;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
  flex: 0 1 250px;
}

.trust-item img {
  height: 100px; /* Logos ki height consistent rakhi hai */
  width: auto;
  margin: 0 auto 1.2rem;

  opacity: 1;
  transition: var(--transition);
}

.trust-item:hover img {
  filter: grayscale(0%); /* Hover par original colors show honge */
  opacity: 1;
  transform: translateY(-5px);
}

.trust-item p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0;
}

.trust-item p span {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .trust-grid {
    gap: 3rem;
  }
  .trust-item img {
    height: 55px;
  }
}


/* Aurion Sports - Responsive Header Scroll Effect */
.header {
  transition: height 0.3s ease, background-color 0.3s ease;
}

.header .nav-link {
  transition: color 0.3s ease;
}

.header.scrolled {
  height: 60px;
  background-color: #ffffff;
}

.header.scrolled .nav-link {
  color: #000000;
}

.header.scrolled .logo img {
  height: 50px;
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* Mobile and tablet */
@media (max-width: 768px) {
  .header.scrolled {
    height: 60px;
  }

  .header.scrolled .logo img {
    height: 45px;
    max-height: 45px;
  }
}


/* Blog page only - navigation colors */
body.blog-page .header {
  background-color: #ffffff;
}

body.blog-page .header .nav-link,
body.blog-page .header .nav-link:link,
body.blog-page .header .nav-link:visited,
body.blog-page .header .nav-link:hover,
body.blog-page .header .nav-link:focus,
body.blog-page .header.scrolled .nav-link {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  opacity: 1 !important;
}
