* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* Base styles */
.snagg-header {
  background-color: #FAFAFA;
  border-bottom: 1px solid #ddd;
  padding: 15px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.logo a {
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  color: #3A7DFF;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav ul li a:hover {
  color: #FF6B81;
}

/* Toggle button */
.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #FAFAFA;
    border: 1px solid #ddd;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav.show {
    display: block;
  }

  .nav-toggle {
    display: block;
    color: #3A7DFF;
  }
}


.hero-section {
  background-color: #E8F0FE;
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 15px;
}

.hero-section p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.hero-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;  
}

.hero-form select {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-width: 200px;
}

.hero-form button {
  padding: 10px 20px;
  font-size: 14px;
  background-color: #3A7DFF;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-form button:hover {
  background-color: #2f6be6;
}

/* Optional accessibility */
.visually-hidden {
  position: absolute;
  left: -9999px;
}

.featured-articles {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.featured-articles h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #333;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.article-card {
  background-color: #FAFAFA;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-content {
  padding: 20px;
}

.article-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #3A7DFF;
}

.article-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.article-content a {
  font-size: 14px;
  color: #FF6B81;
  text-decoration: none;
  font-weight: bold;
}

.article-page {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.article-hero {
  position: relative;
  width: 100%;
  height: auto;
  background-color: #f4f4f4;
}

.article-hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.article-intro {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: center;
}

.article-intro h1 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #3A7DFF;
}

.article-intro p {
  font-size: 16px;
  color: #555;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
}

.article-content h2 {
  font-size: 20px;
  margin-top: 30px;
  color: #3A7DFF;
}

.article-content ul {
  padding-left: 20px;
  margin-top: 10px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content a {
  color: #FF6B81;
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

.article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-price {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}



.snagg-footer {
  background-color: #FAFAFA;
  color: #333;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  border-top: 1px solid #ddd;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 180px;
  min-width: 180px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #3A7DFF;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #FF6B81;
}

.logo h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #777;
}

/* About Section */
.section.about {
  padding: 60px 20px;
  background-color: #fff;
  color: #333;
}

.section.about .title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #111;
}

.section.about p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 15px;
   text-align: justify;
}

.section.about .about-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.section.about .about-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.section.about .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
