/* ============================================================
   PlantPhysCon 2026 — SKUAST-Kashmir
   Bright green + gold institutional theme
   ============================================================ */

:root{
  --green-950:#0f4a34;
  --green-900:#146b4c;
  --green-800:#178a5e;
  --green-700:#1ba36f;
  --green-600:#22b881;
  --green-100:#e3f8ee;
  --green-50:#f2fdf8;
  --gold-700:#c07f0a;
  --gold-600:#f5a623;
  --gold-500:#ffc248;
  --gold-100:#fff4da;
  --blue-subtle:#4a90c2;
  --grey-900:#20262b;
  --grey-700:#4c5760;
  --grey-500:#7a848c;
  --grey-200:#e4e8ea;
  --grey-100:#f2f4f5;
  --white:#ffffff;

  --font-body: 'Inter', -apple-system, Segoe UI, sans-serif;
  --font-head: 'Poppins', var(--font-body);
  --font-serif: 'Merriweather', Georgia, serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(20,107,76,.10);
  --shadow-md: 0 10px 30px rgba(20,107,76,.16);
  --shadow-lg: 0 20px 50px rgba(20,107,76,.22);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:90px; }
body{
  font-family:var(--font-body);
  color:var(--grey-900);
  background:var(--white);
  line-height:1.65;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5,h6{ font-family:var(--font-head); font-weight:700; color:var(--green-900); }
.font-serif{ font-family:var(--font-serif); }
a{ color:var(--green-700); text-decoration:none; }
a:hover{ color:var(--gold-700); }
::selection{ background:var(--gold-100); color:var(--green-900); }

.section{ padding:88px 0; }
.section-sm{ padding:56px 0; }
@media(max-width:768px){
  .section{ padding:56px 0; }
  .section-sm{ padding:36px 0; }
}
.bg-tint{ background:var(--green-50); }
.bg-deep{ background:var(--green-900); color:#eaf3ee; }
.bg-deep h1,.bg-deep h2,.bg-deep h3,.bg-deep h4{ color:#fff; }
.bg-deep a{ color:var(--gold-500); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-size:.72rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold-700); background:var(--gold-100);
  padding:6px 16px; border-radius:999px; margin-bottom:16px;
}
.bg-deep .eyebrow{ background:rgba(245,166,35,.16); color:var(--gold-500); }

.section-title{ font-size:clamp(1.6rem,3vw,2.4rem); margin-bottom:14px; }
.section-lead{ color:var(--grey-700); max-width:760px; }
.bg-deep .section-lead{ color:#cfe3d9; }

/* ---------- Buttons ---------- */
.btn{ font-family:var(--font-head); font-weight:600; border-radius:999px; padding:.7rem 1.6rem; transition:all .25s ease; border:2px solid transparent; }
.btn-gold{ background:var(--gold-600); border-color:var(--gold-600); color:#2b1d05; }
.btn-gold:hover{ background:var(--gold-700); border-color:var(--gold-700); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-outline-cream{ background:transparent; border-color:rgba(255,255,255,.65); color:#fff; }
.btn-outline-cream:hover{ background:rgba(255,255,255,.12); border-color:#fff; color:#fff; transform:translateY(-2px); }
.btn-green{ background:var(--green-700); border-color:var(--green-700); color:#fff; }
.btn-green:hover{ background:var(--green-900); border-color:var(--green-900); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-outline-green{ background:transparent; border:2px solid var(--green-700); color:var(--green-700); }
.btn-outline-green:hover{ background:var(--green-700); color:#fff; }
.btn-sm-pill{ padding:.45rem 1.1rem; font-size:.85rem; }

/* ---------- Navbar ---------- */
#siteNav{
  background:rgba(15,74,52,.96);
  backdrop-filter:saturate(160%) blur(6px);
  padding:14px 0;
  transition:padding .25s ease, box-shadow .25s ease;
}
#siteNav.scrolled{ padding:8px 0; box-shadow:0 6px 24px rgba(0,0,0,.25); }
#siteNav .navbar-brand{ display:flex; align-items:center; gap:10px; color:#fff; font-family:var(--font-head); line-height:1.15; }
#siteNav .navbar-brand .brand-badge{
  width:44px;height:44px;border-radius:50%;
  background:linear-gradient(145deg,var(--gold-500),var(--gold-700));
  display:flex;align-items:center;justify-content:center;
  color:var(--green-950); font-weight:800; font-size:1.05rem; flex:none;
  box-shadow:0 0 0 3px rgba(245,166,35,.25);
}
#siteNav .navbar-brand .brand-name{ font-size:.95rem; font-weight:700; color:#fff; }
#siteNav .navbar-brand .brand-sub{ font-size:.68rem; color:#bcd6c8; font-weight:500; letter-spacing:.03em; }
#siteNav .nav-link{ color:#e7f1ec !important; font-weight:600; font-size:.88rem; padding:.55rem .85rem !important; border-radius:8px; }
#siteNav .nav-link:hover, #siteNav .nav-link:focus{ color:#fff !important; background:rgba(255,255,255,.08); }
#siteNav .nav-link.active{ color:var(--gold-500) !important; }
#siteNav .dropdown-menu{ background:var(--green-950); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:8px; }
#siteNav .dropdown-item{ color:#e7f1ec; border-radius:8px; font-size:.88rem; padding:.5rem .8rem; }
#siteNav .dropdown-item:hover{ background:var(--green-800); color:#fff; }
#siteNav .btn-gold{ padding:.5rem 1.2rem; font-size:.85rem; }
.navbar-toggler{ border:none; color:#fff; }
.navbar-toggler:focus{ box-shadow:none; }

/* ---------- Hero ---------- */
.hero{
  position:relative; color:#fff;
  padding:170px 0 120px;
  background-color:var(--green-900);
  background-size:cover; background-position:center;
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(245,166,35,.12), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(27,163,111,.35), transparent 45%);
  pointer-events:none;
}
.hero .container{ position:relative; z-index:2; }
.hero-kicker{ font-family:var(--font-head); letter-spacing:.18em; text-transform:uppercase; font-size:.78rem; color:var(--gold-500); font-weight:700; margin-bottom:18px; }
.hero h1{ color:#fff; font-size:clamp(1.9rem,4.2vw,3.4rem); line-height:1.15; margin-bottom:20px; }
.hero .lead{ color:#dcece4; font-size:1.15rem; max-width:640px; }
.hero-meta{ display:flex; flex-wrap:wrap; gap:22px; margin:28px 0 34px; font-family:var(--font-head); font-weight:600; font-size:.92rem; }
.hero-meta span{ display:flex; align-items:center; gap:8px; color:#f3ede0; }
.hero-meta i{ color:var(--gold-500); }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; }
.page-hero{ padding:150px 0 80px; }
.page-hero h1{ color:#fff; font-size:clamp(1.7rem,3.4vw,2.6rem); }
.breadcrumb-min{ font-size:.85rem; color:#cfe3d9; }
.breadcrumb-min a{ color:#cfe3d9; }
.breadcrumb-min a:hover{ color:var(--gold-500); }

/* countdown */
.countdown{ display:flex; gap:14px; flex-wrap:wrap; margin-top:10px; }
.countdown .cd-box{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15);
  border-radius:12px; padding:14px 18px; min-width:84px; text-align:center;
  backdrop-filter:blur(4px);
}
.countdown .cd-num{ font-family:var(--font-head); font-size:1.9rem; font-weight:800; color:var(--gold-500); line-height:1; }
.countdown .cd-label{ font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:#dcece4; margin-top:4px; }

/* ---------- Stats ---------- */
.stat-strip{ background:var(--green-900); color:#fff; padding:44px 0; }
.stat-item{ text-align:center; padding:10px; }
.stat-num{ font-family:var(--font-head); font-weight:800; font-size:clamp(1.7rem,3vw,2.6rem); color:var(--gold-500); }
.stat-label{ font-size:.82rem; color:#cfe3d9; text-transform:uppercase; letter-spacing:.06em; margin-top:4px; }

/* ---------- Cards ---------- */
.card-fx{
  background:#fff; border:1px solid var(--grey-200); border-radius:var(--radius);
  transition:transform .25s ease, box-shadow .25s ease; height:100%;
}
.card-fx:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.icon-tile{
  width:56px;height:56px;border-radius:14px;
  background:var(--green-100); color:var(--green-700);
  display:flex;align-items:center;justify-content:center; font-size:1.4rem; margin-bottom:16px;
}
.theme-card{ position:relative; border-radius:var(--radius); overflow:hidden; color:#fff; min-height:230px; display:flex; align-items:flex-end; box-shadow:var(--shadow-sm); }
.theme-card .theme-bg{ position:absolute; inset:0; background-size:cover; background-position:center; transition:transform .5s ease; }
.theme-card:hover .theme-bg{ transform:scale(1.08); }
.theme-card::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,74,52,.1), rgba(15,74,52,.92)); }
.theme-card .theme-body{ position:relative; z-index:2; padding:22px; }
.theme-card .theme-num{ font-family:var(--font-head); color:var(--gold-500); font-weight:800; font-size:.8rem; letter-spacing:.1em; }
.theme-card h3{ color:#fff; font-size:1.15rem; margin:.3rem 0 0; }
.theme-card .sub-list{ list-style:none; padding:0; margin:12px 0 0; font-size:.85rem; color:#e6f2ec; display:none; }
.theme-card .sub-list li{ padding:3px 0; border-top:1px solid rgba(255,255,255,.12); }
.theme-card.open .sub-list{ display:block; }
.theme-toggle{ background:none; border:none; color:var(--gold-500); font-size:.78rem; font-weight:700; padding:0; margin-top:10px; }

/* Speaker cards */
.speaker-card{ background:#fff; border-radius:var(--radius); overflow:hidden; border:1px solid var(--grey-200); box-shadow:var(--shadow-sm); transition:.25s ease; height:100%; }
.speaker-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-4px); }
.speaker-photo{ aspect-ratio:1/1; overflow:hidden; background:var(--green-100); position:relative; }
.speaker-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.speaker-card:hover .speaker-photo img{ transform:scale(1.06); }
.speaker-photo.placeholder{ display:flex; align-items:center; justify-content:center; color:var(--green-700); font-size:2.6rem; }
.speaker-tag{ position:absolute; top:10px; left:10px; background:var(--gold-600); color:#2b1d05; font-size:.68rem; font-weight:800; padding:3px 10px; border-radius:999px; letter-spacing:.04em; text-transform:uppercase; }
.speaker-body{ padding:18px; }
.speaker-body h3{ font-size:1.02rem; margin-bottom:2px; }
.speaker-role{ color:var(--gold-700); font-weight:600; font-size:.82rem; }
.speaker-aff{ color:var(--grey-700); font-size:.82rem; margin-top:6px; }
.speaker-topic{ font-style:italic; font-size:.85rem; color:var(--green-800); margin-top:10px; border-left:3px solid var(--gold-500); padding-left:10px; }
.speaker-contact{ font-size:.78rem; color:var(--grey-500); margin-top:10px; }

/* Committee */
.committee-tier{ margin-bottom:34px; }
.committee-tier .tier-label{ font-family:var(--font-head); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-700); font-weight:800; margin-bottom:12px; display:block; }
.person-row{ display:flex; gap:14px; align-items:flex-start; padding:14px; border:1px solid var(--grey-200); border-radius:12px; background:#fff; height:100%; }
.person-row .avatar{ width:54px; height:54px; border-radius:50%; object-fit:cover; flex:none; background:var(--green-100); }
.person-row .avatar-fallback{ width:54px; height:54px; border-radius:50%; background:var(--green-100); color:var(--green-700); display:flex; align-items:center; justify-content:center; font-weight:700; flex:none; }
.person-row h4{ font-size:.95rem; margin-bottom:2px; }
.person-row .role{ font-size:.78rem; color:var(--grey-700); }
.person-row .meta{ font-size:.76rem; color:var(--grey-500); margin-top:4px; }

/* Timeline (important dates) */
.timeline{ position:relative; padding-left:34px; }
.timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:linear-gradient(var(--gold-500), var(--green-700)); }
.timeline-item{ position:relative; padding-bottom:30px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{ content:""; position:absolute; left:-34px; top:2px; width:20px; height:20px; border-radius:50%; background:#fff; border:3px solid var(--gold-600); }
.timeline-item .t-date{ font-family:var(--font-head); font-weight:800; color:var(--green-800); font-size:.95rem; }
.timeline-item .t-desc{ color:var(--grey-700); font-size:.92rem; }

/* Tables */
.table-conf{ border-collapse:separate; border-spacing:0; width:100%; }
.table-conf thead th{ background:var(--green-900); color:#fff; font-family:var(--font-head); font-size:.82rem; text-transform:uppercase; letter-spacing:.04em; padding:14px 16px; }
.table-conf thead th:first-child{ border-top-left-radius:10px; }
.table-conf thead th:last-child{ border-top-right-radius:10px; }
.table-conf tbody td{ padding:13px 16px; border-bottom:1px solid var(--grey-200); font-size:.92rem; }
.table-conf tbody tr:nth-child(even){ background:var(--green-50); }
.table-conf tbody tr:hover{ background:var(--gold-100); }

/* Tabs (programme / about) */
.conf-tabs .nav-link{ font-family:var(--font-head); font-weight:700; color:var(--grey-700); border:none; border-bottom:3px solid transparent; border-radius:0; padding:.7rem 1.3rem; }
.conf-tabs .nav-link.active{ color:var(--green-800); border-bottom-color:var(--gold-600); background:none; }

.schedule-item{ display:flex; gap:18px; padding:18px 0; border-bottom:1px solid var(--grey-200); }
.schedule-time{ flex:none; width:120px; font-family:var(--font-head); font-weight:700; color:var(--green-800); font-size:.9rem; }
.schedule-body h4{ font-size:1rem; margin-bottom:4px; }
.schedule-body .meta{ font-size:.82rem; color:var(--grey-500); }

/* Gallery */
.gallery-item{ border-radius:12px; overflow:hidden; position:relative; cursor:pointer; aspect-ratio:4/3; background:var(--green-100); }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-item:hover img{ transform:scale(1.09); }
.gallery-item .g-cap{ position:absolute; inset:auto 0 0 0; background:linear-gradient(0deg, rgba(15,74,52,.85), transparent); color:#fff; padding:10px 12px 8px; font-size:.78rem; font-weight:600; opacity:0; transition:opacity .25s; }
.gallery-item:hover .g-cap{ opacity:1; }
.filter-pill{ border:1px solid var(--grey-200); background:#fff; border-radius:999px; padding:.4rem 1rem; font-size:.85rem; font-weight:600; color:var(--grey-700); }
.filter-pill.active, .filter-pill:hover{ background:var(--green-700); color:#fff; border-color:var(--green-700); }
.placeholder-tile{ aspect-ratio:4/3; border-radius:12px; background:linear-gradient(135deg,var(--green-800),var(--green-600)); display:flex; align-items:center; justify-content:center; color:#fff; text-align:center; padding:14px; font-weight:600; font-size:.9rem; }

/* Accordion tweak */
.accordion-button{ font-family:var(--font-head); font-weight:700; color:var(--green-900); }
.accordion-button:not(.collapsed){ background:var(--green-50); color:var(--green-900); box-shadow:none; }
.accordion-button:focus{ box-shadow:none; border-color:var(--grey-200); }

/* Forms */
.form-control, .form-select{ border-radius:10px; border:1px solid var(--grey-200); padding:.65rem .9rem; }
.form-control:focus, .form-select:focus{ border-color:var(--green-600); box-shadow:0 0 0 3px rgba(27,163,111,.15); }
label.form-label{ font-weight:600; font-size:.88rem; color:var(--grey-900); }

/* Notice / alert cards */
.notice-card{ border-left:4px solid var(--gold-600); background:var(--gold-100); border-radius:0 10px 10px 0; padding:14px 18px; }
.info-card{ border-left:4px solid var(--green-700); background:var(--green-50); border-radius:0 10px 10px 0; padding:14px 18px; }
.tbd-badge{ display:inline-block; background:var(--grey-200); color:var(--grey-700); font-size:.68rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:3px 9px; border-radius:6px; }

/* Sponsor logo grid */
.sponsor-tile{ border:1px dashed var(--grey-200); border-radius:12px; padding:26px 16px; text-align:center; color:var(--grey-500); font-size:.85rem; font-weight:600; background:#fff; height:110px; display:flex; align-items:center; justify-content:center; }

/* Map */
.map-frame{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--grey-200); }
.map-frame iframe{ width:100%; height:100%; min-height:360px; border:0; display:block; }

/* Footer */
footer.site-footer{ background:var(--green-950); color:#cfe3d9; padding:64px 0 24px; }
footer.site-footer h5{ color:#fff; font-family:var(--font-head); font-size:1rem; margin-bottom:18px; }
footer.site-footer a{ color:#b9d2c6; }
footer.site-footer a:hover{ color:var(--gold-500); }
footer.site-footer ul{ list-style:none; padding:0; margin:0; }
footer.site-footer li{ margin-bottom:9px; font-size:.9rem; }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); margin-top:40px; padding-top:22px; font-size:.82rem; color:#8fae9f; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; }
.social-row{ display:flex; gap:10px; margin-top:14px; }
.social-row a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; color:#fff; }
.social-row a:hover{ background:var(--gold-600); color:#2b1d05; }

/* Back to top */
#backToTop{ position:fixed; right:22px; bottom:22px; width:46px; height:46px; border-radius:50%; background:var(--green-800); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); opacity:0; visibility:hidden; transition:.25s; z-index:1000; border:none; }
#backToTop.show{ opacity:1; visibility:visible; }
#backToTop:hover{ background:var(--gold-600); color:#2b1d05; }

/* Reveal animation */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* dev note styling (used only in generated placeholders, safe to remove) */
.dev-note{ font-size:.78rem; color:var(--blue-subtle); background:#eef4f8; border:1px dashed #bcd3e0; border-radius:8px; padding:8px 12px; }

@media(max-width:991.98px){
  #siteNav .navbar-collapse{ background:var(--green-950); margin-top:14px; border-radius:12px; padding:14px; }
  .hero{ padding:150px 0 90px; }
}
