:root {
  --primary-color: #2e5e82;
  --secondary-color: #ff9d00;
  --text-color: #333;
  --background-color: #f8f9fa;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --footer-color: #1d3557;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

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

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

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

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

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

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

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

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

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

/* Mobile navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5f 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.hero-btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  font-size: 18px;
}

.hero-btn:hover {
  background-color: #e68c00;
}

/* Blog Post Cards */
.posts-section {
  padding: 60px 0;
}

.section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.post-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

.post-content {
  padding: 20px;
}

.post-date {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
  display: block;
}

.post-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.post-excerpt {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

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

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

/* Single Post Page */
.post-header {
  padding: 60px 0;
  background: linear-gradient(135deg, #2e5e82 0%, #1a3a5f 100%);
  color: white;
  text-align: center;
}

.post-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.post-meta {
  font-size: 16px;
  opacity: 0.8;
}

.post-body {
  padding: 60px 0;
  background-color: white;
}

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

.post-content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}

.post-content-wrapper p {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.8;
}

.post-content-wrapper h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin: 40px 0 20px;
}

.post-content-wrapper h3 {
  font-size: 26px;
  color: var(--primary-color);
  margin: 30px 0 15px;
}

/* Contact Page */
.contact-section {
  padding: 60px 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.info-item {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.info-item i {
  margin-right: 15px;
  font-size: 24px;
  color: var(--secondary-color);
}

.info-item .details h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.info-item .details p {
  color: #666;
}

.contact-form {
  flex: 1.5;
  min-width: 300px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-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 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

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

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

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

.submit-btn:hover {
  background-color: #e68c00;
}

/* About Page */
.about-section {
  padding: 60px 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.team-member {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s;
}

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

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

.team-member-info {
  padding: 20px;
}

.team-member-info h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.team-member-info p {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

.team-member-info p:last-of-type {
  font-size: 14px;
  line-height: 1.6;
}

.social-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.social-links a {
  margin: 0 8px;
  color: var(--primary-color);
  font-size: 18px;
  transition: color 0.3s;
}

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

/* Interesting Facts Section */
.facts-section {
  padding: 60px 0;
  background-color: var(--light-gray);
}

.facts-title {
  font-size: 30px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.facts-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.facts-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 17px;
  line-height: 1.6;
}

.facts-list li:before {
  content: '💰';
  position: absolute;
  left: 0;
  top: 2px;
}

.facts-list li:nth-child(2):before {
  content: '📈';
}

.facts-list li:nth-child(3):before {
  content: '🌍';
}

.facts-list li:nth-child(4):before {
  content: '⏱️';
}

.facts-list li:nth-child(5):before {
  content: '📊';
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.cookie-text p {
  font-size: 14px;
  color: #666;
}

.cookie-text a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.cookie-btn {
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.accept-cookies {
  background-color: var(--success-color);
  color: white;
  border: none;
}

.accept-cookies:hover {
  background-color: #218838;
}

.customize-cookies {
  background-color: var(--warning-color);
  color: var(--text-color);
  border: none;
}

.customize-cookies:hover {
  background-color: #e0a800;
}

.reject-cookies {
  background-color: var(--danger-color);
  color: white;
  border: none;
}

.reject-cookies:hover {
  background-color: #c82333;
}

/* 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: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.thank-you-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  transform: translateY(-20px);
  transition: transform 0.3s;
}

.thank-you-modal.active .modal-content {
  transform: translateY(0);
}

.modal-content h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.modal-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.modal-close {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-close:hover {
  background-color: #e68c00;
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.footer-column p {
  margin-bottom: 15px;
  opacity: 0.8;
  font-size: 15px;
}

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

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

.footer-links li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links li a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

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

.footer-social a:hover {
  background-color: var(--secondary-color);
}

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

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 40px;
  }
  
  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }
  
  .logo h1 {
    font-size: 20px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h2 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .post-grid,
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .post-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}
