/* Global Styles */
:root {
  --primary-color: #6a3de8;
  --secondary-color: #ff7846;
  --accent-color: #00d2ff;
  --dark-color: #1e1a2b;
  --light-color: #f5f7fa;
  --text-color: #333;
  --text-light: #777;
  --border-color: #e1e5ee;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --font-size-increase: 1;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  font-size: calc(16px * var(--font-size-increase));
}

body.increased-font {
  --font-size-increase: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: calc(2.5rem * var(--font-size-increase));
}

h2 {
  font-size: calc(2rem * var(--font-size-increase));
}

h3 {
  font-size: calc(1.5rem * var(--font-size-increase));
}

h4 {
  font-size: calc(1.25rem * var(--font-size-increase));
}

p {
  margin-bottom: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: calc(1rem * var(--font-size-increase));
}

.btn:hover {
  background-color: #5832d3;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 61, 232, 0.2);
}

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

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

.btn-secondary:hover {
  background-color: #ff6331;
  box-shadow: 0 6px 20px rgba(255, 120, 70, 0.2);
}

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

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

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: calc(0.9rem * var(--font-size-increase));
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 1rem;
}

.logo h1 {
  font-size: calc(1.5rem * var(--font-size-increase));
  margin-bottom: 0;
  color: var(--dark-color);
}

nav ul {
  display: flex;
}

nav li {
  margin-left: 1.5rem;
}

nav a {
  color: var(--dark-color);
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: var(--primary-color);
  background-color: rgba(106, 61, 232, 0.1);
}

#font-size-increase {
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 5px;
  transition: var(--transition);
}

#font-size-increase:hover {
  background-color: rgba(106, 61, 232, 0.1);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background-color: #f0eef9;
  border-bottom: 1px solid var(--border-color);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: calc(2.5rem * var(--font-size-increase));
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.hero-content p {
  font-size: calc(1.2rem * var(--font-size-increase));
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Page Header */
.page-header {
  background-color: #f0eef9;
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: calc(3rem * var(--font-size-increase));
  margin-bottom: 1rem;
}

.page-header p {
  font-size: calc(1.2rem * var(--font-size-increase));
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Featured Posts */
.featured-posts {
  padding: 4rem 0;
  background-color: white;
}

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

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

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

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

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: calc(1.3rem * var(--font-size-increase));
  margin-bottom: 1rem;
}

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

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.read-more::after {
  content: "→";
  margin-left: 0.3rem;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 0.6rem;
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* Blog Posts */
.blog-posts {
  padding: 3rem 0;
  background-color: white;
}

.blog-post {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 2rem;
}

.blog-post:last-child {
  border-bottom: none;
}

.post-image {
  flex: 0 0 300px;
}

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

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

.post-tags {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.post-tags span {
  color: var(--text-light);
  font-size: calc(0.9rem * var(--font-size-increase));
}

.post-tags a {
  background-color: #f0eef9;
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: calc(0.8rem * var(--font-size-increase));
  font-weight: 600;
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* About Page */
.about-intro {
  padding: 4rem 0;
  background-color: white;
}

.about-intro .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-content {
  flex: 3;
}

.about-image {
  flex: 2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.our-mission {
  padding: 4rem 0;
  background-color: #f0eef9;
}

.our-mission h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.mission-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-5px);
}

.mission-card .icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.team {
  padding: 4rem 0;
  background-color: white;
}

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

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

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

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: calc(1.2rem * var(--font-size-increase));
}

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

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
}

.team-member .social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

.stats {
  padding: 4rem 0;
  background-color: #f0eef9;
}

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

.stat-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.stat-card h3 {
  font-size: calc(2.5rem * var(--font-size-increase));
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Contact Page */
.contact {
  padding: 4rem 0;
  background-color: white;
}

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

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

.info-item .icon {
  margin-right: 1rem;
  color: var(--primary-color);
}

.info-item h3 {
  margin-bottom: 0.3rem;
  font-size: calc(1.1rem * var(--font-size-increase));
}

.contact-info .social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-info .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0eef9;
  color: var(--primary-color);
  transition: var(--transition);
}

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

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: calc(1rem * var(--font-size-increase));
  font-family: inherit;
}

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

.map {
  padding: 4rem 0;
  background-color: #f0eef9;
}

.map h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Newsletter Section */
.newsletter {
  padding: 4rem 0;
  background-color: var(--dark-color);
  color: white;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

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

.email-form {
  display: flex;
  margin-top: 2rem;
  box-shadow: var(--box-shadow);
  border-radius: 5px;
  overflow: hidden;
}

.email-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  font-size: calc(1rem * var(--font-size-increase));
}

.email-form input:focus {
  outline: none;
}

/* Footer */
footer {
  background-color: #1a1625;
  color: white;
  padding: 4rem 0 2rem;
}

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

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

.footer-about p {
  color: #a9a9b8;
  margin-bottom: 1.5rem;
}

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

.social-icons a {
  color: #a9a9b8;
  transition: var(--transition);
}

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

.footer-links h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: calc(1.2rem * var(--font-size-increase));
}

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

.footer-links ul li a {
  color: #a9a9b8;
}

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

.footer-contact h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: calc(1.2rem * var(--font-size-increase));
}

.footer-contact p {
  display: flex;
  align-items: center;
  color: #a9a9b8;
  margin-bottom: 1rem;
}

.footer-contact p svg {
  margin-right: 0.8rem;
}

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

.footer-bottom p {
  color: #a9a9b8;
  font-size: calc(0.9rem * var(--font-size-increase));
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.cookie-content {
  max-width: 800px;
  text-align: center;
}

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

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cookie-content a {
  font-size: calc(0.9rem * var(--font-size-increase));
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

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

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }
  
  .about-intro .container {
    flex-direction: column;
  }
  
  .blog-post {
    flex-direction: column;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 0.5rem;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .email-form input {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: calc(2rem * var(--font-size-increase));
  }
  
  h2 {
    font-size: calc(1.5rem * var(--font-size-increase));
  }
  
  .hero-content h2 {
    font-size: calc(1.8rem * var(--font-size-increase));
  }
  
  .page-header h1 {
    font-size: calc(2.2rem * var(--font-size-increase));
  }
  
  .cookie-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
}
