/* Base Styles */
:root {
  --primary-color: #4a6fa5;
  --primary-light: #7790b9;
  --primary-dark: #2b4c7e;
  --accent-color: #e65c4f;
  --accent-light: #ff7e71;
  --accent-dark: #c83a2d;
  --text-color: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --background-color: #ffffff;
  --background-light: #f5f7fa;
  --background-dark: #e0e5ef;
  --border-color: #dddddd;
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
}

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

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

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

/* Buttons */
.button, button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

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

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

.button-secondary:hover {
  background-color: var(--accent-dark);
}

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

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

/* Neon Button */
.neon-button {
  display: inline-block;
  background-color: var(--primary-dark);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.5s ease;
  box-shadow: 0 0 15px rgba(74, 111, 165, 0.5), 0 0 30px rgba(74, 111, 165, 0.3), 0 0 45px rgba(74, 111, 165, 0.1);
}

.neon-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  z-index: -1;
  transition: all 0.6s ease;
}

.neon-button:hover {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 0 20px rgba(74, 111, 165, 0.8), 0 0 40px rgba(74, 111, 165, 0.4), 0 0 60px rgba(74, 111, 165, 0.2);
  transform: translateY(-3px);
}

.neon-button:hover::before {
  transform: translateX(100%);
}

.neon-button:active {
  transform: translateY(1px);
  box-shadow: 0 0 10px rgba(74, 111, 165, 0.6);
}

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

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

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

.logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

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

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
}

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

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

nav ul li a.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, rgba(74, 111, 165, 0.9), rgba(43, 76, 126, 0.8)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 0;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(to right, rgba(74, 111, 165, 0.9), rgba(43, 76, 126, 0.8)), url('images/page-header.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 60px 0;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Featured Posts */
.featured-posts {
  padding: 80px 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.blog-grid {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

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

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

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

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.post-content {
  padding: 20px;
}

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

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

.post-meta {
  display: flex;
  font-size: 0.85rem;
  color: var(--text-lighter);
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.post-meta span {
  margin-right: 15px;
}

.post-meta .category {
  color: var(--primary-color);
}

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

.read-more:after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover:after {
  transform: translateX(5px);
}

.view-all {
  text-align: center;
  margin-top: 40px;
}

.view-all a {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}

.view-all a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.view-all a:hover:after {
  width: 100%;
}

/* Testimonials */
.testimonials {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 50px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  max-width: 500px;
  text-align: left;
  flex: 1;
  min-width: 250px;
  transition: var(--transition);
}

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

.testimonial p {
  font-style: italic;
  position: relative;
  padding: 0 15px;
}

.testimonial p::before, .testimonial p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--primary-light);
}

.testimonial p::before {
  position: absolute;
  left: 0;
  top: 0;
}

.testimonial .author {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 15px;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
  padding: 70px 0;
  text-align: center;
}

.newsletter h2, .newsletter p {
  color: white;
}

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

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

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  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;
  background-color: var(--accent-color);
  padding: 0 25px;
}

.newsletter-form button:hover {
  background-color: var(--accent-dark);
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 70px 0 20px;
}

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

.footer-logo img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

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

.footer-links h3, .footer-contact h3, .footer-social h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a, .footer-social a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover, .footer-social a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.social-icons {
  display: flex;
  gap: 15px;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.legal-links a:hover {
  color: white;
}

/* Blog Page */
.blog-posts {
  padding: 80px 0;
}

/* About Page */
.about-intro {
  padding: 80px 0;
}

.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.team-section {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.team-section h2 {
  margin-bottom: 15px;
}

.team-section > .container > p {
  max-width: 700px;
  margin: 0 auto 50px;
}

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

.team-member {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.team-member h3 {
  margin: 20px 20px 5px;
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 20px;
}

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

.values-section {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.value-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.join-us {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
  padding: 70px 0;
  text-align: center;
}

.join-us h2, .join-us p {
  color: white;
}

.join-us p {
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Contact Page */
.contact-info {
  padding: 80px 0;
}

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

.contact-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.contact-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.social-mini {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-mini a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(74, 111, 165, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

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

.contact-form-section {
  background-color: var(--background-light);
  padding: 80px 0;
}

.contact-form-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form-container, .map-container {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
}

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

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

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

.form-submit {
  margin-top: 10px;
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
  height: 0;
  border-radius: var(--border-radius);
  margin-top: 20px;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: none;
}

/* Blog Post */
.blog-post {
  padding: 80px 0;
}

.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-header h1 {
  margin-bottom: 10px;
}

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

.post-featured-image img {
  width: 100%;
}

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

.post-content h2, .post-content h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content ul, .post-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 20px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post-tags span {
  font-weight: 600;
}

.post-tags a {
  display: inline-block;
  background-color: rgba(74, 111, 165, 0.1);
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.post-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-share span {
  font-weight: 600;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(74, 111, 165, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

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

.related-posts {
  background-color: var(--background-light);
  padding: 80px 0;
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 50px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  width: 90%;
  max-width: 500px;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

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

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

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  margin: 0 auto 20px;
}

.thank-you-message h2 {
  margin-bottom: 15px;
}

.thank-you-message p {
  margin-bottom: 30px;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: bottom 0.5s ease;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-buttons button {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 4px;
}

.cookie-buttons .accept {
  background-color: var(--success-color);
}

.cookie-buttons .customize {
  background-color: var(--primary-color);
}

.cookie-buttons .reject {
  background-color: var(--text-light);
}

.privacy-link {
  margin-left: auto;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-intro .container {
    grid-template-columns: 1fr;
  }
  
  .contact-form-section .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  nav {
    margin-top: 20px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 15px 10px;
  }
  
  .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: 10px;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .social-icons, .social-mini {
    justify-content: center;
  }
  
  .legal-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-buttons button, .privacy-link {
    width: 100%;
    text-align: center;
  }
  
  .cookie-content {
    text-align: center;
  }
}
