:root {
  --primary: #12385f;
  --primary-dark: #0b2742;
  --secondary: #1f5f96;
  --accent: #d9a441;
  --light: #f4f7fb;
  --white: #ffffff;
  --text: #233443;
  --muted: #6a7b8b;
  --border: #dce4ec;
  --shadow: 0 14px 34px rgba(15, 35, 58, 0.12);
  --radius: 16px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */
.topbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.logo-panel {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.logo-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

.logo-panel.small {
  width: 72px;
  height: 72px;
}

.logo-panel.medium {
  width: 96px;
  height: 72px;
}

.logo-panel.large {
  width: 150px;
  height: 72px;
}

.logo-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-size: 40px;
  font-weight: 700;
  color: #0a3e83;
  letter-spacing: 0.5px;
}
/* Header spacing improvement */
.topbar .container {
  max-width: 100%;
  padding: 0 22px;
}

.topbar-inner {
  min-height: 88px;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

/* Normal logos */
.logo-panel.medium {
  width: 120px;
  height: 114px;
}

.logo-panel.large {
  width: 138px;
  height: 114px;
}

/* Highlighted main sponsor logo */
.sponsor-logo {
  width: 550px;
  height: 114px;
  position: relative;
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 14px;
  margin-bottom: 8px;
  padding: 14px 12px 8px;
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.18),
              0 14px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(4px);
}

.sponsor-logo:hover {
  transform: translateY(0);
}

.sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sponsor-label {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 640px) {
  .topbar .container {
    padding: 0 10px;
  }

  .topbar-inner {
    gap: 8px;
  }

  .logo-panel.medium {
    width: 100px;
    height: 104px;
  }

  .logo-panel.large {
    width: 100px;
    height: 104px;
  }

  .sponsor-logo {
    width: 118px;
    height: 66px;
  }

  .sponsor-label {
    font-size: 9px;
  }
}
/* Main layout */
.page {
  padding: 34px 0 60px;
}

.content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: start;
}

/* Sidebar */
.sidebar {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 115px;
}

.sidebar-title {
  padding: 18px 18px 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.sidebar a {
  display: block;
  padding: 14px 18px;
  font-size: 15px;
  color: #e7f0f8;
  border-left: 4px solid transparent;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--accent);
  color: #fff;
  padding-left: 22px;
}

/* Main card */
.main,
.main-card {
  min-width: 0;
}

.main-card,
.hero-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #e6edf3;
}

/* Home page hero */
.hero-image-wrap {
  position: relative;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(10, 31, 52, 0.78);
  color: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  max-width: 420px;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-overlay .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.hero-overlay h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.15;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-overlay p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #edf4fb;
}

.hero-content {
  padding: 28px 30px 34px;
}

.page-title {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.15;
  color: var(--primary);
  text-align: center;
}

.intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.info-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-box {
  background: linear-gradient(180deg, #f8fbfe 0%, #eef4f9 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 18px;
  text-align: center;
  transition: var(--transition);
}

.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(18, 56, 95, 0.08);
}

.info-box h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-box p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

/* Organized by */
.organized-by {
  background: #edf1f5;
  border: 1px solid #cfd8e3;
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: center;
}

.organized-by h3 {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 800;
  color: #1f5f96;
  letter-spacing: 1px;
}

.organizer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.organizer-logo {
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  border: 1px solid #d9e2ec;
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-logo {
  height: 72px;
  min-width: 120px;
}

.small-logo img {
  max-height: 56px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Shared page section 
.main-header {
  padding: 32px 32px 18px;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(180deg, #f9fbfd 0%, #f1f6fa 100%);
}
*/
.main-header {
  padding: 60px 32px 40px;
  border-bottom: 1px solid #edf2f7;

  /* Kerala background image */
  background: 
    linear-gradient(rgba(10, 31, 52, 0.75), rgba(10, 31, 52, 0.75)),
    url('kerala.jpg') center/cover no-repeat;

  color: #fff;
  border-radius: 22px 22px 0 0;
  text-align: center;
  animation: fadeIn 1s ease;

}
.main-header h1 {
  margin: 0 0 12px;
  font-size: 42px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
}

.main-header p {
  margin: 0;
  color: #e6f0fa;
  font-size: 16px;
  line-height: 1.7;
  max-width: 760px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/*
.main-header h1 {
  margin: 0 0 10px;
  font-size: 38px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
}

.main-header p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 760px;
}*/

.page-section {
  padding: 30px 32px 36px;
}

.centered {
  text-align: center;
}

/* EfD network page */
.network-section {
  padding: 30px 32px 36px;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px 20px;
}

.network-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #f8fbfe 0%, #eef4f9 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(18, 56, 95, 0.05);
}

.network-link:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #eef6fd 0%, #e4eef8 100%);
  border-color: #bfd1e2;
  color: var(--secondary);
  box-shadow: 0 12px 24px rgba(18, 56, 95, 0.10);
}

.network-link .arrow,
.network-link span.arrow {
  font-size: 18px;
  color: var(--accent);
  margin-left: 12px;
  flex-shrink: 0;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #1d2732 0%, #111923 100%);
  color: #edf2f7;
  margin-top: 50px;
  padding: 42px 0 18px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 36px;
}

footer h3 {
  margin: 0 0 14px;
  font-size: 19px;
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
}

footer p,
footer li,
footer a {
  font-size: 14px;
  line-height: 1.8;
  color: #dce6ef;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer a:hover {
  color: #fff;
  padding-left: 3px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: #b9c6d3;
}

/* Responsive */
@media (max-width: 992px) {
  .content {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .info-grid,
  .network-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .main-header h1 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    gap: 10px;
  }

  .logo-panel.small {
    width: 58px;
    height: 58px;
  }

  .logo-panel.medium {
    width: 76px;
    height: 58px;
  }

  .logo-panel.large {
    width: 118px;
    height: 58px;
  }

  .hero-overlay {
    position: static;
    border-radius: 0;
    max-width: 100%;
    background: var(--primary-dark);
    box-shadow: none;
  }

  .hero-content,
  .main-header,
  .page-section,
  .network-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-title {
    font-size: 28px;
  }

  .intro {
    font-size: 15px;
  }
  .section-title {
  margin: 0 0 24px;
  font-size: 34px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 999px;
}

.themes-list {
  display: grid;
  gap: 22px;
}

.theme-item {
  position: relative;
  background: linear-gradient(180deg, #fbfdff 0%, #f1f6fa 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 24px 22px 26px;
  box-shadow: 0 8px 22px rgba(18, 56, 95, 0.06);
  transition: var(--transition);
  overflow: hidden;
}

.theme-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
}

.theme-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(18, 56, 95, 0.12);
  border-color: #c8d7e6;
}

.theme-item h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.3;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
}

.theme-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.callout-box {
  margin-top: 28px;
  background: linear-gradient(135deg, #fff8eb 0%, #f7efe1 100%);
  border: 1px solid #ead7ad;
  border-left: 6px solid var(--accent);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 18px rgba(217, 164, 65, 0.12);
}

.callout-box p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--primary-dark);
  font-weight: 500;
}

/* Better header look for this page */
.main-header {
  padding: 70px 32px 52px;
  border-bottom: 1px solid #edf2f7;
  background:
    linear-gradient(rgba(8, 33, 57, 0.7), rgba(8, 33, 57, 0.7)),
    url('kerala.jpg') center/cover no-repeat;
  color: #fff;
  border-radius: 22px 22px 0 0;
  text-align: center;
}

.main-header h1 {
  margin: 0 0 14px;
  font-size: 56px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.main-header p {
  margin: 0 auto;
  color: #eef5fb;
  font-size: 20px;
  line-height: 1.8;
  max-width: 900px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .main-header {
    padding: 52px 20px 38px;
  }

  .main-header h1 {
    font-size: 40px;
  }

  .main-header p {
    font-size: 17px;
  }

  .section-title {
    font-size: 28px;
  }

  .theme-item {
    padding: 20px 18px 18px 20px;
  }

  .theme-item h3 {
    font-size: 22px;
  }

  .theme-item p,
  .callout-box p {
    font-size: 15.5px;
  }
}
}