/*
Theme Name: AllCalcforbusiness 
Theme URI: https://wordpress.org/themes/allcalcforbusiness/
Author: the WordPress team
Author URI: https://wordpress.org
Description: allcalcforbusiness  emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ach
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;;
}
.result-value{
	font-size:30px;
}
ul.oneline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;       /* items in one row */
  gap: 15px;           /* space between links */
}
.badge-categorys {
    position: absolute;
    /* top: 12px; */
    margin-bottom: 55px;
    /* left: 12px; */
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 999px;
    color: #fff;
    font-weight: 500;
    backdrop-filter: blur(4px);
}
@media(max-width:993px){
	.navbar-nav{
		background: aliceblue;
		padding: 10px;
		margin-top: 10px;

	}
	.navbar-nav li{
		padding:10px;
	}
}
ul.oneline li {
  display: inline;     /* ensure <li> stay inline */
}
.custom-logo{
  width: 200px !important;
  height: auto;
}

.top-bar ul {
  list-style: none !important;   /* Remove default bullet */
  margin: 0;
  padding: 0;
}
a{
  text-decoration: none !important;
}
.privacy-policy h2{
  font-size: 25px;
}
.privacy-policy h3{
  font-size: 18px;
}
.top-bar li a {
  display: inline-block;  /* Make them inline */
  margin-right: 15px;     /* Add spacing */
	color:white !important;
}

.top-bar {
      background: #0066d6;
      color: #fff;
      font-size: 14px;
      padding: 5px 0;
    }
   
    .navbar-nav .menu-item a {
      font-size: 16px;
      color: #555 !important;
      margin-right: 15px;
      font-weight: 600 !important;
      text-decoration: none;
    }
    .navbar-nav .menu-item a:hover {
      color: #0066d6 !important;
    }
    .search-box {
      border: 1px solid #0066d6;
      border-radius: 50%;
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .search-box i {
      color: #0066d6;
    }
    /* Modal Styling */
    .modal-content {
      border-radius: 15px;
    }
    .search-input {
      border: none;
      box-shadow: none;
    }
    .tag {
      background: #0066d6;
      color: #fff;
      border-radius: 25px;
      padding: 5px 15px;
      margin: 5px;
      display: inline-block;
      font-size: 14px;
    }
    .tag span {
      background: #fff;
      color: #0066d6;
      border-radius: 50%;
      padding: 2px 8px;
      margin-left: 5px;
      font-weight: bold;
    }
.section-title {
      padding-top: 50px;
      font-size: 28px;
      font-weight: 700;
      color: #fdfdfd;
       font-size:60px;
    }
    .section-subtitle {
      color: #ffffff;
      max-width: 600px;
      margin: auto;
      font-size: 20px;
     
    }
    .calc-card {
      background: #fff;
      border-radius: 15px;
      padding: 30px 20px;
      text-align: center;
      box-shadow: 0 5px 20px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      min-height: 268px;
    }
    .calc-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    .calc-icon {
      width: 70px;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      margin: auto;
      font-size: 28px;
      color: #fff;
      margin-bottom: 20px;
    }
    .bg-primarys{
      background-color: #0066d6 !important;
    }
   /* Section Headings */
    .section-title1 {
      font-size: 26px;
      font-weight: 600;
      color: #111827;
      margin-bottom: 1rem;
      position: relative;
    }
    .section-title1::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 40px;
      height: 3px;
      border-radius: 2px;
      background: #2563eb;
    }

    /* Post Card */
    .post-card {
      border-radius: 16px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .post-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    .post-card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      transition: 0.4s ease;
    }
    .post-card:hover img {
      transform: scale(1.05);
    }
    .badge-category {
      position: absolute;
      top: 12px;
      left: 12px;
      padding: 6px 12px;
      font-size: 12px;
      border-radius: 999px;
      color: #fff;
      font-weight: 500;
      backdrop-filter: blur(4px);
    }
    .post-meta {
      font-size: 0.85rem;
      color: #6b7280;
      margin-bottom: 6px;
    }
    .post-card h6 {
      font-size: 0.95rem;
      line-height: 1.4;
      color: #111827;
    }

    /* Buttons */
    .btn-load {
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #fff;
      border: none;
      border-radius: 30px;
      padding: 8px 22px;
      font-weight: 500;
      font-size: 0.9rem;
      transition: all 0.3s ease;
    }
    .btn-load:hover {
      opacity: 0.9;
      transform: translateY(-2px);
    }

    /* Popular Items */
    .popular-item {
      display: flex;
      gap: 14px;
      margin-bottom: 18px;
      align-items: center;
      transition: 0.3s ease;
      padding: 8px;
      border-radius: 12px;
    }
    .popular-item:hover {
      background: #f3f4f6;
      transform: translateX(4px);
    }
    .popular-item img {
      width: 85px;
      height: 65px;
      border-radius: 10px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .popular-meta {
      font-size: 0.8rem;
      color: #6b7280;
      margin-bottom: 4px;
    }
    .popular-title {
      font-size: 0.9rem;
      font-weight: 500;
      margin: 0;
      color: #111827;
    }
/* Blog cards */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.4s, box-shadow 0.4s;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
}
.blog-card.appear {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-in-out;
}
.blog-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.blog-img {
  position: relative;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  transition: transform 0.4s;
}
.blog-card:hover .blog-img img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 15px;
}
.blog-card h5 {
  font-size: 1.2rem;
  font-weight: bold;
}
.blog-card p {
  font-size: 0.9rem;
  color: #555;
}
.read-more {
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
}
.read-more:hover {
  text-decoration: underline;
}

/* Date Badge */
.date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  animation: fadeInDown 0.8s ease;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

.top-bar a{
  text-decoration: none !important;
}

  .card-custom {
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      background: #fff;
      padding: 25px;
    }
    .card-custom h5 {
      font-weight: 600;
      margin-bottom: 20px;
    }
    .result-item {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
    }
    .result-item span {
      font-weight: 600;
      color: #0d6efd;
    }
    .btn-custom {
      background: #0d6efd;
      border: none;
      border-radius: 6px;
      font-weight: 600;
    }
    .btn-custom:hover {
      background: #0b5ed7;
    }

    .description-section
 {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.division-steps {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    overflow-x: auto;
}

.division-visual {
    font-family: monospace;
    font-size: 1.2rem;
    white-space: pre;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 15px 0;
}

.gpa-value {
      font-size: 2.5rem;
      font-weight: bold;
      color: #0066d6;
      margin: 20px 0;
    }
    .gpa-graph-bar {
      width: 100%;
      height: 25px;
      background: #e9ecef;
      border-radius: 12px;
      overflow: hidden;
      margin-bottom: 15px;
    }
    .gpa-fill {
      height: 100%;
      background: linear-gradient(90deg, #28a745, #17a2b8, #0066d6);
      width: 0%;
      transition: width 0.5s ease-in-out;
    }
    .gpa-scale {
      display: flex;
      justify-content: space-between;
      font-size: 0.9rem;
    }

    .faq-item {
    margin-bottom: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.division-steps h2,.faq-section h2{
  font-size: 22px;
}
.division-steps h3{
  font-size: 20px;
}
.calculator-description {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid #3498db;
}

.disclaimer {
    background: #fef9e7;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #f1c40f;
    font-size: 0.9rem;
}
.faq-item {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.description {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.bg-light h2{
	font-size:28px;
	margin-bottom:20px;
}
.bg-light h3{
	font-size:24px;
	margin-bottom:20px;
}
.bg-light h4{
	font-size:20px;
	margin-bottom:20px;
}

#annualSalary,#monthlySalary,#weeklySalary,#dailySalary{
	font-size:25px;
}
  #gpares {
    display: none; /* hidden until calculation */
  }
  #dl {
    display: none; /* hidden until calculation */
  }
  .gpa-result-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  #gpaChart {
    max-width: 220px;  /* compact chart width */
    max-height: 180px; /* compact chart height */
  }
  .gpa-text {
    flex: 1;
  }