:root {
  --primary: #8b4513;
  --secondary: #d4a574;
  --accent: #2c5530;
  --text: #2d2013;
  --light: #f5f0e8;
  --white: #ffffff;
  --shadow: rgba(139, 69, 19, 0.15);
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Welcome Popup */
.welcome-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.welcome-content {
  background: #FFFFF0;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  max-width: 400px;
  width: 85%;
  position: relative;
  animation: popupSlide 0.5s ease-out;
}

@keyframes popupSlide {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.timer-circle {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px var(--shadow);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
}

.welcome-content h2 {
  color: #000075;
  margin: 0 0 1rem;
  font-size: 1.8rem;
}

.welcome-content p {
  color: #000075;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.welcome-content h3 {
  color: #000075;
  margin: 1.5rem 0 1rem;
  font-size: 1.3rem;
}

.vision-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 300px;
  margin: 0 auto;
}

.vision-list li {
  margin: 0.8rem 0;
  color: #000075;
  font-size: 1rem;
}

.vision-list strong {
  color: #000075;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Language Components */
.language-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
}

.popup-content h2 {
  margin: 0 0 1.5rem;
  color: var(--primary);
  font-size: 1.4rem;
}

.language-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.lang-btn {
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 120px;
}

.lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

.lang-btn .flag {
  font-size: 1.5rem;
}

.language-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  background: var(--white);
  border-radius: 25px;
  padding: 8px;
  box-shadow: 0 4px 15px var(--shadow);
}

.radio-group {
  display: flex;
  gap: 4px;
}

.radio-group input[type="radio"] {
  display: none;
}

.radio-group label {
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  color: var(--primary);
}

.radio-group input[type="radio"]:checked + label {
  background: var(--gradient);
  color: var(--white);
}

/* Header */
.header {
  background: linear-gradient(135deg, #e3f2fd, #fff3e0);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 998;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  width: 200px;
  height: 160px;
  object-fit: contain;
  background-color: var(--white);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
}

.brand-text h1 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

.brand-text p {
  color: var(--secondary);
  font-size: 0.9rem;
  margin: 0.2rem 0 0 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

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

/* Hero Section */
.hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--light);
  padding: 2rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(44, 85, 48, 0.1)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f5f0e8" width="1200" height="800"/><g fill="%238b4513" opacity="0.05"><circle cx="200" cy="200" r="100"/><circle cx="800" cy="300" r="150"/><circle cx="1000" cy="600" r="120"/><rect x="300" y="400" width="200" height="100" rx="10"/><rect x="600" y="100" width="150" height="200" rx="10"/></g></svg>');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.quality-vision {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
}

.quality-vision h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.quality-vision p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 25px var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(139, 69, 19, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Products Section */
.products {
  padding: 5rem 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px var(--shadow);
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(139, 69, 19, 0.25);
}

.product-image {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.coir-image {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(44, 85, 48, 0.8)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23d4a574" width="400" height="300"/><g fill="%238b4513" opacity="0.3"><circle cx="100" cy="100" r="30"/><circle cx="300" cy="200" r="40"/><rect x="150" y="50" width="100" height="20" rx="10"/></g></svg>');
}

.construction-image {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(212, 165, 116, 0.8)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23d4a574" width="400" height="300"/><g fill="%238b4513" opacity="0.3"><rect x="50" y="50" width="80" height="100" rx="5"/><rect x="200" y="80" width="60" height="120" rx="5"/></g></svg>');
}

.household-image {
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.8), rgba(139, 69, 19, 0.8)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23d4a574" width="400" height="300"/><g fill="%238b4513" opacity="0.3"><circle cx="150" cy="100" r="25"/><circle cx="250" cy="150" r="30"/></g></svg>');
}

.ropes-image {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.8), rgba(44, 85, 48, 0.8)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23d4a574" width="400" height="300"/><g fill="%238b4513" opacity="0.3"><path d="M50 100 Q200 50 350 100" stroke="%238b4513" stroke-width="8" fill="none"/></g></svg>');
}

.product-overlay {
  background: rgba(0,0,0,0.4);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s;
}

.product-card:hover .product-overlay {
  background: rgba(0,0,0,0.6);
}

.product-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.product-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.product-overlay p {
  font-size: 0.85rem;
  opacity: 0.9;
}

.product-details {
  padding: 1.2rem;
}

.product-details ul {
  list-style: none;
}

.product-details li {
  padding: 0.4rem 0;
  color: var(--text);
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
  font-size: 0.8rem;
}

.product-details li:last-child {
  border-bottom: none;
}

.product-details li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.4rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--light);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.feature h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature p {
  color: var(--text);
  font-size: 0.95rem;
  opacity: 0.8;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 250px;
  height: 200px;
  object-fit: contain;
  border-radius: 15px;
  background-color: var(--white);
  padding: 15px;
  box-shadow: 0 10px 25px var(--shadow);
  transition: all 0.3s;
}

.about-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(139, 69, 19, 0.25);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 15px;
  transition: all 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow);
}

.contact-icon {
  font-size: 2rem;
  margin-top: 0.2rem;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-card p {
  color: var(--text);
  line-height: 1.6;
}

.contact-form {
  background: var(--light);
  padding: 2rem;
  border-radius: 20px;
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(139, 69, 19, 0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  transition: all 0.3s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-group select {
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 3rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text);
  opacity: 0.7;
  transition: all 0.3s;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.8rem;
  color: var(--primary);
  background: var(--light);
  padding: 0 0.5rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #e3f2fd, #fff3e0);
  color: var(--text);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.9;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact p {
  opacity: 0.9;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(139, 69, 19, 0.2);
  padding-top: 1rem;
  text-align: center;
  opacity: 0.8;
}

.disclaimer {
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: rgba(139, 69, 19, 0.1);
  border-radius: 8px;
}

.disclaimer p {
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .language-buttons {
    flex-direction: column;
  }
  
  .language-toggle {
    top: 15px;
    left: 15px;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
  }
}