/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

/* Header and Navigation */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo span {
  color: #3498db;
}

.logo:hover {
  color: #3498db;
}

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

nav ul li:first-child {
  margin-left: 0;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #3498db;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #3498db;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #3498db, #2c3e50);
  color: #fff;
  text-align: center;
  padding: 10rem 0 8rem;
  margin-top: 4rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: #fff;
  color: #3498db;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #3498db;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
  background-color: #fff;
  padding: 6rem 0;
}

.about h2 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: #555;
}

/* Blog Section */
.blog {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.blog h2 {
  color: #2c3e50;
  margin-bottom: 3rem;
  text-align: center;
  font-size: 2.5rem;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.blog-post {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-post h3 {
  color: #2c3e50;
  font-size: 1.8rem;
  text-align: center;
  margin: 1.5rem 0;
  padding: 0 1rem;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.blog-image {
  max-width: 80%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-post:hover .blog-image {
  transform: scale(1.02);
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-info,
.footer-contact {
  flex-basis: 45%;
}

.footer-info h3,
.footer-contact h3 {
  margin-bottom: 1rem;
  color: #3498db;
  font-size: 1.5rem;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #3498db;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #3498db;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  font-size: 0.9rem;
  color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-info,
  .footer-contact {
    margin-bottom: 2rem;
  }

  .blog-image {
    max-width: 100%;
  }
}

