:root {
  --primary-color: #1e3a8a;
  --secondary-color: #4f46e5;
  --accent-color: #f59e0b;
  --text-color: #333;
  --light-bg: #f8fafc;
  --dark-bg: #1f2937;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --error-color: #ef4444;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 0.5rem;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

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

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

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

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

.logo img {
  height: 50px;
  margin-right: 10px;
}

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

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

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

.nav-links a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Hero section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: #e89008;
  transform: translateY(-2px);
}

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

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

/* Blog posts */
.blog-posts {
  margin: 3rem 0;
}

.post-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: var(--transition);
}

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

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

.post-content {
  padding: 1.5rem;
}

.post-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.post-date {
  display: block;
  color: #64748b;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.post-excerpt {
  margin-bottom: 1rem;
}

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

.read-more:hover {
  text-decoration: underline;
}

.read-more svg {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover svg {
  transform: translateX(3px);
}

/* Timeline */
.timeline {
  margin: 4rem 0;
  position: relative;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.timeline-item {
  padding: 1rem 3rem;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  top: 1.5rem;
  z-index: 1;
}

.timeline-item:nth-child(odd)::after {
  right: -13px;
}

.timeline-item:nth-child(even)::after {
  left: -13px;
}

.timeline-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.timeline-date {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-container {
  max-width: 800px;
  margin: 3rem auto;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

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

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

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

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

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  justify-self: start;
  margin-top: 1rem;
}

/* About Us */
.about-section {
  margin: 3rem 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

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

.team-card:hover {
  transform: translateY(-10px);
}

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

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-position {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

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

.social-links a {
  color: var(--text-color);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--secondary-color);
  transform: scale(1.2);
}

/* Single Post */
.single-post {
  max-width: 800px;
  margin: 3rem auto;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

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

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

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #64748b;
}

.post-meta span {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.post-meta svg {
  margin-right: 5px;
}

.featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.post-body {
  line-height: 1.8;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body h2,
.post-body h3 {
  margin: 2rem 0 1rem;
  color: var(--primary-color);
}

.post-body ul,
.post-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-body blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
  gap: 0.5rem;
}

.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.pagination .page-link.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination .page-link:hover:not(.active) {
  background-color: var(--border-color);
}

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

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

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

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

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

.footer-social a {
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
}

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

.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  color: #cbd5e1;
}

.contact-info svg {
  margin-right: 10px;
  min-width: 20px;
  color: var(--accent-color);
}

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

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: white;
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(200%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  margin-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.customize-btn {
  background-color: #e2e8f0;
  color: var(--text-color);
}

.decline-btn {
  background-color: var(--error-color);
  color: white;
}

/* Thank you popup */
.thank-you-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  max-width: 400px;
  width: 90%;
}

.thank-you-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.thank-you-popup h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.thank-you-popup .success-icon {
  font-size: 3rem;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.close-popup {
  background-color: var(--secondary-color);
  color: white;
  margin-top: 1rem;
}

/* Responsive design */
@media (max-width: 992px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item::after {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }
  
  .nav-links.show {
    height: auto;
    padding: 1rem 0;
  }
  
  .nav-links li {
    margin: 0.5rem 0;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .post-title {
    font-size: 1.3rem;
  }
  
  .cookie-banner {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}
