/* Base Styles */
:root {
  --primary-color: #0056b3;
  --primary-dark: #003d7a;
  --primary-light: #e6f0ff;
  --secondary-color: #ff6b35;
  --secondary-dark: #e55a2a;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #343a40;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 5px;
}

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

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

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

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

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

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

button, .btn {
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  border: none;
  transition: var(--transition);
}

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

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

.logo img {
  max-height: 60px;
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

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

.nav-links a.active::after, .nav-links a:hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
}

.question-btn {
  background-color: var(--secondary-color);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 500;
  display: inline-block;
  transition: background-color 0.3s;
}

.question-btn:hover {
  background-color: var(--secondary-dark);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero.jpg') no-repeat center center/cover;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

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

/* Blog Posts Section */
.blog-posts {
  padding: 60px 0;
}

.blog-posts h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: var(--primary-color);
}

.post {
  background-color: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
}

.post-image {
  flex: 0 0 40%;
}

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

.post-content {
  flex: 0 0 60%;
  padding: 25px;
}

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

.post-date {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.post-excerpt {
  margin-bottom: 20px;
}

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

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

.read-more:hover::after {
  margin-left: 10px;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-light);
  padding: 60px 0;
  text-align: center;
}

.newsletter h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

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

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 16px;
  min-width: 250px;
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

/* Footer Styles */
footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo img {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

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

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

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

.footer-contact p i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

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

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

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-dark);
  color: white;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.cookie-content p {
  margin-bottom: 15px;
  flex: 1 1 100%;
}

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

.cookie-btn {
  padding: 8px 15px;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
}

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

.cookie-btn.customize {
  background-color: var(--warning-color);
  color: var(--text-color);
}

.cookie-btn.decline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-more-info {
  color: white;
  text-decoration: underline;
  margin-left: 20px;
}

/* About Page Styles */
.about-hero, .contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/about-hero.jpg') no-repeat center center/cover;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.about-hero h1, .contact-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.about-content, .contact-content {
  padding: 60px 0;
}

.about-story, .about-mission {
  max-width: 800px;
  margin: 0 auto 50px;
}

.about-story h2, .about-mission h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.about-story h2::after, .about-mission h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 3px;
  background-color: var(--secondary-color);
}

.mission-points {
  margin-left: 20px;
  margin-top: 20px;
}

.mission-points li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.mission-points li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Team Section */
.team-section {
  background-color: var(--bg-light);
  padding: 60px 0;
}

.team-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 2rem;
}

.team-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

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

.team-member {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

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

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

.team-member h3 {
  padding: 15px 15px 5px;
  font-size: 1.2rem;
}

.team-member p {
  padding: 0 15px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.team-social {
  display: flex;
  padding: 0 15px 15px;
  gap: 10px;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--bg-light);
  border-radius: 50%;
  color: var(--text-color);
}

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

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-form-container, .contact-info {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.contact-form-container h2, .contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.contact-form-container h2::after, .contact-info h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 3px;
  background-color: var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

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

.form-group textarea {
  resize: vertical;
}

.form-group.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group.form-checkbox input {
  width: auto;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

/* Contact Info Styles */
.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item svg {
  color: var(--primary-color);
  margin-right: 15px;
  flex-shrink: 0;
}

.info-item h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

.social-media {
  margin-top: 30px;
}

.social-media h3 {
  margin-bottom: 15px;
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 50%;
  color: var(--text-color);
  transition: all 0.3s ease;
}

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

/* Map Section */
.map-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

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

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

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

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

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

.success-message svg {
  color: var(--success-color);
  margin-bottom: 15px;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.btn-close {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  margin-top: 20px;
  cursor: pointer;
}

/* Blog Post Page Styles */
.blog-post {
  padding: 60px 0;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.post-header {
  margin-bottom: 30px;
}

.post-header h1 {
  font-size: 2.2rem;
  color: var(--primary-color);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--text-light);
  margin-top: 10px;
}

.post-featured-image {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.post-body h2 {
  margin-top: 40px;
  color: var(--primary-color);
  font-size: 1.6rem;
}

.post-body p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.post-body blockquote {
  background-color: var(--primary-light);
  padding: 20px;
  border-left: 4px solid var(--primary-color);
  margin: 30px 0;
  font-style: italic;
}

.post-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-style: normal;
}

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

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

.post-tags a {
  background-color: var(--bg-light);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-light);
}

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

.post-share {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-light);
  border-radius: 50%;
  color: var(--text-color);
}

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

/* Related Posts */
.related-posts {
  max-width: 800px;
  margin: 60px auto 0;
}

.related-posts h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

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

.related-post {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.related-post:hover {
  transform: translateY(-5px);
}

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

.related-post h4 {
  padding: 15px 15px 5px;
  font-size: 1rem;
}

.related-date {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 0 15px 15px;
}

/* Responsive Design */
@media (max-width: 991px) {
  header .container {
    padding: 15px;
  }
  
  .post {
    flex-direction: column;
  }
  
  .post-image, .post-content {
    flex: 0 0 100%;
  }
  
  .post-image img {
    height: 250px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    margin-bottom: 15px;
    justify-content: center;
  }
  
  .cookie-more-info {
    margin-left: 0;
    display: block;
  }
}

@media (max-width: 768px) {
  .hero h1, .about-hero h1, .contact-hero h1 {
    font-size: 2rem;
  }
  
  .nav-links li {
    margin-left: 15px;
  }
  
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
  
  .contact-form-container, .contact-info {
    padding: 20px;
  }
  
  .post-header h1 {
    font-size: 1.8rem;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .nav-links {
    margin-bottom: 15px;
  }
  
  .nav-links li:first-child {
    margin-left: 0;
  }
  
  .team-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Icon Styles */
.icon-location, .icon-phone, .icon-email {
  font-family: 'Font Awesome 5 Free';
  display: inline-block;
  margin-right: 10px;
  color: var(--secondary-color);
}

.icon-location:before {
  content: "\f3c5";
}

.icon-phone:before {
  content: "\f095";
}

.icon-email:before {
  content: "\f0e0";
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fadeIn {
  animation: fadeIn 0.5s ease forwards;
}
