
/* === Page Content Example === */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #f9f9f9;
  color: #333;
}


/* Navbar Base */
.navbar-dark-custom {
  background: linear-gradient(90deg, #0a1b3d, #1a2740);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'Times New Roman', serif;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-brand img {
  width: 38px;
  height: auto;
}

/* Nav Links (desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #e0e5ec;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #00d2ff;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #00d2ff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #f1c40f;
  font-weight: 600;
}
.nav-link.active::after {
  width: 100%;
  background: #f1c40f;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger → X animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    right: 20px; /* ✅ dropdown right side */
    background: #111b2e;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    width: auto;
    min-width: 180px;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .navbar-brand {
    font-size: 1rem;  /* ✅ shrink name on mobile */
    max-width: 65%;   /* prevent cut */
  }
}
/* ====== REQUEST A QUOTE BUTTON ====== */
.btn-quote {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: #1a2740;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
  display: inline-block;
}

.btn-quote:hover {
  background: #fff;
  color: #0a1b3d;
  transform: translateY(-2px);
}

/* Mobile View Adjustments */
@media (max-width: 992px) {
  .btn-quote {
    width: 100%;                /* full width in dropdown */
    text-align: center;
    margin-top: 10px;
    font-size: 0.95rem;
    padding: 10px 0;
  }
}
/* Hero Section */
.hero-idx {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* background ke liye positive value */
}

.hero-idx .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1; /* video ke upar */
}

.hero-content {
  position: relative; /* z-index ko enable karne ke liye */
  z-index: 2; /* overlay ke upar content ke liye */
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

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

.btn-main, .btn-secondary {
  background: #1f2c5c;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-main:hover, .btn-secondary:hover {
  background: #3448a5;
}

/* Generic Containers */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

/* Intro Section */
.intro-section {
  background: #f8f9fc;
  padding: 50px 25px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 0 auto 60px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.intro-content p {
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Core Values */
.core-values .diamond-layout {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}
.value-circle {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-circle:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.value-circle h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.value-circle span {
  font-weight: bold;
  font-size: 1.1rem;
  color: #1f2c5c;
}

/* Key Facts */
.key-facts {
  display: flex;
  justify-content: space-around;
  font-size: 1.1rem;
  background: #f8f9fc;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 60px;
}
.fact { font-weight: 500; }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 25px;
  text-align: center;
}
.stat span {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2c5c;
}
.stat p { margin-top: 10px; }

/* Origins */
.origins-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.origin {
  text-align: center;
  font-size: 1.2rem;
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.flag {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.card img { width: 60px; margin-bottom: 15px; }
.card h3 { margin-bottom: 10px; }

/* Quality */
.quality-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.quality-list .item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.quality-list i {
  color: green;
  font-size: 1.3rem;
}

/* CEO / Vision / Mission */
.about-sections {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section-block {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.section-block .title-box {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 1.4rem;
  color: #fff;
  background: #1f385c;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}
.testimonial {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* CTA */
.cta-idx {
  background: linear-gradient(135deg, #1f2c5c, #3448a5);
  color: #fff;
  text-align: center;
  padding: 60px 25px;
  border-radius: 12px;
  margin: 60px auto;
}
.cta-idx h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}
.cta-idx p {
  margin-bottom: 25px;
  font-size: 1.2rem;
}

/* About Sections */
.section-block {
  text-align: center;
  padding: 70px 20px;
  margin-bottom: 40px;
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.title-box {
  display: inline-block;
  background: #1f2c5c;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 10px 30px;
  margin-bottom: 25px;
  border-radius: 5px;
}
.ceo-box img {
  width: 120px;
  border-radius: 8px;
  margin-top: 20px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}
.testimonial {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.testimonial:hover {
  transform: translateY(-5px);
}
.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

/* CTA */
.cta-idx {
  text-align: center;
  background: linear-gradient(135deg,#1f2c5c,#3448a5);
  color: #fff;
  padding: 80px 20px;
  border-radius: 10px;
}
.cta-idx h2 { color: #fff; }
.cta-idx .btn-secondary {
  background: #fff;
  color: #1f2c5c;
  margin-top: 15px;
  display: inline-block;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= FOOTER BASE ================= */
.site-footer {
  background: #0a1327; /* deep navy */
  color: #cdd5e0;
  font-family: 'Poppins', sans-serif;
  padding: 30px 0 15px;  /* ✅ reduced top/bottom padding */
}

.site-footer h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
}

.site-footer p, 
.site-footer small {
  font-size: 14px;
  line-height: 1.6;
  color: #aab2c3;
  margin-bottom: 10px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #cdd5e0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
.footer-links a:hover {
  color: #fff;
}

/* About Section */
.footer-about .footer-logo {
  width: 120px;
  margin-bottom: 12px;
}

/* ================= SOCIAL ICONS ================= */
.social-links {
  margin-top: 20px;   /* ✅ reduced space */
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* BRAND COLORS */
.social-links a.facebook { background: #1877f2; }
.social-links a.twitter  { background: #000000; }
.social-links a.linkedin { background: #0a66c2; }
.social-links a.instagram { 
  background: radial-gradient(circle at 30% 107%, 
  #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-links a.youtube { background: #ff0000; }

.social-links a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  opacity: 0.9;
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 25px;     /* ✅ reduced gap */
  padding-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #aab2c3;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .site-footer {
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
}



/* feature */
/* Section */
.resins-section {
  font-family: "Times New Roman", serif;
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg,#ffffff,#f4f7ff,#eef2ff);
}
.resins-section h2 {
  color: #1f2c5c;
  font-size: 2rem;
  margin-bottom: 60px;
}

/* Container */
.resins-container {
  position: relative;
  width: 650px;
  height: 650px;
  margin: auto;
}

/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

/* ========== Section Wrapper ========== */
.resins-section {
  padding: 40px 20px;
  text-align: center;
}
.resins-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1f2c5c;
}

/* ========== Container ========== */
.resins-container {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
}

/* ========== Center Circle ========== */
.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #1f2c5c, #d32f2f);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 10;
}
.center-circle h3 {
  font-size: 1.8rem;
  margin: 0;
}
.center-circle p {
  font-size: 0.9rem;
  margin-top: 5px;
  line-height: 1.3;
  text-align: center;
}

/* ========== Orbit Wrapper ========== */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: orbit-rotate 30s linear infinite;
}
@keyframes orbit-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ========== Orbit Circles ========== */
.circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1f2c5c;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  cursor: pointer;
  line-height: 1.2;
}
.circle:hover {
  transform: scale(1.25);
  background: linear-gradient(135deg, #1f2c5c, #3448a5, #00c6ff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 198, 255, 0.6);
  animation: pulse 1s infinite alternate;
}
@keyframes pulse {
  from {
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
  }
  to {
    box-shadow: 0 0 40px rgba(0, 198, 255, 0.9);
  }
}

/* ========== Circle Positions (Orbit) ========== */
.orbit .circle:nth-child(1) {
  top: 0%;
  left: 50%;
  transform: translate(-50%, 0);
}
.orbit .circle:nth-child(2) {
  top: 20%;
  left: 85%;
  transform: translate(-50%, -50%);
}
.orbit .circle:nth-child(3) {
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
}
.orbit .circle:nth-child(4) {
  top: 80%;
  left: 85%;
  transform: translate(-50%, -50%);
}
.orbit .circle:nth-child(5) {
  top: 100%;
  left: 50%;
  transform: translate(-50%, -100%);
}
.orbit .circle:nth-child(6) {
  top: 80%;
  left: 15%;
  transform: translate(-50%, -50%);
}
.orbit .circle:nth-child(7) {
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
}
.orbit .circle:nth-child(8) {
  top: 20%;
  left: 15%;
  transform: translate(-50%, -50%);
}

/* ========== Fade-in Scroll Animation ========== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ✅ MOBILE RESPONSIVE FIX with CIRCLE ORBIT ========== */
@media (max-width: 768px) {
  .resins-container {
    width: 100%;
    height: 500px;
    margin: 0 auto;
    position: relative;
    transform: scale(0.7); /* Shrinks the orbit for smaller screens */
    transform-origin: top center;
  }

  .center-circle {
    width: 160px;
    height: 160px;
  }

  .orbit .circle {
    width: 100px;
    height: 100px;
    font-size: 0.8rem;
  }
}

/* Extra Small Devices */
@media (max-width: 420px) {
  .resins-container {
    transform: scale(0.6);
  }
}

/* ================= BUSINESS SECTION ================= */
.business-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

.section-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.business-card {
  background: #f9f9fb;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.business-card .icon {
  width: 60px;
  margin-bottom: 15px;
}

.business-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #004d99;
  margin-bottom: 12px;
}

.business-card p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-learn {
  display: inline-block;
  background: #004d99;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-learn:hover {
  background: #00b894;
}

/* Scroll animation */
.testimonial-card.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

/* Hero */
.about-hero {
  background: linear-gradient(rgba(9,75,135,0.7), rgba(9,75,135,0.5));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.about-hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: auto;
}

/* Fade-in */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-in-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Section Heading */
.section-heading {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #094b87;
  position: relative;
  display: inline-block;
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: linear-gradient(90deg, #094b87, #f1c40f);
  border-radius: 2px;
}

/* About Section */
.about-section {
  padding: 70px 20px;
  text-align: center;
  background: #f4f6f9;
}
.values-grid { display: flex; gap: 25px; justify-content: center; flex-wrap: wrap; }

.pigment-section {
  font-family: "Times New Roman", serif;
  padding: 60px 20px;
  background: linear-gradient(135deg,#ffffff,#f9f9ff,#eef2ff);
}
.pigment-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1f2c5c;
  margin-bottom: 10px;
}
.subtext {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 30px;
  color: #555;
}

.pigment-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Left Colors */
.pigment-colors {
  flex: 1;
  min-width: 220px;
}
.color-row {
  padding: 12px;
  font-weight: bold;
  margin-bottom: 5px;
  border-radius: 6px;
  color: #111;
  text-align: left;
  transition: transform 0.3s;
}
.color-row:hover { transform: translateX(5px); }
.color-row.yellow { background: linear-gradient(90deg,#fff176,#fbc02d); }
.color-row.orange { background: linear-gradient(90deg,#ffb74d,#f57c00); color:#fff;}
.color-row.red { background: linear-gradient(90deg,#ef5350,#c62828); color:#fff;}
.color-row.pink { background: linear-gradient(90deg,#f48fb1,#ec407a); color:#fff;}
.color-row.magenta { background: linear-gradient(90deg,#f06292,#ad1457); color:#fff;}
.color-row.purple { background: linear-gradient(90deg,#9575cd,#512da8); color:#fff;}
.color-row.blue { background: linear-gradient(90deg,#64b5f6,#1565c0); color:#fff;}
.color-row.green { background: linear-gradient(90deg,#81c784,#2e7d32); color:#fff;}
.color-row.black { background: linear-gradient(90deg,#9e9e9e,#212121); color:#fff;}
.color-row.white { background: linear-gradient(90deg,#f5f5f5,#e0e0e0); }

/* Right Table */
.pigment-table {
  flex: 2;
  min-width: 320px;
  overflow-x: auto;
}
.pigment-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.pigment-table th, .pigment-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
}
.pigment-table th {
  background: #1f2c5c;
  color: #fff;
  font-weight: bold;
}
.pigment-table tbody tr:hover {
  background: #f1f5ff;
}

/* Responsive */
@media(max-width: 768px) {
  .pigment-container { flex-direction: column; }
  .pigment-colors, .pigment-table { width: 100%; }
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(40px); transition: all 1s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Stats */
.about-stats { background: linear-gradient(135deg, #094b87, #0e3a66); color: #fff; padding: 70px 20px; text-align: center; }
.stats-grid { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.stat strong { font-size: 2.8rem; color: #f1c40f; }


/* ================= CONTACT PAGE ================= */
.contact-page {
  background: #f8f8f2; /* light cream background */
  padding: 60px 20px;
  font-family: "Times New Roman", serif;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

/* LEFT SIDE */
.contact-info {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(135deg, #0a2740, #123c66);
  color: #fff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.contact-info h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-info .underline {
  display: block;    
  height: 4px;
  width: 80px;
  margin: 8px 0 20px;
  background: linear-gradient(90deg, #f1c40f, #00c4ff, #ff00cc);
  border-radius: 5px;
}

.contact-info .intro-text {
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.info-block {
  margin-bottom: 20px;
}
.info-block i {
  font-size: 1.4rem;
  color: #f1c40f;
  margin-right: 8px;
}
.info-block h3 {
  display: inline;
  font-size: 1.1rem;
  margin-left: 5px;
  color: #f1c40f;
}
.info-block p {
  margin-left: 30px;
  font-size: 1rem;
  color: #eee;
  line-height: 1.5;
}

/* Social Icons (contact page only) */
.contact-social a {
  margin-right: 12px;
  font-size: 1.3rem;
  color: #fff;
  transition: all 0.3s ease;
}
.contact-social a:hover {
  color: #f1c40f;
  transform: scale(1.2);
}

/* RIGHT SIDE */
.contact-form-container {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
  font-family: "Times New Roman", serif;
}

.contact-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.contact-form label {
  font-weight: bold;
  color: #0a2740;
  margin-bottom: 6px;
  display: block;
  font-size: 1.05rem;
}

/* Inputs & Textareas */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1.5px solid #ccc;
  background: #fefcf7;  /* unique light cream */
  font-size: 1rem;
  color: #222;
  transition: border 0.3s, box-shadow 0.3s, background 0.3s;
  font-family: "Times New Roman", serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
  font-style: italic;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: #2bb7da;
  outline: none;
  box-shadow: 0 0 10px rgba(43, 183, 218, 0.4);
}

/* Submit Button */
#submitBtn {
  background: linear-gradient(135deg, #0a2740, #2bb7da);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-weight: bold;
  font-size: 1.05rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-family: "Times New Roman", serif;
}
#submitBtn:hover {
  background: linear-gradient(135deg, #2bb7da, #0a2740);
  transform: translateY(-2px);
}

/* Success message */
.success-msg {
  color: green;
  font-weight: 600;
  margin-bottom: 15px;
}

/* MAP */
.map-container {
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}
/* Product Page */

/* Global */
body {
  font-family: "Times New Roman", serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #fdfdfd, #f6f8ff, #eef2ff);
  color: #222;
}

/* Hero */
.hero {
  position: relative;
  height: 60vh;
  background: url("{% static 'images/hero-products.jpg' %}") center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.hero .overlay {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1 { font-size: 3rem; margin-bottom: 15px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 20px; }
.btn {
  background: #1f2c5c; color: #fff; padding: 12px 24px;
  border-radius: 8px; text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  display: inline-block;
}
.btn:hover {
  background: linear-gradient(135deg,#1f2c5c,#3448a5,#00c6ff);
  transform: translateY(-2px);
}

/* Filter Buttons */
.filter-buttons {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin: 40px 0;
}
.filter-btn {
  background: #eee; border: none; padding: 10px 20px;
  cursor: pointer; border-radius: 6px;
  font-size: 0.95rem; transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover {
  background: #1f2c5c; color: #fff;
}

/* Product Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.product-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideIn 0.8s forwards;
}
.product-card:nth-child(1) { animation-delay: 0.2s; }
.product-card:nth-child(2) { animation-delay: 0.4s; }
.product-card:nth-child(3) { animation-delay: 0.6s; }
.product-card:nth-child(4) { animation-delay: 0.8s; }

/* Gradient border glow */
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg,#1f2c5c,#4a6fff,#00c6ff);

  /* Standard + WebKit mask for compatibility */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 0.4s;
}

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

.product-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.card-img img {
  width: 90px; height: 90px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}
.product-card:hover .card-img img {
  transform: scale(1.1) rotate(3deg);
}
.card-body h3 {
  font-size: 1.4rem;
  color: #1f2c5c;
  margin-bottom: 8px;
}
.card-body p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 18px;
  min-height: 40px;
}
.btn.download-btn {
  margin-top: 8px;
  background: #3448a5;
}
.btn.download-btn:hover {
  background: linear-gradient(135deg,#3448a5,#00c6ff);
}

/* Textile Auxiliaries Table */
.textile-table h2 {
  text-align: center;
  color: #1f2c5c;
  margin: 50px 0 25px;
}
.table-wrapper { overflow-x: auto; }
.textile-table table {
  width: 100%; border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.textile-table th, .textile-table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left; font-size: 15px;
}
.textile-table th {
  background: #1f2c5c; color: #fff;
  text-align: center; font-size: 16px;
}
.textile-table tbody tr:nth-child(even) { background: #f7f9fc; }
.textile-table tbody tr:hover {
  background: #eaf0ff; transition: 0.3s;
}

/* Applications */
.applications h2 { text-align: center; margin: 40px 0; color: #1f2c5c; }
.app-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 20px; text-align: center;
}
.app-card {
  background: #fff; padding: 20px; border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.app-card:hover { transform: translateY(-6px); }
.app-card img { width: 80px; margin-bottom: 10px; }

/* FAQ */
.faq h2 { text-align: center; margin: 40px 0; color: #1f2c5c; }
.faq-item {
  margin-bottom: 15px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* CTA */
.contact-cta {
  background: linear-gradient(135deg,#1f2c5c,#3448a5);
  color: #fff; text-align: center;
  padding: 60px 20px;
  border-radius: 12px;
  margin-top: 50px;
}
.contact-cta h2 { margin-bottom: 20px; }
.contact-form {
  display: grid; gap: 15px; max-width: 500px; margin: auto;
}
.contact-form input, .contact-form textarea {
  padding: 12px; border: none; border-radius: 6px;
}
.contact-form button {
  background: #fff; color: #1f2c5c; padding: 12px;
  border: none; border-radius: 6px; cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover { background: #f1f1f1; }

/* Modal */
.modal {
  display: none; position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center; align-items: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%; max-width: 600px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  animation: scaleIn 0.4s ease;
}
.close { float: right; cursor: pointer; font-size: 1.5rem; }

/* Animations */
@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.fade-in { opacity: 0; transform: translateY(40px); transition: all 1s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
