/* Custom Styles for Govt Yojanas Website */

:root {
  --primary-color: #0d6efd;
  --saffron: #FF9933;
  --white: #FFFFFF;
  --green: #138808;
  --navy: #000080;
  --text-dark: #333333;
  --bg-light: #f8f9fa;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Header & Navbar */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-bottom: 3px solid var(--saffron);
}

.navbar-brand {
  font-weight: bold;
  color: var(--navy) !important;
  font-size: 1.5rem;
}

.navbar-brand span {
  color: var(--green);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
}

.nav-link:hover {
  color: var(--saffron) !important;
}

.nav-link.active {
  color: var(--navy) !important;
  font-weight: bold;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.1) 0%, rgba(255, 255, 255, 1) 50%, rgba(19, 136, 8, 0.1) 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.hero-title {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 20px;
}

/* Cards */
.scheme-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  height: 100%;
}

.scheme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.card-title {
  color: var(--navy);
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: auto;
  border-top: 4px solid var(--green);
}

footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--saffron);
}

/* Content Pages */
.content-page {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-top: 40px;
  margin-bottom: 40px;
}

.content-page h1, .content-page h2, .content-page h3 {
  color: var(--navy);
}

/* Scheme Detail Page */
.scheme-header {
  background-color: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}

.detail-section {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.detail-section h3 {
  color: var(--green);
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* AdSense Placeholder */
.adsense-placeholder {
  background-color: #e9ecef;
  border: 1px dashed #ced4da;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  margin: 20px 0;
  font-size: 0.9rem;
}
