  @import url('https://fonts.googleapis.com/css2?family=Yatra+One&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Mukta+Vaani:wght@200;300;400;500;600;700;800&family=Yatra+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amita:wght@400;700&display=swap');
  .yatra-one-regular {
    font-family: "Yatra One", system-ui;
    font-weight: 400;
    font-style: normal;
  }

.amita-regular {
  font-family: "Amita", serif;
  font-weight: 400;
  font-style: normal;
}

.amita-bold {
  font-family: "Amita", serif;
  font-weight: 700;
  font-style: normal;
}

  .mukta-vaani-regular {
    font-family: "Mukta Vaani", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;

    flex-direction: column;
  }

  .ashramshala-header {
    width: 100%;
    max-width: 1200px;
    padding: 20px 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;


  }

  .mandala-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    margin-bottom: 2%;
  }

  .ashramshala-title {
    color: #8B4513;
    font-size: 28px;
    text-align: center;
    font-weight: 600;
  }

  .mandala {
    width: 40px;
    height: 40px;
    background-image: url('/images/mandala.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  /* ---------- for vahnak-kayada customized mandala font size-------- */
  .mandala-1 {
    width: 80px;
    height: 80px;
    background-image: url('/images/mandala.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  /* Add a decorative dot pattern around the first letter */
  .ashramshala-title::first-letter {
    position: relative;
  }

  .ashramshala-title::before {
    top: 0;
    color: #8B4513;
    font-size: 42px;
  }

  .ashram-content-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .ashram-content-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 40px;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  }

  .ashram-content-box-mini {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 40px;
    position: relative;
    width: 70%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);

  }

  /* Left and right borders */
  .ashram-content-box::before,
  .ashram-content-box::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #8B4513;
  }

  .ashram-content-box::before {
    left: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }

  .ashram-content-box::after {
    right: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }


  .ashram-content-box-mini::before,
  .ashram-content-box-mini::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #8B4513;
  }

  .ashram-content-box-mini::before {
    left: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }

  .ashram-content-box-mini:after {
    right: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }


  .ashram-paragraph {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
  }

  .ashram-paragraph-mini {
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
  }

  .ashram-paragraph-mini:last-child {
    margin-bottom: 0;
  }

  .ashram-paragraph:last-child {
    margin-bottom: 0;
  }


  /* Responsive Design */
  @media (max-width: 992px) {
    .tribal-schools-table {
      font-size: 14px;
    }
  }

  @media (max-width: 768px) {
    .ashram-content-box {
      padding: 20px 30px;
    }

    .mandala-container {
      gap: 10px;
    }

    .mandala,
    .tribal-mandala {
      width: 25px;
      height: 25px;
    }

    .tribal-border-left,
    .tribal-border-right {
      width: 15px;
    }
  }

  @media (max-width: 576px) {
    .ashram-content-box {
      padding: 15px 25px;
    }

    .tribal-header-container {
      gap: 10px;
      padding: 0 10px;
    }

    .tribal-border-left,
    .tribal-border-right {
      display: none;
    }

    .tribal-table-container {
      padding: 0;
      width: 300px;
    }

    .ashramshala-header {
      padding-left: 10px;
      padding-right: 10px;
    }

    .ashramshala-title h1 {
      font-size: 28px;
      
    }

  }

  @media (max-width: 480px) {
    .ashramshala-title h1 {
      font-size: 28px;
      
    }

    .ashramshala-title::before {
      font-size: 28px;
      left: -8px;
    }
  }

  .tribal-header {
    width: 100%;
    padding: 15px 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
  }

  .tribal-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    margin-top: 5%;
    padding-bottom: 2%;

  }

  .tribal-title {
    color: #8B4513;
    font-size: 26px;
    text-align: center;
    font-weight: 600;
  }

  .tribal-title-school {
    color: #8B4513;
    font-size: 26px;
    text-align: center;
    font-weight: 600;
  }

  .tribal-mandala {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-image: url('/images/mandala.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }



  .tribal-table-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;

  }

  /* Tribal Border Pattern */
  .tribal-border-left,
  .tribal-border-right {
    width: 20px;
    background-repeat: repeat-y;
    flex-shrink: 0;


  }

  .tribal-border-left {
    background-image: url('/images/V-border.png');
  }

  .tribal-border-right {
    background-image: url('/images/V-border.png');
  }

  /* Table Wrapper */
  .tribal-table-wrapper {
    flex-grow: 1;
    overflow-x: auto;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    margin: auto 3%;
  }

  /* Table Styles */
  .tribal-schools-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

  .tribal-schools-table thead {
    background-color: #8B4513;
    color: white;
  }

  .tribal-schools-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .tribal-schools-table th:last-child {
    border-right: none;
  }

  .tribal-schools-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
  }

  .tribal-schools-table td:last-child {
    border-right: none;
  }

  .tribal-schools-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  .tribal-schools-table tbody tr:hover {
    background-color: #f0f0f0;
  }

  .nidhi-sub-paragraph-title {
    font: bolder;
    font-weight: 600;
    text-align: center;

  }


  /* ----------------------------------------------------------------------------------------------- */
  .ashram-header {
    padding-top: 20px;
    padding-bottom: 10px;

  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
  }

  .mandala-left,
  .mandala-right {
    width: 40px;
    height: 40px;
    background-image: url('/images/mandala.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
  }

  .mandala-left {
    background-position: 0% center;
  }

  .mandala-right {
    background-position: 100% center;
  }

  .ashram-title {
    font-size: 32px;
    color: #8B4513;
    margin: 0 20px;
    text-align: center;
    font-weight: bold;
  }

  /* .content-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
} */

  /* Responsive styles */
  @media (max-width: 768px) {
    .ashram-title {
      font-size: 1.8rem;
      margin: 0 10px;
    }

    .mandala-left,
    .mandala-right {
      width: 40px;
      height: 40px;
    }
  }

  @media (max-width: 480px) {
    .ashram-title {
      font-size: 1.5rem;
      margin: 0 8px;
    }

    .mandala-left,
    .mandala-right {
      width: 30px;
      height: 30px;
      
    }
  }


  .filter-container {
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    position: relative;
    margin: 3% auto;
    padding-left: 7%;
    padding-right: 7%;
   
  }

  .disply-fel{
    display: flex;
    flex-direction: column ;
    margin: 0 auto;
    height: 100%;
  }


  @media (max-width: 768px) {
    .disply-fel{
      width: 100%;
    }

    .filter-buttons{
    align-items: center;
    }
  }
  /* Create brown borders on left and right */
  .filter-container::before,
  .filter-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    background-color: #8B4513;
     display:flex;
    flex-direction: column;
  }

  .filter-container::before {
    left: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }

  .filter-container::after {
    right: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .filter-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .filter-header i {
    font-size: 20px;
    color: #8B4513;
    margin-right: 10px;
  }

  .filter-header i img {
    margin-top: 10px;
  }

  .filter-header h2 {
    font-size: 20px;
    color: #8B4513;
    font-weight: 600;
  }

  .divider {
    border: none;
    height: 1px;
    background-color: #8B4513;
    margin-bottom: 25px;
  }

  .filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
  }

  .filter-group {
    display: flex;
    flex-direction: column;
  }

  .filter-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  .filter-label i {
    font-size: 18px;
    color: #8B4513;
    margin-right: 10px;
  }

  .filter-label label {
    font-size: 18px;
    color: #8B4513;
    font-weight: 600;
  }

  .filter-input {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Noto Sans Devanagari', Arial, sans-serif;
    width: 100%;
  }

  .filter-input::placeholder {
    color: #999;
  }

  .filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    
  }

  .btn {
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
  }

  .btn-search {
    background: linear-gradient(to right, #7B3F00, #FFB66A);
    color: white;
  }

  .btn-search:hover {
    background: linear-gradient(to right, #7B3F00, #704012);
  }

  .btn-reset {
    background-color: #f0e6dd;
    color: #8B4513;
  }

  .btn-reset:hover {
    background-color: #e6d6c6;
  }

  /* Responsive styles */
  @media (max-width: 768px) {
    .filter-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }

    .filter-buttons {
      flex-direction: column;
      gap: 10px;
    }

    .btn {
      width: 100%;
    }
  }

  @media (max-width: 480px) {
    .filter-container {
      padding: 20px;
    }

    .filter-header h2 {
      font-size: 20px;
    }

    .filter-label label {
      font-size: 16px;
    }
  }



  .container {
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .6);
    overflow: hidden;
    margin: 5% auto;
  }

  @media (max-width: 542px) {
    .container {
     margin-bottom: 5% auto;
     overflow-y: scroll;
     scrollbar-width: thin;
    }
    
  }

  .documents-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
  }

  /* Table Header */
  .documents-table thead {
    background-color: #8B4513;
    color: white;
  }

  .documents-table img {
    margin-top: 10px;
    align-items: center;
  }

  .documents-table th {
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .documents-table th:last-child {
    border-right: none;
  }

  .documents-table th i {
    margin-right: 8px;
  }

  /* Table Body */
  .documents-table tbody tr {
    border-bottom: 1px solid #eee;
  }

  .documents-table tbody tr:last-child {
    border-bottom: none;
  }

  .documents-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  .documents-table td {
    padding: 15px 10px;
    font-size: 15px;
    color: #333;
  }

  /* Column Widths */
  .column-number {
    width: 5%;
    text-align: center;
  }

  .column-subject {
    width: 30%;
    text-align: center;
  }

  .column-subject img {
    padding-top: 5px;

  }

  .column-type {
    width: 20%;
  }

  .column-type img {
    padding-top: 13px;


  }

  .column-date {
    width: 15%;
  }

  .column-date img {
    padding-top: 10px;

  }

  .column-size {
    width: 10%;
    text-align: center;
  }

  .column-size img {
    padding-top: 10px;

  }


  .column-download {
    width: 15%;
    text-align: center;
  }

  .column-download img {
    padding-top: 10px;

  }

  /* Download Button */
  .download-btn {
    display: inline-block;
    background-color: #8B4513;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
  }

  .download-btn:hover {
    background-color: #704012;
  }

  .download-btn i {
    margin-right: 5px;
  }

  .documents-table th:nth-of-type(5) {
    width: 300px;

  }

  /* Responsive Styles */
  @media (max-width: 992px) {
    .documents-table {
      font-size: 14px;
    }

    .documents-table th,
    .documents-table td {
      padding: 12px 8px;
    }

    .download-btn {
      padding: 6px 12px;
      font-size: 13px;
    }

  }

  @media (max-width: 768px) {
    .container {
      border-radius: 0;
      box-shadow: none;
    }

    .documents-table {
      display: block;
      overflow-x: auto;
      white-space: nowrap;
    }

    .documents-table thead,
    .documents-table tbody,
    .documents-table tr,
    .documents-table th,
    .documents-table td {
      display: block;
    }

    .documents-table thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }

    .documents-table tr {
      border: 1px solid #ccc;
      margin-bottom: 10px;
      border-radius: 5px;
      overflow: hidden;
    }

    .documents-table td {
      border: none;
      border-bottom: 1px solid #eee;
      position: relative;
      padding-left: 50%;
      text-align: left;
    }

    .documents-table td:before {
      position: absolute;
      top: 15px;
      left: 10px;
      width: 45%;
      padding-right: 10px;
      white-space: nowrap;
      font-weight: bold;
    }

    .documents-table td:nth-of-type(1):before {
      content: "क्रमांक";
    }

    .documents-table td:nth-of-type(2):before {
      content: "विषय";
    }

    .documents-table td:nth-of-type(3):before {
      content: "दस्तावेजाचे प्रकार";
    }

    .documents-table td:nth-of-type(4):before {
      content: "दिनांक";
    }

    .documents-table td:nth-of-type(5):before {
      content: "आकार (एमबी)";
    }

    .documents-table td:nth-of-type(6):before {
      content: "डाऊनलोड";
    }
  }


  /* ----------------------------------------------pdfviwer------------------------------------------------ */


  main {
    width: 70%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0% auto;
  }

  /* Bordered container styles */
  .bordered-container {
    position: relative;
    width: 95%;
    height: 95vh;
    max-width: 1400px;
  }

  /* Border styles */
  .border {
    position: absolute;
    border-image: url('/images/v-border.png');

  }

  .border-top {
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background-repeat: repeat-x;
    background-size: auto 100%;
  }

  .border-right {
    top: -30px;

    width: 30px;
    height: calc(100% + 60px);
    background-repeat: repeat-y;
    background-size: 100% auto;
  }

  .border-bottom {
    bottom: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background-repeat: repeat-x;
    background-size: auto 100%;
  }

  .border-left {
    top: -30px;
    left: -30px;
    width: 30px;
    height: calc(100% + 60px);
    background-repeat: repeat-y;
    background-size: 100% auto;
  }

  /* PDF viewer container */
  .pdf-viewer-container {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .pdf-content {
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }

  .pdf-document {
    flex: 1;
    overflow-y: auto;
    /* Make it scrollable */
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
    background-color: #f5f5f5;
  }

  .pdf-document::-webkit-scrollbar {
    width: 12px;
  }

  .pdf-document::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .pdf-document::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
  }

  .pdf-document::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  #pdf-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    font-size: 18px;
    color: #666;
  }

  #pdf-pages-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  .pdf-page {
    margin: 0 auto;
    display: block;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
  }

  .pdf-page canvas {
    display: block;
    width: 100%;
    height: 100%;
  }

  .page-number {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
  }

  .pdf-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
  }

  .pdf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans Devanagari', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    transition: color 0.3s;
  }

  .pdf-btn i {
    margin-right: 8px;
  }

  .pdf-btn:hover {
    color: #0066cc;
  }

  /* Responsive styles */
  @media (max-width: 992px) {
    .bordered-container {
      width: 98%;
      height: 98vh;
    }
  }

  @media (max-width: 768px) {
    .bordered-container {
      width: 100%;
      height: 100vh;
    }

    .border-top,
    .border-bottom {
      height: 20px;
    }

    .border-left,
    .border-right {
      width: 20px;
    }

    .border-top {
      top: -20px;
    }

    .border-bottom {
      bottom: -20px;
    }

    .border-left {
      left: -20px;
      top: -20px;
      height: calc(100% + 40px);
    }

    .border-right {
      right: -20px;
      top: -20px;
      height: calc(100% + 40px);
    }

    .pdf-document {
      padding: 15px;
    }

    .pdf-controls {
      padding: 10px;
      flex-wrap: wrap;
    }

    .pdf-btn {
      font-size: 12px;
      padding: 6px 12px;
    }
  }


  @media(max-width: 542px) {
   .pdf-viewer-container{
    margin: 0%;
    padding: 0%;
    width: 300px;
    height: 90%;
    width: 100%;
   }

  
  }

  @media (max-width: 576px) {
    main {
      padding: 10px;
    }

    .border-top,
    .border-bottom {
      height: 15px;
    }

    .border-left,
    .border-right {
      width: 15px;
    }

    .border-top {
      top: -15px;
    }

    .border-bottom {
      bottom: -15px;
    }

    .border-left {
      left: -15px;
      top: -15px;
      height: calc(100% + 30px);
    }

    .border-right {
      right: -15px;
      top: -15px;
      height: calc(100% + 30px);
    }

    .pdf-document {
      padding: 10px;
    }

    #pdf-pages-container {
      padding: 10px 0;
    }

    .pdf-btn {
      flex: 1;
      min-width: 100px;
      font-size: 11px;
      padding: 5px 10px;
    }
  }


  /* ----------------------------------vahanak-kadak li ul format css----------------------------------------- */


  .yojna-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #8B4513;
    font-family: 'Mukta Vaani', sans-serif;
  }

  .yojna-list {
    margin-left: 20px;
  }

  .yojna-list li {
    margin-bottom: 8px;
  }

  .eligibility-section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: #8B4513;
    font-family: 'Mukta Vaani', sans-serif;
  }

  .eligibility-list {
    margin-left: 20px;
    margin-bottom: 25px;
  }

  .application-heading,
  .contact-heading {
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
    co
  }

  .no-application-needed {
    margin-left: 14px;
    text-align: center;
  }

  .contact-details {
    margin-left: 20px;
    margin-top: 10px;
    text-align: center;
  }

  .pgmay-tb-header {
    margin-bottom: 10px;
    align-self: center;
    text-align: center;
  }

  /* -----------------प्रधानमंत्री वन धन विकास योजना
---------------------------- */
  .funding-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
  }

  .funding-table th,
  .funding-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    
  }

  .funding-table th {
    background-color: #7B3F00;
    font-weight: bold;
    color: white;
  }

  .funding-table tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  .funding-table tr:hover {
    background-color: #f1f1f1;
  }

  .funding-table-caption {
    font-weight: bold;
    margin-bottom: 10px;
  }

  .second-phase-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
  }

  .second-phase-table th,
  .second-phase-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }

  .second-phase-table th {
    background-color: #7B3F00;
    font-weight: bold;
    color: white;
  }

  .second-phase-table tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  .second-phase-table tr:hover {
    background-color: #f1f1f1;
  }

  /* ------------------------school registration form-------------------------- */

  
    .registration-container {
        max-width: 1000px;
        margin: 20px auto;
        padding: 0;
        width: 100%;
    }

    .registration-header {
        background: linear-gradient(to right, #6b3300, #cd7f32, #e6a44d);
        color: white;
        text-align: center;
        padding: 20px;
        border-radius: 10px;
        position: relative;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .registration-title-marathi {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .registration-title-english {
        font-size: 18px;
        margin-top: 5px;
    }

    .registration-icon-left {
        font-size: 24px;
        margin-right: 15px;
    }

    .registration-icon-right {
        font-size: 24px;
        margin-left: 15px;
    }

    .registration-cap-icon {
        width: 24px;
        height: 24px;
        display: inline-block;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 3L1 9l11 6 9-4.91V17h2V9L12 3z"/><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82z"/></svg>');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }


    .registration-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .registration-steps-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }

    .registration-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        width: 25%;
    }

    .registration-step-circle {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        font-size: 24px;
        margin-bottom: 10px;
        color: #fff;
        position: relative;
        z-index: 2;
    }

    .registration-step-active .registration-step-circle {
        background: linear-gradient(135deg, #e6a44d, #cd7f32);
        box-shadow: 0 4px 8px rgba(205, 127, 50, 0.3);
    }

    .registration-step-inactive .registration-step-circle {
        background-color: #d1d1d1;
        color: #333;
    }

    .registration-step-label {
        font-weight: bold;
        text-align: center;
        color: #333;
    }

    .registration-step-active .registration-step-label {
        color: #8B4513;
    }

    .registration-step-line {
        height: 2px;
        background-color: #d1d1d1;
        position: absolute;
        top: 30px;
        width: 100%;
        left: -50%;
        z-index: 1;
    }

    .registration-step:first-child .registration-step-line {
        display: none;
    }

    .registration-step-active .registration-step-line {
        background-color: #cd7f32;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .registration-steps-wrapper {
            flex-direction: column;
            align-items: flex-start;
        }

        .registration-step {
            width: 100%;
            flex-direction: row;
            margin-bottom: 15px;
        }

        .registration-step-circle {
            margin-right: 15px;
            margin-bottom: 0;
            width: 40px;
            height: 40px;
            font-size: 18px;
        }

        .registration-step-line {
            display: none;
        }
    }

    .tribal-registration-container {
        max-width: 1000px;
        margin: 0 auto;
        background-color: #f9f2e7;
        border-radius: 15px;
        padding: 40px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
        position: relative;
        width: 100%;
    }

    /* Border implementation using background images */
    .tribal-registration-border-top,
    .tribal-registration-border-bottom,
    .tribal-registration-border-left,
    .tribal-registration-border-right {
        position: absolute;
        background-image: url("/images/v-border2.png");
        background-repeat: repeat;
        z-index: 1;
        padding: 10px;
    }

    .tribal-registration-border-top {
        top: 0;
        left: 0;
        right: 0;
        height: 25px;
        background-position: top;
    }

    .tribal-registration-border-bottom {
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        background-position: bottom;
    }

    .tribal-registration-border-left {
        top: 30px;
        bottom: 30px;
        left: 0;
        width: 30px;
        background-position: left;
    }

    .tribal-registration-border-right {
        top: 30px;
        bottom: 30px;
        right: 0;
        width: 30px;
        background-position: right;
    }

    .tribal-registration-content {
        position: relative;
        z-index: 2;
        margin: 5%;
    }

    .tribal-registration-section {
        margin-bottom: 35px;
    }

    .tribal-registration-section-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 3px solid #b87333;
        padding-bottom: 12px;
    }

    .tribal-registration-section-icon {
        width: 28px;
        height: 28px;
        margin-right: 12px;
        color: #8B4513;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .tribal-registration-section-title {
        font-size: 20px;
        font-weight: bold;
        color: #8B4513;
    }

    .tribal-registration-row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -12px 20px;
    }

    .tribal-registration-column {
        flex: 1;
        padding: 0 12px;
        min-width: 280px;
        margin-bottom: 20px;
    }

    .tribal-registration-label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #8B4513;
        font-size: 14px;
    }

    .tribal-registration-label::before {
        content: "•";
        color: #b87333;
        margin-right: 6px;
        font-size: 16px;
    }

    .tribal-registration-input {
        width: 100%;
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 16px;
        box-sizing: border-box;
        background-color: white;
        transition: border-color 0.3s ease;
    }

    .tribal-registration-input:focus {
        outline: none;
        border-color: #b87333;
        box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.1);
    }

    .tribal-registration-input.tribal-registration-error {
        border-color: #ff3333;
        background-color: #fff8f8;
    }

    .tribal-registration-error-message {
        color: #ff3333;
        font-size: 12px;
        margin-top: 6px;
        display: none;
    }

    .tribal-registration-error-message.tribal-registration-show {
        display: block;
    }

    .tribal-registration-select {
        width: 100%;
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 16px;
        background-color: white;
        box-sizing: border-box;
        cursor: pointer;
        transition: border-color 0.3s ease;
    }

    .tribal-registration-select:focus {
        outline: none;
        border-color: #b87333;
        box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.1);
    }

    .tribal-registration-date {
        width: 100%;
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 16px;
        box-sizing: border-box;
        background-color: white;
        transition: border-color 0.3s ease;
    }

    .tribal-registration-date:focus {
        outline: none;
        border-color: #b87333;
        box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.1);
    }

    .tribal-registration-email-group {
        display: flex;
        border-radius: 6px;
        overflow: hidden;
        border: 2px solid #ddd;
        transition: border-color 0.3s ease;
    }

    .tribal-registration-email-group:focus-within {
        border-color: #b87333;
        box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.1);
    }

    .tribal-registration-email-input {
        flex: 1;
        padding: 12px;
        border: none;
        font-size: 16px;
        background-color: white;
    }

    .tribal-registration-email-input:focus {
        outline: none;
    }

    .tribal-registration-otp-button {
        padding: 12px 20px;
        background: linear-gradient(135deg, #7B3F00, #FFB66A);
        color: white;
        border: none;
        cursor: pointer;
        font-weight: bold;
        white-space: nowrap;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .tribal-registration-otp-button:hover {
        background: linear-gradient(135deg, #a05f20, #c99417);
        transform: translateY(-1px);
    }

    .tribal-registration-otp-button:disabled {
        background: #cccccc;
        cursor: not-allowed;
        transform: none;
    }

    .tribal-registration-register-button {
        display: block;
        width: 150px;
        margin: 40px auto 20px;
        padding: 15px;
        background: linear-gradient(135deg, #7B3F00, #FFB66A);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .tribal-registration-register-button:hover {
        background: linear-gradient(135deg, #a05f20, #c99417);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(184, 115, 51, 0.3);
    }

    .tribal-registration-register-button:disabled {
        background: #cccccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .tribal-registration-login-link {
        text-align: center;
        margin-top: 20px;
        color: #8B4513;
        font-size: 16px;
    }

    .tribal-registration-login-link a {
        color: #b87333;
        text-decoration: none;
        font-weight: bold;
    }

    .tribal-registration-login-link a:hover {
        text-decoration: underline;
    }

    .tribal-registration-otp-countdown {
        font-size: 14px;
        color: #b87333;
        margin-top: 8px;
        display: none;
        font-weight: bold;
    }

    .tribal-registration-otp-countdown.tribal-registration-show {
        display: block;
    }

    .tribal-registration-otp-verified {
        color: #28a745;
        font-size: 14px;
        margin-top: 8px;
        display: none;
        font-weight: bold;
    }

    .tribal-registration-otp-verified.tribal-registration-show {
        display: block;
    }

    .tribal-registration-tooltip {
        position: relative;
        display: inline-block;
        margin-left: 8px;
        cursor: help;
    }

    .tribal-registration-tooltip-icon {
        color: #b87333;
        font-size: 14px;
        font-weight: bold;
        width: 18px;
        height: 18px;
        border: 2px solid #b87333;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: white;
    }

    .tribal-registration-tooltip-text {
        visibility: hidden;
        width: 220px;
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px;
        position: absolute;
        z-index: 1000;
        bottom: 125%;
        left: 50%;
        margin-left: -110px;
        opacity: 0;
        transition: opacity 0.3s;
        font-weight: normal;
        font-size: 12px;
    }

    .tribal-registration-tooltip:hover .tribal-registration-tooltip-text {
        visibility: visible;
        opacity: 1;
    }

    .tribal-registration-success-message {
        background-color: #d4edda;
        border: 1px solid #c3e6cb;
        color: #155724;
        padding: 15px;
        border-radius: 6px;
        margin-bottom: 20px;
        display: none;
    }

    .tribal-registration-success-message.tribal-registration-show {
        display: block;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .tribal-registration-container {
            padding: 30px 15px;
            margin: 10px;
        }

        .tribal-registration-border-top,
        .tribal-registration-border-bottom {
            height: 20px;
        }

        .tribal-registration-border-left,
        .tribal-registration-border-right {
            width: 20px;
            top: 20px;
            bottom: 20px;
        }

        .tribal-registration-column {
            flex: 100%;
            min-width: auto;
        }

        .tribal-registration-email-group {
            flex-direction: column;
        }

        .tribal-registration-email-input {
            border-bottom: 1px solid #ddd;
        }

        .tribal-registration-otp-button {
            width: 100%;
            justify-content: center;
        }

        .tribal-registration-section-title {
            font-size: 16px;
        }
    }

    /* ----------------------login page css------------------------------------------- */

      /* Login Container */
        .tribal-login-container {
            background-color: #EDE5DD;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 450px;
            padding: 40px;
            text-align: center;
            margin: 5% auto;
        }
        
        /* Header Section */
        .tribal-login-header {
            margin-bottom: 30px;
        }
        
        .tribal-login-school-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 20px;
            position: relative;
        }
        
        .tribal-login-school-icon svg {
            width: 100%;
            height: 100%;
            fill: #8B4513;
        }
        
        .tribal-login-title-container {
            position: relative;
            display: inline-block;
            margin-bottom: 10px;
        }
        
        .tribal-login-title {
            color: #8B4513;
            font-size: 32px;
            font-weight: bold;
            margin: 0 60px;
        }
        
        .tribal-login-mandala {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
        }
        
        .tribal-login-mandala-left {
            left: 0;
        }
        
        .tribal-login-mandala-right {
            right: 0;
        }
        
        .tribal-login-subtitle {
            color: #333;
            font-size: 16px;
            margin-top: 5px;
        }
        
        /* Form Elements */
        .tribal-login-form {
            text-align: left;
        }
        
        .tribal-login-form-group {
            margin-bottom: 25px;
        }
        
        .tribal-login-label {
            display: block;
            color: #8B4513;
            font-weight: bold;
            margin-bottom: 8px;
            font-size: 16px;
        }
        
        .tribal-login-input-container {
            display: flex;
            border: 1px solid #ddd;
            border-radius: 5px;
            overflow: hidden;
            background-color: white;
        }
        
        .tribal-login-input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            font-size: 16px;
            outline: none;
        }
        
        .tribal-login-input-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            background-color: #f8f8f8;
            color: #8B4513;
            font-size: 20px;
            cursor: pointer;
        }
        
        .tribal-login-button {
            width: 100%;
            padding: 12px;
            background-color: #7B3F00;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 10px;
            transition: background-color 0.3s;
        }
        
        .tribal-login-button:hover {
            background-color: #7c3c10;
        }
        
        /* Signup Section */
        .tribal-login-signup {
            margin-top: 30px;
            text-align: center;
        }
        
        .tribal-login-signup-text {
            color: #333;
            margin-bottom: 15px;
        }
        
        .tribal-login-signup-button {
            padding: 10px 30px;
            background-color: #8B4513;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .tribal-login-signup-button:hover {
            background-color: #7c3c10;
        }
        
        /* Error Messages */
        .tribal-login-error {
            color: #d9534f;
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 480px) {
            .tribal-login-container {
                padding: 30px 20px;
            }
            
            .tribal-login-title {
                font-size: 28px;
                margin: 0 40px;
            }
            
            .tribal-login-mandala {
                width: 30px;
                height: 30px;
            }
        }


        /* ------------------------------------------------------------------------------------------------------------------------- */

        
        .form-container {
            max-width: 1000px;
            margin: 0 auto;
            background: #EDE5DD;
            padding: 0;
            position: relative;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            border-radius: 8px;
            overflow: hidden;
            margin: 5% auto;
        }

        .inner-border-wrapper {
            position: relative;
            margin: 20px;
            padding: 30px;
            background: #EDE5DD;
            border: 30px solid transparent;
            border-image: url('/images/v-border2.png') 30 repeat;
            border-radius: 8px;
            min-height: 600px;
        }

        .inner-border-wrapper::before {
            content: '';
            position: absolute;
            top: -30px;
            left: -30px;
            right: -30px;
            height: 30px;
            background-image: url('/images/v-border2.png');
            background-repeat: repeat-x;
            background-size: 30px auto;
            z-index: 1;
        }

        .inner-border-wrapper::after {
            content: '';
            position: absolute;
            bottom: -30px;
            left: -30px;
            right: -30px;
            height: 30px;
            background-image: url('/images/v-border2.png');
            background-repeat: repeat-x;
            background-size: 30px auto;
            z-index: 1;
        }

        .form-content {
            position: relative;
            z-index: 2;
            background: #EDE5DD;
            padding: 20px;
            border-radius: 4px;
        }

        .section-title {
            color: #8b4513;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 25px;
            border-bottom: 3px solid #d4a574;
            padding-bottom: 8px;
            text-align: left;
            position: relative;
        }

        .section-title::before {
            
            position: absolute;
            left: 0;
            color: #8b4513;
            font-size: 20px;
        }

        .section-title::after {
            
            position: absolute;
            right: 0;
            color: #8b4513;
            font-size: 20px;
        }

        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .form-group {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-width: 200px;
        }

        .form-group.full-width {
            flex: 100%;
            min-width: 100%;
        }

        label {
            color: #8b4513;
            font-size: 14px;
            margin-bottom: 8px;
            font-weight: 600;
            line-height: 1.3;
        }

        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="tel"],
        select,
        textarea {
            padding: 12px;
            border: 2px solid #d4a574;
            border-radius: 6px;
            font-size: 14px;
            background: white;
            transition: all 0.3s ease;
            width: 100%;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="password"]:focus,
        input[type="tel"]:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: #8b4513;
            box-shadow: 0 0 8px rgba(139, 69, 19, 0.3);
            transform: translateY(-1px);
        }

        select {
            cursor: pointer;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
            background-position: right 8px center;
            background-repeat: no-repeat;
            background-size: 16px;
            padding-right: 35px;
        }

        textarea {
            resize: vertical;
            min-height: 90px;
            font-family: inherit;
        }

        .file-upload {
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .file-upload input[type="file"] {
            position: absolute;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }

        .file-upload-label {
            display: block;
            padding: 12px;
            border: 2px dashed #d4a574;
            border-radius: 6px;
            background: white;
            cursor: pointer;
            text-align: center;
            color: #666;
            transition: all 0.3s ease;
        }

        .file-upload:hover .file-upload-label {
            background: #f9f9f9;
            border-color: #8b4513;
            transform: translateY(-1px);
        }

        .button-group {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 15px 35px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 140px;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-submit {
            background: linear-gradient(135deg, #7B3F00, #FFB66A);
            color: white;
            box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
        }

        .btn-submit:hover {
            background: linear-gradient(135deg, #7B3F00, #FFB66A);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
        }

        .btn-reset {
            background: linear-gradient(135deg,  #7B3F00, #FFB66A);
            color: white;
            box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
        }

        .btn-reset:hover {
            background: linear-gradient(135deg, #7B3F00, #FFB66A);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
        }

        .password-toggle {
            position: relative;
        }

        .password-toggle input {
            padding-right: 45px;
        }

        .toggle-btn {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #8b4513;
            cursor: pointer;
            font-size: 16px;
            padding: 5px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .toggle-btn:hover {
            background: rgba(139, 69, 19, 0.1);
        }

        .error {
            color: #d32f2f;
            font-size: 12px;
            margin-top: 4px;
            font-weight: 500;
        }

        .success-message {
            background: linear-gradient(135deg, #4caf50, #45a049);
            color: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 25px;
            text-align: center;
            display: none;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
            animation: slideDown 0.5s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            body {
                padding: 10px;
            }

            .inner-border-wrapper {
                margin: 15px;
                padding: 20px;
                border-width: 20px;
            }

            .inner-border-wrapper::before,
            .inner-border-wrapper::after {
                height: 20px;
                background-size: 20px auto;
                top: -20px;
                bottom: -20px;
            }

            .inner-border-wrapper::after {
                top: auto;
                bottom: -20px;
            }

            .form-content {
                padding: 15px;
            }

            .form-row {
                flex-direction: column;
                gap: 15px;
            }

            .form-group {
                min-width: 100%;
            }

            .button-group {
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
                max-width: 300px;
            }

            .section-title {
                font-size: 16px;
            }
        }

        @media (max-width: 480px) {
            .inner-border-wrapper {
                margin: 10px;
                padding: 15px;
                border-width: 15px;
            }

            .inner-border-wrapper::before,
            .inner-border-wrapper::after {
                height: 15px;
                background-size: 15px auto;
                top: -15px;
                bottom: -15px;
            }

            .inner-border-wrapper::after {
                top: auto;
                bottom: -15px;
            }

            .form-content {
                padding: 12px;
            }

            label {
                font-size: 13px;
            }

            input[type="text"],
            input[type="email"],
            input[type="password"],
            input[type="tel"],
            select,
            textarea {
                padding: 10px;
                font-size: 13px;
            }
        }

        @media (max-width: 360px) {
            .inner-border-wrapper {
                border-width: 12px;
            }

            .inner-border-wrapper::before,
            .inner-border-wrapper::after {
                height: 12px;
                background-size: 12px auto;
                top: -12px;
                bottom: -12px;
            }

            .inner-border-wrapper::after {
                top: auto;
                bottom: -12px;
            }
        }

        /* Large screens */
        @media (min-width: 1200px) {
            .inner-border-wrapper {
                border-width: 40px;
            }

            .inner-border-wrapper::before,
            .inner-border-wrapper::after {
                height: 40px;
                background-size: 40px auto;
                top: -40px;
                bottom: -40px;
            }

            .inner-border-wrapper::after {
                top: auto;
                bottom: -40px;
            }
        }


        /* ---------------------------------------------gallery part 1---------------------------------------- */

         .gallery-container {
            width: 1000px;
            margin: 0 auto;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .gallery-header {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #a93226 100%);
            color: white;
            padding: 15px 30px;
            text-align: center;
            position: relative;
        }

        .gallery-header::before,
        .gallery-header::after {
            content: '🏛️';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 24px;
            opacity: 0.8;
        }

        .gallery-header::before {
            left: 20px;
        }

        .gallery-header::after {
            right: 20px;
        }

        .gallery-title {
            font-size: 24px;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            letter-spacing: 1px;
        }

        .photo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            padding: 30px;
            min-height: 400px;
        }

        .photo-item {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            background: #f9f9f9;
        }

        .photo-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
        }

        /* Ensure minimum 3 columns */
        @media (min-width: 1000px) {
            .photo-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* For screens smaller than 1000px, make container responsive but maintain minimum 3 columns */
        @media (max-width: 1000px) {
            .gallery-container {
                width: 100%;
                max-width: 1000px;
                margin: 0 10px;
            }
            
            .photo-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 15px;
                padding: 20px;
            }
            
            .photo-item img {
                height: 200px;
            }
        }

        /* Only go to 2 columns on very small screens */
        @media (max-width: 600px) {
            .photo-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
                padding: 15px;
            }
            
            .photo-item img {
                height: 150px;
            }
            
            .gallery-header {
                padding: 12px 20px;
            }
            
            .gallery-title {
                font-size: 20px;
            }
            
            .gallery-header::before,
            .gallery-header::after {
                font-size: 18px;
            }
        }

        /* Single column only on very small screens */
        @media (max-width: 400px) {
            .photo-grid {
                grid-template-columns: 1fr;
            }
            
            .gallery-header::before,
            .gallery-header::after {
                display: none;
            }
            
            .gallery-title {
                font-size: 18px;
            }
        }

        /* ---------------------------------------------------------------------------------------------------------------------------- */

        

.banner {
    position: relative;
    width: 80%;
    height: 120px;
    background: linear-gradient(to right, #7B3F00, #FFA64A, #7B3F00);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 20px;
    margin: 5% auto;
}

.content {
    text-align: center;
    z-index: 2;
    
}

.content h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
  
}

.content p {
    font-size: 18px;
}

.mandala {
    position: absolute;
    width: 150px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
    background-image: url('/images/1.png');
}

.left-mandala {
    left: -50px;
    top: 50px;
    
}

.right-mandala {
    right: -50px;
    top: -50px;
}

@media (max-width: 768px) {
    .banner {
        height: 100px;

    
    }
    
    .content h1 {
        font-size: 24px;
    }
    
    .content p {
        font-size: 14px;
    }
    
    .mandala {
        width: 100px;
        height: 100px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.mh-tribal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Section Styling */
.mh-tribal-officials-section {
    margin-bottom: 60px;
}

.mh-tribal-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.mh-tribal-section-header h2 {
    color: #8B4513;
    font-size: 28px;
    margin-bottom: 5px;
}

.mh-tribal-section-header .mh-tribal-underline {
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
    margin: 0 auto 10px;
}

.mh-tribal-section-header p {
    color: #666;
    font-size: 16px;
}

/* Officials Row */
.mh-tribal-officials-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Official Card */
.mh-tribal-official-card {
    position: relative;
    width: 280px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
}

.mh-tribal-border-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #8B4513;
}

.mh-tribal-pattern-border {
    width: 30px;
    background-repeat: repeat-y;
    position: relative;
}

.mh-tribal-pattern-border.mh-tribal-left {
  background-image: url('/images/V-border.png');
}

.mh-tribal-pattern-border.mh-tribal-right {
  background-image: url('/images/V-border.png');
}

.mh-tribal-card-content {
    flex: 1;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mh-tribal-card-content h3{
    font: bolder;
}

.mh-tribal-photo-container {
    width: 180px;
    height: 180px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.mh-tribal-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-tribal-official-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}

.mh-tribal-designation {
    background-color: #8B4513;
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
    max-width: 70%;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
    .mh-tribal-officials-row {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mh-tribal-official-card {
        width: 250px;
    }
    
    .mh-tribal-photo-container {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 576px) {
    .mh-tribal-officials-row {
        flex-direction: ;
        align-items: center;
    }
    
    .mh-tribal-official-card {
        width: 280px;
    }
}

/* Section Styling */
.mtd-officials-section {
    padding: 40px 0;
    background-color: #ffffff;
    margin-bottom: 30px;
}

/* Section Header */
.mtd-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.mtd-section-header h2 {
    color: #8B4513;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mtd-title-underline {
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
    margin: 0 auto 15px;
    border-radius: 2px;
}

.mtd-section-header p {
    color: #666;
    font-size: 16px;
}

/* Officials Row */
.mtd-officials-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    
}

/* Pattern Borders */
.mtd-pattern-border {
    width: 20px;
    height: 600px;
    background-repeat: repeat-y;
    position: relative;
   
}

.mtd-border-left {
     background-image: url('/images/V-border.png');
}
.mtd-border-right {
   background-image: url('/images/V-border.png');
}

/* Official Card */
.mtd-official-card {
    position: relative;
    width: 600px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
   
}

.mtd-card-top-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #8B4513;
}

.mtd-card-content {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Photo Container */
.mtd-photo-wrapper {
    width: 480px;
    height: 480px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.mtd-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name and Designation */
.mtd-official-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}

.mtd-position-badge {
    background-color: #8B4513;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mtd-official-card {
        width: 250px;
    }
    
    .mtd-photo-wrapper {
        width: 160px;
        height: 160px;
    }
    
    .mtd-pattern-border {
        width: 15px;
    }

     .mh-tribal-pattern-border, .mh-tribal-left{
        display: none;
     }
}

@media (max-width: 576px) {
    .mtd-officials-row {
        flex-direction: column;
    }
    
    .mtd-pattern-border {
        display: none;
    }
    
    .mtd-official-card {
        width: 280px;
    }

    .banner{
        width: 300px;
    }
}


        @media (max-width: 768px) {
            .banner {
                width: 95%;
                padding: 15px;
            }
            .content h1 {
                font-size: 1.5rem;
            }
            .content p {
                font-size: 0.9rem;
            }
            .left-mandala, .right-mandala {
                width: 60px;
                height: 60px;
            }

           
        }

        @media (max-width: 576px) {
            .mh-tribal-photo-container,
            .mtd-photo-wrapper {
                width: 100%;
                height: auto;
            }

            .mh-tribal-pattern-border, .mh-tribal-left{
                display: none;
            }
        }

.tribal-schemes-container{
  padding-left: 5%;
}
.ui-pad-left{
  padding-left: 5%;
}

.width-1{
  width: 1000px;
}