  @font-face {
      font-family: "DM Serif";
      src: url("../fonts/DM_Serif_Text/DMSerifText-Regular.ttf") format("truetype");
      font-weight: normal;
      font-style: normal;
  }

  @font-face {
      font-family: "Georgia";
      src: url("../fonts/Georgia/georgia.ttf") format("truetype");
      font-weight: normal;
      font-style: normal;
  }

  body {
    font-family: 'Libre Baskerville', Georgia, serif;
    line-height: 1.6;
    font-size: 1.1rem;
  }
  
  h1, h2, h3 {
    font-family: 'DM Serif', serif;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }
  p {
    margin-bottom: 1.2rem;
  }
  .page-content {
    padding-left: 2rem;   /* ~16px left */
    padding-right: 1rem;  /* ~16px right */
    max-width: 100%; 
    margin-top:10px;     /* Full width but with inner padding */
  }

/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1001;
}

/* Logo (desktop default) */
.logo a {
  font-family: 'DM Serif', serif;
  font-weight: bold;
  font-size: 3rem;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  transition: font-size 0.1s linear;
}

/* Mobile: fixed size, no animation */
@media (max-width: 768px) {
  .logo a {
    font-size: 2.5rem !important;
  }
}


  /* Apply bottom border only to desktop nav container */
  .nav-container {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
  }
  .header-top {
    padding: 10px 15px;
  }

  .search-input-custom {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-search-form-custom {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }


  .search-btn-custom {
    flex-shrink: 0;
    border-color: #ccc;
    transition: background-color 0.2s ease;
  }

  .search-btn-custom:hover {
    background-color: #f0f0f0;
  }


  

  .mobile-toggle {
    font-size: 1.5rem;
    padding: 5px 10px;
  }
  .nav .nav-link {
    position: relative;
    padding-right: 1rem; /* space between text and border */
    margin-right: 1rem;  /* space between border and next item */
    padding: 10px 15px;
    color: #000;
  }
  /* Bottom border on hover - stays under text */
  .nav .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    background-color: transparent;
    transition: background-color 0.3s ease;
  }

  .nav .nav-link:hover::before {
    border-bottom:3px solid #005ebb;
  }

  .nav .nav-link::after {
    content: "";
    position: absolute;
    top: 25%;
    bottom: 25%;
    right: 0;
    width: 1px;
    border-right: 2px dotted #cdcccc;
  }

  /* Remove border for last item */
  .nav .nav-item:last-child .nav-link::after {
    content: none;
  }

  
  .nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  /* Dropdown Hover */
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

  .dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    margin-top: 0.3rem;
    z-index: 1001;
    border-radius: none;
}
.dropdown-item.active, .dropdown-item:active {
    color: #7f7d7d;
    background:none;
}
  .nav .dropdown-menu {
    background-color: #f8f9fa;
}

  /* Drawer styles */
  .drawer {
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    width: 250px;
    background-color: #fcf7f1;
    color: #111;
    padding: 1rem;
    transition: left 0.3s ease;
    z-index: 1100;
    overflow-y: auto;
    font-family: Arial, sans-serif;
  }

  .drawer.open {
    left: 0;
  }

  .drawer .drawer-menu .drawer-item {
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
  }

  .drawer input.form-control {
    font-size: 0.9rem;
    padding: 0.45rem 0.6rem;
  }

  .drawer-item .submenu a:hover {
    text-decoration: underline;
  }
  .drawer-item button.toggle-dropdown {
    padding: 0;
  }
  .arrow{
    font-size: 25px;
  }
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1099;
  }

  .overlay.show {
    display: block;
  }
  /*Blog Style*/
  .main_blog_title {
    background: #ffffff;
    padding: 7px 5px;
    position: relative;
    top: -39px;
    left: -16px;
    width: calc(100% - 30px);
    margin: 0 15px;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
    z-index: 2;
  }
  .blog-img-large {
    width: 100%;
    height: 400px; /* Fixed height */
    margin: 1rem 0;
    border-radius: 4px;
    display: block;
  }


  .blog-img-medium {
    width: 100%;
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 1rem 0;
    border-radius: 4px;
  }


  .blog-img-small {
    width: 100px;
    height: 75px;
    object-fit: cover;
  }
  .company-img-medium {
    width: 100%;
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    margin: 1rem 0;
    border-radius: 4px;
  }
  .category-title{
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.2;

  }
  .more-link {
    text-decoration: none;
    font-size: 0.875rem; /* Adjust font size (14px) */
    font-weight: 600;
  }

  .more-link:hover {
    text-decoration: none;
    color:#000 !important;
  }
  .blog-title {
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.2;
  }
  .blog-title-two {
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.2;
  }
  .blog-title-list {
    font-weight: 400;
    font-size:  1rem;
    line-height: 1.2;
  }

  .blog-meta {
    font-size: 0.85rem;
    color: #777;
  }

  .right-blog-item {
    display: flex;
    gap: 10px;
    padding-bottom: 12px;
  }

  /*Border Style*/

  .bottom-border-only {
    position: relative;
    padding-bottom: 1rem;
  }

  .bottom-border-only::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: 0;
    border-bottom: 2px dotted #ddd;
  }
  .left-border-only {
    position: relative;
    padding-left: 1rem; /* Space inside the left border */
    border-left: 2px dotted #ddd;
  }


  .left-border-only::after {
    content: "";
    position: absolute;
    top: 2%;
    bottom: 2%;
    right: 0;
    width: 0;
    border-left: 2px dotted #ddd;
  }
  .right-border-only {
    position: relative;
    padding-right: 1rem;
  }

  .right-border-only::after {
    content: "";
    position: absolute;
    top: 2%;
    bottom: 2%;
    right: 0;
    width: 0;
    border-right: 2px dotted #ddd;
  }
  .border-bottom-right {
    position: relative;
    padding-bottom: 1rem;
    padding-right: 1rem;
  }

  .border-bottom-right::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 0;
    border-bottom: 2px dotted #ddd;
  }

  .border-bottom-right::before {
    content: "";
    position: absolute;
    top: 5%;
    bottom: 5%;
    right: 0;
    width: 0;
    border-right: 2px dotted #ddd;
  }

.right-border-only:last-child {
    border-bottom: none;
  }
.border-bottom-right:last-child {
    border-bottom: none;
  }
  .bottom-border-only:last-child {
    border-bottom: none;
  }
  .border-bottom-line {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
  }

  .mobile-toggle {
    display: block !important;
  }

  .header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .top-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .page-banner {
      position: relative;
      overflow: hidden;
      height: 300px;
  }

  .page-banner img {
      object-fit: cover;
      height: 100%;
  }

  .page-banner h1 {
      color: #000;
      letter-spacing: 3px;
  }

  
  .featured-img {
      width: 92%;
      object-fit: cover;
      /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
    
    }
    .page-banner .overlay {
      background-color: rgba(0, 0, 0, 0.5);
    }
   .breadcrumb-item + .breadcrumb-item::before {
      content: "›";
      color: #f61c1cb3 !important;  /* visible white with slight transparency */
      padding: 0 0.5rem;
      font-weight: bold;
      font-size: 1rem;
    }

  @media (min-width: 769px) {
    .mobile-toggle {
      display: none !important;
    }

    .search-box {
      width: 300px;
    }
  }
  .footer-container {
    background-color: rgb(0 94 187) !important;
  }
  .footer-border{
      border-bottom:1px solid #9c9c9c;
  }

  .footer-link {
      white-space: nowrap;
      font-size: 17px;
      transition: color 0.2s ease-in-out;
  }

  .footer-link:hover {
      color: #0dcaf0; /* Bootstrap info color or any highlight */
  }
  /* Responsive */
  /* Hide the border on screens smaller than 768px */
  @media (max-width: 767.98px) {
    .nav-container {
      border-top: none;
      display: none;
    }
  }
  @media (min-width: 768px) {
  .page-content {
      padding-left: 3rem;   /* ~32px on larger screens */
      padding-right: 3rem;
    }
  }

