/* Base Styles */
:root {
  --primary-color: #0066b2;
  --secondary-color: #00a0c6;
  --accent-color: #ff9f1c;
  --light-color: #f8f9fa;
  --dark-color: #222831;
  --grey-color: #666;
  --light-grey: #f0f0f0;
  --border-color: #ddd;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 8px;
  --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #fff;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  font-size: 1rem;
}

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

.btn-secondary {
  background-color: var(--light-color);
  color: var(--dark-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--light-grey);
  color: var(--dark-color);
}

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

.btn-customize {
  background-color: transparent;
  color: var(--dark-color);
  border: 1px solid var(--border-color);
}

.btn-decline {
  background-color: transparent;
  color: var(--grey-color);
}

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

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

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

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  border-radius: 50%;
}

.logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

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

nav li {
  margin-left: 30px;
}

nav a {
  color: var(--dark-color);
  font-weight: 600;
  padding: 8px 0;
  position: relative;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 102, 178, 0.9), rgba(0, 160, 198, 0.9)), url('images/13.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 6rem 0;
}

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

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

/* Summary Section */
.summary {
  background-color: var(--light-color);
  padding: 3rem 0;
  text-align: center;
}

.summary h2 {
  margin-bottom: 1.5rem;
}

.summary p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

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

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

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

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

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px 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: 1.2rem;
  margin-bottom: 0.5rem;
}

.post-content p {
  color: var(--grey-color);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.read-more:hover {
  color: var(--secondary-color);
}

.center {
  text-align: center;
}

/* CTA Section */
.cta {
  background: linear-gradient(rgba(255, 159, 28, 0.9), rgba(255, 159, 28, 0.9)), url('images/14.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 0;
}

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

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

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

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

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

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

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

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

.footer-links a {
  color: #bbb;
  transition: var(--transition);
}

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

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

.footer-contact svg {
  margin-right: 10px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

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

.social-icons a {
  display: inline-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: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom p {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Blog Page */
.page-header {
  background: linear-gradient(rgba(0, 102, 178, 0.9), rgba(0, 160, 198, 0.9)), url('images/15.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 0;
}

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

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

.blog-content {
  padding: 4rem 0;
}

.summary-box {
  background-color: var(--light-color);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.summary-box h2 {
  margin-bottom: 1rem;
}

.summary-box p {
  margin-bottom: 0;
}

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

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

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

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.blog-card-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.date {
  color: var(--grey-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

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

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

.about-intro {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

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

.mission-values {
  margin-bottom: 4rem;
}

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

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

.value-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

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

.value-card svg {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  margin-bottom: 0;
}

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

.team-section > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

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

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

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

.team-member h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1.2rem;
}

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

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

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

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

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

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

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

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

.contact-item svg {
  margin-right: 1rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-item p {
  margin-bottom: 0;
  color: var(--grey-color);
}

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

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

.contact-form-container h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-main);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
}

.form-checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

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

.btn-submit {
  width: 100%;
}

.map-container {
  text-align: center;
}

.map-container h2 {
  margin-bottom: 1.5rem;
}

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

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

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

.post-header {
  margin-bottom: 3rem;
}

.post-header h1 {
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--grey-color);
  margin-bottom: 2rem;
}

.post-featured-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.post-summary {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

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

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

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

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

.content-box {
  background-color: var(--light-color);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.content-box h3 {
  margin-top: 0;
}

.content-box p:last-child,
.content-box ul:last-child {
  margin-bottom: 0;
}

.post-image {
  margin: 2.5rem 0;
}

.post-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figcaption {
  text-align: center;
  color: var(--grey-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.post-navigation {
  margin: 4rem 0;
}

.post-nav-links {
  display: flex;
  justify-content: space-between;
}

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

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

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

.related-post {
  background-color: white;
  border-radius: var(--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.1);
}

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

.related-post h4 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1.1rem;
}

.related-post .read-more {
  padding: 0 1rem 1rem;
  display: block;
}

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

.cookie-content {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

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

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

.cookie-link {
  font-size: 0.9rem;
  text-decoration: underline;
}

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

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

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--grey-color);
}

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

.modal-content h2 {
  margin-bottom: 1rem;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 5rem 0;
  }
  
  .blog-card {
    grid-template-columns: 1fr;
  }
  
  .blog-card img {
    height: 250px;
  }
  
  .about-intro {
    grid-template-columns: 1fr;
  }
  
  .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 15px 10px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .post-nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--radius);
    width: 100%;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}
