:root {
  --green-900: #123f1a;
  --green-800: #195a25;
  --green-700: #237331;
  --green-100: #eaf6ec;
  --green-050: #f6fbf6;
  --gold: #f4a51c;
  --blue: #23527c;
  --text: #172316;
  --muted: #5d6d5f;
  --line: #d7e6d7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.6;
}

html[lang="te"] body {
  font-family: "Noto Sans Telugu", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

a {
  color: inherit;
}

.alert-bar:hover,
.alert-bar:focus-visible {
  background: #ffefbd;
}

.alert-bar {
  display: block;
  background: #f4e6c3;
  color: #0b3d2e;
  text-align: center;
  padding: 4px 10px;   
  font-size: 12px;     
  line-height: 1.3;    
  font-weight: 500;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.badge {
  background: red;
  color: white;
  font-size: 10px;     
  padding: 2px 6px;    
  margin-right: 6px;
  border-radius: 3px;
  animation: blink 1s infinite;
}

/* blinking effect */
@keyframes blink {
  0% {opacity: 1;}
  50% {opacity: 0.2;}
  100% {opacity: 1;}
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand-row {
  display: grid;
  grid-template-columns: 86px 1fr 86px;
  align-items: center;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-title {
  text-align: center;
}

.event-small {
  font-size: 13px;
  color: #2e7d32;   /* lighter green */
  margin: 0;
  font-weight: 600;
}

.event-main {
  display: block;
  font-size: 25px;   /* bigger than before */
  color: var(--green-900);
  margin: 4px 0;
  line-height: 1.2;
  font-weight: 800;
}

.brand-photos {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.brand-photos img {
  width: 80px;
  height: 80px;
 border-radius: 50%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px 14px;
  background: var(--green-900);
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  color: var(--white);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--green-900);
  background: var(--white);
}

.hero {
  min-height: 500px;
  display: flex;
  align-items: center;

  background-image: 
    linear-gradient(rgba(18, 63, 26, 0.8), rgba(18, 63, 26, 0.8)),
    url("hero.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  width: min(800px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
  padding: 58px 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: 18px;       
  font-weight: 700;
  color: #ffdf8a;
  letter-spacing: 0.5px;
}

.hero h1,
.page-title h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.15;
}

.hero h1 {
  max-width: 760px;
  font-size: 58px;
}

.hero-subtitle {
  margin: 14px 0 8px;
  font-size: 25px;
  font-weight: 700;
}

.event-line {
  margin: 0 0 28px;
  color: #edf8ef;
  font-size: 18px;
}

.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-900);
}

.button-light {
  color: var(--green-900);
  background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  background: #f2fff4;
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.78);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--green-900);
  background: var(--white);
}

.section,
.page-title {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 58px 0;
}

.page-title {
  padding: 54px 0 32px;
}

.page-title p {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.page-title .eyebrow {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 13px;
}

.page-title h1 {
  color: var(--green-900);
  font-size: 42px;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding: 58px max(16px, calc((100% - 1120px) / 2));
  background: var(--green-050);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2 {
  color: var(--green-900);
  font-size: 32px;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--green-700);
  border-radius: 8px;
  background: var(--white);
}

.split-content p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  color: var(--green-800);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.content-block,
.registration-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.info-card,
.content-block,
.registration-card {
  padding: 24px;
}

.info-card h2,
.info-card h3,
.content-block h2,
.registration-card h2,
.contact-panel h2 {
  margin: 0 0 10px;
  color: var(--green-900);
  line-height: 1.25;
}

.info-card p,
.content-block p,
.registration-card p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.registration-card .button {
   display: inline-block;
   width: auto;
   margin-top: 20px;
   
}

.registration-card {
    text-align: center;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-block;
  position: relative;
  margin-bottom: 16px;
  border: 1px solid #c6dec8;
  border-radius: 8px;
  background: var(--green-100);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  display: block;
}

.icon-stall::before {
  left: 9px;
  right: 9px;
  top: 10px;
  height: 9px;
  border-radius: 3px 3px 0 0;
  background: var(--gold);
}

.icon-stall::after {
  left: 12px;
  right: 12px;
  bottom: 9px;
  height: 16px;
  border: 3px solid var(--green-800);
  border-top: 0;
}

.icon-session::before {
  left: 10px;
  top: 10px;
  width: 24px;
  height: 18px;
  border: 3px solid var(--green-800);
  border-radius: 4px;
}

.icon-session::after {
  left: 13px;
  bottom: 8px;
  width: 18px;
  height: 3px;
  background: var(--gold);
}

.icon-innovation::before {
  left: 15px;
  top: 8px;
  width: 14px;
  height: 18px;
  border-radius: 8px 8px 5px 5px;
  background: var(--green-800);
}

.icon-innovation::after {
  left: 17px;
  bottom: 9px;
  width: 10px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
}

.icon-market::before {
  left: 10px;
  bottom: 10px;
  width: 5px;
  height: 16px;
  background: var(--green-800);
  box-shadow: 9px -7px 0 var(--gold), 18px -2px 0 var(--blue);
}

.icon-water::before {
  left: 14px;
  top: 8px;
  width: 16px;
  height: 24px;
  border-radius: 12px 12px 12px 4px;
  background: var(--blue);
  transform: rotate(45deg);
}

.icon-climate::before {
  left: 10px;
  top: 13px;
  width: 24px;
  height: 14px;
  border-radius: 12px;
  background: var(--green-800);
}

.icon-climate::after {
  left: 15px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
}

.icon-chain::before {
  left: 8px;
  top: 15px;
  width: 14px;
  height: 9px;
  border: 3px solid var(--green-800);
  border-radius: 8px;
}

.icon-chain::after {
  right: 8px;
  top: 20px;
  width: 14px;
  height: 9px;
  border: 3px solid var(--gold);
  border-radius: 8px;
}

.icon-crop::before {
  left: 20px;
  top: 10px;
  width: 4px;
  height: 24px;
  background: var(--green-800);
}

.icon-crop::after {
  left: 11px;
  top: 15px;
  width: 20px;
  height: 12px;
  border-radius: 12px 0 12px 0;
  background: var(--gold);
  transform: rotate(-18deg);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.stat-box strong {
  display: block;
  color: var(--green-900);
  font-size: 32px;
  line-height: 1;
}

.stat-box span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.programme-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.programme-table th,
.programme-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.programme-table th {
  color: var(--white);
  background: var(--green-900);
}

.programme-table tr:last-child td {
  border-bottom: 0;
}

.programme-table ul {
  margin: 0;
  padding-left: 18px;
}

.programme-table li + li {
  margin-top: 4px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.timeline div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green-050);
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  color: var(--green-900);
}

.timeline span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.expo-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--green-800);
  border-radius: 8px;
  background: var(--white);
}

.layout-zone {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px dashed #93b997;
  border-radius: 6px;
  color: var(--green-900);
  background: var(--green-050);
  font-weight: 800;
  text-align: center;
}

.zone-main,
.zone-demo {
  grid-column: span 2;
  background: #fff7df;
  border-color: #e2bf5f;
}

.zone-help {
  background: #eef5fb;
  border-color: #9fbbd2;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 28px;
}

.contact-list p + p {
  margin-top: 10px;
}

.site-footer {
  padding: 26px 16px;
  color: var(--white);
  background: var(--green-900);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 4px;
  color: #d9ecd9;
  font-size: 14px;
}

@media (max-width: 900px) {
  .brand-row {
    grid-template-columns: 68px 1fr 68px;
    gap: 10px;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .brand-title strong {
    font-size: 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 42px;
  }

  .card-grid.three,
  .card-grid.four,
  .stat-grid,
  .content-grid,
  .timeline,
  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .alert-bar {
    padding: 10px 14px;
    font-size: 14px;
  }

  .brand-row {
    grid-template-columns: 54px 1fr 54px;
    width: min(100% - 20px, 1120px);
    padding: 10px 0;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-title p,
  .brand-title span {
    font-size: 12px;
  }

  .brand-title strong {
    font-size: 18px;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .hero-content,
  .section,
  .page-title {
    width: min(100% - 28px, 1120px);
  }

  .hero-content {
    padding: 48px 0;
  }

  .hero h1,
  .page-title h1 {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .event-line,
  .page-title p,
  .split-content p {
    font-size: 16px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .section,
  .section-soft {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .split-content,
  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .stat-grid,
  .content-grid,
  .timeline,
  .contact-panel,
  .expo-layout {
    grid-template-columns: 1fr;
  }

  .split-content {
    padding: 22px;
  }

  .stat-box strong {
    font-size: 28px;
  }

  .zone-main,
  .zone-demo {
    grid-column: auto;
  }
}

.lang-btn {
  border: 1px solid var(--green-700);
  color: var(--green-700);
  padding: 2x 7x;
  font-size: 10x;
  border-radius: 3x;
  text-decoration: none;
  font-weight: 400;
  display: inline-block;
 line-height: 1.2;
 }

.lang-btn:hover {
  background: var(--green-700);
  color: var(--white);
}

.brand-row {
  grid-template-columns: 86px minmax(0, 1fr) auto;
}

.brand-title {
  min-width: 0;
  padding: 0 8px;
  text-align: center;
}

.event-main {
  overflow-wrap: anywhere;
}

.brand-photos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

@media (max-width: 900px) {
  .brand-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }

  .brand-photos img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }

  .event-small {
    font-size: 12px;
  }

  .event-main,
  .brand-title strong {
    font-size: 22px;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {

  .alert-bar {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
  }

  .brand-row {
    display: grid;
    grid-template-areas: "logo title photos";
    grid-template-columns: 60px minmax(0, 1fr) 80px;
    align-items: center;
    gap: 6px;
    width: calc(100% - 16px);
    padding: 8px 8px;
    margin: 0 auto;
  }

  /* SAME SIZE for all images */
  .brand-logo,
  .brand-photos img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
  }

  .brand-logo {
    grid-area: logo;
    justify-self: start;
  }

  .brand-title {
    grid-area: title;
    min-width: 0;
    text-align: center;
  }

  .event-small {
    margin: 0 0 2px;
    font-size: 10px;
    line-height: 1.2;
  }

  .event-main,
  .brand-title strong {
    font-size: 14px;
    line-height: 1.15;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .brand-photos {
    grid-area: photos;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
  }

  .main-nav a {
    min-height: 36px;
    padding: 6px 8px;
    font-size: 12px;
  }

}