:root {
  --primary-color: #3a6ff7;
  --secondary-color: #09c5a3;
  --accent-color: #ff7849;
  --dark-color: #1e2a39;
  --light-color: #f8fafc;
  --text-color: #333;
  --text-light: #6b7c93;
  --border-color: #e8e8e8;
  --gradient-start: #3a6ff7;
  --gradient-end: #09c5a3;
  --danger-color: #e74c3c;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1200px;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-secondary: 'Merriweather', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  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.75rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul, ol {
  margin: 0 0 1.5rem 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Header */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--dark-color);
  font-weight: 700;
  font-size: 1.3rem;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 1rem;
  border-radius: 50%;
}

nav {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0 0 0 1.5rem;
}

.menu a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
}

.menu a i {
  margin-right: 0.5rem;
}

.menu a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.menu a:hover {
  color: var(--primary-color);
}

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 25px;
  background-color: var(--dark-color);
  margin: 2px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
}

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

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

/* About Hero */
.about-hero {
  background: linear-gradient(135deg, #5e60ce 0%, #5390d9 100%);
}

/* Contact Hero */
.contact-hero {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}

/* Main Content */
main {
  padding: 4rem 0;
}

/* Daily Tip */
.daily-tip-container {
  margin-bottom: 3rem;
}

.daily-tip {
  background: linear-gradient(135deg, #f9f9f9 0%, #ecf0f1 100%);
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.daily-tip::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 1rem;
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.05);
  font-family: var(--font-secondary);
  line-height: 1;
}

.daily-tip h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--accent-color);
}

.daily-tip p {
  font-style: italic;
  margin-bottom: 0;
}

/* Blog Posts */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

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

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-image {
  height: 220px;
  overflow: hidden;
}

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

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

.post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-content h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.post-date {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: block;
}

.read-more {
  display: inline-block;
  margin-top: auto;
  padding: 0.5rem 0;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 0.25rem;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 0.5rem;
}

/* Blog Post Detail */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.post-meta {
  display: flex;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.post-meta span {
  margin-right: 1rem;
}

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

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

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

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

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

.post-navigation {
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.post-nav-prev,
.post-nav-next {
  max-width: 45%;
}

.post-nav-next {
  text-align: right;
}

.nav-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.nav-title {
  font-weight: 600;
}

/* About Section */
.about-section {
  max-width: 900px;
  margin: 0 auto;
}

.about-intro {
  margin-bottom: 4rem;
}

.about-intro h2 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  text-align: center;
}

.team-section h2 {
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: 2.2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

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

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.team-member h3 {
  margin: 1.5rem 0 0.25rem;
}

.team-member p {
  margin: 0.25rem 1.5rem 1.5rem;
}

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

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.social-links a {
  margin: 0 0.5rem;
  color: var(--text-light);
  transition: var(--transition);
}

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

.our-values {
  margin-top: 4rem;
}

.our-values h2 {
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: 2.2rem;
}

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

.value-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

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

/* Contact Section */
.contact-section {
  max-width: 900px;
  margin: 0 auto;
}

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

.contact-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

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

.contact-text h3 {
  margin-bottom: 0.5rem;
}

.contact-text p {
  margin-bottom: 0;
}

.contact-info h2,
.contact-form-container h2 {
  margin-bottom: 2rem;
}

.social-media {
  margin-top: 3rem;
}

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

.social-icons {
  display: flex;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background-color: #f5f5f5;
  border-radius: 50%;
  margin-right: 0.75rem;
  color: var(--text-color);
  transition: var(--transition);
}

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

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

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

.privacy-policy {
  display: flex;
  align-items: flex-start;
}

.privacy-policy input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  width: auto;
}

.privacy-policy label {
  margin-bottom: 0;
  flex: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 1rem;
}

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

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

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

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

.btn-tertiary {
  background-color: transparent;
  color: var(--text-color);
}

.btn-tertiary:hover {
  background-color: #f5f5f5;
  color: var(--text-color);
}

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

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

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

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

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

.footer-links a {
  color: #ddd;
  display: block;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

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

.footer-contact address {
  font-style: normal;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.footer-contact a {
  color: #ddd;
  transition: var(--transition);
}

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

.footer-contact .social-icons {
  margin-top: 1.5rem;
}

.footer-contact .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-contact .social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 300px;
}

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

/* Thank You Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
}

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

.close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.close-popup:hover {
  color: var(--text-color);
}

.popup-icon {
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form-container {
    order: 1;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }
  
  .menu.active {
    display: flex;
  }
  
  .menu li {
    margin: 0;
  }
  
  .menu a {
    padding: 1rem 2rem;
  }
  
  .menu a::after {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .post-content h2 {
    font-size: 1.6rem;
  }
  
  .post-content h3 {
    font-size: 1.4rem;
  }
  
  .post-content {
    font-size: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .post-nav-prev, 
  .post-nav-next {
    max-width: none;
  }
  
  .post-nav-next {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
  
  header {
    padding: 0.75rem 0;
  }
  
  .logo span {
    font-size: 1.1rem;
  }
  
  .logo img {
    height: 32px;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  main {
    padding: 2.5rem 0;
  }
  
  .daily-tip {
    padding: 1.25rem;
  }
  
  .blog-posts {
    gap: 1.5rem;
  }
  
  .post-image {
    height: 180px;
  }
  
  .post-content {
    padding: 1.25rem;
  }
  
  .post-content h2 {
    font-size: 1.3rem;
  }
  
  .team-grid,
  .values-grid {
    gap: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
}
