/* === Envotec Services Limited - Main Stylesheet === */
:root {
  --green: #2d8a4e;
  --green-dark: #1a5c30;
  --green-light: #e8f5e9;
  --orange: #f47920;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #e0e0e0;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --radius: 8px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* === HEADER === */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo img { height: 45px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  color: var(--text);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--green-light);
  color: var(--green-dark);
}
.nav-links a.cta-nav {
  background: var(--green);
  color: var(--white);
  margin-left: 8px;
}
.nav-links a.cta-nav:hover {
  background: var(--green-dark);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px 0;
  z-index: 1001;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  border-radius: 0;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--green-light); }

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
}
@media (max-width: 900px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; padding-left: 16px; }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 32px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--white);
  color: var(--green-dark);
}
.btn-primary:hover { background: var(--gray-light); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-dark); }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-light); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* === PRODUCT CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  background: var(--green-light);
  padding: 40px;
  text-align: center;
  font-size: 3rem;
}
.card-body { padding: 24px; }
.card-body h3 {
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-text h2 {
  color: var(--green-dark);
  margin-bottom: 16px;
  font-size: 2rem;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-image {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  font-size: 8rem;
}

/* === STATS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--green);
  font-weight: 700;
}
.stat-item p {
  color: var(--text-light);
  font-size: 1rem;
}

/* === INSTAGRAM SECTION === */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.insta-item {
  aspect-ratio: 1;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 {
  color: var(--green-dark);
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-light);
}
.contact-icon { font-size: 1.3rem; min-width: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* === FOOTER === */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.footer-col p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }
.footer-col a { color: #aaa; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--green); }

/* === PAGE BANNER === */
.page-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-banner h1 { font-size: 2.5rem; margin-bottom: 8px; }
.page-banner p { opacity: 0.85; font-size: 1.1rem; }

/* === PRODUCT PAGE === */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }
.product-icon-lg {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  font-size: 6rem;
}
.benefit-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-light);
}
.benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* === Success Toast === */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 2000;
}
.toast.show { transform: translateY(0); opacity: 1; }
