/* ===== CSS Custom Properties (Green Eco-Friendly Theme) ===== */
:root {
  /* Primary greens */
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #4caf50;
  --primary-bg: #e8f5e9;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-500: #9e9e9e;
  --gray-700: #616161;
  --gray-900: #212121;

  /* Accent */
  --accent: #ff9800;
  --accent-dark: #e65100;

  /* Text */
  --text-primary: #212121;
  --text-secondary: #616161;
  --text-light: #ffffff;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1140px;

  /* Transitions */
  --transition: all 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

main {
  flex: 1;
}

/* ===== Navbar ===== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.navbar__logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

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

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--primary);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__cta {
  background: var(--primary) !important;
  color: var(--text-light) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.navbar__cta::after {
  display: none !important;
}

.navbar__cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.navbar__toggle span {
  width: 26px;
  height: 3px;
  background: var(--gray-900);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--green {
  background: var(--primary);
  color: var(--white);
}

.btn--green:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* ===== Section Styles ===== */
.section {
  padding: var(--section-padding);
}

.section--gray {
  background: var(--gray-50);
}

.section--green {
  background: var(--primary-bg);
}

.section__header {
  text-align: center;
  margin-bottom: 50px;
}

.section__label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== About Section ===== */
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.about__text p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.75;
}

.about__image {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about__image img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

/* ===== Features / Why Choose Us ===== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 36px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Product Cards ===== */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.product-card__image {
  height: 240px;
  overflow: hidden;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: var(--transition);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__body {
  padding: 8px 24px 24px;
}

.product-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.product-card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.product-card__btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ===== Page Header (Products, Enquiry pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

.page-header__title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header__subtitle {
  font-size: 1.05rem;
  opacity: 0.85;
}

/* ===== Enquiry Form ===== */
.form-section {
  padding: 60px 0 80px;
}

.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #d32f2f;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
}

.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(46, 125, 50, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

/* Form messages */
.form-message {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}

.form-message--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}

.form-message--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

/* Submit button loading state */
.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner__text {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 50px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.footer__heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-500);
  padding: 4px 0;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.footer__contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about__image {
    height: 250px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 70px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section__title {
    font-size: 1.7rem;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 24px;
  }

  /* Mobile nav */
  .navbar__links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-200);
  }

  .navbar__links.active {
    display: flex;
  }

  .navbar__links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }

  .navbar__links a::after {
    display: none;
  }

  .navbar__cta {
    text-align: center;
    margin-top: 8px;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-header {
    padding: 40px 0;
  }

  .page-header__title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.65rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-float__text {
  white-space: nowrap;
}

/* On mobile, show only the icon (no text) to save space */
@media (max-width: 576px) {
  .whatsapp-float {
    padding: 16px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float__text {
    display: none;
  }

  .whatsapp-float__icon {
    width: 30px;
    height: 30px;
  }
}
