:root {
  --primary-color: #2a71d0;
  --secondary-color: #6c3df4;
  --accent-color: #f9c846;
  --dark-color: #1f1f2e;
  --light-color: #f8f9fa;
  --text-color: #333333;
  --light-text: #ffffff;
  --gray-text: #666666;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  color: var(--text-color);
  background-color: #f9f9f9;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Header Styles */
header {
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  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 {
  height: 50px;
  margin-right: 10px;
}

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

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

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

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

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

nav ul li a:hover:before,
nav ul li a.active:before {
  width: 100%;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 80px 0;
  text-align: center;
}

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

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--dark-color);
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: #ffda7a;
  color: var(--dark-color);
}

/* Blog Posts Section */
.posts-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h3 {
  font-size: 2rem;
  color: var(--text-color);
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h3:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

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

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

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

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

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.post-content {
  padding: 25px;
}

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

.post-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--dark-color);
}

.post-excerpt {
  color: var(--gray-text);
  margin-bottom: 20px;
}

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

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

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

/* Daily Inspiration Section */
.inspiration-section {
  background-color: var(--light-color);
  padding: 60px 0;
  text-align: center;
}

.inspiration-box {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.inspiration-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.inspiration-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.inspiration-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 15px;
}

.inspiration-author {
  font-weight: 600;
  color: var(--gray-text);
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b);
  padding: 100px 0;
  text-align: center;
  color: white;
}

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

.about-content {
  padding: 80px 0;
}

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

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.team-section h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

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

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

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

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

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

.team-info {
  padding: 25px;
}

.team-info h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.team-info p.position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.team-info p.bio {
  color: var(--gray-text);
  margin-bottom: 15px;
}

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

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

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

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

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--dark-color);
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1rem;
}

.contact-info p svg {
  margin-right: 15px;
  min-width: 24px;
  color: var(--primary-color);
}

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

.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 var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(42, 113, 208, 0.2);
}

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

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.post-meta {
  color: var(--gray-text);
  margin-bottom: 15px;
  font-size: 1rem;
}

.post-meta span {
  margin: 0 10px;
}

.post-title-large {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.post-feature-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
}

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

.post-content-full p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-content-full h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
  color: var(--dark-color);
}

.post-content-full h3 {
  font-size: 1.6rem;
  margin: 30px 0 20px;
  color: var(--dark-color);
}

.post-content-full ul,
.post-content-full ol {
  margin-bottom: 20px;
  margin-left: 20px;
}

.post-content-full li {
  margin-bottom: 10px;
}

.post-content-full img {
  max-width: 100%;
  border-radius: 5px;
  margin: 20px 0;
}

.post-content-full blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--gray-text);
}

.share-post {
  margin-top: 50px;
  text-align: center;
}

.share-post h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.share-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.share-btn.facebook {
  background-color: #3b5998;
}

.share-btn.twitter {
  background-color: #1da1f2;
}

.share-btn.linkedin {
  background-color: #0077b5;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.related-posts {
  margin-top: 80px;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8rem;
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: 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 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
  display: inline-block;
}

.footer-text {
  color: #bbb;
  margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

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

.footer-newsletter h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-newsletter h4:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.footer-newsletter p {
  color: #bbb;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
}

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

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

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bbb;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.footer-bottom-links a {
  color: #bbb;
  font-size: 0.9rem;
}

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  max-width: 90%;
  width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-text {
  text-align: center;
  margin-bottom: 20px;
}

.cookie-text h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.cookie-text p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn.accept {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.cookie-btn.customize {
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.cookie-btn.decline {
  background-color: #f5f5f5;
  color: var(--gray-text);
  border: 1px solid var(--border-color);
}

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

.cookie-btn.customize:hover {
  background-color: #f5f5f5;
}

.cookie-btn.decline:hover {
  background-color: #ebebeb;
}

/* Success Message */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 9999;
  max-width: 90%;
  width: 400px;
  display: none;
}

.success-message h3 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.success-message p {
  color: var(--gray-text);
  margin-bottom: 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #4CAF50;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.close-success-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

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

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9990;
  display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 15px 0;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .post-title-large {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .section-title h3 {
    font-size: 1.8rem;
  }
  
  .inspiration-box {
    padding: 20px;
  }
  
  .inspiration-title {
    font-size: 1.5rem;
  }
}
