:root {
  --primary-color: #1a5276;
  --secondary-color: #d35400;
  --accent-color: #f39c12;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
  --white: #ffffff;
  --black: #000000;
  --font-primary: 'Open Sans', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--light-gray);
}

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

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

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

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

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

.logo h1 {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  color: var(--primary-color);
}

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

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 600;
  position: relative;
}

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

.nav-menu a:hover::after {
  width: 100%;
}

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

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

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

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

.slogan {
  font-style: italic;
  color: var(--accent-color);
  margin-bottom: 30px;
  font-size: 1.3rem;
}

.daily-inspiration {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 800px;
}

.daily-inspiration h3 {
  color: var(--accent-color);
  margin-bottom: 10px;
}

.daily-inspiration p {
  font-style: italic;
}

/* Blog Posts Section */
.blog-posts {
  padding: 80px 0;
  background-color: var(--white);
}

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

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

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

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

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.post-content p {
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.post-meta {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.9rem;
  margin-top: 15px;
}

/* Single Post Page */
.single-post {
  padding: 60px 0;
  background-color: var(--white);
}

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

.post-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.post-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.post-body h3 {
  margin: 40px 0 20px;
  color: var(--primary-color);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

/* About Page */
.about-section {
  padding: 80px 0;
  background-color: var(--white);
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.about-content img {
  width: 100%;
  border-radius: 8px;
}

.about-text {
  font-size: 1.1rem;
}

.team-section {
  margin-top: 80px;
}

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

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

.team-card {
  text-align: center;
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-card h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-card p {
  margin-bottom: 10px;
}

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

.social-links a {
  display: inline-flex;
  margin: 0 5px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

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

/* Contact Page */
.contact-section {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

.contact-info {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
}

.contact-info h3 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

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

.info-item svg {
  margin-right: 15px;
  min-width: 24px;
}

.info-item p {
  line-height: 1.4;
}

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

.social-media h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.contact-form {
  padding: 30px;
  background-color: var(--light-gray);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

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

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

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

.footer-logo h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: var(--white);
}

.footer-about p {
  margin-bottom: 20px;
}

.footer-links h3, .footer-subscribe h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

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

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

.footer-links a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.subscribe-form {
  display: flex;
  margin-top: 20px;
}

.subscribe-form input {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.subscribe-form button {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
  background-color: #b33c00;
}

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

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--white);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-text {
  flex-grow: 1;
  margin-right: 20px;
}

.cookie-text h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.cookie-text p {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.cookie-text a {
  color: var(--accent-color);
  text-decoration: underline;
}

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

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

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

.accept-btn:hover {
  background-color: #b33c00;
}

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

.settings-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.decline-btn:hover {
  background-color: #23272b;
}

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

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.modal-content p {
  margin-bottom: 30px;
}

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

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

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 0;
    padding: 15px 0;
    text-align: center;
  }

  .mobile-menu-btn {
    display: block;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-text {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 90%;
    padding: 30px 20px;
  }
}
