/*** uncss> filename: styles.css ***/
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    padding: 1rem;
  }

  .container {
    max-width: 100%;
  }

  .container p {
    padding: 0 1rem;
  }

  h2 {
    text-align: center;
    font-size: 2rem;
    padding: 1vw;
  }
  /*  */
  img {
    max-width: 100%;
    border-radius: 8px;
  }

  @media screen and (min-width: 769px) {
  /* Styles for larger screens */
}

/* Top three crucial factors section */

.container {
  margin: 0 auto;
  padding: 0 1rem;
}
/*  end of top 3 crucial factors sections */


/* Everything about EMI section */

/* Responsive for Mobile */

/* Everything about EMI section ends */


/* Interest rate section */

/* Mobile-friendly adjustments */

/* Interest rate section code ends */


/* All other above secs */

.conclusion {
  background: #e0f2fe;
  padding: 20px 25px;
  border-left: 5px solid #0ea5e9;
  border-radius: 10px;
  margin-top: 40px;
  color: #0c4a6e;
  font-weight: 500;
  font-size: 1rem;
}

/* Responsive Design */

/* end of it---- */

  /*  */
  ul {
    margin-top: 0.5rem;
    padding-left: 1.2rem;
  }
  ul li {
    margin-bottom: 0.4rem;
  }

  /*  */

  @media (min-width: 768px) {
    .container {
      padding: 0 2rem;
    }
  }
  h1 {
    padding: 0 1rem;
  }
  /* Header */

  .header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
  }

  .header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 80px;
    height: 80px;
  }

  .header__nav {
    display: none;
    gap: 2rem;
  }

  @media (min-width: 768px) {
    .header__nav {
      display: flex;
    }
  }

  .header__nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s;
  }

  .header__nav a:hover {
    color: #2563eb;
  }

  /* Hero Section */

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
  }

  .btn--primary {
    background: #2563eb;
    color: #ffffff;
  }

  .btn--primary:hover {
    background: #1d4ed8;
  }

  /* Cards */

  /* Educational Section */

  /* Articles */

  /* Discussion */

  /* Sidebar */

  /* Tips */

  /* Footer */
  .footer {
    background: #1e293b;
    color: #ffffff;
    padding: 3rem 0;
  }

  .footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  @media (min-width: 768px) {
    .footer__content {
      grid-template-columns: 1fr 2fr;
    }
  }

  .footer__brand p {
    color: #94a3b8;
  }

  .footer__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
  }

  .footer__column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .footer__column ul {
    list-style: none;
  }

  .footer__column ul li {
    margin-bottom: 0.5rem;
  }

  .footer__column ul li a {
    color: #94a3b8;
    text-decoration: none;
  }

  .footer__column ul li a:hover {
    color: #ffffff;
  }

  .footer__bottom {
    border-top: 1px solid #475569;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
  }

  /* Responsive Design */

  @media (max-width: 480px) {
    .container {
      padding: 0 1rem;
    }
  }

  /* Animation and Transition Classes */

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Focus states for accessibility */
  .btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }

  /* Loading states */
  .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  /* Hover effects */

  /* Print styles */
  @media print {
    .footer {
      display: none;
    }

    body {
      background: white;
    }
  }
   
/*** uncss> filename: articles.css ***/
 /* Article-specific styles */
 .article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.article-intro {
    font-size: 1.125rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.tip-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.tip-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tip-number {
    background: #2563eb;
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tip-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    padding-top: 0.25rem;
}

.tip-content {
    margin-left: 3.5rem;
    color: #334155;
    line-height: 1.7;
}

.tip-image {
    margin: 1.5rem 0;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.conclusion {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 3rem;
}

.conclusion h2 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.conclusion p {
    color: #334155;
    line-height: 1.7;
}

.article-cta {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-top: 3rem;
}

.article-cta h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.article-cta p {
    color: #334155;
    margin-bottom: 1.5rem;
}

.related-articles {
    margin-top: 4rem;
}

.related-articles h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-article {
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.related-article__image {
    height: 150px;
    overflow: hidden;
}

.related-article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-article__content {
    padding: 1rem;
}

.related-article__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.related-article__excerpt {
    font-size: 0.875rem;
    color: #64748b;
}

img {
    width: 100%;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tip-header {
        align-items: flex-start;
    }

    .tip-title {
        font-size: 1.25rem;
    }

    .tip-content {
        margin-left: 0;
    }
}


