/* Base Styles */
:root {
  --primary-color: #1c75bc;
  --primary-dark: #155d96;
  --primary-light: #4d9ad0;
  --secondary-color: #ffb81c;
  --secondary-dark: #e59e00;
  --secondary-light: #ffc94d;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --gray-light: #e9ecef;
  --text-color: #333;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 6px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@500;600;700;800&display=swap');

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

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

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-secondary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-3d {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--secondary-dark);
  position: relative;
  transition: all 0.15s ease;
}

.btn-3d:hover {
  background-color: var(--secondary-light);
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--secondary-dark);
}

.btn-3d:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--secondary-dark);
}

.center-btn {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

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

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

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

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

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  padding: 0.5rem;
  transition: var(--transition);
  position: relative;
}

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

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

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

/* Font Size Control */
.font-size-control {
  margin-left: 1rem;
}

.font-btn {
  background-color: var(--primary-light);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.font-btn:hover {
  background-color: var(--primary-color);
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--light-color);
}

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

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

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

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

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

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Latest Posts Section */
.latest-posts {
  padding: 5rem 0;
}

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

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

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

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

.post-image {
  height: 200px;
  overflow: hidden;
}

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

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 1.5rem;
}

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

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

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

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

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--light-color);
}

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

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.testimonial-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-content:before {
  content: '"';
  font-size: 4rem;
  color: var(--gray-light);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: serif;
  opacity: 0.3;
}

.testimonial-content p {
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.testimonial-author span {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

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

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

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

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

.footer-logo p {
  color: #a8b6c5;
}

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

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links ul li a {
  color: #a8b6c5;
  transition: var(--transition);
}

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

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

.footer-contact p i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

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

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

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

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

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
}

/* Blog Page */
.blog-content {
  padding: 4rem 0;
}

.blog-filter {
  margin-bottom: 3rem;
}

.blog-filter h3 {
  margin-bottom: 1rem;
}

.blog-filter ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

.blog-filter ul li a {
  display: block;
  padding: 0.5rem 1rem;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
  color: var(--dark-color);
  transition: var(--transition);
}

.blog-filter ul li a:hover,
.blog-filter ul li a.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

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

.blog-post .post-image {
  height: 100%;
}

.blog-post .post-content {
  padding: 2rem;
}

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

.post-category {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* Blog Post Single */
.blog-post-single {
  padding: 4rem 0;
}

.post-header {
  text-align: center;
  margin-bottom: 2rem;
}

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.post-content {
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.post-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 2rem;
}

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

.post-callout {
  background-color: var(--gray-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-callout h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 3rem 0;
}

.tag-label {
  font-weight: 600;
  margin-right: 1rem;
}

.tag {
  display: inline-block;
  background-color: var(--gray-light);
  color: var(--dark-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin: 0.25rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.tag:hover {
  background-color: var(--primary-light);
  color: var(--white);
}

.post-share {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.post-share span {
  margin-right: 1rem;
  font-weight: 600;
}

.share-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--gray-light);
  border-radius: 50%;
  margin: 0 0.5rem;
  color: var(--dark-color);
  transition: var(--transition);
}

.share-link:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.post-author-bio {
  display: flex;
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 2rem;
}

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

.author-info h3 {
  margin-bottom: 0.25rem;
  color: var(--gray-color);
  font-size: 0.9rem;
  font-weight: 600;
}

.author-info h4 {
  margin-bottom: 1rem;
}

.author-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--gray-light);
  border-radius: 50%;
  color: var(--dark-color);
  transition: var(--transition);
}

.author-social a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.related-posts {
  margin-bottom: 3rem;
}

.related-posts h3 {
  margin-bottom: 2rem;
  text-align: center;
}

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

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

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.related-post h4 {
  padding: 1rem;
  font-size: 1rem;
  margin-bottom: 0;
}

.related-post .post-date {
  padding: 0 1rem 1rem;
  display: block;
  color: var(--gray-color);
  font-size: 0.85rem;
}

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

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.about-mission {
  padding: 4rem 0;
  background-color: var(--light-color);
}

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

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

.mission-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.team {
  padding: 4rem 0;
}

.team h2, .team-intro {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-intro {
  margin-bottom: 3rem;
}

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

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

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.team-member h3 {
  margin: 1rem 0 0.25rem;
  padding: 0 1rem;
}

.team-member p {
  padding: 0 1rem;
  margin-bottom: 0.75rem;
  color: var(--gray-color);
}

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

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

.stats {
  padding: 4rem 0;
  background-color: var(--light-color);
}

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

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--gray-color);
  font-size: 1.1rem;
}

.partners {
  padding: 4rem 0;
}

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

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.partner-logo {
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
}

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

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
}

.info-icon {
  margin-right: 1.5rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-content h3 {
  margin-bottom: 0.5rem;
}

.info-content p {
  margin-bottom: 0.25rem;
  color: var(--gray-color);
}

.social-contact h3 {
  margin-bottom: 1rem;
}

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

.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 select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-right: 0.5rem;
}

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

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

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

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

.faq-section {
  padding: 4rem 0;
  background-color: var(--light-color);
}

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

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  overflow: auto;
  padding: 2rem 0;
}

.modal-content {
  position: relative;
  background-color: var(--white);
  margin: auto;
  max-width: 500px;
  width: 90%;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalAnimation 0.3s;
}

@keyframes modalAnimation {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-color);
  cursor: pointer;
}

.close-modal:hover {
  color: var(--dark-color);
}

.thank-you-message {
  padding: 3rem 2rem;
  text-align: center;
}

.thank-you-message svg {
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.thank-you-message h2 {
  margin-bottom: 1rem;
}

.thank-you-message p {
  margin-bottom: 2rem;
}

.close-btn {
  display: inline-block;
}

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

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

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

.newsletter p {
  margin-bottom: 2rem;
}

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

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

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

.btn-cookie {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-cookie.accept:hover {
  background-color: var(--primary-dark);
}

.btn-cookie.customize {
  background-color: var(--gray-light);
  color: var(--dark-color);
}

.btn-cookie.customize:hover {
  background-color: var(--gray-color);
  color: var(--white);
}

.btn-cookie.reject {
  background-color: var(--white);
  color: var(--dark-color);
  border: 1px solid var(--gray-light);
}

.btn-cookie.reject:hover {
  background-color: var(--gray-light);
}

.cookie-policy {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .features, .latest-posts, .testimonials, .cta {
    padding: 3rem 0;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .blog-post .post-image {
    height: 200px;
  }
  
  .post-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .author-image {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .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%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .feature-grid, .post-grid, .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

/* Font Size Increase */
body.increased-font {
  font-size: 18px;
}

body.increased-font h1 {
  font-size: 2.75rem;
}

body.increased-font h2 {
  font-size: 2.25rem;
}

body.increased-font h3 {
  font-size: 1.75rem;
}

body.increased-font .btn-primary,
body.increased-font .btn-secondary,
body.increased-font .btn-3d {
  font-size: 1.1rem;
}
