
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  padding-top: 80px; /* header space */
  line-height: 1.6;
  color: #333;
  background: #fff;
  min-width: 320px; /* smallest mobile width */
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo img {
  max-height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: #060606f1;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

.nav a:hover {
  color: #1d2c8b;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* Welcome Section */
.welcome {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  
}

.welcome .slides {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.welcome .slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fade 18s infinite;
}

.welcome .slides img:nth-child(1) { animation-delay: 0s; }
.welcome .slides img:nth-child(2) { animation-delay: 6s; }
.welcome .slides img:nth-child(3) { animation-delay: 12s; }

@keyframes fade {
  0%, 40%, 100% { opacity: 0; }
  10%, 30% { opacity: 1; }
}

.welcome-content {
  z-index: 2;
  padding: 0 15px;
}

.welcome-content h1 {
  font-size: clamp(2rem, 5vw, 5rem);
  margin-bottom: 10px;
}

.welcome-content p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 20px;
}

.welcome-content a {
  background: #2196f3;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

/* Media Queries */

/* Tablets */
@media (max-width: 1024px) {
  .welcome-content h1 { font-size: clamp(2rem, 6vw, 4rem); }
  .welcome-content p { font-size: clamp(1rem, 3vw, 1.3rem); }
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav { 
    display: none; 
    position: absolute; 
    top: 70px; 
    right: 20px; 
    flex-direction: column; 
    gap: 15px; 
    background: #fff; 
    padding: 15px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); 
    border-radius: 8px;
  }
  .nav.active { display: flex; }

  .welcome { height: 60vh; }

  .welcome-content h1 { font-size: 2rem; }
  .welcome-content p { font-size: 1rem; }
  .welcome-content a { font-size: 14px; padding: 8px 16px; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .welcome { height: 55vh; }
  .welcome-content h1 { font-size: 1.5rem; }
  .welcome-content p { font-size: 0.9rem; }
  .welcome-content a { font-size: 12px; padding: 6px 12px; }
}

/* Ensure Images Always Fit */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Other sections (products, footer, etc.) remain unchanged */


/* --------------------------- Remaining CSS --------------------------- */
/* Tumhara original CSS yahi se continue ho jata hai, maine koi aur change nahi kiya. */
/* Drymix Section, Vision Mission, Product Section, Footer, Responsive Media Queries, etc. */
/* --------------------------- End of CSS --------------------------- */





/* Responsive mission vision */
.vision-mission-values {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  text-align: center;
  padding: 60px 20px;
  gap: 20px;
  
}

.vision-mission-values .vmv-card {
  flex: 1;
  max-width: 350px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.vision-mission-values .vmv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.vision-mission-values .vmv-icon {
  width: 60px;
  height: 60px;
  background: #6dbe20;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  font-size: 26px;
}

.vision-mission-values h3 {
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: bold;
}

.vision-mission-values p {
  font-size: 15px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .vision-mission-values {
    flex-direction: column;
    align-items: center;
  }
  .vision-mission-values .vmv-card {
    max-width: 90%;
  }
}

/* Product Section */
.product-container {
  padding: 30px 15px;
  max-width: 1200px;
  margin: auto;
}

.product-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #000;
}

.product-info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Container for Product Detail */
.container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Product Detail Left */
.product-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Product Detail Right */
.product-info h1 {
  font-size: 30px;
  margin: 0 0 10px;
  color: #222;
  text-align: left;
}

.product-info .sku {
  font-weight: bold;
  color: #666;
  margin-bottom: 16px;
  text-align: left;
}

.product-info p {
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

/* Certifications */
.certifications h3 {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: left;
}

.certifications img {
  height: 100px;
  margin-right: 30px;
  vertical-align: middle;
}

/* Grout colors */
.colors h3 {
  font-size: 20px;
  margin: 20px 0 10px;
  text-align: left;
}

.color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: transform 0.2s;
}

.color:hover {
  transform: scale(1.1);
  border-color: #000;
}

/* Responsive Product Detail */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .certifications img {
    margin-bottom: 10px;
  }
  .color-list {
    justify-content: center;
  }
}

/* Section Heading */
.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: 38px;
  font-weight: bold;
  color: #2c3e50;
}

.section-heading p {
  font-size: 18px;
  color: #555;
  margin-top: 10px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Product Showcase */
/* Product Showcase */
.product-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 50px;
  box-sizing: border-box;
}

/* Product Box with cover & hover effect */
.product {
  background: #fff;                 /* box cover color */
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  max-width: 340px;
  flex: 1 1 300px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border-color: #2c3e50;
}

.product img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.product:hover img {
  transform: scale(1.05);   /* image thoda zoom on hover */
}

.product small {
  display: block;
  margin-top: 10px;
  font-size: 16px;   /* thoda chhota text */
  font-weight: bold;
  text-transform: uppercase;
}

.product h3 {
  margin: 6px 0 0;
  font-size: 18px;   /* thoda chhota */
  color: #2c3e50;
}

/* ----------------- Tileproduct Section ----------------- */
.tileproduct-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 10px;
  box-sizing: border-box;
}

/* Product Box */
.tileproduct {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  max-width: 360px;
  flex: 1 1 320px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tileproduct:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border-color: #2c3e50;
}

.tileproduct img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transform: scale(1.20); /* image ko thoda bada kar diya */
}

/* Text chhota */
.tileproduct small {
  display: block;
  margin-top: 8px;
  font-size: 14px;   /* pehle 18px tha */
  font-weight: bold;
  text-transform: uppercase;
}

.tileproduct h3 {
  margin: 4px 0 0;
  font-size: 14px;   /* pehle 20px tha */
  color: #2c3e50;
}

/* ----------------- Responsive ----------------- */
/* Tablets */
@media (max-width: 768px) {
  .tileproduct-section {
    justify-content: center;
    gap: 10px;
    padding: 15px 5px;
  }

  .tileproduct {
    flex: 1 1 45%; /* 2 columns */
    max-width: 45%;
    margin-bottom: 15px;
  }
}

/* Small Mobiles / iPhone */
@media (max-width: 480px) {
  .tileproduct {
    flex: 1 1 90%; /* 1 column */
    max-width: 90%;
    margin-bottom: 15px;
  }

  .tileproduct-section {
    padding: 10px 5px;
    gap: 8px;
  }

  .tileproduct h3 {
    font-size: 18px; /* thoda chhota font small mobiles ke liye */
  }

  .tileproduct small {
    font-size: 16px;
  }
}


/* Colours with dots */
/* Colours with dots */
.colours {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;   /* pehle 16px tha */
  color: #2c3e50;
}

.color-label {
  font-weight: bold;
  margin-right: 6px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.dot.gray {
  background-color: gray;
}

.dot.white {
  background-color: white;
  border: 1px solid #000;
}

.color-name {
  margin-right: 8px;
}

.pack-size {
  margin-top: 4px;
  font-size: 10px;   /* pehle 14px tha */
  color: #555;
}

/* Footer */
.footer {
  background: #016c87;
  color: #fff;
  padding: 50px 20px;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1450px;
  margin: auto;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  width: 270px;
  margin-bottom: 10px;
}

.footer h3 {
  margin-bottom: 25px;
}

.footer p, .footer li, .footer a {
  color: #f2f8fd;
  font-size: 18px;
  line-height: 2.0;
  text-decoration: none;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 25px;
  margin-right: 15px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #6dbe20;
}

.newsletter {
  display: flex;
  margin-top: 10px;
}

.newsletter input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  border-radius: 5px 0 0 5px;
}

.newsletter button {
  padding: 10px 20px;
  border: none;
  background: #6dbe20;
  color: #fff;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  transition: 0.3s;
}

.newsletter button:hover {
  background: #374151;
}

/* Back to top button */
.back-to-top {
  position: absolute;
  right: 30px;
  bottom: 20px;
}

.back-to-top a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #6dbe20;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.back-to-top a:hover {
  background: #374151;
}

.footer p i {
  margin-right: 10px;
  color: #6dbe20;
}

/* ------------------- Responsive Styles ------------------- */
@media (max-width: 768px) {
  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Hide nav by default */
  .nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 8px;
  }

  .nav.active {
    display: flex;
  }

  /* Welcome Section */
  .welcome {
    height: 60vh;
  }

  .welcome-content h1 {
    font-size: 2rem;
  }

  .welcome-content p {
    font-size: 1rem;
  }

  .welcome-content a {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* Tiles Grout Images */
  .valcrete-card img {
    height: 150px;
    padding: 5px;
  }

  /* Footer */
  .footer-top, .footer-middle {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .welcome-content h1 {
    font-size: 1.5rem;
  }
  .welcome-content p {
    font-size: 0.9rem;
  }
  .welcome-content a {
    font-size: 12px;
    padding: 6px 12px;
  }
}
