/* Global Styles */
:root {
  --primary-color: #4a6da7;
  --secondary-color: #8fb3ff;
  --accent-color: #2e4172;
  --text-color: #333333;
  --light-bg: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

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

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

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

.logo span {
  color: var(--accent-color);
}

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: 600;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--primary-color);
}

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

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

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

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

.cta-button {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Blog Grid */
.blog-section {
  padding: 80px 0;
}

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

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

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

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

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

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

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

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

.read-more:hover {
  color: var(--accent-color);
}

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

.blog-post-container {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.blog-post-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.blog-post-meta {
  color: #666;
  margin-bottom: 30px;
  font-style: italic;
}

.blog-post-content {
  line-height: 1.8;
}

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

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

.blog-post-content h3 {
  font-size: 22px;
  color: var(--accent-color);
  margin: 30px 0 15px;
}

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

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

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

.blog-post-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.blog-post-content a:hover {
  text-decoration: underline;
}

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

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

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--secondary-color);
}

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

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

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

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

.footer-links ul li a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-contact p {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  margin-top: 20px;
}

.social-icons a {
  color: var(--white);
  margin-right: 15px;
  font-size: 20px;
  transition: var(--transition);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 15px;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  nav ul li {
    margin: 15px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-post-container {
    padding: 20px;
  }
  
  .blog-post-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .blog-post-title {
    font-size: 24px;
  }
  
  .blog-post-content h2 {
    font-size: 22px;
  }
  
  .blog-post-content h3 {
    font-size: 18px;
  }
}
