/* Reset and base styles for responsiveness */
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      body {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        color: #333;
      }

      /* Navigation Styles */
.topnav {
    background-color: #fb891f;
    overflow: hidden;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.topnav a {
    float: right;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 5px;
}

.topnav a:hover {
    background-color: #2d3748;
    transform: translateY(-2px);
}

.topnav .split {
    float: left !important;
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(45deg, #f5f4f3, #ffed4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
      

      /* Hero section - Responsive height and blur [web:3][web:8] */
      .bg-img {
        position: relative;
        height: 50vh;
        min-height: 400px;
        width: 100%;
        border: 1px solid rgb(192, 102, 5);
        overflow: hidden;
      }

      .bg-img img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        filter: blur(1px);
      }

      .content {
        text-align: center;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.5);
        color: #f1f1f1;
        width: 100%;
        padding: 20px;
      }

      .content h1 {
        font-size: clamp(32px, 5vw, 70px);
      }

      /* Section styles - Remove fixed widths, use container [web:1] */
      .karya, .sanstha, .mandir, .padma, .prabandh, .foot {
        text-align: center;
        padding: 40px 20px;
        width: 100%;
      }

      .karya {
        background-color: #f8ca80;
        height: auto;
      }

      .sanstha {
        background-color: #f3cb97;
        height: auto;
      }

      .mandir {
        background-color: #f8ca80;
        height: auto;
      }

      .mandir_shloka, .padma_shloka {
        font-size: 20px;
        white-space: pre-line;
      }

      .padma {
        background-color: #f3cb97;
        height: auto;
      }

      .prabandh {
        background-color: #f8ca80;
        height: 80px;
      }

      /* Responsive gallery using CSS Grid [web:4][web:9] */
      .prabandh_img {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px 0;
        max-width: 1370px;
        margin: 0 auto;
      }

      .gallery {
        position: relative;
        background: #f8ca80;
        border-radius: 8px;
        overflow: hidden;
      }

      .gallery img {
        width: 100%;
        height: 200px;
        object-fit: cover;
      }

      .desc pre {
        font-weight: bold;
        padding: 10px;
        background: rgba(0,0,0,0.1);
      }

      /* Fix objectives list - Use proper ul/ol */
      .objectives {
        list-style-position: inside;
        text-align: left;
        max-width: 800px;
        margin: 20px auto;
      }

      .objectives li {
        margin-bottom: 10px;
        padding: 5px;
      }

      /* Footer */
      .foot {
        background-color: #080808;
        color: #ddd;
        height: auto;
        padding: 40px 20px;
      }

      .foot h1 {
        font-size: clamp(28px, 4vw, 45px);
        font-weight: lighter;
        margin-bottom: 20px;
      }

      .foot p {
        font-size: 16px;
      }

      .copyright {
        color: #696767;
        font-size: 14px;
        margin-top: 20px;
      }

      /* Media Queries for responsiveness [web:1][web:6] */
      @media screen and (max-width: 768px) {
        .topnav {
          flex-direction: column;
          text-align: center;
        }

        .topnav a {
          display: block;
          width: 100%;
          padding: 12px;
          font-size: 16px;
        }

        .topnav a.split {
          order: -1;
          font-size: 24px;
        }

        .bg-img {
          height: 40vh;
        }

        .content {
          padding: 15px;
        }

        .prabandh_img {
          grid-template-columns: 1fr;
        }

        .mandir_shloka, .padma_shloka {
          font-size: 16px;
        }
      }

      @media screen and (max-width: 480px) {
        .content h1 {
          font-size: 28px;
        }

        .karya, .sanstha, .mandir, .padma {
          padding: 30px 15px;
        }

        .objectives {
          padding-left: 20px;
        }
      }