/* ===============================
   GLOBAL VARIABLES & BASE STYLES
================================= */
:root {
  --bg-light: #f0f4f8;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-muted: #777777;
  --accent-blue: #2c3e50;
  --accent-orange: #e67e22;
  --accent-hover: #d35400;
  --shadow-soft: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-strong: 0 8px 18px rgba(0,0,0,0.15);
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 6px;
}

/* ===============================
   HERO SECTION
================================= */
.hero {
  background: url('images/steel-banner.jpg') no-repeat center center;
  background-size: cover;
  text-align: center;
  padding: 100px 20px;
  color: white;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}

.cta-button {
  background-color: var(--accent-orange);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--accent-hover);
}

/* ===============================
   FEATURES SECTION
================================= */
.features {
  display: flex;
  justify-content: space-around;
  padding: 30px 20px;
  background-color: var(--bg-white);
}

.feature {
  max-width: 280px;
  text-align: center;
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/* ===============================
   MODERN PRODUCT GRID
================================= */
.product-grid-section {
  padding: 60px 20px;
  background-color: var(--bg-white);
  max-width: 1300px;
  margin: 0 auto;
}

.product-grid-heading {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 2.5rem;
  position: relative;
}

.product-grid-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent-orange);
  margin: 10px auto 0;
  border-radius: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 0 10px;
}

.product-card {
  background-color: var(--bg-light);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.product-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h3 {
  margin: 15px 0 8px;
  font-size: 1.1rem;
  color: var(--accent-blue);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hover-box {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--accent-orange), #f39c12);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.product-card:hover .hover-box {
  opacity: 1;
}

/* ========== Quote Button ========== */
.quote-button {
  margin-top: 12px;
  padding: 10px 18px;
  background-color: var(--accent-orange);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quote-button:hover {
  background-color: var(--accent-hover);
}

/* ========== Popup Modal========== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background-color: #fff;
  padding: 30px 24px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}

.popup-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-box input,
.popup-box textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
  width: 100%;
}

.popup-box textarea {
  min-height: 80px;
}

.popup-box button[type="submit"] {
  padding: 10px 18px;
  background-color: var(--accent-orange);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-box button[type="submit"]:hover {
  background-color: var(--accent-hover);
}


/* ===============================
   SHARED CAROUSEL STYLES
================================= */
.carousel-container {
  position: relative;
  width: 100%;
  background: none;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  overflow-x: hidden;
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 1rem 0;
  min-width: max-content;
  scroll-behavior: smooth;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.insight-box {
  flex: 0 0 auto;
  min-width: 140px;
  height: 100px;
  padding: 10px;
  border-radius: 6px;
  background-color: var(--bg-white, #fff);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===============================
   INSIGHTS SECTION
================================= */
.insights {
  padding: 20px;
  background: none;
  text-align: center;
}

.insight-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.left-top h3 {
  font-size: 14px;
  margin: 0;
  color: var(--accent-blue, #0074D9);
}

.specs {
  font-size: 11px;
  color: var(--text-muted, #666);
  margin-top: 2px;
}

.right-top {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-orange, #FF5722);
}

.insight-rate {
  font-size: 16px;
  font-weight: bold;
  color: var(--accent-orange, #FF5722);
  text-align: center;
  margin: 10px 0;
}

.insight-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted, #666);
}

/* === Animation === */ @keyframes slideInsights { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } #insightCarousel { display: flex; gap: 1rem; min-width: max-content; animation: slideInsights 20s linear infinite; }

/* ===============================
   VIEW MORE BUTTON
================================= */

.view-more-container {
  text-align: center;
  margin-top: 25px;
}

.view-more-button {
  background-color: var(--accent-blue);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.view-more-button:hover {
  background-color: var(--accent-hover);
}

/* ===============================
   RESPONSIVE ADJUSTMENTS
================================= */
@media (max-width: 768px) {
  .product-grid-section {
    padding: 40px 10px;
  }

  .product-grid-heading {
    font-size: 1.6rem;
  }

  /* ✅ Force 2 products per row on mobile */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-card {
    padding: 16px;
  }

  .carousel-track {
    gap: 1rem;
    padding: 1rem 0.5rem;
  }

  .insight-box {
    width: 160px;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  /* Features Section */
  .features {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .feature {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

* ========== Proccess Flow ========== */

/* 🔷 Base Styles */
.process-flow {
  background-color: var(--bg-white);
  padding: 2rem 1rem;
  text-align: center;
}

.process-flow h2 {
  font-size: 1.8rem;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  text-align: center;
}

.process-subtext {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}

/* 🔷 Desktop: 6 columns */
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* 🔷 Tablet: 3 columns */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* 🔷 Step Box Styling */
.step-box {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.step-box:hover {
  transform: translateY(-2px);
}

/* 🔷 Icon Styling (Desktop) */
.step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}

.step-icon img.step-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* 🔷 Heading & Text */
.step-box h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--accent-blue);
}

.step-box p {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.4;
  margin: 0;
}


/* 🔷 Mobile Adjustments */
@media (max-width: 600px) {
  .step-box {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    text-align: left;
  }

  .step-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .step-icon img.step-img {
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .step-content {
    display: flex;
    flex-direction: column;
  }

  .step-content h3 {
    font-size: 0.95rem;
    margin: 0 0 0.2rem 0;
  }

  .step-content p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
  }
}


/* ========== Authorised Dealers ========== */
.dealer-section {
  padding: 30px 20px;
  background-color: var(--bg-white);
  text-align: center;
  border: 1px solid #ddd;

}

.dealer-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--accent-blue);
}

.dealer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.dealer-grid img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  background-color: transparent;
}

/* ========== Video Section ========== */
.video-section {
  padding: 60px 20px;
  background-color: var(--bg-white);
  text-align: center;
}

.video-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.video-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.intro-column {
  flex: 1;
  min-width: 300px;
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: left;

}

.intro-column h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--accent-blue);
}

.intro-column p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== Achievement Section ========== */
.achievement-section {
  padding: 30px 20px;
  background-color: var(--bg-white);
  text-align: center;
}

.achievement-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--accent-blue);
}

.achievement-section .highlight {
  color: var(--accent-orange);
}

.achievement-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 20px;
}

.achievement-box {
  background-color: var(--bg-light);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.achievement-box h3 {
  font-size: 28px;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.achievement-box p {
  font-size: 15px;
  color: var(--text-dark);
}
/* ===============================
   TESTIMONIALS SECTION
================================= */
.testimonials {
  padding: 60px 20px;
  background-color: var(--bg-white);
  text-align: center;
}

.testimonials h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--accent-blue);
}

.testimonial-slider {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.testimonial-card {
  flex: 1 1 300px;
  max-width: 360px;
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-style: italic;
  color: var(--text-dark);
  animation: fadeIn 0.5s ease-in;
}

.testimonial-card .quote {
  font-size: 16px;
  margin-bottom: 15px;
}

.testimonial-card .author {
  font-size: 14px;
  color: var(--accent-blue);
  font-weight: bold;
}

/* ========== FOOTER ========== */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px;
}

/* ========== About Us  ========== */
/* === ABOUT HERO SECTION === */
.about-hero {
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.about-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
}

.about-hero p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* === ABOUT CONTENT SECTION === */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  background-color: var(--bg-white);

}

.about-text {
  flex: 1 1 60%;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.about-text h2 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
}

.about-text ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.about-text li {
  margin-bottom: 0.4rem;
  list-style-type: disc;
}

/* === ABOUT IMAGE SECTION === */
.about-image {
  flex: 1 1 35%;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ========== mobile responsive ========== */

@media (max-width: 768px) {
  /* Hero Section */
  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Features Section */
  .features {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .feature {
    max-width: 100%;
    margin-bottom: 20px;
  }

  /* Dealer Grid */
  .dealer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0;
  }

  /* Video Section */
  .video-layout {
    flex-direction: column;
    gap: 20px;

  }

  .intro-column {
    padding: 20px;
  }

  .intro-column h2 {
    font-size: 24px;
  }

  .intro-column p {
    font-size: 14px;
  }

  /* Testimonials */
  .testimonials {
    padding: 40px 20px;
  }

  .testimonials h2 {
    font-size: 28px;
  }

.testimonial-slider {
  display: flex;
  flex-wrap: nowrap; /* ✅ Prevent stacking */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

  .testimonial-card {
    flex: 0 0 80vw;
    height: calc(80vw * 1.2);
    scroll-snap-align: center;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .testimonial-dots span {
    width: 10px;
    height: 10px;
    background-color: var(--text-muted);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  .testimonial-dots span.active {
    background-color: var(--accent-orange);
  }


  /* Achievements */
  .achievement-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
  }

  .achievement-box h3 {
    font-size: 24px;
  }

  .achievement-box p {
    font-size: 14px;
  }

  /* Contact Section */
  .touch-container {
    flex-direction: column;
    padding: 20px;
  }

  .touch-info,
  .touch-form {
    width: 100%;
  }

  .touch-info h2 {
    font-size: 24px;
  }

  .touch-info p,
  .touch-info ul {
    font-size: 14px;
  }

  .touch-form input,
  .touch-form textarea {
    font-size: 14px;
  }

  .touch-form button {
    font-size: 14px;
    padding: 10px;
  }

  /* Blog Section */
  .blogs-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .blog-title {
    font-size: 1.2rem;
  }

  .blog-date {
    font-size: 0.9rem;
  }

  .blog-image {
    height: 180px;
  }

}



