/* ============================
   GLOBAL & RESET
============================ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Roboto', sans-serif;
  background-color: #f8faff;
  color: #222;
  line-height: 1.7;
}

/* ============================
   HEADER / NAVIGATION
============================ */
header {
  background: rgba(244, 249, 255, 0.95);
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Navbar styling */
nav {
  background: rgba(244, 249, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 100%;
}

/* Inner container inside nav */
.nav-inner-container {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

/* Navbar Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #1a73e8;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a73e8;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* CTA Buttons in Nav */
.nav-cta {
  background: #1a73e8 !important;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #1557b0 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

.nav-cta::after {
  display: none;
}

/* Responsive Nav (optional if needed) */
.mobile-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  .mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
  }
}

/* ============================
   BLOG CONTENT SECTION
============================ */
.container.blog-content {
  max-width: 900px;
  margin: 60px auto 40px; /* Reduced top margin since navbar is not fixed */
  padding: 40px 35px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-size: 17px;
}

/* Headings */
.container.blog-content h1,
.container.blog-content h2,
.container.blog-content h3 {
  font-family: 'Poppins', sans-serif;
  color: #111;
  margin-top: 2em;
  margin-bottom: 0.6em;
  line-height: 1.3;
  font-weight: 600;
}

.container.blog-content h1 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 0.8em;
  color: #1a73e8;
}

.container.blog-content h2 {
  font-size: 24px;
  color: #333;
  border-left: 4px solid #1a73e8;
  padding-left: 10px;
}

.container.blog-content h3 {
  font-size: 20px;
  color: #444;
}

/* Paragraphs */
.container.blog-content p {
  margin-bottom: 1.5em;
  color: #333;
}

/* Lists */
.container.blog-content ul,
.container.blog-content ol {
  margin: 1.2em 0 1.2em 2em;
  padding-left: 0;
}

.container.blog-content li {
  margin-bottom: 0.6em;
  line-height: 1.6;
}

/* Links */
.container.blog-content a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.container.blog-content a:hover {
  color: #0b57d0;
  text-decoration: underline;
}

/* Code Blocks */
.container.blog-content pre {
  background-color: #f6f8fa;
  padding: 15px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  border-left: 4px solid #1a73e8;
}

/* Images */
.container.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 25px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* Buttons / CTAs */
.container.blog-content .btn-primary {
  display: inline-block;
  padding: 10px 18px;
  background-color: #1a73e8;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.container.blog-content .btn-primary:hover {
  background-color: #0b57d0;
  transform: translateY(-2px);
}

/* Blockquotes */
.container.blog-content blockquote {
  border-left: 4px solid #1a73e8;
  padding-left: 15px;
  margin: 1.5em 0;
  font-style: italic;
  color: #555;
}

/* ============================
   RESPONSIVE DESIGN
============================ */
@media (max-width: 768px) {
  .container.blog-content {
    margin: 50px 15px 40px;
    padding: 25px;
    font-size: 16px;
  }

  .container.blog-content h1 {
    font-size: 26px;
  }

  .container.blog-content h2 {
    font-size: 22px;
  }

  .container.blog-content h3 {
    font-size: 18px;
  }
}



.back-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background-color: #3a6bac;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.back-btn:hover {
  background-color: #345f9b;
  transform: translateY(-2px);
}
