/* ============================================================
   Prakash Casting Interprizes — Global Stylesheet
   ============================================================ */

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

:root {
  --green-dark:  #1a5c1a;
  --green-mid:   #2e7d32;
  --green-light: #43a047;
  --gold:        #c8a800;
  --gold-light:  #f5d800;
  --bg:          #f8f9fa;
  --white:       #ffffff;
  --text:        #1c1c1c;
  --muted:       #5c6773;
  --border:      #d8e0d8;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --radius:      10px;
  --transition:  .25s ease;
}

html { scroll-behavior: smooth; }

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

a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Utility ---------- */
.container { width: 90%; max-width: 1100px; margin-inline: auto; }
.section    { padding: 80px 0; }
.section-alt{ background: var(--white); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--green-dark);
  color: var(--gold-light);
  font-size: .78rem;
  letter-spacing: .04em;
  padding: 6px 0;
  text-align: center;
}
.topbar a { color: var(--gold-light); }

/* ---------- Navbar ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--green-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  width: 44px; height: 44px;
  background: var(--green-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-light);
  font-weight: 800; font-size: 1.1rem;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}
.nav-title span { display: block; font-size: .7rem; font-weight: 400; color: var(--muted); }
.nav-links {
  display: flex; gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--green-mid); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero p {
  font-size: 1.1rem;
  opacity: .88;
  max-width: 580px;
  margin: 0 auto 36px;
}
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: var(--white);
  margin-left: 12px;
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  text-decoration: none;
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Section headings ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.section-header p { color: var(--muted); max-width: 500px; margin-inline: auto; }
.divider {
  width: 56px; height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin: 14px auto 0;
}

/* ---------- Services Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px;
  background: #e8f5e9;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; color: var(--green-dark); }
.card p  { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--green-dark);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--gold-light);
  font-size: 1.2rem;
}
.why-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; color: var(--green-dark); }
.why-item p  { font-size: .82rem; color: var(--muted); }

/* ---------- About / Info ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.info-table th, .info-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.info-table th {
  background: var(--green-dark);
  color: var(--white);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.info-table tr:nth-child(even) td { background: #f0f7f0; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 700px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-row-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: #e8f5e9;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--green-dark);
  font-size: 1.1rem;
}
.contact-row-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-row-value { font-size: .93rem; font-weight: 600; }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; }
.contact-form h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: .9rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  width: 100%;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  padding: 13px;
  border-radius: 7px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}
.btn-submit:hover { background: var(--green-mid); }

/* ---------- Map placeholder ---------- */
.map-wrap {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e8f5e9;
  height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
  gap: 8px;
}
.map-wrap span { font-size: 2.2rem; display: block; }

/* ---------- Footer ---------- */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.75);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: var(--gold-light); font-size: .9rem; margin-bottom: 14px; letter-spacing: .05em; text-transform: uppercase; }
footer p  { font-size: .84rem; line-height: 1.7; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,.7); font-size: .84rem; transition: color var(--transition); }
footer ul li a:hover { color: var(--gold-light); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
}
.footer-bottom a { color: var(--gold-light); }

/* ---------- Misc Pages (privacy/terms) ---------- */
.policy-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.policy-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.policy-hero p  { opacity: .8; }
.policy-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 20px;
}
.policy-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 36px 0 10px;
}
.policy-body p, .policy-body li {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.policy-body ul { padding-left: 22px; }
.policy-body strong { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero      { padding: 70px 0 60px; }
  .hero h1   { font-size: 1.9rem; }
  .btn-outline { display: none; }
}

