body {
    font-family: Asap, sans-serif;
}
.top-bar {
    background:white;
    color: black;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: top 0.3s;
    border-bottom: 2px solid rgb(219, 218, 218); /* Added border-bottom */

}
.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
/* Contact Icons (Phone & Email) */
.contact-icons {
    display: flex;
}

.contact-icons a {
    font-size: 14px;
    color:black;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.contact-icons a i {
    margin-right: 5px;
    font-size: 14px;
    color: rgb(4, 4, 77);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.contact-icons a:hover {
    color: gray;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    font-size: 14px;
    color:rgb(4, 4, 77);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.social-icons a:hover {
    color: gray;
}
@media (max-width: 768px) {
    .top-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .contact-icons {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px; /* Adds spacing between phone and email */
    }

    .social-icons {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .contact-icons a,
    .social-icons a {
        font-size: 12px; /* Adjusts font size for better readability */
    }
    .contact-icons a:nth-child(2) { /* Hide the email on small screens */
        display: none;
    }
}
@media (max-width: 576px) {
    .top-bar {
        flex-direction: row; /* Keeps left and right sections separate */
        align-items: center;
        justify-content: space-between;
    }

    .contact-icons {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-icons {
        justify-content: flex-end;
    }
}
/* Hide Free Quote button and Search icon on small screens */
@media (max-width: 768px) {
    .search-icon,
    .for-more-btn {
        display: none !important;
    }
}


.navbar {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    padding-top: 70px;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s;
    padding:7px ;
    font-size: 15px;
}
.navbar-logo {
    height: 90px;  /* Adjust height as needed */
    width: auto;   /* Maintain aspect ratio */
    max-width: 100%;
}

.nav-link {
    color: rgb(32, 31, 31) !important;
    font-weight: 600;
}

.navbar-nav .nav-item .nav-link:hover {
    color: rgb(4, 4, 77); /* Change text color on hover */
    border-bottom: 2px solid rgb(4, 4, 77); /* Add bottom border on hover */
}
.nav-item:hover .dropdown-menu {
    display: block;
    border-radius: 0px;
    padding: 20px;
}
.dropdown-item{
    color: #adadad;
    text-decoration: none;
}
/* Dropdown Icon */
.dropdown-icon {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link .dropdown-icon {
    color: rgba(101, 100, 100, 0.8) !important; /* Light grayish white */
    font-size: 10px;
}
.navbar-toggler {
    background-color: white; /* White background for toggle button */
    border: none; /* Remove border */
    padding: 5px 10px;
    border-radius: 5px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Rotate arrow when dropdown is open */
.nav-item.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

.nav-link.dropdown-toggle::after {
    display: none !important;
}
.for-more-btn {
    background: rgb(4, 4, 77);
    color: white;
    padding: 5px 10px;
    text-decoration: none;
}
.for-more-btn:hover{
    text-decoration: none;
    color: white;
    background-color: #001F5B;
}
/* Logo Styling */
.navbar img {
    height: 70px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Prevent overflow */
    object-fit: contain; /* Ensure proper fit */
}

/* Responsive Logo Size */
@media (max-width: 992px) {
    .navbar img {
        height: 50px; /* Reduce size for tablets */
    }
}

@media (max-width: 768px) {
    .navbar img {
        height: 60px; /* Smaller logo for mobile */
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
    }
}





/*whatsapp floating */
.whatsapp-button {
    position: fixed;
    left: 20px; /* Positioned on the left */
    bottom: 20px; /* Stays at the bottom */
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    padding: 15px;
    font-size: 24px;
    text-decoration: none;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    z-index: 9999; /* Ensures it's above other elements */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    text-decoration: none;
}





    .main-heading-section {
      text-align: center;
      padding: 50px 20px 0px;
    }

    .main-heading-section h1 {
      font-size: 45px;
      font-weight: 700;
      margin-bottom: 5px;
    }

    .main-heading-section p {
      font-size: 16px;
      color: #555;
      margin-bottom: 24px;
    }

    .subscribe-form {
      display: inline-flex;
      align-items: center;
    }

    .subscribe-form input[type="email"] {
      padding: 12px 16px;
      border: 1px solid #ccc;
      border-right: none;
      border-radius: 6px 0 0 6px;
      font-size: 14px;
      width: 280px;
    }

    .subscribe-form input[type="email"]:focus {
      outline: none;
      border-color: #333;
    }

    .subscribe-form button {
      padding: 12px 20px;
      background-color: #111827;
      color: white;
      border: none;
      border-radius: 0 6px 6px 0;
      font-size: 14px;
      cursor: pointer;
    }

    .subscribe-form button:hover {
      background-color: #1f2937;
    }

    .blog-section {
      max-width: 1100px;
      margin: 0 auto;
      padding: 40px 20px;
    }

    .blog-section h2,
    .all-posts-wrapper h2 {
      font-size: 26px;
      font-weight: 700;
      margin-bottom: 30px;
      text-align: left;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: flex-start;
    }

    .blog-left {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .blog-left img {
      width: 100%;
      height: auto;
      object-fit: cover;
      max-height: 300px;
    }

    .blog-left h3 {
      font-size: 18px;
      font-weight: 600;
      margin: 0;
      line-height: 1.3;
    }

    .blog-left a {
      color: black;
      text-decoration: none;
    }

    .blog-left a:hover {
      text-decoration: underline;
    }

    .blog-right {
      display: flex;
      flex-direction: column;
      gap: 24px;
      padding-bottom: 10px;
    }

    .blog-post {
      display: flex;
      gap: 16px;
      background-color: #fff;
      padding: 9px;

      transition: box-shadow 0.3s ease;
      cursor: pointer;
    }

    .blog-post:hover {
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    }

    .blog-post img {
      width: 220px;
      height: 170px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .post-content {
      flex: 1;
    }

    .post-content p.date {
      font-size: 12px;
      color: #777;
      margin-bottom: 6px;
    }

    .post-content h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
    }

    .post-content p.summary {
      font-size: 14px;
      color: #555;
      margin-bottom: 8px;
    }

    .tags span,
    .label-item {
      background-color: #fff;
      font-size: 12px;
      border: 1px solid #000;
      color: #000;
      padding: 4px 10px;
      margin-right: 6px;
      border-radius: 20px;
      display: inline-block;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .tags span:hover,
    .label-item:hover {
      background-color: #000;
      color: #fff;
      transform: scale(1.05);
      border-color: #000;
    }

    .all-posts-wrapper {
      max-width: 1100px;
      margin: 80px auto;
      padding: 0 20px;
    }


.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media screen and (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


    .content-card {
      border: 1px solid #eee;
      overflow: hidden;
      background-color: #ffffff;
      opacity: 0;
      transform: translateY(40px);
      transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .content-card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .content-card:hover {
      transform: translateY(-6px) scale(1.02);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

.content-card img {
  width: 100%;
  aspect-ratio: 16 / 9; /* shorter height */
  object-fit: cover;
  display: block;
}


    .content-card-body {
      padding: 0.5rem;
    }

    .content-card-body h3 {
      font-size: 1rem;
      margin: 0.5rem 0;
      color: black;
      font-weight: 600;
    }

    .content-card-body h3 a {
      color: inherit;
      text-decoration: none;
    }

    .content-card-body h3 a:hover {
      text-decoration: underline;
    }

    .label-group {
      margin-top: 10px;
    }

    @media screen and (max-width: 768px) {
      .blog-grid {
        grid-template-columns: 1fr;
      }

      .blog-post {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .blog-post img {
        width: 100%;
        height: 100%;
      }

      .post-content {
        text-align: left;
      }

      .blog-left h3 {
        text-align: center;
      }

      .blog-left img {
        max-height: none;
      }
    }

.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

.sidebar-heading {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-post {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sidebar-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px; /* keeps that soft look, not fully circular */
}


.sidebar-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-date {
  font-size: 12px;
  color: #888;
  margin-bottom: 2px;
}

.sidebar-title {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
}

/* Hide sidebar on screens smaller than 768px */
@media (max-width: 768px) {
  .sidebar-wrapper {
    display: none !important;
  }

  .col-lg-10 {
    flex: 1 !important; /* take full width */
  }

  .blog-container {
    flex-direction: column;
  }
}
















/*Footer*/
.footer {
    padding-top: 30px;
    padding-left: 40px;
    padding-right: 30px;
    color: black;
    position: relative;
    padding-bottom: 50px;
    background-color: rgb(238, 242, 249);
}
.footer-logo {
    max-width: 180px;
    height: auto;
}
.footer a {
    color: rgb(92, 91, 91);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}
.footer a:hover {
    color: #5c85dc;
}
.address-main {
    font-weight: 600;
    color: (92, 91, 91);
}
.add-text{
    color: rgb(92, 91, 91) ;
    text-align: justify;
    font-size: 13px;
}
.footer h5 {
    border-bottom: 7px double rgb(31, 25, 125);
    display: inline-block; /* Ensures the underline only spans the text width */
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: black;
    padding-top: 20px;
}

.social-icons a {
    font-size: 18px;
    margin-right: 12px;
    color: rgb(20, 15, 81);
    transition: transform 0.3s ease, color 0.3s ease;
    
}
.social-icons a:hover {
    color: black;
    transform: scale(1.2);
}
.info-section {
    font-family: Arial, sans-serif;
    color: #333;
    font-size: 14px;
}

.info-title {
    font-weight: bold;
    margin-top: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: left;
    margin-bottom: 10px;
}

.social-links a {
    display: inline-block;
    color: rgb(21, 17, 97);
    text-align: center;
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-links a:hover {
    color: black;
    transform: scale(1.2);
}

.footer-container {
    max-width: 1200px;
}
.list-unstyled {
    padding-top: 20px;
}
.list-unstyled a {
    gap: 20px;
}
@media (max-width: 767px) {
    .footer {
        text-align: left; /* Ensures the container itself is left-aligned */
        padding: 20px;
    }
    .footer-logo {
        max-width: 150px;
    }
    .footer h5 {
        display: inline-block; /* Ensures the underline is only under the text */
        border-bottom: 7px double rgb(31, 25, 125);
        color: black;
        font-size: 18px;
        text-align: left; /* Ensures text inside is left-aligned */
        width: auto; /* Prevents stretching */
    }
    .social-icons {
        text-align: left;
        margin-top: 15px;
    }
    .footer, 
    .footer h5, 
    .footer a, 
    .social-icons, 
    .list-unstyled {
        text-align: left !important;
    }
}





/*Blog content css*/

a {
      color: #1e5ca8;
      text-decoration: none;
    }
    
.page-header {
  color: white;
  padding: 40px 30px; /* default for larger screens */
  text-align: center;
  animation: slideFade 1s ease;
}

@media (max-width: 768px) {
  .page-header {
    padding: 20px 15px; /* reduced top/bottom padding for mobile */
  }
}



    .page-header p.text-align-center {
      color: #676767;
      font-size: 14px;
      margin-bottom: 15px;
      text-align: center;
      font-weight: 600;
    }

    .page-header p.text-align-center a {
      color: #676767;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .page-header p.text-align-center a:hover {
      color: #a0a0a0;
      text-decoration: underline;
    }



    .page-header h4 {

      margin-bottom: 10px;
      color: #000;
      font-weight: 600;
    }

    .page-header .meta {
      font-size: 14px;
      color: #cfe3ff;
    }

    .container-content {
      display: flex;
      gap: 30px;
      max-width: 1200px;
      margin: 20px auto;
      padding: 0 30px;
      flex-wrap: wrap;
    }

    .main-content {
      flex: 3;
      min-width: 60%;
      opacity: 0;
      transform: translateY(30px);
      animation: contentFadeIn 1.3s ease forwards;
    }

.main-content img {
  width: 70%;
  border-radius: 8px;
  margin: 20px auto; /* center horizontally */
  display: block;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .main-content img {
    width: 100%;
  }
}

    .main-content h2 {
      color: #1e5ca8;
      margin-bottom: 10px;
      font-size: 22px;

    }

    .main-content p {
      margin-bottom: 15px;
      text-align: justify;
      font-size: 17px;
    }
    /* Headings */
    .main-content h1{
    color: #000000;
    font-weight: 700;
    }
    .main-content h2,
    .sidebar h3 {
    color: #000000;
    font-weight: 600;
    }

    /* Text paragraphs */
    .main-content p,
    .main-content li,
    .news-card p,
    .news-card a,

    .page-header .meta {
    color: #878787;
    }

    .sidebar {
      flex: 1;
      min-width: 280px;
    }

    .sidebar .news-card {
      background: #eff4fa;
      border-radius: 8px;
      padding: 15px;
      margin-bottom: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.187);
      transition: transform 0.5s ease, box-shadow 0.4s ease;
      animation: fadeIn 1s ease forwards;
    }

    .sidebar .news-card:hover {
      transform: translateY(-5px) scale(1.01);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    /* Stagger card animations */
    .sidebar .news-card:nth-child(1) {
      animation-delay: 0.3s;
    }

    .sidebar .news-card:nth-child(2) {
      animation-delay: 0.6s;
    }

    .sidebar .news-card:nth-child(3) {
      animation-delay: 0.9s;
    }

    .news-card img {
      width: 100%;
      border-radius: 6px;
      margin-bottom: 10px;
    }

    .news-card p {
      font-size: 14px;
      margin-bottom: 8px;
    }

    .news-card a {
      font-size: 14px;
      font-weight: bold;
    }

    .sidebar h3 {
      font-size: 20px;
      color: #0a2e73;
      margin-bottom: 20px;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes slideFade {
      from { opacity: 0; transform: translateY(-40px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes contentFadeIn {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
      .container-content {
        flex-direction: column;
      }
      .main-content, .sidebar {
        min-width: 100%;
      }
    }

    .faq-section {
  padding: 1rem;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-box {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
}

.faq-box input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: block;
  padding: 0.7rem;
  background-color: #00254d;
  color: white;
  cursor: pointer;
  position: relative;
}
    @media (max-width: 768px) {
      .faq-question{
          display: block;
  padding: 0.7rem;
  background-color: #00254d;
  color: white;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  font-size: 12px;
      }
    }
.faq-question::after {
  position: absolute;
  right: 1rem;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.faq-box input[type="checkbox"]:checked + .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 1rem;
  background-color: #f9f9f9;
  color: #333;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-box input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 200px;
  padding: 1rem;
}
