* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html,body {
  background: #f9fafb;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: #1a73e8;
  color: white;
  padding: 1rem 2rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  text-decoration: underline;
}

.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #1a73e8, #4285f4);
  color: white;
}

.hero .btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  background: white;
  color: #1a73e8;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
}

.features {
  padding: 3rem 2rem;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 1rem;
  background: #eee;
  font-size: 0.9rem;
}
.about-pwa {
  background: #f3f4f6;
  padding: 3rem 2rem;
  line-height: 1.7;
}

.about-pwa h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #1a73e8;
  margin-bottom: 1rem;
}

.about-pwa h4 {
  margin-top: 2rem;
  color: #333;
}

.about-pwa ul {
  list-style: disc;
  margin-left: 2rem;
  margin-top: 0.5rem;
}

.about-pwa li {
  margin-bottom: 0.6rem;
}

.about-pwa p {
  max-width: 800px;
  margin: 1rem auto;
  text-align: justify;
}

#bgimg_container {
  width: 97%;
  height: auto;
  margin: auto;
}
#bgimg {
  width: 100%;
  margin: auto;
  border-radius: 4px;
}

.about-pwa {
  background: #f3f4f6;
  padding: 4rem 2rem;
  text-align: center;
}

.about-pwa h3 {
  font-size: 2rem;
  color: #1a73e8;
  margin-bottom: 1rem;
}

.about-pwa .intro {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  color: #333;
}

.pwa-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.pwa-card {
  background: white;
  padding: 1.8rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  max-width: 380px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pwa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.pwa-card h4 {
  color: #1a73e8;
  margin-bottom: 1rem;
}

.pwa-card ul {
  list-style: none;
  padding-left: 0;
}

.pwa-card ul li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
  padding-left: 1.2rem;
  position: relative;
}

.pwa-card ul li::before {
  content: "•";
  color: #1a73e8;
  position: absolute;
  left: 0;
}

.pwa-card p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btn.small {
  display: inline-block;
  background: #1a73e8;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
}

.btn.small:hover {
  background: #155fc4;
}

/*------------------------about page -----------------------*/

/* === ABOUT PAGE === */

.about-page {
  padding: 3rem 2rem;
  background: #f9fafb;
}

.about-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.about-hero h2 {
  color: #1a73e8;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-hero p {
  line-height: 1.7;
  color: #333;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.about-card {
  background: white;
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.about-card h3 {
  color: #1a73e8;
  margin-bottom: 1rem;
}

.about-card ul {
  list-style: none;
  padding-left: 0;
}

.about-card li {
  line-height: 1.6;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.about-card li::before {
  content: "•";
  color: #1a73e8;
  position: absolute;
  left: 0;
}

.about-author {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: #e8f0fe;
  padding: 2rem;
  border-radius: 10px;
}

.about-author h3 {
  color: #1a73e8;
  margin-bottom: 1rem;
}

.about-author a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.about-author a:hover {
  text-decoration: underline;
}

/*------------docs.html-------------*/

/* === DOCS PAGE === */

.docs-page {
  padding: 3rem 2rem;
  background: #f9fafb;
}

.docs-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.docs-hero h2 {
  color: #1a73e8;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.docs-hero p {
  line-height: 1.7;
  color: #333;
}

.docs-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.doc-card {
  background: white;
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.doc-card h3 {
  color: #1a73e8;
  margin-bottom: 1rem;
}

.doc-card ul,
.doc-card ol {
  margin-left: 1.5rem;
  line-height: 1.6;
  color: #333;
}

pre {
  background: #1e1e1e;
  color: #eee;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin-top: 1rem;
}

.code-block {
  font-family: "Fira Code", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.doc-card a {
  color: #1a73e8;
  text-decoration: none;
}

.doc-card a:hover {
  text-decoration: underline;
}
