/* ================================================
   DIKSHA VISAKHAPATNAM — SHARED STYLESHEET
   Theme: Earthy & Professional (Green + Gold)
   Pages: All 6 HTML pages
   Team: Manojna, Veereswari, Pravalli
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
  --green:        #1b5e38;
  --green2:       #256b45;
  --green3:       #2d8a57;
  --green-light:  #e8f5ee;
  --green-pale:   #f0f9f4;
  --gold:         #c8972a;
  --gold2:        #e0aa30;
  --gold-light:   #fdf6e3;
  --gold-pale:    #fffbf0;
  --ink:          #1a1a1a;
  --ink2:         #3d3d3d;
  --muted:        #6b6b6b;
  --border:       #dde8e2;
  --bg:           #f7fbf8;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(27,94,56,0.08);
  --shadow:       0 4px 18px rgba(27,94,56,0.12);
  --shadow-lg:    0 10px 40px rgba(27,94,56,0.16);
  --radius:       14px;
  --radius-sm:    8px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0; z-index: 999;
  background: var(--white);
  border-bottom: 2px solid var(--green-light);
  height: 70px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(27,94,56,0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.3px;
}

.logo-box {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--green), var(--green3));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 3px 10px rgba(27,94,56,0.25);
}

.nav-logo .gold { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  background: var(--green-light);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green), var(--green3)) !important;
  color: white !important;
  padding: 9px 22px !important;
  border-radius: var(--radius-sm) !important;
  margin-left: 8px;
  box-shadow: 0 3px 10px rgba(27,94,56,0.25);
  transition: all 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(27,94,56,0.35) !important;
  background: var(--green) !important;
}

.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer;
  color: var(--green);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green2) 50%, var(--green3) 100%);
  padding: 72px 5% 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(200,151,42,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* leaf pattern */
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  pointer-events: none;
}

.page-hero-tag {
  display: inline-block;
  background: rgba(200,151,42,0.22);
  border: 1px solid rgba(200,151,42,0.45);
  color: var(--gold2);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}

.page-hero p {
  font-size: 1rem;
  opacity: 0.82;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative; z-index: 1;
}

/* ===== SECTION HELPERS ===== */
.section {
  padding: 72px 5%;
  max-width: 1160px;
  margin: 0 auto;
}

.section-full { padding: 72px 5%; }
.section-center { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-tag::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.section-title .green { color: var(--green); }
.section-title .gold  { color: var(--gold);  }

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.section-center .section-sub { margin: 0 auto 40px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.22s;
  letter-spacing: 0.02em;
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green3));
  color: white;
  box-shadow: 0 4px 14px rgba(27,94,56,0.25);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,94,56,0.35); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(200,151,42,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,151,42,0.4); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-outline:hover { background: var(--green); color: white; transform: translateY(-1px); }

.btn-white {
  background: white;
  color: var(--green);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(27,94,56,0.2);
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.badge-green { background: var(--green-light); color: var(--green); }
.badge-gold  { background: var(--gold-light);  color: var(--gold);  }

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 2px solid var(--green-light);
  border-top: 2px solid var(--green-light);
}

.stat-box {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--green-light);
}
.stat-box:last-child { border-right: none; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
footer {
  background: var(--green);
  color: rgba(255,255,255,0.7);
  padding: 56px 5% 24px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: white;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .flogo {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.footer-brand .gold { color: var(--gold2); }

.footer-desc {
  font-size: 0.86rem;
  line-height: 1.78;
  opacity: 0.65;
  max-width: 270px;
}

.footer-col h4 {
  color: var(--gold2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex; flex-direction: column; gap: 8px;
}

.footer-col ul li a {
  font-size: 0.86rem;
  opacity: 0.62;
  transition: opacity 0.2s;
}

.footer-col ul li a:hover { opacity: 1; color: var(--gold2); }

.footer-bottom {
  max-width: 1160px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  opacity: 0.5;
}

/* ===== TEAM STRIP ===== */
.team-strip {
  background: var(--gold-pale);
  border-top: 2px solid var(--gold-light);
  padding: 10px 5%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-bar    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; border-bottom: 2px solid var(--green-light); flex-direction: column; padding: 16px 5%; gap: 4px; box-shadow: var(--shadow); z-index: 998; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .stats-bar    { grid-template-columns: 1fr 1fr; }
  .section      { padding: 50px 4%; }
  .page-hero    { padding: 52px 4% 42px; }
}