/*
Theme Name: Chief Minister Government Portal
Theme URI: https://yourgovernment.com/
Description: A professional WordPress theme for Chief Minister and government websites. Features clean design, service listings, initiatives tracking, and responsive layout perfect for official government portals.
Author: Government Web Team
Author URI: https://yourgovernment.com/
Version: 1.0.0
Text Domain: cm-portal
Domain Path: /languages
Tags: government, official, responsive, clean, professional, blue, accessibility-ready
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Chief Minister Government Portal WordPress Theme
Copyright (C) 2024, Government Web Team
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #f9fafb;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: #059669;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #047857;
}

/* Header Styles */
.site-header {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-navigation a {
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #047857;
    padding: 1rem;
  }
  
  .main-navigation.open {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-navigation a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #14532d 0%, #166534 50%, #059669 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  text-align: left;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
  color: rgb(187, 247, 208);
}

/* Hero content has text color variation like React */
.hero-content h1 .text-green-300 {
  color: rgb(134, 239, 172); /* green-300 equivalent */
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #14532d;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.cta-button:hover {
  background-color: rgb(240, 253, 244);
  color: #14532d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button-outline:hover {
  background-color: white;
  color: #14532d;
  transform: translateY(-2px);
}

.button-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-outer {
  width: 24rem;
  height: 24rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
  margin: 0 auto;
}

.hero-circle-inner {
  width: 20rem;
  height: 20rem;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-visual {
    justify-content: flex-end;
  }
}

.hero-icon {
  width: 8rem;
  height: 8rem;
  color: white;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Biography Page Styles */
.bio-hero-section {
  background: linear-gradient(135deg, #14532d 0%, #166534 50%, #059669 100%);
  color: white;
  padding: 4rem 0;
}

.bio-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 1024px) {
  .bio-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bio-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.bio-hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  line-height: 1.6;
  color: rgb(187, 247, 208);
}

.bio-hero-image {
  display: flex;
  justify-content: center;
}

.bio-hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.bio-content-section {
  padding: 4rem 0;
  background: white;
}

.bio-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bio-content-wrapper h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.bio-content-wrapper h2:first-child {
  margin-top: 0;
}

.bio-content-wrapper p {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.bio-timeline-section {
  padding: 4rem 0;
  background: #f9fafb;
}

.bio-timeline-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3rem;
}

.bio-timeline {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.timeline-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}

.timeline-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.timeline-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.timeline-year {
  font-size: 1.25rem;
  font-weight: 700;
  color: #059669;
}

.timeline-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.timeline-badge.political {
  background: #dcfdf7;
  color: #0d9488;
}

.timeline-badge.social {
  background: #dcfdf7;
  color: #0d9488;
}

.timeline-badge.education {
  background: #e0e7ff;
  color: #4338ca;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #6b7280;
  line-height: 1.6;
}

.bio-achievements-section {
  padding: 4rem 0;
  background: white;
}

.bio-achievements-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.achievement-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.achievement-icon {
  width: 4rem;
  height: 4rem;
  background: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.achievement-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.achievement-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.achievement-item p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .bio-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .bio-hero-grid {
    text-align: center;
  }
  
  .bio-content-wrapper h2 {
    font-size: 1.75rem;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-icon {
    margin: 0 auto 1rem;
  }
  
  .timeline-header {
    justify-content: center;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.achievements-section {
  background: white;
  display: block !important;
  visibility: visible !important;
}

.initiatives-section {
  background: #f9fafb;
  display: block !important;
  visibility: visible !important;
}

.updates-section {
  background: white;
  display: block !important;
  visibility: visible !important;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  display: block !important;
  visibility: visible !important;
}

.section-title {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.section-description {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 768px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cards and Grid */
.grid {
  display: grid !important;
  gap: 2rem;
  visibility: visible !important;
  opacity: 1 !important;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: block !important;
  visibility: visible !important;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.card-icon svg {
  width: 2rem;
  height: 2rem;
}

.card-icon-green-500 {
  background-color: #10b981;
}

.card-icon-green-600 {
  background-color: #059669;
}

.card-icon-green-700 {
  background-color: #047857;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.card-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: #059669;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  gap: 0.25rem;
}

.card-link:hover {
  color: #047857;
}

.link-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.card-link:hover .link-icon {
  transform: translateX(2px);
}

.title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.title-link:hover {
  color: #059669;
}

/* Progress Bars */
.progress-bar {
  background-color: #e5e7eb;
  border-radius: 9999px;
  height: 0.5rem;
  overflow: hidden;
  margin: 0.5rem 0;
}

.progress-fill {
  height: 100%;
  background-color: #059669;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-button {
  background-color: #059669;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-button:hover {
  background-color: #047857;
}

/* Stats */
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
  visibility: visible !important;
  opacity: 1 !important;
}

.stat-item {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 2.5rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: block !important;
  visibility: visible !important;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.stat-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.stat-description {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Footer */
.site-footer {
  background-color: #1f2937;
  color: #e5e7eb;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #e5e7eb;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #059669;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

/* Update Cards and CTA */
.update-card {
  background: #f9fafb;
  border-left: 4px solid #059669;
  transition: all 0.3s ease;
}

.update-card:hover {
  background: white;
  border-left-color: #047857;
}

.update-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 0.75rem;
}

.post-thumbnail {
  margin-bottom: 1rem;
}

.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.post-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background: #059669;
  color: white;
  padding: 4rem 0;
  text-align: center;
  display: block !important;
  visibility: visible !important;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  color: rgb(187, 247, 208);
  margin-bottom: 2rem;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-button-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #059669;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.cta-button-white:hover {
  background-color: rgb(240, 253, 244);
  color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-circle-outer {
    width: 18rem;
    height: 18rem;
  }
  
  .hero-circle-inner {
    width: 15rem;
    height: 15rem;
  }
  
  .hero-icon {
    width: 6rem;
    height: 6rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .content-section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1.125rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
}

/* CSS Animations */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Page Loading Styles */
body:not(.loaded) .hero-text h1,
body:not(.loaded) .hero-text p,
body:not(.loaded) .hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.loaded .hero-text h1,
body.loaded .hero-text p,
body.loaded .hero-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* Header Scroll Effects */
.site-header.scrolled {
  background: rgba(5, 150, 105, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form Enhancements */
.form-group.focused .form-label {
  color: #059669;
  transform: translateY(-2px);
}

.form-group {
  position: relative;
  transition: all 0.3s ease;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: white;
  color: #4b5563;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: #059669;
  color: white;
  border-color: #059669;
}

.pagination .page-numbers.dots {
  border: none;
  background: none;
}

/* Social Media Links */
.social-media-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #374151;
  border-radius: 50%;
  color: #e5e7eb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-link:hover {
  transform: translateY(-2px);
  color: white;
}

.facebook-link:hover {
  background-color: #1877f2;
}

.twitter-link:hover {
  background-color: #1da1f2;
}

.instagram-link:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.youtube-link:hover {
  background-color: #ff0000;
}

.linkedin-link:hover {
  background-color: #0077b5;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #059669;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* ==========================================================================
   Initiatives Page Styling
   ========================================================================== */

.initiatives-section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 3rem;
    font-weight: 700;
}

.initiatives-cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.initiative-card {
    background: white;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 2rem;
    transition: none;
}

.initiative-card:hover {
    transform: none;
    box-shadow: none;
}

.initiative-card:last-child {
    border-bottom: none;
}

.initiative-header {
    text-align: center;
    margin-bottom: 1rem;
}

.initiative-icon {
    display: none;
}

.initiative-title-section {
    width: 100%;
}

.initiative-title {
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.initiative-progress-text {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
}

.initiative-progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin: 1rem auto 2rem auto;
    max-width: 600px;
}

.initiative-progress-fill {
    height: 100%;
    background: #d1d5db;
    transition: width 0.3s ease;
}

.initiative-description {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.initiative-achievements {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.initiative-achievements li {
    color: #374151;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.initiative-achievements li::before {
    content: '•';
    color: #374151;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1rem;
}

.initiative-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1rem;
    text-align: center;
}

.initiative-budget,
.initiative-timeline {
    display: inline;
}

.meta-label {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
}

.meta-value {
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive Design for Initiatives */
@media (max-width: 768px) {
    .initiatives-section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .initiative-card {
        padding: 1.5rem;
    }
    
    .initiative-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .initiative-icon {
        align-self: center;
    }
    
    .initiative-title-section {
        text-align: center;
        width: 100%;
    }
    
    .initiative-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   Hero Image Styles
   ========================================================================== */

/* Homepage Hero Image */
.hero-image-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #059669;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Biography Page Hero Image */
.bio-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contact Page Images */
.contact-office-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

/* Government Building Images */
.building-image {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Image Adjustments */
@media (max-width: 768px) {
    .hero-image-container {
        width: 250px;
        height: 250px;
    }
    
    .bio-hero-image img {
        height: 300px;
    }
    
    .contact-office-image,
    .building-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        width: 200px;
        height: 200px;
    }
    
    .bio-hero-image img {
        height: 250px;
    }
    
    .contact-office-image,
    .building-image {
        height: 200px;
    }
}

/* ==========================================================================
   New Initiatives Grid Layout (Matching React Demo)
   ========================================================================== */

/* Initiatives Grid Section */
.initiatives-grid-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.initiatives-grid-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.initiatives-grid-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.initiatives-grid-section .section-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Initiatives Grid */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Initiative Card */
.initiatives-grid .initiative-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    padding: 2rem;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 0;
}

.initiatives-grid .initiative-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.icon-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.initiatives-grid .initiative-icon {
    width: 3rem;
    height: 3rem;
    background-color: #059669;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.initiatives-grid .initiative-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.title-category {
    display: flex;
    flex-direction: column;
}

.initiatives-grid .initiative-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.initiative-category {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Status Badge */
.status-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-icon {
    width: 1rem;
    height: 1rem;
    color: #059669;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-ongoing {
    background-color: #dcfce7;
    color: #166534;
}

.status-completed {
    background-color: #dcfce7;
    color: #166534;
}

.status-planning {
    background-color: #fef3c7;
    color: #92400e;
}

/* Initiative Description */
.initiatives-grid .initiative-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Progress Section */
.progress-section {
    margin-bottom: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.progress-percentage {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #059669;
    border-radius: 9999px;
    transition: width 0.8s ease;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric {
    text-align: center;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.metric-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

/* Features Section */
.features-section {
    margin-top: 1.5rem;
}

.features-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 1rem;
    height: 1rem;
    color: #10b981;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Statistics Overview Enhancement */
.initiatives-stats {
    padding: 3rem 0;
    background: white;
}

.stat-green {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.stat-green .stat-number {
    color: #059669;
}

.stat-purple {
    background: linear-gradient(135deg, #fdf4ff 0%, #f3e8ff 100%);
}

.stat-purple .stat-number {
    color: #9333ea;
}

.stat-orange {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
}

.stat-orange .stat-number {
    color: #ea580c;
}

/* Call to Action Section */
.initiatives-cta {
    padding: 4rem 0;
    background-color: #059669;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    color: #bbf7d0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary {
    background-color: white;
    color: #059669;
}

.btn-primary:hover {
    background-color: #dcfce7;
    color: #047857;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #059669;
}

/* Responsive Design for New Layout */
@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .initiatives-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .initiatives-grid-section .section-title {
        font-size: 2rem;
    }
    
    .initiatives-grid .initiative-card {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .icon-title-wrapper {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .title-category {
        text-align: center;
    }
    
    .status-wrapper {
        align-self: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.125rem;
    }
}

@media (max-width: 640px) {
    .initiatives-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}


div.content-section {
    padding: 0;
}
section.initiatives-hero {
    padding: 60px 0px;
}
.quick-link {
    display: flex;
    flex-direction: column;
}
.site-branding img {
    filter: invert(1) brightness(50);
}
.hero-circle-inner img,.hero-circle-inner {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.hero-circle-outer {
    overflow: hidden;
}