:root {
  --primary: #00796b;
  --primary-dark: #004d40;
  --bg: #f5f7fa;
  --text: #333;
  --card-bg: #fff;
  --radius: 14px;
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  --footer-bg: #181a1b;
  --footer-text: #f1f1f1;
  --footer-accent: #ffcd39;
  --footer-input-bg: #303437;
  --footer-button-bg: #3373ff;
  --footer-button-hover: #285acc;
}

/* Global Body */
body {
  font-family: 'Noto Sans Kannada', sans-serif;
  background: var(--bg);
  margin: 0;
  padding: 0;
  color: var(--text);
}

/* Header */
.header {
  background: var(--primary);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.header img {
  height: 60px;
  transition: transform 0.3s ease;
}
.header img:hover {
  transform: scale(1.1);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

/* Card */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* Card Titles */
h4 {
  color: var(--primary);
  font-size: 1.4em;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 a {
  color: var(--primary);
  text-decoration: none;
}
h4 a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Paragraphs */
p {
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Download links */
.download-links a {
  display: block;
  padding: 12px;
  margin: 8px 0;
  background: var(--primary);
  color: white;
  text-align: center;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}
.download-links a:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* More links */
a.more-link {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}
a.more-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Last updated text */
.last-updated {
  font-size: 0.85em;
  color: #666;
  margin-top: -5px;
  margin-bottom: 12px;
}

/* Footer Styles */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem 1rem 1.3rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: auto;
  gap: 2.5rem 3%;
}

.footer-branding {
  flex: 1 1 250px;
  min-width: 180px;
}
.footer-branding h2 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--footer-accent);
}
.footer-branding p {
  margin-bottom: 0.4rem;
  font-size: 0.97rem;
  color: #bfcbd9;
}

.footer-nav {
  flex: 1 1 180px;
  min-width: 180px;
}
.footer-nav h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav ul li {
  margin: 4px 0;
}
.footer-nav ul li a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-nav ul li a:hover {
  color: var(--footer-accent);
}

.footer-newsletter {
  flex: 1 1 280px;
  min-width: 200px;
}
.footer-newsletter h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-newsletter form {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-newsletter input {
  flex: 1 1 110px;
  height: 36px;
  padding: 4px 9px;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  background: var(--footer-input-bg);
  color: #fff;
}
.footer-newsletter button {
  height: 36px;
  min-width: 92px;
  background: var(--footer-button-bg);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.footer-newsletter button:hover {
  background: var(--footer-button-hover);
}

.footer-bottom {
  margin-top: 1.2rem;
  border-top: 1px solid #2d3132;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  text-align: center;
}

.footer-bottom a {
  color: var(--footer-accent);
  font-weight: bold;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.social-links a {
  color: #bfcbd9;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.social-links a:hover {
  color: var(--footer-accent);
}

/* Responsive Footer */
@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}
