
    .sub-sub-blog-title{
        margin-bottom: 5px;
    }
    .sub-sub-sub-blog-title{
        font-size: 22px;
        color: #0e264b;
    }
    .agency-table{
        margin-left: 21px;
        width: 80%;
    }
    @media (max-width: 568px) {
    .agency-table {
        margin-left: 0px !important;
        width: auto !important;
        min-width: auto;
    }
}

:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #172033;
  --muted: #697586;
  --primary: #2563eb;
  --primary-light: #eff6ff;
  --border: #e5eaf2;
  --green: #059669;
  --shadow: 0 4px 18px rgba(20,40,80,.05);
}
.hero {
  /* background: linear-gradient(135deg,#101828,#1e3a8a); */
  color: white;
  border-radius: 24px;
  padding: 55px 40px;
  margin-bottom: 28px;
}

.hero-tag {
  color: #93c5fd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero h1 {
  font-size: clamp(30px,5vw,46px);
  line-height: 1.2;
  margin: 15px 0;
}

.hero p {
  color: #cbd5e1;
  max-width: 700px;
}

.stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 28px;
  justify-content: center;
}

.stat {
  background:rgb(7 59 175);
  border: 1px solid rgba(255,255,255,.12);
  padding: 15px 20px;
  border-radius: 14px;
  min-width: 140px;
}

.stat strong {
  display: block;
  font-size: 22px;
  color: #ffffff;
}

.stat span {
  font-size: 13px;
  color: #cbd5e1;
}

.search-box {
  position: relative;
  margin-bottom: 22px;
}

.search-box input {
  width: 100%;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #f1f6ff;
  border: 1px solid #d5e4fa;
  font-size: 15px;
  outline: none;
  box-shadow: var(--shadow);
  border-radius: 6px
}

.search-box input:focus {
  border-color: var(--primary);
}

.categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.category-btn {
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: #f1f6ff;
  color: var(--muted);
  border-radius: 30px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: .2s;
  width: auto;
  border: 1px solid #d5e4fa;
}

.category-btn:hover,
.category-btn.active {
  background: #073baf;
  color: white;
  border-color: var(--primary);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-heading h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  font-size: 14px;
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.formula-card {
  background: #f1f6ff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.formula-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(20,40,80,.08);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.category-tag {
  display: inline-block;
  padding: 4px 20px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.card-top small {
  color: var(--muted);
}

.formula-card h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.description {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.formula-box {
  background: #f8faff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 17px;
  margin-bottom: 18px;
}

.formula-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.formula-text {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
  word-break: break-word;
}

.card-bottom {
  margin-top: auto;
}

.example {
  background: #ffffff;
  padding: 15px;
  border-radius: 12px;
  font-size: 13px;
  color: #475467;
  margin-bottom: 14px;
}

.example strong {
  color: var(--text);
}

.result {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.result-label {
  font-size: 12px;
  color: var(--muted);
}

.result-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
}

.actions {
  display: flex;
  gap: 9px;
  margin-top: 16px;
  /* flex-wrap: wrap; */
}

.btn {
  border: none;
  cursor: pointer;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  transition: .2s;
}

.copy-btn {
  background: #ffffff;
  color: #3730a3;
  border: 1px solid var(--border);
}

.copy-btn:hover {
  background: #e0e7ff;
}

.calc-btn {
  background: var(--primary);
  color: white;
}

.calc-btn:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.empty {
  display: none;
  text-align: center;
  background: white;
  padding: 50px 20px;
  border-radius: 18px;
  color: var(--muted);
}

.footer {
    margin-top: 13px;
    text-align: center;
    padding: 25px;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: -48px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.65);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-contentt {
  background: white;
  max-width: 480px;
  width: 100%;
  border-radius: 22px;
  padding: 28px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-contentt h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.modal-contentt p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    font-size: 15px;
}

.modal-result {
  background: #ecfdf5;
  border-radius: 15px;
  padding: 20px;
  margin-top: 18px;
  text-align: center;
}

.modal-result strong {
  display: block;
  color: var(--green);
  font-size: 30px;
  margin: 10px;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.blog-section p {
    margin-bottom: 14px;
    padding-left: 0px;
}

.close-btn {
  background: #f1f5f9;
  color: #475569;
}

@media(max-width:950px) {
  .formula-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px) {
.modal-contentt h2 {
    margin-bottom: 10px;
    font-size: 21px;
}
  .hero {
    padding: 35px 23px;
  }

  .formula-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 20px;
  }
}
