:root {
  --primary: #1eaaac;
  --primary-dark: #4367a4;
  --secondary: #39578f;
  --light: #f8f9fa;
  --dark: #212529;
  --accent: #ae2012;
}

/* General */
body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  height: 60vh;
}
.hero-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 8rem 0 6rem;
  position: relative;
  color: white;
}
.hero-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,213.3C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn-green {
  background-color: var(--primary);
  color: var(--light);
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transform: scale(1);
  border-radius: 50px;
}
.btn-green:hover {
  background-color: #218838;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-outline-light {
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s;
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
}
.btn-outline-light:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
  background: #999999 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar-nav {
  flex-wrap: wrap;
  justify-content: center;

}

.navbar-nav .nav-link {
  position: relative;
  margin: 0 8px;
  padding: 10px 20px !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #ffffff !important;
}
.navbar-nav .nav-link:hover {
  background: rgba(40, 167, 69, 0.9);
  border-color: #28a745;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}
.navbar-nav .nav-link.active {
  background: linear-gradient(135deg, #28a745, #20c997);
  border-color: #28a745;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}
.navbar-nav .nav-link.active:hover {
  background: linear-gradient(135deg, #218838, #17a2b8);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
}
.nav-link.btn-green {
  padding: 0.5rem 0.75rem;
  margin: 0;
  white-space: nowrap;
}


/* Subtle glow effect */
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(32, 201, 151, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.navbar-nav .nav-link:hover::before {
  opacity: 1;
}
.navbar-scrolled {
  background: #fff !important; 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  transition: background-color 0.3s ease;

}
.navbar .navbar-brand,
.navbar .nav-link {
  color: #fff !important;
}
.navbar-scrolled .navbar-brand,
.navbar-scrolled .nav-link {
  color: var(--primary-dark) !important;
}
.navbar-brand img:last-child {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}



@media (max-width: 576px) {
  .navbar .navbar-brand img {
    height: 36px !important;
    max-width: 120px !important;
  }
  .navbar .navbar-brand img + img {
    display: block;
    margin-top: 4px;
    margin-left: 0;
    width: 90vw !important;
    max-width: 200px !important;
    height: 20px !important;
    object-fit: contain;
  }
}

/* Section Styles */
.section {
  background-image: url('resources/textile-pattern.png');
  background-repeat: repeat-x;
  background-position: top center;
  padding: 40px 0;
}
.section-stitched {
  border-top: 4px dashed #0a9396;
  border-bottom: 4px dashed #0a9396;
  padding: 2rem 0;
}
.section::after {
  content: '';
  display: block;
  height: 10px;
  background-image: url('resources/textile-pattern.png');
  background-repeat: repeat-x;
  margin-top: -10px;
}
.section-title {
  position: relative;
  margin-bottom: 3rem;
  font-weight: 700;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}


/* Cards & Features */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.card-img-top {
  height: 250px;
  object-fit: cover;
}
.card-title {
  font-weight: 700;
  color: var(--primary-dark);
}
.feature-box {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.factory-cert-box {
  padding: 0.75rem 1.5rem !important;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
}
.factory-cert-box h3 {
  font-size: 1.25rem;
  margin: 0;
}
.factory-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Vision Section */
.vision-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,218.7C672,224,768,160,864,138.7C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center center;
  background-size: cover;
}
.vision-content {
  position: relative;
  z-index: 2;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 1rem;
}
.testimonial-text {
  font-style: italic;
  position: relative;
  padding: 0 1.5rem;
}
.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
}
.testimonial-text::before {
  top: -1rem;
  left: 0;
}
.testimonial-text::after {
  bottom: -2rem;
  right: 0;
}
.client-name {
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 1rem;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}
.footer-links h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-links h5::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #007bff; 
  margin: 0 auto; 
  margin-top: 8px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}
.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: white;
  margin-right: 10px;
  transition: all 0.3s;
}
.social-icons a:hover {
  background: var(--secondary);
  transform: translateY(-5px);
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

/* Placeholder */
.placeholder-image {
  background: linear-gradient(45deg, #f1f1f1, #e1e1e1);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: 600;
  font-size: 1.2rem;
}
.copyright .text span {
  font-style: italic;
  color: #00aa88;
  border-left: 2px dashed #ccc;
  padding-left: 10px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #333;
}

img.rounded {
  transition: transform 0.3s ease;
}

img.rounded:hover {
  transform: scale(1.05);
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.5rem;
  }
  .btn, .btn-green, .btn-primary {
    padding: 8px 16px;
    font-size: 1rem;
  }
  .feature-box {
    padding: 1rem;
  }
  .footer-links,
  .col-lg-4,
  .col-lg-2 {
    text-align: center;
    margin-bottom: 1.5rem;
  }
}
@media (min-width: 577px) {
  .footer-links h5::after {
    margin-left: 0; 
    margin-right: 0;
  }
}
@media (max-width: 576px) {
  .logo-wrapper {
    max-width: 120px;
    margin: 0 auto;
  }
}
img {
  float: none !important;
}

.img-fluid {
  transition: transform 0.3s ease;
}
.img-fluid:hover {
  transform: scale(1.05);
}
