#nav-home p{
    font-size: 18px !important;
}
 /* Styling for tablets (between 768px and 991px) */
span{
    font-size: 2rem;
    font-weight: bold;
} 
  @media (max-width: 1400px) and (min-width: 768px) {
    .custom-search .custom-input {
        width: 80% !important;
        border-radius: 25px;
    }
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color: #304598 !important;
    color: white; /* Optional: Change text color to white for better contrast */
}

.custom-search .custom-input {
    border-radius: 25px;
}
@media (max-width: 767px) {
    .custom-search .custom-input {
        width: 100%;
        border-radius: 25px;
    }
}

.navbar-first .navbar-brand {
    margin-right: auto;
}

.navbar-first .custom-search {
    flex-grow: 1;
}
 @media (max-width: 1400px) and (min-width: 1210px) {
    .main-image img{
        height: 32rem !important;
  margin-top: 8rem !important;
    }
    .payment-return p{
        font-size:15px !important;
    }
    .ultimate_image img{
        height:75% !important;
        width:100% !important;
        margin-top:3rem !important;
    }
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: #304598 !important;
  color: white; /* Optional: Change text color to white for better contrast */
}

@media (max-width: 1200px) and (min-width: 768px) {
  
  h1 {
      font-weight: 600;
      font-size: 39px !important;
  }
  p{
      font-size: 17px !important;
      line-height: 1.5rem !important;
  }
  .btn-purple{
      font-size: 1rem !important;
  }
  .large-slider img {
      height: 500px !important;
  }
  .art-form .inner-content {
      padding: 2rem !important;
      height: 17rem !important;
  }
  .bottom-text h3{
      font-size: 17px !important;
  }
      height: 29rem !important;
      margin-top: 13rem !important;
  }
  .my-client-info h3{
      font-size: 17px !important;
  }
  .footer-quick h3 {
      font-size: 1.5rem !important;
  }
  .review-card {
      height: 20rem !important;

  }
.contact-label{
  font-size: 1.5rem !important;
}
.main_image img {
  width: 100% !important;
  height: 38rem !important;
  margin-top: 1rem !important;
  float: none !important;
}
}

/* Styling for mobile devices (less than 768px) */

@media (min-width: 992px) {
  .my-6 {
      margin-top: 4rem;
      margin-bottom: 4rem;
  }

  .my-7 {
      margin-top: 5rem;
      margin-bottom: 5rem;
  }

  .my-10 {
      margin-top: 5rem;
      margin-bottom: 5rem;
  }
}

a{
  text-decoration: none;
  color: #FF971A;
  font-weight: bold;
}
.bottom-text a, .my-slick-slide a {
    text-decoration: none !important;
    color: black !important;
    font-weight: normal !important;
  }

.container-fluid .main a {
    color: #FF971A !important;
}  
  
  h1 {
  font-weight: 600;
  font-size: 49px;
}
h2 {
  font-weight: 700;
  font-size: 2rem;
}
h3 {
  font-weight: 700;
  font-size: 1.5rem;
}
h4 {
  font-weight: 700;
  font-size: 2rem;
}
@media (min-width: 1200px) {
  .h3, h3 {
      font-size: 1.5rem;
      font-weight: 700;
  }
}
@media (max-width: 768px) {
  h1 {
      font-size: 60px; /* Adjust font size for smaller screens */
  }

}

@media (max-width: 576px) {
  h1 {
      font-size: 33px; /* Further adjust font size for smaller screens */
  }
  .second-section{
      margin-top: 8rem;
  }
}
      h2 {
          font-weight: 500;
      }

      input:not([type="file"]),
select,
textarea {
  background-color: rgba(243, 246, 255, 1) !important;
  height: 3rem;
  margin-top: 3px;
}


      label {
          font-weight: 500;
          margin-bottom: 0.3rem;
      }

      .form-group {
          margin-top: 1rem;
      }

      .btn-purple {
          background-color: #304598;
          color: white;
          border-radius: 2rem;
          font-weight: 600;
      }

      .btn-orange {
          background-color: #FF971A;
          color: white;
          padding: 10px 20px;
          border-radius: 5px;
          text-decoration: none;
      }

      .btn-orange svg {
          margin-left: 5px;
      }

      .phone-icon {
          background-color: #FF971A;
          padding: 10px;
          border-radius: 50%;
          color: white;
          display: inline-block;
          font-size: 1.5em;
      }

      @media (min-width: 768px) {
  .container-fluid {
      width: 80% !important;
  }
}

      .bg-light {
          background-color: #FFD4A1 !important;
      }
      .bg-lightt {
          background-color: rgba(255, 247, 235, 1) !important;
      }
      .bg-dark {
          background-color: #304598 !important;
      }

      /* Default styling for larger screens */
      /* Default styling for larger screens (desktops and laptops) */



      /* Ensure the immediate submenu is shown on hover */
      .navbar-nav .dropdown-menu {
          display: none;
          position: absolute;
          z-index: 1000;
          top: 100%;
          left: 0;
      }

      .navbar-nav .dropdown:hover>.dropdown-menu {
          display: block;
      }

      /* Ensure the second-level submenu is positioned to the left */
      .navbar-nav .dropdown .dropdown-menu {
          top: 100%;
          /* left: 100%; */
      }

      /* Ensure the third-level submenu is positioned to the left */
      .navbar-nav .dropdown .dropdown-menu .dropdown-menu {
          top: 0;
          left: 100%;
      }

      .navbar-nav .dropdown .dropdown-menu .dropdown:hover>.dropdown-menu {
          display: block;
      }

      /* Styling for the "Get a Quote" button */
      .btn-orange {
          background-color: #FF971A;
          color: white;
          padding: 10px 20px;
          border-radius: 0px;
          text-decoration: none;
          height: 100%;
          /* Match height with the navbar */
          display: flex;
          align-items: center;
          /* Align text vertically center */
      }

      .btn-orange .arrow {
          margin-left: 5px;
      }

      /* Adjusting the width of the second-level dropdown */
   .second-dropdown {
  border-radius: 2rem;
  column-count: 1; /* Default to 1 column */
  column-gap: 1rem; /* Adjust the gap between columns as needed */
  padding: 1rem; /* Add padding as needed */
}

@media (min-width: 576px) { /* For larger screens */
  .second-dropdown {
      column-count: 4; /* 2 columns for larger screens */
  }
}

@media (min-width: 768px) { /* For even larger screens */
  .second-dropdown {
      column-count: 3; /* 3 columns for larger screens */
  }
}

@media (min-width: 992px) { /* For even larger screens */
  .second-dropdown {
      column-count: 3; /* 4 columns for larger screens */
  }
}

.dropdown-menu .dropdown-item {
  display: block;
  width: 100%; /* Ensure items take the full width of the column */
}

   

     .main-navbar .nav-item .nav-link {
          color: white !important;
      }

      .active {
          color: #FF971A !important;
      }

      .footer {
          background-color: #304598;
      }

      .footer-social-icons {
          list-style: none;
          padding: 0;
          margin: 0;
          display: flex;
          gap: 10px;
          /* Adjust spacing between icons */
      }

      .footer-social-icons li {
          display: inline-flex;
          align-items: center;
          width: 40px;
          /* Adjust the size of the circle */
          height: 40px;
          background-color: #FF971A;
          border-radius: 50%;
          /* Make it circular */
      }

      .footer-social-icons svg {
          color: white;
          /* Color of the icon */
          width: 40px;
          /* Adjust the size of the icon */
          height: 23px;
      }

      .footer-logo {
          /*height: 4rem;*/
          /*margin-bottom: 1rem;*/
          max-width: 144px;
        height: auto;
        width: auto;
        display: block;
        margin-bottom: 1rem;
        image-rendering: -webkit-optimize-contrast; /* Improves image clarity on webkit browsers */
        image-rendering: crisp-edges;
      }

      .footer-quick h3 {
          color: white;
      }

      .footer-quick ul {
          list-style: none;
          padding: 0;
      }

      .footer-quick ul li a{
          color: white;
          position: relative;
          padding-left: 20px;
          /* Adjust padding to make space for the arrow */
          line-height: 2rem;
      }

      .footer-quick ul li a::before {
          content: "\2192";
          /* Unicode for right arrow */
          position: absolute;
          left: 0;
          color: #FF971A;
          font-weight: bold;
          /* Adjust font weight if needed */
      }
      /* Background color for accordion button */
.accordion-button {
  background-color: #304598;
  color: white;
}

.accordion-body {
  background-color: #304598;
}
.accordion-button:not(.collapsed) {
  background-color: #FF971A !important;
  border-bottom-left-radius: 0rem !important;
  color: white !important;
}
.first-custom-accordion-button:not(.collapsed) {
  background-color: #304598 !important;
  border-bottom-left-radius: 0rem !important;
  color: white !important;
}
.fourth-custom-accordion-button:not(.collapsed) {
  background-color: #304598 !important;
  border-bottom-left-radius: 0rem !important;
  color: white !important;
}


      .contact h3 {
          color: white;
      }

      .contact ul {
          list-style: none;
          padding: 0;
          line-height: 2rem;
          /* Adjust the line height */
      }

      .contact ul li a{
          color: white;
      }
      .contact ul li{
          color: white;
      }

      .contact ul li svg {
          fill: #FF971A;
          /* Set the SVG color to orange */
          margin-right: 10px;
          /* Adjust spacing between SVG and text */
      }

      .text-orange {
          color: #FF971A !important;
      }

      .text-purple {
          color: #304598 !important;
      }
      .btn-purple img {
              background-color: white;
              border-radius: 50%;
              padding: 5px;
              margin-left: 16px;
              margin-bottom: 4px;
      }
      .border-1{
          border-radius: 1rem !important;
      }

      .border-2{
          border-radius: 2rem !important;
      }

      .border-3{
          border-radius: 3rem !important;
      }

      .btn-purple:hover {
          background-color: #304598;
          color: white;
          border-radius: 2rem;
          font-weight: 600;
      }

.btn-orange:hover,
.btn-orange:active,
.btn-orange:focus {
  background-color: #FF971A;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}

      .accordion-link {
          display: block;
          color: inherit;
          text-decoration: none;
          position: relative;
          z-index: 1;
      }
/* Ensure SVG renders crisply */
.navbar-brand img[src$=".svg"],
.footer-logo[src$=".svg"] {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
    .navbar-brand img {
        /* Set optimal size for mobile - adjust as needed */
        width: 150px;
        /* Prevent upscaling blur */
        max-width: 100%;
        /* Fix positioning */
        margin: 0;
        padding: 5px 0;
      }
        .footer-logo {
            width: 120px; /* Slightly smaller on mobile but maintains quality */
            height: auto;
          }
        /* Make container and columns full width */
        #footer .container,
        #footer .row,
        #footer .col {
          width: 100%;
          display: block;
          padding: 10px;
          box-sizing: border-box;
        }
      
        /* Adjust footer heading size */
        .footer-quick h3 {
          font-size: 1.2rem !important;
          margin-bottom: 1rem;
        }
      
        /* Adjust link font size and layout */
        .footer-quick ul {
          padding-left: 0;
        }
      
        .footer-quick ul li {
          margin-bottom: 0.5rem;
        }
      
        .footer-quick ul li a {
          display: inline-block;
          width: 100%;
          font-size: 14px !important;
          line-height: 1.6rem;
          padding-left: 20px;
          position: relative;
          color: white !important;
        }
      
        .footer-quick ul li a::before {
          content: "\2192"; /* right arrow */
          position: absolute;
          left: 0;
          top: 50%;
          transform: translateY(-50%);
          color: #FF971A;
          font-weight: bold;
          font-size: 1rem;
          line-height: 1;
        }
      
        /* Adjust accordion spacing */
        .accordion-button {
          font-size: 1rem;
          padding: 0.75rem 1rem;
        }
      
        .accordion-body {
          padding: 0.5rem 1rem;
        }
      
        /* Optional: Reduce social icon size */
        .footer-social-icons li {
          width: 35px;
          height: 35px;
        }
      
        .footer-social-icons svg {
          width: 20px;
          height: 20px;
          margin-left: 7px;
          margin-top: -4px;
        }
      }
      
