/* =============================================
   LETSCOMPOST.IN — Global Styles
   Fully Responsive: Mobile / Tablet / Laptop / Mac
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --green-deep:    #0b1f14;
  --green-mid:     #173b25;
  --green-brand:   #235c3b;
  --green-light:   #3f7a55;
  --green-pale:    #e7eadf;
  --green-accent:  #2f6b4a;
  --orange-accent: #8a7a3e;
  --cream:         #f3f1e7;
  --cream-dark:    #e1e5d8;
  --white:         #ffffff;
  --dark:          #06120c;
  --text-body:     #dce2d6;
  --text-muted:    #9eaa98;
  --border:        rgba(225,229,216,0.14);
  --shadow-sm:     0 2px 12px rgba(6,18,12,0.25);
  --shadow-md:     0 8px 32px rgba(6,18,12,0.35);
  --shadow-lg:     0 24px 64px rgba(6,18,12,0.45);
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     14px;
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  --gradient-accent: linear-gradient(90deg,#235c3b 0%,#7f8f45 100%);
  --font-heading:  'Inter', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-condensed:'Inter', system-ui, sans-serif;
  --font-mono:     'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  word-break: break-word;
}
h1 { font-size: clamp(2rem,6vw,5.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem,3.5vw,3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 400; }
h4 { font-size: clamp(0.95rem,1.5vw,1.15rem); font-weight: 400; }

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p { color: var(--text-body); font-weight: 300; line-height: 1.75; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Layout ---- */
.container { width: min(90%, 1100px); margin: 0 auto; }
.text-center { text-align: center; }

/* ---- Section tag ---- */
.section-tag {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: clamp(0.62rem,1.2vw,0.78rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2f6b4a;
  background: rgba(47,107,74,0.12);
  border: 1px solid rgba(47,107,74,0.28);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  white-space: nowrap;
}
.section-tag.light  { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.section-tag.orange { color: var(--orange-accent); background: rgba(138,122,62,0.14); border-color: rgba(138,122,62,0.28); }

.section-intro {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--text-muted);
  font-size: clamp(0.88rem,1.5vw,1.05rem);
  font-weight: 300;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(10px,1.5vw,12px) clamp(18px,3vw,32px);
  border-radius: 4px;
  font-family: var(--font-condensed);
  font-size: clamp(0.76rem,1.4vw,0.95rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(90deg,#2f6b4a,#7f8f45); color: var(--white); }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(47,107,74,0.32); }
.btn-outline { background: transparent; color: #2f6b4a; border-color: #2f6b4a; }
.btn-outline:hover { background: #2f6b4a; color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(243,241,231,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11,31,20,0.08);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(56px,8vw,68px);
  gap: 12px;
}

.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo { width: clamp(110px,16vw,168px); max-height: 44px; object-fit: contain; }
.footer-brand .site-logo { width: clamp(130px,20vw,178px); margin-bottom: 14px; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; flex-wrap: nowrap; }
.nav-links a {
  padding: 6px clamp(8px,1.2vw,16px);
  border-radius: 4px;
  font-size: clamp(0.72rem,1.2vw,0.88rem);
  font-weight: 500;
  font-family: var(--font-condensed);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #536354;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: rgba(47,107,74,0.08); color: #173b25; }
.nav-links a.active { font-weight: 600; }
.nav-cta .btn { padding: 8px 18px; font-size: 0.8rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  flex-shrink: 0;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #173b25;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav drawer */
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: clamp(56px,8vw,68px); left: 0; right: 0;
  background: rgba(243,241,231,0.99);
  border-bottom: 1px solid rgba(11,31,20,0.12);
  padding: 16px 5% 16px;
  gap: 4px;
  box-shadow: var(--shadow-md);
  align-items: stretch;
  z-index: 999;
}
.nav-links.open li a { padding: 13px 16px; font-size: 0.95rem; border-radius: 4px; }
.nav-cta.open {
  display: block !important;
  position: fixed;
  left: 0; right: 0;
  background: rgba(243,241,231,0.99);
  padding: 0 5% 20px;
  z-index: 999;
}
.nav-cta.open .btn { width: 100%; justify-content: center; }

/* ===== FOOTER ===== */
footer {
  background: #06120c;
  color: rgba(255,255,255,0.6);
  padding: clamp(40px,6vw,60px) 0 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(24px,4vw,48px);
  padding-bottom: clamp(28px,4vw,48px);
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.9rem; line-height: 1.75; font-weight: 300; }
.footer-col h5 {
  font-family: var(--font-condensed);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.92rem; font-weight: 300; transition: var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-col .email-link { color: #2f6b4a; font-size: 0.92rem; }
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: rgba(255,255,255,0.2);
  flex-wrap: wrap; gap: 8px;
}

/* ===== CARDS ===== */
.card {
  background: #0e1b13;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(16px,2.5vw,28px);
  transition: var(--transition);
}
.card:hover { border-color: rgba(47,107,74,0.32); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-icon {
  width: 44px; height: 44px;
  background: rgba(47,107,74,0.14);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.3rem;
}
.card-icon.orange { background: rgba(138,122,62,0.16); }
.card-icon.dark   { background: rgba(255,255,255,0.06); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(14px,2.5vw,24px); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(12px,2.2vw,24px); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(10px,2vw,20px); }

/* ===== SECTIONS ===== */
.section    { padding: clamp(56px,8vw,96px) 0; }
.section-sm { padding: clamp(36px,5vw,64px) 0; }
.section-dark  { background: #07130d; color: var(--white); }
.section-dark h2,.section-dark h3 { color: var(--white); }
.section-cream { background: #0e1b13; }
.section-pale  { background: #0a1710; }

/* ===== FORM ===== */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  font-family: var(--font-condensed); letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 300;
  color: var(--white); background: #0e1b13;
  transition: var(--transition); outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #2f6b4a; box-shadow: 0 0 0 3px rgba(47,107,74,0.16); }
.form-group textarea { height: 130px; resize: vertical; }

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Large desktop 1440px+ (Mac large / 4K) */
@media (min-width: 1440px) {
  .container { max-width: 1200px; }
}

/* Tablet landscape / small laptop 768–1023px */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet portrait 601–767px */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Mobile ≤600px */
@media (max-width: 600px) {
  html { font-size: 15px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}

/* Very small phones ≤380px */
@media (max-width: 380px) {
  html { font-size: 14px; }
  .grid-4 { grid-template-columns: 1fr; }
}
