@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
  font-family: "heading1";
  src: url("../library/fonts/NotoSans-ExtraBold.ttf");
}
@font-face {
  font-family: "heading2";
  src: url("../library/fonts/NotoSans-Bold.ttf");
}
@font-face {
  font-family: "heading3";
  src: url("../library/fonts/NotoSans-Medium.ttf");
}
@font-face {
  font-family: "paragraph1";
  src: url("../library/fonts/NotoSans-Regular.ttf");
}
@font-face {
  font-family: "pargraph2";
  src: url("../library/fonts/NotoSans-Light.ttf");
}
@font-face {
  font-family: "paragraph3";
  src: url("../library/fonts/NotoSans-ExtraLight.ttf");
}
@font-face {
  font-family: "logo";
  src: url("../library/fonts/PoorStory-Regular.ttf");
}

/* MOBILE-FIRST BASE STYLES */
/* Universal font family with Hindi support */
* {
  font-family: "Noto Sans", "Noto Sans Devanagari", "paragraph2", Arial, sans-serif;
  box-sizing: border-box;
}

/* Mobile-first body styles */
body {
  font-family: "Noto Sans", "Noto Sans Devanagari", "paragraph2", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  padding-top: 0; /* navbar sticky, no overlap */
}

/* Mobile typography */
body p .sub {
  font-family: "paragraph3", "Noto Sans Devanagari", sans-serif;
  font-size: 12px;
}
body b {
  font-family: "paragraph1", "Noto Sans Devanagari", sans-serif;
}
body h1 {
  font-family: "heading1", "Noto Sans Devanagari", sans-serif;
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}
body h2 {
  font-family: "heading2", "Noto Sans Devanagari", sans-serif;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}
body h3 {
  font-family: "heading3", "Noto Sans Devanagari", sans-serif;
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 0.7rem;
}
body h4 {
  font-family: "heading3", "Noto Sans Devanagari", sans-serif;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
body h5 {
  font-family: "heading3", "Noto Sans Devanagari", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Hindi text specific styles - Mobile first */
.hindi-text, *[lang="hi"] {
  font-family: "Noto Sans Devanagari", "Noto Sans", Arial, sans-serif;
  line-height: 2;
  letter-spacing: 0.02em;
  font-size: 14px;
}

/* Mixed content support for posts and articles - Mobile first */
.post-content, .article-content {
  font-family: "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
  line-height: 1.8;
  font-size: 14px;
  padding: 1rem;
}

/* Mobile Navigation */
nav .navbar-brand {
  font-family: "logo";
  font-size: 1.2rem;
  align-items: center;
}

nav .navbar-logo {
  height: 32px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
  margin-right: 6px;
}

nav .navbar-brand img {
  height: 32px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
}

/* Mobile container styles */
.container {
  padding: 0 15px;
  max-width: 100%;
}

/* Mobile card styles */
.card {
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-body {
  padding: 1rem;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Mobile image styles */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* TABLET STYLES */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
  
  body h1 {
    font-size: 2.2rem;
  }
  
  body h2 {
    font-size: 1.8rem;
  }
  
  body h3 {
    font-size: 1.5rem;
  }
  
  .hindi-text, *[lang="hi"] {
    font-size: 16px;
  }
  
  .post-content, .article-content {
    font-size: 16px;
    padding: 1.5rem;
  }
  
  nav .navbar-brand {
    font-size: 1.4rem;
  }
  
  nav .navbar-logo, nav .navbar-brand img {
    height: 36px;
    max-width: 55px;
    margin-right: 8px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .img {
    height: 250px;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
  
  .card-text {
    font-size: 1rem;
  }
}

/* DESKTOP STYLES */
@media (min-width: 1024px) {
  body {
    font-size: 16px;
  }
  
  body h1 {
    font-size: 2.5rem;
  }
  
  body h2 {
    font-size: 2rem;
  }
  
  body h3 {
    font-size: 1.7rem;
  }
  
  nav .navbar-brand {
    font-size: 1.5rem;
  }
  
  nav .navbar-logo, nav .navbar-brand img {
    height: 40px;
    max-width: 60px;
  }
  
  .post-content, .article-content {
    padding: 2rem;
  }
  
  .img {
    height: 300px;
  }
}

/* LARGE DESKTOP STYLES */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
    margin: 0 auto;
  }
  
  .img {
    height: 350px;
  }
}
/* Navigation styles - Mobile first */
nav .nav-link {
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}

nav .nav-link:hover {
  color: darkmagenta;
}

nav .dropdown-menu {
  background-color: #212529;
  font-size: 0.9rem;
}

nav .dropdown-menu hr {
  background-color: #6c757d;
}

nav .dropdown-menu a {
  color: #f8f9fa;
  padding: 0.5rem 1rem;
}

nav .dropdown-menu a:hover {
  background-color: #e9ecef;
  color: darkmagenta;
}

/* Main content - Mobile first */
main {
  margin-top: 70px;
  padding: 1rem 0;
}

main .content .main-post {
  color: black;
  text-decoration: none;
  display: block;
  margin-bottom: 1.5rem;
}

main .content .main-post .img-fluid {
  background-size: cover;
  height: 200px;
  border-radius: 8px;
}

main .content .main-post .card-body {
  height: auto;
  overflow: visible;
  padding: 1rem;
}

main .content .main-post .card-text {
  line-height: 1.6;
  font-family: "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
  font-size: 0.9rem;
}

main .content .main-post:hover {
  color: rgb(34, 3, 34);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

main .content .post {
  color: black;
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

main .content .post .img-fluid {
  background-size: cover;
  height: 150px;
  border-radius: 8px;
}

main .content .post .card-body {
  height: auto;
  overflow: visible;
  padding: 0.75rem;
}

main .content .post .card-text {
  line-height: 1.5;
  font-family: "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
  font-size: 0.85rem;
}

main .content .post:hover {
  color: rgb(34, 3, 34);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* TABLET STYLES FOR NAVIGATION AND CONTENT */
@media (min-width: 768px) {
  nav .nav-link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  
  nav .dropdown-menu {
    font-size: 1rem;
  }
  
  main {
    margin-top: 80px;
    padding: 1.5rem 0;
  }
  
  main .content .main-post .img-fluid {
    height: 250px;
  }
  
  main .content .main-post .card-body {
    padding: 1.25rem;
  }
  
  main .content .main-post .card-text {
    font-size: 1rem;
  }
  
  main .content .post .img-fluid {
    height: 180px;
  }
  
  main .content .post .card-body {
    padding: 1rem;
  }
  
  main .content .post .card-text {
    font-size: 0.9rem;
  }
}

/* DESKTOP STYLES FOR NAVIGATION AND CONTENT */
@media (min-width: 1024px) {
  main .content .main-post .img-fluid {
    height: 300px;
  }
  
  main .content .main-post .card-body {
    height: 290px;
    overflow: hidden;
  }
  
  main .content .post .card-body {
    height: 170px;
    overflow: hidden;
  }
  
  main .content .post .card-text {
    font-size: 1rem;
  }
}

/* Footer styles - Mobile first */
footer {
  padding: 2rem 0 1rem;
  background-color: #f8f9fa;
}

footer .brand img {
  width: 50px;
  height: 50px;
}

footer .brand span {
  font-family: "logo";
  font-size: 1.5rem;
  margin-left: 2px;
}

footer a {
  color: black;
  text-decoration: none;
}

footer a:hover {
  color: darkmagenta;
}

footer p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* TABLET STYLES FOR FOOTER */
@media (min-width: 768px) {
  footer .brand img {
    width: 55px;
    height: 55px;
  }
  
  footer .brand span {
    font-size: 1.8rem;
  }
  
  footer p {
    font-size: 1rem;
  }
}

/* DESKTOP STYLES FOR FOOTER */
@media (min-width: 1024px) {
  footer .brand img {
    width: 60px;
    height: 60px;
  }
  
  footer .brand span {
    font-size: 2.25rem;
  }
}

/* Header carousel styles - Mobile first */
header .carousel .bg-content {
  background-size: cover;
  width: 100%;
  height: 50vh;
  filter: brightness(60%);
}

header .carousel .content {
  top: 15%;
  width: 90vw;
  height: auto;
  padding: 1rem;
}

header .carousel .content a {
  color: #fff;
  text-decoration: none;
}

header .carousel .content a:hover {
  color: rgb(223, 200, 223);
}

/* TABLET STYLES FOR HEADER */
@media (min-width: 768px) {
  header .carousel .bg-content {
    height: 60vh;
  }
  
  header .carousel .content {
    top: 18%;
    width: 75vw;
    height: 250px;
    overflow: hidden;
  }
}

/* DESKTOP STYLES FOR HEADER */
@media (min-width: 1024px) {
  header .carousel .bg-content {
    height: 75vh;
  }
  
  header .carousel .content {
    top: 20%;
    width: 60vw;
    height: 270px;
  }
}

/* Post content styles - Mobile first */
.content-post .img {
  height: 40vh;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.content-post p {
  text-align: justify;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* TABLET STYLES FOR POST CONTENT */
@media (min-width: 768px) {
  .content-post .img {
    height: 50vh;
  }
  
  .content-post p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

/* DESKTOP STYLES FOR POST CONTENT */
@media (min-width: 1024px) {
  .content-post .img {
    height: 75vh;
  }
}

/* Footer Content Styling - Mobile first */
.footer-content {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: 100%;
  margin-bottom: 1rem;
}

.footer-content h5 {
  color: #007bff !important;
  border-bottom: 2px solid #007bff;
  padding-bottom: 6px;
  margin-bottom: 1rem;
  font-family: "heading2", "Noto Sans Devanagari", sans-serif;
  font-size: 1.1rem;
}

.footer-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #495057;
}

.footer-text p {
  margin-bottom: 0.75rem;
}

.footer-text strong {
  color: #343a40;
  font-family: "heading3", "Noto Sans Devanagari", sans-serif;
}

/* TABLET STYLES FOR FOOTER CONTENT */
@media (min-width: 768px) {
  .footer-content {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-content h5 {
    padding-bottom: 8px;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
  }
  
  .footer-text {
    font-size: 0.9rem;
  }
  
  .footer-text p {
    margin-bottom: 1rem;
  }
}

/* DESKTOP STYLES FOR FOOTER CONTENT */
@media (min-width: 1024px) {
  .footer-content {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .footer-content h5 {
    font-size: 1.3rem;
  }
  
  .footer-text {
    font-size: 1rem;
  }
}

/* Responsive utilities */
@media (max-width: 767px) {
  .footer-content {
    margin-bottom: 1.5rem;
  }
}

/* Social Media Styling - Mobile first */
.social-media {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 1rem;
}

.social-media h6 {
  color: #343a40;
  font-family: "heading3", "Noto Sans Devanagari", sans-serif;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.social-link {
  display: inline-block;
  color: #6c757d;
  transition: all 0.3s ease;
  margin: 0 6px;
  padding: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-size: 1.2rem;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
}

.social-link .fa-facebook:hover {
  color: #1877f2;
}

.social-link .fa-twitter:hover {
  color: #1da1f2;
}

.social-link .fa-instagram:hover {
  color: #e4405f;
}

/* TABLET STYLES FOR SOCIAL MEDIA */
@media (min-width: 768px) {
  .social-media {
    padding: 1.25rem;
  }
  
  .social-media h6 {
    font-size: 1.1rem;
  }
  
  .social-link {
    margin: 0 8px;
    padding: 8px;
    font-size: 1.3rem;
  }
}

/* DESKTOP STYLES FOR SOCIAL MEDIA */
@media (min-width: 1024px) {
  .social-media {
    padding: 1.5rem;
  }
  
  .social-link {
    font-size: 1.4rem;
  }
}/*# sourceMappingURL=main.css.map */