.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
}
.tabs a {
    padding: 10px 15px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.tab-link {
  cursor: pointer;
}

.tab-contents {
  display: none;
}
.tab-contents.active {
  display: block;
}


.tabs a.active {
    border-bottom: 3px solid green;
    color: green;
}


    .dob-select select {
        margin-right: 5px;
    }
.left {
    flex: 1.2;
    padding-right: 40px;
}
.right {
    flex: 1;
    background: #f2f2f2;
    padding: 20px;
    border-radius: 5px;
}
form label {
    display: block;
    margin-top: 15px;
}
form select,
form input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
form .dob-select {
    display: flex;
    gap: 5px;
}
form button {
    margin-top: 20px;
    background-color: green;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
form button:hover {
    background-color: darkgreen;
}


.main {
    min-height: 80vh; /* or whatever fits your layout */
}
.footer {
    width: 100%;
    background: #f8f9fa;
    /* add more styles as needed */
}


.noto-sans-bengali {
  font-family: "Noto Sans Bengali", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.overview-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.overview-flex .left,
.overview-flex .right {
  flex: 1;
  min-width: 300px;
  margin-left: 18px;
  margin-top: 10px;
}

#features .overview-flex {
  display: flex;

}

#features .left {
  max-width: 800px;   /* Set desired width */
  width: 100%;
}


#rate .overview-flex {
  display: flex;
  padding: 0 20px;
}

#rate .left {
  max-width: 800px;
  width: 100%;
}


#calculator .right {
max-width: 800px;
  margin-left: 230px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .calculator-form {
    grid-template-columns: 1fr;
  }
  
  .form-actions, .calculation-result {
    grid-column: span 1;
  }
  
  .date-selector {
    grid-template-columns: 1fr;
  }
}


.download-section {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.file-icon {
  font-size: 28px;
  margin-right: 15px;
}

.file-info {
  flex: 1;
}

.file-info h6 {
  margin: 0;
  font-size: 16px;
}

.file-info p {
  margin: 2px 0 0;
  font-size: 14px;
  color: #666;
}

.file-actions a {
  margin-left: 10px;
}

.btn-view {
  background-color: #007bff;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.btn-download {
  background-color: #28a745;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.btn-view:hover,
.btn-download:hover {
  opacity: 0.9;
}



  .language-switch {
    margin-bottom: 1rem;
  }
  .form-check-label {
  font-weight: 600;
  cursor: pointer;
}

  .language-switch label {
    font-weight: bold;
    cursor: pointer;
  }

  .lang-content {
    transition: all 0.3s ease;
  }


  /* Branch Officer Section */
  
      h1 {
      text-align: center;
      margin-bottom: 40px;
      font-weight: 700;
      color: #2c3e50;
    }
    .search-container {
      max-width: 480px;
      margin: 0 auto 40px auto;
      position: relative;
    }
    .search-container input {
      padding-left: 40px;
      height: 48px;
      font-size: 1.1rem;
      border-radius: 30px;
      border: 1px solid #ced4da;
      transition: border-color 0.3s ease;
    }
    .search-container input:focus {
      border-color: #0d6efd;
      box-shadow: 0 0 8px rgba(13,110,253,.3);
      outline: none;
    }
    .search-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: #aaa;
      font-size: 18px;
    }
    #officeList {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      max-width: 960px;
      margin: 0 auto;
    }
    .office-card {
      background: #fff;
      border-radius: 12px;
      padding: 20px 25px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      align-items: center;
      gap: 15px;
    }
    .office-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 20px rgba(13,110,253,0.2);
    }
    .office-checkbox {
      flex-shrink: 0;
      width: 22px;
      height: 22px;
      cursor: pointer;
    }
    .office-info {
      flex-grow: 1;
    }
    .office-name {
      font-weight: 600;
      font-size: 1.2rem;
      color: #0d6efd;
      user-select: none;
    }
    .office-incharge {
      font-size: 0.9rem;
      color: #555;
      margin-top: 4px;
      user-select: none;
    }
    /* Modal styling */
    .modal-header {
      background: #0d6efd;
      color: white;
      border-bottom: none;
    }
    .modal-body p {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }
    .modal-body strong {
      color: #0d6efd;
    }

/* Annual Report Section */
        .pdf-icon {
            width: 32px;
            height: auto;
        }