/* Base Styles */
:root {
  --primary-color: #2e7d32;
  --secondary-color: #4caf50;
  --accent-color: #f9a825;
  --text-color: #333;
  --text-light: #666;
  --text-dark: #222;
  --background-color: #fff;
  --background-alt: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --error-color: #f44336;
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: 'Merriweather', Georgia, 'Times New Roman', serif;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 5px 15px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo img {
  height: 50px;
  border-radius: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: var(--text-color);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links li a:hover:after,
.nav-links li a.active:after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Featured Posts Section */
.featured-posts {
  padding: 4rem 0;
  background-color: var(--background-alt);
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.post-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Financial Tips Section */
.financial-tips {
  padding: 4rem 0;
}

.financial-tips h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.tips-container {
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.tips-list li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.tips-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.tips-list li:last-child {
  margin-bottom: 0;
}

.fun-fact {
  margin-top: 3rem;
  background-color: var(--accent-color);
  color: var(--text-dark);
  padding: 2rem;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.fun-fact:before {
  content: '!';
  position: absolute;
  font-size: 8rem;
  line-height: 1;
  right: -1rem;
  top: -2rem;
  opacity: 0.1;
  color: black;
  font-weight: bold;
  font-family: var(--font-secondary);
}

.fun-fact h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Blog Posts Section */
.blog-posts {
  padding: 4rem 0;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.post-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.post-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.post-image {
  height: 100%;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.post-content h2 {
  font-size: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

/* About Page */
.about-content {
  padding: 4rem 0;
}

.about-intro,
.about-values {
  margin-bottom: 4rem;
}

.values-list li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.values-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.team-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.team-card p {
  color: var(--text-light);
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.team-card p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
  padding: 4rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
}

.contact-info h2 {
  color: white;
  margin-top: 0;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.info-item h3 {
  color: white;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.info-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
}

.social-links h3 {
  color: white;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.contact-form-container {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
  margin-top: 0;
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.checkbox-group input {
  width: auto;
  margin-right: 0.5rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.map-section {
  padding: 0 0 4rem 0;
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

/* Newsletter Section */
.newsletter {
  padding: 4rem 0;
  background-color: var(--background-alt);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
}

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

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 1.5rem;
}

/* Fun Fact Section */
.fun-fact-section {
  padding: 2rem 0;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
  border-radius: 0;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
}

.registration-info {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 1rem;
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
  text-decoration: underline;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact p i {
  margin-right: 0.5rem;
}

.social-media {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-media a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.social-media a:hover {
  color: white;
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-alt);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 999;
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
  flex-wrap: wrap;
}

.btn-accept {
  background-color: var(--success-color);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-settings {
  background-color: transparent;
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-reject {
  background-color: transparent;
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-accept:hover {
  background-color: #3b9c3b;
}

.btn-settings:hover,
.btn-reject:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.cookie-more-info {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Icons (fallback for when Font Awesome might not load) */
.icon-location,
.icon-phone,
.icon-mail,
.icon-clock {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5rem;
}

.icon-location:before {
  content: "📍";
}

.icon-phone:before {
  content: "📞";
}

.icon-mail:before {
  content: "✉️";
}

.icon-clock:before {
  content: "🕒";
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .post-item {
    grid-template-columns: 1fr;
  }
  
  .post-image {
    height: 250px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: 0.5s;
    z-index: 100;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 1.5rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 576px) {
  .post-cards {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .team-members {
    grid-template-columns: 1fr;
  }
}

/* Print styles */
@media print {
  header, footer, .newsletter, .cookie-consent {
    display: none;
  }
  
  body {
    background-color: white;
    color: black;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
}
