/* ===========================================================
   CALCULATOR — CUSTOM STYLESHEET
   Uses the site's existing theme variables (defined in main.css :root)
     --theme-color   -> Primary  (e.g. #FF5E14)
     --theme-color2  -> Secondary (e.g. #52C306)
     --title-font    -> Heading font (e.g. 'Exo')
     --body-font     -> Body font   (e.g. 'Public Sans')
   No colors or fonts are hard-coded here — everything inherits
   from the site-wide theme so it stays in sync automatically.
   =========================================================== */

.calc-section {
  padding: 80px 0 60px;
  background: var(--smoke-color);
}

/* ---------- Tabs ---------- */
.calc-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 3px solid var(--border-color);
}

.calc-tab-btn {
  padding: 14px 36px;
  background: none;
  border: none;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--light-color);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}

.calc-tab-btn.active {
  color: var(--theme-color);
  border-bottom: 3px solid var(--theme-color);
}

.calc-tab-btn i {
  margin-right: 8px;
}

.calc-panel {
  display: none;
}
.calc-panel.active {
  display: block;
}

/* ---------- Construction Calculator ---------- */
.construction-calc {
  background: var(--white-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.calc-title {
  font-family: var(--title-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 6px;
}

.calc-subtitle {
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--light-color);
  margin-bottom: 30px;
}

.calc-controls {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-control-group label {
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--body-color);
  letter-spacing: 0.5px;
}

.calc-select {
  padding: 10px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--title-color);
  background: var(--white-color);
  cursor: pointer;
  min-width: 220px;
  outline: none;
  transition: border-color 0.3s;
}

.calc-select:focus {
  border-color: var(--theme-color);
}

/* ---------- Table ---------- */
.calc-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--body-font);
}

.calc-table thead tr {
  background: var(--title-color);
  color: var(--white-color);
}

.calc-table thead th {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: left;
}

.calc-table thead th:last-child,
.calc-table thead th:nth-child(3),
.calc-table thead th:nth-child(4) {
  text-align: right;
}

.calc-table tbody tr {
  border-bottom: 1px solid var(--smoke-color);
  transition: background 0.2s;
}

.calc-table tbody tr:hover {
  background: color-mix(in srgb, var(--theme-color) 6%, white);
}

.calc-table tbody td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--body-color);
  vertical-align: middle;
}

.calc-table tbody td:last-child,
.calc-table tbody td:nth-child(3),
.calc-table tbody td:nth-child(4) {
  text-align: right;
}

.calc-input-group {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.calc-input {
  width: 100px;
  padding: 8px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 14px;
  text-align: center;
  outline: none;
  transition: border-color 0.3s;
}

.calc-input:focus {
  border-color: var(--theme-color);
}
.calc-input::placeholder {
  color: var(--light-color);
  font-size: 12px;
}

.calc-unit {
  font-size: 12px;
  color: var(--light-color);
  font-style: italic;
}

.calc-rate {
  font-weight: 600;
  color: var(--theme-color);
}

.calc-cost {
  font-weight: 700;
  color: var(--title-color);
}

.calc-table tfoot tr {
  background: color-mix(in srgb, var(--theme-color) 4%, white);
}

.calc-table tfoot td {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
  border-top: 2px solid var(--theme-color);
}

.total-label {
  text-align: right;
  color: var(--theme-color);
}
.total-value {
  text-align: right;
  font-size: 20px;
  color: var(--theme-color);
}

/* ---------- EMI Calculator ---------- */
.emi-calc {
  background: var(--white-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.emi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.emi-field-group {
  margin-bottom: 22px;
}

.emi-field-label {
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--body-color);
  letter-spacing: 0.4px;
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
}

.emi-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white-color);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.emi-input-wrapper:focus-within {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color) 12%, transparent);
}

.emi-main-input {
  width: 100%;
  padding: 14px 50px 14px 36px;
  border: none !important;
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--title-color);
  background: transparent;
  outline: none !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.emi-main-input::-webkit-outer-spin-button,
.emi-main-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.emi-input-prefix {
  position: absolute;
  left: 14px;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--theme-color);
  pointer-events: none;
  z-index: 1;
}

.emi-input-suffix {
  position: absolute;
  right: 14px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--light-color);
  pointer-events: none;
  z-index: 1;
}

.emi-hint {
  font-family: var(--body-font);
  font-size: 11px;
  color: var(--light-color);
  margin-top: 5px;
}

/* ---------- EMI Results ---------- */
.emi-results {
  background: linear-gradient(135deg, var(--title-color) 0%, #2d2d2d 100%);
  border-radius: 16px;
  padding: 36px;
  color: var(--white-color);
  position: sticky;
  top: 100px;
}

.emi-result-title {
  font-family: var(--title-font);
  font-size: 20px;
  margin-bottom: 28px;
  color: var(--white-color);
}

.emi-result-main {
  background: var(--theme-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.emi-result-main .label {
  font-family: var(--body-font);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.emi-monthly {
  font-family: var(--body-font);
  font-size: 38px;
  font-weight: 800;
  color: var(--white-color);
  line-height: 1;
}

.emi-monthly small {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.85;
}

.emi-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.emi-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.emi-breakdown-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.emi-breakdown-row .bl {
  font-family: var(--body-font);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.emi-breakdown-row .bv {
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--white-color);
}

/* Donut Chart — principal = primary, interest = secondary */
.emi-donut-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.emi-donut-wrap svg {
  flex-shrink: 0;
}

.emi-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--body-font);
  font-size: 13px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Material Calculator ---------- */
.material-calc {
  background: var(--white-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.mat-input-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.mat-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mat-field label {
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--body-color);
  letter-spacing: 0.4px;
}

.mat-field input,
.mat-field select {
  padding: 11px 14px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--title-color);
  background: var(--white-color);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.mat-field input:focus,
.mat-field select:focus {
  border-color: var(--theme-color);
}

.mat-calc-btn {
  display: inline-block;
  padding: 13px 40px;
  background: var(--title-color);
  color: var(--white-color);
  border: none;
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 36px;
  transition:
    background 0.3s,
    transform 0.2s;
  letter-spacing: 0.5px;
}

.mat-calc-btn:hover {
  background: var(--theme-color);
  transform: translateY(-2px);
}

.mat-results {
  display: none;
}
.mat-results.show {
  display: block;
}

.mat-section-title {
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--light-color);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--smoke-color);
}

.mat-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.mat-card {
  background: var(--smoke-color);
  border-radius: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--smoke-color);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.mat-card:hover {
  border-color: var(--theme-color);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--theme-color) 8%, transparent);
}

.mat-card-icon {
  font-size: 20px;
  color: var(--theme-color);
  margin-bottom: 10px;
}

.mat-card-label {
  font-family: var(--body-font);
  font-size: 12px;
  color: var(--light-color);
  margin-bottom: 4px;
  line-height: 1.4;
}

.mat-card-value {
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--title-color);
  line-height: 1.1;
}

.mat-card-unit {
  font-family: var(--body-font);
  font-size: 11px;
  color: var(--light-color);
  margin-top: 3px;
}

.mat-note {
  font-family: var(--body-font);
  font-size: 12px;
  color: var(--light-color);
  padding: 12px 16px;
  background: color-mix(in srgb, var(--theme-color) 4%, white);
  border-radius: 8px;
  border-left: 3px solid var(--theme-color);
  margin-top: 10px;
}

.mat-divider {
  height: 1.5px;
  background: var(--smoke-color);
  margin: 24px 0;
}

/* ---------- Packages Section ---------- */
.packages-section {
  padding: 80px 0;
  background: var(--white-color);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--theme-color) 8%, white);
  color: var(--theme-color);
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--title-font);
  font-size: 38px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pkg-card {
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  background: var(--white-color);
}

.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px
    color-mix(in srgb, var(--theme-color) 12%, transparent);
  border-color: var(--theme-color);
}

/* Package tiers — Standard (secondary), Premium & Ultra shaded variants */
.pkg-header {
  background: var(--theme-color2);
  padding: 32px 28px;
  text-align: center;
}

.pkg-card.premium .pkg-header {
  background: color-mix(in srgb, var(--theme-color2) 82%, black);
}

.pkg-card.ultra .pkg-header {
  background: color-mix(in srgb, var(--theme-color2) 65%, black);
}

.pkg-name {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-color);
  margin-bottom: 10px;
}

.pkg-name-underline {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.pkg-price {
  font-family: var(--body-font);
  font-size: 48px;
  font-weight: 800;
  color: var(--white-color);
  line-height: 1;
  margin-bottom: 4px;
}

.pkg-price sup {
  font-size: 22px;
  font-weight: 700;
}
.pkg-per {
  font-family: var(--body-font);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.pkg-body {
  padding: 8px 0;
}

.pkg-accordion {
  border-bottom: 1px solid var(--smoke-color);
}

.pkg-acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
  transition: color 0.2s;
  user-select: none;
}

.pkg-acc-header:hover {
  color: var(--theme-color);
}

.pkg-acc-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--light-color);
  transition: all 0.3s;
  flex-shrink: 0;
}

.pkg-accordion.open .pkg-acc-icon {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: var(--white-color);
  transform: rotate(45deg);
}

.pkg-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: color-mix(in srgb, var(--theme-color) 3%, white);
}

.pkg-accordion.open .pkg-acc-body {
  max-height: 600px;
}

.pkg-acc-body ul {
  list-style: none;
  padding: 16px 24px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pkg-acc-body ul li {
  font-family: var(--body-font);
  font-size: 13px;
  color: var(--body-color);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.pkg-acc-body ul li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--theme-color);
  font-size: 10px;
  top: 3px;
}

.pkg-acc-body ul li strong {
  color: var(--title-color);
}

.pkg-footer {
  padding: 24px 24px;
}

.pkg-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--title-color);
  color: var(--white-color);
  border: none;
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
}

.pkg-btn:hover {
  background: var(--theme-color);
  transform: translateY(-2px);
  color: var(--white-color);
}

/* ---------- Misc ---------- */
.section-divider {
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--theme-color),
    transparent
  );
  margin: 0;
}

/* ===========================================================
   RESPONSIVE — TABLET (max 992px)
   =========================================================== */
@media (max-width: 992px) {
  .calc-section {
    padding: 50px 0 40px;
  }
  .packages-section {
    padding: 50px 0;
  }

  .calc-title {
    font-size: 22px;
  }
  .section-heading {
    font-size: 28px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .emi-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .emi-results {
    position: static;
  }
}

/* ===========================================================
   RESPONSIVE — MOBILE (max 768px)
   =========================================================== */
@media (max-width: 768px) {
  .calc-section {
    padding: 36px 0 30px;
  }
  .packages-section {
    padding: 36px 0;
  }

  /* Tabs stack vertically and become pill-style buttons */
  .calc-tabs {
    flex-direction: column;
    border-bottom: none;
    gap: 4px;
    margin-bottom: 24px;
  }

  .calc-tab-btn {
    padding: 12px 16px;
    font-size: 13px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 0;
    text-align: left;
  }

  .calc-tab-btn.active {
    border: 2px solid var(--theme-color);
    background: color-mix(in srgb, var(--theme-color) 6%, white);
    border-bottom: 2px solid var(--theme-color);
  }

  /* Calculator cards */
  .construction-calc,
  .emi-calc,
  .material-calc {
    padding: 20px 14px;
    border-radius: 12px;
  }

  .calc-title {
    font-size: 18px;
    line-height: 1.3;
  }
  .calc-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .calc-controls {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }

  .calc-control-group {
    width: 100%;
  }
  .calc-select {
    min-width: 100%;
    width: 100%;
    font-size: 14px;
  }

  /* Table — stacked "card" layout on mobile (no horizontal scroll,
     no cut-off text). !important is used throughout this block so
     it always wins over inline styles (style="text-align:right" etc.)
     that the JS injects into the table cells. */
  .calc-table-wrap {
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .calc-table,
  .calc-table tbody,
  .calc-table tr,
  .calc-table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .calc-table {
    min-width: 0 !important;
  }

  .calc-table thead {
    display: none !important;
  }

  .calc-table tbody tr {
    background: var(--white-color) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 14px !important;
  }

  .calc-table tbody tr:hover {
    background: var(--white-color) !important;
  }

  .calc-table tbody td {
    padding: 6px 0 !important;
    border: none !important;
    text-align: left !important;
    font-size: 13px !important;
  }

  /* Work / row label — shown as a small heading on top of the card */
  .calc-table tbody td:first-child {
    font-weight: 600 !important;
    color: var(--title-color) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    padding-bottom: 12px !important;
    margin-bottom: 10px !important;
    border-bottom: 1px dashed var(--border-color) !important;
  }

  /* Area input cell — input(s) stacked full width, one below the other */
  .calc-table tbody td:nth-child(2) {
    padding-top: 4px !important;
    padding-bottom: 10px !important;
  }

  .calc-table tbody td:nth-child(2) input.calc-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  .calc-input-group {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .calc-input-group input.calc-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Auto-label the Unit / Rate / Cost cells */
  .calc-table tbody td:nth-child(3)::before,
  .calc-table tbody td:nth-child(4)::before,
  .calc-table tbody td:nth-child(5)::before {
    font-style: normal !important;
    font-weight: 600 !important;
    color: var(--light-color) !important;
    margin-right: 6px !important;
  }

  .calc-table tbody td:nth-child(3)::before {
    content: "Unit:";
  }
  .calc-table tbody td:nth-child(4)::before {
    content: "Rate:";
  }
  .calc-table tbody td:nth-child(5)::before {
    content: "Cost:";
  }

  .calc-table tbody td:nth-child(3),
  .calc-table tbody td:nth-child(4),
  .calc-table tbody td:nth-child(5) {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-align: left !important;
  }

  /* Totals footer */
  .calc-table tfoot,
  .calc-table tfoot tr,
  .calc-table tfoot td {
    display: block !important;
    width: 100% !important;
  }

  .calc-table tfoot tr {
    background: color-mix(in srgb, var(--theme-color) 4%, white) !important;
    border: 1.5px solid var(--theme-color) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin-top: 4px !important;
  }

  .calc-table tfoot td {
    padding: 2px 0 !important;
    border: none !important;
  }
  .calc-table tfoot td:first-child {
    display: none !important;
  }

  .total-label,
  .total-value {
    text-align: left !important;
    display: block !important;
  }

  .total-value {
    font-size: 18px !important;
    margin-top: 2px !important;
  }

  /* EMI */
  .emi-grid {
    gap: 20px;
  }

  .emi-field-group {
    margin-bottom: 16px;
  }
  .emi-field-label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .emi-main-input {
    font-size: 16px;
    padding: 12px 44px 12px 32px;
  }

  .emi-input-prefix {
    font-size: 15px;
    left: 12px;
  }
  .emi-input-suffix {
    font-size: 13px;
    right: 12px;
  }
  .emi-hint {
    font-size: 10px;
  }

  .emi-results {
    padding: 22px 18px;
    border-radius: 14px;
    position: static;
  }

  .emi-result-title {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .emi-result-main {
    padding: 18px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
  }
  .emi-monthly {
    font-size: 30px;
  }
  .emi-monthly small {
    font-size: 16px;
  }

  .emi-breakdown {
    gap: 10px;
    margin-bottom: 20px;
  }
  .emi-breakdown-row .bl {
    font-size: 12px;
  }
  .emi-breakdown-row .bv {
    font-size: 13px;
  }

  .emi-donut-wrap {
    gap: 14px;
  }
  .emi-donut-wrap svg {
    width: 80px;
    height: 80px;
  }

  /* Material calculator */
  .mat-input-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mat-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .mat-card {
    padding: 12px 14px;
  }
  .mat-card-value {
    font-size: 18px;
  }
  .mat-calc-btn {
    width: 100%;
    text-align: center;
  }

  /* Packages */
  .section-heading {
    font-size: 22px;
  }
  .section-tag {
    font-size: 11px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 20px;
  }

  .pkg-header {
    padding: 24px 20px;
  }
  .pkg-price {
    font-size: 38px;
  }
  .pkg-acc-header {
    padding: 14px 18px;
    font-size: 13px;
  }
  .pkg-acc-body ul {
    padding: 14px 18px 16px;
    gap: 8px;
  }
  .pkg-acc-body ul li {
    font-size: 12px;
  }
  .pkg-footer {
    padding: 18px;
  }
}

/* ===========================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   =========================================================== */
@media (max-width: 480px) {
  .calc-tab-btn {
    font-size: 12px;
    padding: 11px 14px;
  }
  .calc-title {
    font-size: 16px;
  }
  .calc-table tbody tr {
    padding: 14px;
  }
  .calc-table tbody td:first-child {
    font-size: 13px;
  }

  .emi-monthly {
    font-size: 26px;
  }
  .emi-results {
    padding: 18px 14px;
  }

  .pkg-price {
    font-size: 34px;
  }
  .pkg-name {
    font-size: 12px;
    letter-spacing: 1.5px;
  }
  .section-heading {
    font-size: 20px;
  }

  .mat-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mat-card-value {
    font-size: 16px;
  }
}

/* ===========================================================
   RESPONSIVE — EXTRA SMALL (max 360px)
   =========================================================== */
@media (max-width: 360px) {
  .calc-input-group {
    flex-direction: column;
  }
  .mat-cards-grid {
    grid-template-columns: 1fr;
  }
}
