:root {
  --color1: #00438b;
  --color2: #3f567e;
  --color3: #e2f1ff;
  --color4: #ffc107;
}

body {
  background-color: #f5f5f5 !important;
  font-family: "Montserrat" !important;
  overflow-x: hidden !important;
}

main {
  margin-top: 61px;
}

nav.main-menu {
  background-color: var(--color1) !important;
}

.main-menu {
  .navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
  }
  .nav-link {
    font-weight: 300;
    font-size: 1.1rem;
    color: #ffffff !important;
  }
  .nav-link:hover {
    color: var(--color4) !important;
  }
}

.title-header {
  background-color: #00438b;
  padding: 80px 0;
  margin-bottom: 20px;
  h1 {
    font-size: 3.5rem;
    font-weight: 200;
    font-family: "Montserrat";
    text-align: center;
    line-height: 1.3;
    margin: auto;
    margin-bottom: 15px;
    width: 60%;
    color: #fff;
  }
  .breadcrumb {
    background-color: transparent !important;
    justify-content: center;
    display: flex;
    padding: 0;
    font-weight: 300;
    margin-bottom: 0;
    a {
      color: #fff;
    }
    a:hover {
      color: var(--color4);
    }
  }

  .breadcrumb-item + .breadcrumb-item::before {
    color: #999;
  }
}

/* 1 line only */
.clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 2 lines only */
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.w-75 {
  width: 75%;
}

.popular-calc,
.cat-list,
.about-section,
.sub-cat-list {
  padding: 80px 0;
}
.about-section,
.popular-calc {
  background-color: #fff;
}
.cat-list {
  background-color: var(--color3);
}

.main-content {
  background-color: #ffffff;
  padding: 15px;
  margin-bottom: 15px;
  font-family: "Montserrat";
}
.calculator-panel {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 10px;
  padding: 40px;
  background-color: #ffffff;
  form {
    font-weight: 300;
  }
}

.main-content {
  p {
    font-size: 16px;
    color: #2b2b2b;
    line-height: 30px;
  }

  li {
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
}

.ad-box {
  margin: 20px 0;
}

.hide-mob-tab {
  display: none;
}

*:focus,
.form-control:focus,
.btn:focus,
.btn:active:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  box-shadow: none !important;
}

a:hover {
  text-decoration: none !important;
}

footer {
  padding: 15px 0;
  background-color: #000;
  font-size: 0.8rem;
  color: #fff;
}
footer a {
  color: var(--color4);
}

.calc-space {
  height: 40px;
}

.main-menu form button:hover {
  background-color: var(--color2);
  border-color: #ffffff;
  color: #ffffff;
}

.home-search .input-group {
  max-width: 720px; /* Google-like width */
  width: 100%;
}

.home-search-input {
  height: 56px;
  font-size: 18px;
  border-radius: 30px 0 0 30px;
  padding-left: 22px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  border: 1px solid #dfe1e5;
}

.home-search-btn {
  height: 56px;
  font-size: 18px;
  border-radius: 0 30px 30px 0;
  padding: 0 26px;
}

.home-search-input:focus {
  border-color: #4285f4;
  box-shadow: 0 1px 8px rgba(66, 133, 244, 0.35);
}

.form-control,
.btn {
  border-radius: 0px !important;
}
.calculator-panel {
  font-size: 18px;
  input,
  button,
  .form-control,
  text-area {
    border-radius: 0px !important;
  }
}

.formula-box {
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 20px;
  border: 5px solid var(--color1);
}


.calculator-feedback {
  background-color:#f5f5f5;
  color:var(--color1) !important;
    font-size: 14px;
    padding:10px;
    border-radius: 10px;
}
.feedback-icon {
    cursor: pointer;
}

.force-hide {
    display: none !important;
}




.main-content h2,
.section-title {
  margin-top: 30px;
  color: var(--color1);
}

.calculator-panel button.btn-primary {
  background-color: var(--color1);
  border-color: var(--color1);
  color: #fff;
}

.calculator-panel button.btn-primary:hover {
  background-color: #28a745;
  border-color: #28a745;
  color: #fff;
}

.calculator-panel button.btn-secondary {
  background-color: var(--color4);
  border-color: var(--color4);
  color: #fff;
}

.calculator-panel button.btn-secondary:hover {
  background-color: #ff2c2c;
  border-color: #ff2c2c;
  color: #fff;
}

.calculator-panel .form-group {
  margin-bottom: 1.2rem;
}

.calculator-panel input.form-control,
.calculator-panel select.form-control,
.calculator-panel textarea.form-control {
  font-size: 18px !important;
}

/* Labels */
.calculator-panel label {
  font-size: 16px !important;
}

/* Buttons */
.calculator-panel .btn {
  font-size: 18px !important;
}

/* Radio & checkbox text */
.calculator-panel .custom-control-label {
  font-size: 16px !important;
}

/* Text inputs, selects, textarea */
.calculator-panel .form-control {
  height: 52px;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 6px;
}

/* Textarea */
.calculator-panel textarea.form-control {
  height: auto;
  min-height: 120px;
}

/* Labels */
.calculator-panel label {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

/* Buttons */
.calculator-panel .btn {
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 6px;
}

/* Radio & Checkbox wrapper */
.calculator-panel .custom-control {
  padding-left: 2rem;
}

/* Radio & Checkbox input size */
.calculator-panel .custom-control-input {
  width: 1.25rem;
  height: 1.25rem;
}

/* Radio & Checkbox label */
.calculator-panel .custom-control-label::before,
.calculator-panel .custom-control-label::after {
  width: 1.25rem;
  height: 1.25rem;
  top: 0.15rem;
}

/* Range slider */
.calculator-panel input[type="range"] {
  height: 1.5rem;
}

/* File input */
.calculator-panel .custom-file-label {
  height: 52px;
  padding: 10px 14px;
  font-size: 16px;
}

.calculator-panel .custom-file-label::after {
  height: 52px;
  padding: 10px 14px;
}

/* Tablet */
@media (max-width: 991px) {
  .home-search {
    padding: 15px;
  }
  .title-header {
    h1 {
      font-size: 3rem;
      width: 85%;
    }
    padding: 50px 0;
  }
  .calculator-panel {
    h2 {
      font-size: 1.3rem;
      line-height: 1.5;
    }
    padding: 10px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .title-header {
    h1 {
      font-size: 1.3rem;
      width: 100%;
    }
    padding: 30px 0;
  }

  .calculator-panel {
    h2 {
      font-size: 1.3rem;
      line-height: 1.5;
    }
    padding: 10px;
  }
}

@media (min-width: 992px) {
  .hide-mob-tab {
    display: block;
  }
}

.show-mob-tab {
  display: block;
}

@media (min-width: 992px) {
  .show-mob-tab {
    display: none;
  }
}
