/* === ATM Website Stylesheet === */

:root {
  --primary: #006B3F;
  --primary-dark: #004D2C;
  --primary-light: #E8F5E9;
  --accent: #FFB300;
  --accent-dark: #FF8F00;
  --dark: #1a1a2e;
  --text: #333;
  --text-light: #666;
  --bg: #ffffff;
  --bg-alt: #f5f7f5;
  --border: #e0e0e0;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

/* === Reset === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* === Header === */
.site-header {
  background: var(--bg);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.3;
  max-width: 120px;
  display: none;
}

@media (min-width: 768px) {
  .logo-img {
    height: 60px;
  }
  .logo-sub {
    display: block;
  }
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.nav-menu.open {
  display: flex;
}

@media (min-width: 900px) {
  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    border-bottom: none;
    box-shadow: none;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-menu a {
  padding: 0.75rem 1rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.btn-join {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 0.6rem 1.5rem !important;
  font-weight: 600 !important;
}

.btn-join:hover {
  background: var(--primary-dark) !important;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* === Hero === */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #004D2C 100%);
  color: #fff;
  padding: 6rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,179,0,0.08);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Page Hero (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* === Sections === */
.section {
  padding: 4rem 0;
}

.alt-bg {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--dark);
}

/* === Values Grid === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--primary);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

/* === Focus Grid === */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.focus-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.focus-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* === Content Pages === */
.content-page {
  max-width: 900px;
  margin: 0 auto;
}

.content-page h2 {
  color: var(--primary);
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

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

.content-page p {
  margin-bottom: 1rem;
}

.content-page ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.content-page li {
  margin-bottom: 0.5rem;
}

/* === Values Tags === */
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}

.value-tag {
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* === Manifesto Grid === */
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.manifesto-card {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.manifesto-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* === Leadership === */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.leader-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.leader-avatar {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.leader-card h3 {
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.leader-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1rem;
}

.leadership-note {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  border-left: 4px solid var(--primary);
}

.leadership-note h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

/* === News === */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.news-date {
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-item h3 {
  margin: 0.75rem 0 0.5rem;
  color: var(--dark);
}

/* === Blog === */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.blog-card-body {
  padding: 1.5rem 2rem;
}

.blog-date {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-card h2,
.blog-card h3 {
  margin: 0.5rem 0;
}

.blog-card h2 a,
.blog-card h3 a {
  color: var(--dark);
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-author {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem !important;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.5rem;
}

.read-more:hover {
  color: var(--accent-dark);
}

/* Blog Post Content */
.blog-post-content h3 {
  color: var(--primary);
  margin: 2rem 0 0.75rem;
  font-size: 1.3rem;
}

.blog-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-nav .btn-outline {
  color: var(--primary);
  border-color: var(--primary);
}

.blog-nav .btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Blog preview grid (home page) */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h3 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* === Join === */
.join-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-top: 4px solid var(--primary);
}

.benefit h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.join-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius);
}

.join-cta h2 {
  color: #fff !important;
  border-bottom: none !important;
}

.join-cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 4rem 1.5rem;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Footer === */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding-top: 3rem;
}

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

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-col a {
  color: #aaa;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
}
