* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
}

body {
  color: #222;
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* TOP BAR & NAVBAR */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1250px;
  margin: auto;
  padding: 15px 20px;
  position: relative;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #d90429;
}

/* DROPDOWN STYLES */
.dropdown {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  border: 1px solid #eee;
  padding: 8px 0;
  z-index: 1001;
  list-style: none;
}

.dropdown-content li a {
  color: #333;
  padding: 10px 18px;
  display: block;
  font-size: 14px;
}

.dropdown-content li a:hover {
  background-color: #f8f9fa;
  color: #d90429;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* HAMBURGER TOGGLE FOR MOBILE */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
/* Mobile dropdown active hone par open karne ke liye */
.dropdown-content.show {
  display: block !important;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #111;
  border-radius: 2px;
  transition: 0.3s;
}

.header-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-outline {
  border: 1px solid #111;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.btn-solid {
  background: #111;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.btn-danger {
  background: #d90429;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
}

/* HERO SLIDER */
.hero-slider-container {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 20px;
}

.hero-tag {
  background: rgba(217, 4, 41, 0.9);
  color: #fff;
  padding: 4px 14px;
  font-size: 13px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin-top: 30px;
  font-size: 14px;
  color: #e0e0e0;
  flex-wrap: wrap;
}

.hero-features li::before {
  content: "✓ ";
  color: #d90429;
  font-weight: bold;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 24px;
  padding: 12px 18px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}
.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #000;
}
.prev-arrow {
  left: 20px;
}
.next-arrow {
  right: 20px;
}

/* GENERAL SECTIONS */
.section {
  padding: 70px 20px;
}
.section-alt {
  background-color: #f8f9fa;
}
.container {
  max-width: 1200px;
  margin: auto;
}

.section-header {
  margin-bottom: 45px;
}
.section-header p.sub {
  color: #d90429;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-top: 5px;
  color: #111;
}

/* GRID LAYOUTS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* CARDS */
.card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 25px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #111;
}
.card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}
.card a.link {
  color: #d90429;
  font-weight: 600;
  font-size: 14px;
}

/* ABOUT SECTION GRID */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.about-imgs img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* PROCESS STEPS */
.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.process-card {
  background: #fff;
  border-left: 4px solid #d90429;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border-radius: 0 8px 8px 0;
}

.process-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #d90429;
  margin-bottom: 5px;
}

/* TECH SPECS */
.tech-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #111;
  color: #fff;
  padding: 50px;
  border-radius: 12px;
}

.tech-specs dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.tech-specs dt {
  color: #888;
  font-size: 14px;
}
.tech-specs dd {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

/* FOOTER */
footer {
  background: #0d0d0d;
  color: #888;
  padding: 60px 20px 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card img{
  width: 350px;

}

/* MOBILE RESPONSIVE OPTIMIZATIONS */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .header-btns {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 15px;
    align-items: flex-start;
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background: #f8f9fa;
    padding-left: 15px;
    width: 100%;
    margin-top: 5px;
  }

  .hero-slider-container {
    height: 65vh;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-features {
    font-size: 12px;
    gap: 10px;
  }

  .slider-arrow {
    padding: 8px 12px;
    font-size: 18px;
  }
  .prev-arrow {
    left: 10px;
  }
  .next-arrow {
    right: 10px;
  }

  .about-grid,
  .tech-box,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .tech-box {
    padding: 25px;
  }
  .tech-specs dl {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-imgs {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .section {
    padding: 45px 15px;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }
  .card img{
    width: 250px;
  }
}
