/* ==========================================================================
   MOBILE RESPONSIVE STYLES
   Using max-width queries to target mobile without breaking desktop
   ========================================================================== */

/* ==========================================================================
   MOBILE (max-width: 479px) - Extra Small Devices
   ========================================================================== */
@media only screen and (max-width: 479px) {
  /* Base mobile styles */
  body {
    font-size: 14px;
    overflow-x: hidden;
  }

  /* Header */
  .header-row {
    padding: 8px 10px;
  }

  .navbar-brand img {
    max-width: 100px !important;
    width: 100px !important;
  }

  .menu-btn {
    font-size: 24px;
    padding: 8px;
  }

  /* Navigation Modal */
  .navbar-collapse.collapse.show {
    height: 100vh;
    padding-top: 30px;
  }

  .navbar-collapse.collapse.show .navbar-nav {
    padding-top: 30px;
  }

  .navbar-nav {
    padding-top: 30px;
  }

  .navbar-nav .nav-item {
    padding: 8px 10px;
  }

  .navbar-nav .nav-item a {
    font-size: 16px;
    padding: 10px 15px;
    min-height: 44px;
  }

  .navbar-nav .nav-item a img {
    width: 24px;
    height: 24px;
    padding-bottom: 5px;
  }

  .navbar-nav .nav-item a p {
    font-size: 12px;
    margin: 0;
  }

  /* Dropdown - hidden on mobile (using JS toggle instead) */
  .navbar-nav li.navbar-dropdown .dropdown {
    display: none !important;
  }

  /* Mobile dropdown toggle arrow */
  .mobile-arrow {
    display: inline-block !important;
  }

  .mobile-dropdown {
    display: none;
    padding: 10px 20px;
    background: #1a1a1a;
  }

  .mobile-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    border-bottom: 1px solid #333;
    font-size: 14px;
  }

  .mobile-dropdown a:hover {
    color: #07a157;
    padding-left: 20px;
  }

  .mobile-dropdown.show {
    display: block;
  }

  .mobile-arrow::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
  }

  .navbar-nav li.navbar-dropdown .mobile-arrow::before {
    content: "\f078";
  }

  .navbar-nav li.navbar-dropdown.show > a .mobile-arrow::before {
    content: "\f077";
  }

  /* Mobile navigation items - touch-friendly */
  .navbar-nav .nav-item {
    position: relative;
  }

  .navbar-nav .nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-link {
    position: relative;
  }

  .nav-link[onclick] {
    cursor: pointer;
  }

  /* Social Icons */
  .social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    margin: 10px 0;
  }

  .social-icons li {
    margin: 0;
    padding: 0;
  }

  .social-icons li a {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Banner */
  .article-row-1 {
    padding: 80px 10px 40px;
  }

  .banner-content h1 {
    font-size: 1.25rem;
    padding: 8px 10px;
  }

  .banner-content p {
    font-size: 0.875rem;
  }

  .video-banner {
    height: 40vh;
    min-height: 250px;
  }

  /* Typography */
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.125rem;
  }
  h4 {
    font-size: 1rem;
  }
  h5 {
    font-size: 0.9375rem;
  }
  h6 {
    font-size: 0.8125rem;
  }

  p {
    font-size: 0.875rem;
  }

  /* Titles */
  .abt-title,
  .bod-title {
    font-size: 1.25rem;
  }

  /* Service boxes */
  .box {
    width: 100% !important;
    height: 180px;
    margin: 15px 0;
  }

  .box a {
    font-size: 16px;
  }

  .boxTextBot {
    font-size: 12px;
    bottom: 15px;
    left: 15px;
  }

  /* Sections */
  .services-offer-section,
  .gallery-row,
  .investors,
  .contact-page,
  .port-folio {
    padding: 30px 10px;
  }

  .footer-main {
    padding-top: 30px;
  }

  .footer-fav {
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    padding: 15px 0;
    text-align: center;
  }

  .footer-fav img {
    transform: none;
  }

  /* Footer top - flexbox for stacked layout */
  .footer-top .row {
    display: flex;
    flex-direction: column;
  }

  .footer-top .col-lg-3,
  .footer-top .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .link-wedges {
    margin-bottom: 0;
    text-align: left;
    padding: 20px 10px;
    border-bottom: 1px solid #ddd;
  }

  .link-wedges h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .link-wedges  li a {
    font-size: 13px;
    padding: 12px 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .addre p {
    font-size: 12px;
    text-align: left;
    padding-left: 0;
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
  }

  .addre p i {
    position: relative;
    display: inline-flex;
    width: 28px;
    height: 28px;
    min-width: 28px;
    margin-right: 10px;
    margin-bottom: 0;
    font-size: 11px;
    justify-content: center;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
    display: flex;
    gap: 15px;
  }

  .social-icons li a {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 16px;
  }

  /* Footer bottom */
  .footer-bottom {
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .footer-bottom p {
    font-size: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.6;
    margin: 0;
    padding: 0;
  }

  .footer-bottom p a {
    display: inline;
    word-break: break-word;
  }

  /* Forms */
  .form-control {
    width: 100%;
    height: 44px;
    font-size: 14px;
  }

  .divcheckbox {
    width: 100%;
  }

  /* Buttons */
  .button {
    font-size: 16px;
    padding: 12px 20px;
    width: 100%;
    max-width: 100%;
  }

  .button-1 {
    margin-left: 0;
  }

  /* Cards */
  .service-box {
    padding: 15px;
    margin-bottom: 20px;
  }

  /* Grid */
  .grid-wrapper {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  /* Timeline */
  .timeline::after {
    left: 15px;
  }

  .timeline-event {
    width: 100%;
    padding-left: 35px;
    padding-right: 10px;
  }

  .timeline-event.left::before,
  .timeline-event.right::before {
    left: 6px;
  }

  /* Modal */
  .modal-dialogs {
    width: 95% !important;
    margin: 10% auto !important;
    padding: 15px;
  }

  /* Floating buttons */
  .float {
    right: 10px;
    bottom: 100px;
  }

  .float img {
    width: 40px;
    height: 40px;
  }

  .floats {
    right: 10px;
    bottom: 60px;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .progress-wrap {
    right: 10px;
    bottom: 15px;
    width: 40px;
    height: 40px;
  }

  /* Docs Grid */
  .docs-grid {
    grid-template-columns: 1fr;
  }

  /* Carousel */
  .owl-carousel .item img {
    max-width: 150px;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Video modal */
  .video-modal-container {
    width: 95%;
  }

  .video-modal-close {
    width: 36px;
    height: 36px;
  }

  /* Touch targets */
  a,
  button,
  input,
  select,
  label {
    min-height: 44px;
  }

  /* Menu logo */
  .menu-logo {
    text-align: center;
  }

  .menu-logo img {
    max-width: 100px !important;
    width: 100px !important;
  }
}

/* ==========================================================================
   TABLET (max-width: 767px) - Small to Medium Devices
   ========================================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  /* Header */
  .header-row {
    padding: 10px 15px;
  }

  .navbar-brand img {
    max-width: 120px !important;
    width: 120px !important;
  }

  /* Navigation */
  .navbar-nav {
    padding-top: 50px;
  }

  .navbar-nav .nav-item a {
    font-size: 18px;
  }

  /* Banner */
  .article-row-1 {
    padding: 100px 20px 50px;
  }

  .banner-content h1 {
    font-size: 1.75rem;
  }

  /* Titles */
  .abt-title,
  .bod-title {
    font-size: 1.5rem;
  }

  /* Service boxes */
  .box {
    width: 48% !important;
    margin: 1%;
  }

  /* Footer - use flexbox for stacked layout on tablet */
  .footer-fav {
    position: relative;
    transform: none;
    left: auto;
    padding: 20px 0;
    text-align: center;
  }

  .footer-fav img {
    transform: none;
  }

  /* Footer top - flexbox for stacked layout */
  .footer-top {
    padding: 25px 15px;
  }

  .footer-top .row {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .footer-top .col-lg-3,
  .footer-top .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .link-wedges {
    margin-bottom: 10px;
    text-align: left;
    padding: 20px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
  }

  .link-wedges h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .link-wedges ul li a {
    font-size: 14px;
    padding: 10px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .addre p {
    font-size: 13px;
    text-align: left;
    padding: 8px 0;
  }

  .addre p i {
    position: relative;
    display: inline-flex;
    width: 26px;
    height: 26px;
    min-width: 26px;
    margin-right: 10px;
    margin-bottom: 0;
    font-size: 11px;
    justify-content: center;
    align-items: center;
  }

  .social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
  }

  .social-icons li {
    margin: 0;
    padding: 0;
  }

  .social-icons li a {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .link-wedges iframe {
    height: 180px;
  }

  /* Footer bottom */
  .footer-bottom {
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .footer-bottom p {
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
  }

  .footer-bottom p a {
    display: inline;
  }

  /* Grid */
  .grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Docs */
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Form */
  .form-control {
    width: 90%;
  }

  .divcheckbox {
    width: 90%;
  }

  /* Touch targets */
  a,
  button,
  input,
  select,
  label {
    min-height: 44px;
  }
}

/* ==========================================================================
   TABLET LANDSCAPE / SMALL DESKTOP (max-width: 991px)
   ========================================================================== */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  /* Header */
  .navbar-brand img {
    max-width: 140px !important;
  }

  /* Navigation */
  .navbar-nav {
    gap: 15px;
  }

  .navbar-nav .nav-item {
    padding: 8px 15px;
  }

  /* Dropdown - hide on tablet */
  .navbar-nav li.navbar-dropdown .dropdown {
    display: none !important;
  }

  /* Mobile dropdown toggle arrow */
  .mobile-arrow {
    display: inline-block !important;
  }

  .mobile-dropdown {
    display: none;
    padding: 10px 20px;
    background: #1a1a1a;
  }

  .mobile-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    border-bottom: 1px solid #333;
    font-size: 14px;
  }

  .mobile-dropdown a:hover {
    color: #07a157;
    padding-left: 20px;
  }

  .mobile-dropdown.show {
    display: block;
  }

  .mobile-arrow::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
  }

  .navbar-nav li.navbar-dropdown .mobile-arrow::before {
    content: "\f078";
  }

  .navbar-nav li.navbar-dropdown.show > a .mobile-arrow::before {
    content: "\f077";
  }

  /* Banner */
  .article-row-1 {
    padding: 120px 30px 60px;
  }

  /* Service boxes */
  .box {
    width: 31% !important;
    margin: 1%;
  }

  /* Footer - flexbox for stacked layout on tablet landscape */
  .footer-fav {
    position: relative;
    transform: none;
    left: auto;
    padding: 25px 0;
    text-align: center;
  }

  .footer-fav img {
    transform: none;
  }

  /* Footer top - flexbox for stacked layout */
  .footer-top {
    padding: 30px 20px;
  }

  .footer-top .row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-top .col-lg-3,
  .footer-top .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .link-wedges {
    margin-bottom: 10px;
    text-align: left;
    padding: 25px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
  }

  .link-wedges h3 {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .link-wedges  li a {
    font-size: 14px;
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .addre p {
    font-size: 14px;
    text-align: left;
    padding: 10px 0;
  }

  .addre p i {
    position: relative;
    display: inline-flex;
    width: 30px;
    height: 30px;
    min-width: 30px;
    margin-right: 12px;
    margin-bottom: 0;
    font-size: 12px;
    justify-content: center;
    align-items: center;
  }

  .social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
  }

  .social-icons li {
    margin: 0;
    padding: 0;
  }

  .social-icons li a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .link-wedges iframe {
    height: 220px;
  }

  /* Footer bottom */
  .footer-bottom {
    padding: 20px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
  }

  .footer-bottom p a {
    display: inline;
  }

  /* Grid */
  .grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Docs */
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   DESKTOP (min-width: 992px) - Large Screens
   Fix vertical scrolling by optimizing section spacing
   ========================================================================== */

/* Reduce excessive padding on desktop for better viewport fit */
@media only screen and (min-width: 992px) {
  /* Article row 1 - banner section */
  .article-row-1 {
    padding: 80px 0 40px !important;
  }

  /* Hide mobile arrow on desktop */
  .mobile-arrow {
    display: none !important;
  }

  /* Hide mobile collapse on desktop */
  .mobile-dropdown {
    display: none !important;
  }

  /* On desktop, use hover for dropdown */
  .navbar-nav li.navbar-dropdown {
    position: relative;
  }

  .navbar-nav li.navbar-dropdown:hover .dropdown {
    display: flex !important;
  }

  /* Service boxes - reduce margin */
  .box {
    margin: 40px 0 40px !important;
  }

  /* About section */
  .abt-row2 {
    padding: 30px 0;
  }

  /* Gallery section */
  .gallery-row {
    padding: 50px 0;
  }

  /* Investors section */
  .investors {
    padding: 50px 0;
  }

  /* Portfolio section */
  .port-folio {
    padding: 50px 0;
  }

  /* Contact page */
  .contact-page {
    padding: 50px 0;
  }

  /* Form section */
  .form-section {
    padding-bottom: 50px;
  }

  /* Body sections padding */
  .bod-1,
  .bod-2 {
    padding-bottom: 40px;
  }
}

/* ==========================================================================
   LARGE DESKTOP (min-width: 1200px)
   ========================================================================== */
@media only screen and (min-width: 1200px) {
  /* Navigation gap for very large screens */
  .navbar-nav {
    gap: 30px;
  }

  /* Article row 1 */
  .article-row-1 {
    padding: 100px 0 50px;
  }
}

/* Very large screens (min-width: 1400px) */
@media only screen and (min-width: 1400px) {
  .article-row-1 {
    padding: 120px 0 60px;
  }

  .box {
    margin: 60px 0 60px;
  }
}

/* ==========================================================================
   SPECIFIC FIXES FOR INNER PAGES
   ========================================================================== */

/* Header row 1 (sticky header for inner pages) */
@media only screen and (max-width: 767px) {
  .header-row1 {
    position: relative;
  }

  .header-row1 .container {
    padding: 10px;
  }

  .header-row1 .menu-logo {
    text-align: center;
    margin-bottom: 10px;
  }

  .header-row1 .social-iconses {
    display: none !important;
  }

  .header-row1 .btn-center {
    text-align: center !important;
  }
}

/* Desktop modal navigation - fix dropdown positioning */
@media only screen and (min-width: 992px) {
  /* Fix dropdown positioning in modal navigation */
  .modal-body .navbar-nav {
    padding-top: 80px !important;
  }

  .modal-body .navbar-nav li.navbar-dropdown {
    position: relative;
  }

  .modal-body .navbar-nav li.navbar-dropdown .dropdown {
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    min-width: 200px;
    padding: 15px 0 !important;
    margin-top: 5px;
  }

  .modal-body .navbar-nav li.navbar-dropdown .dropdown a {
    padding: 8px 20px !important;
    border-right: none !important;
    display: block;
    text-align: center;
  }

  .modal-body .navbar-nav li.navbar-dropdown .dropdown a:hover {
    padding-left: 20px !important;
  }
}

/* Footer fixes for mobile */
@media only screen and (max-width: 767px) {
  .footer-main {
    position: relative;
    padding-top: 20px;
  }

  /* Footer fav icon - centered and properly positioned */
  .footer-fav {
    background: transparent;
    height: auto;
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    padding: 15px 0;
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-fav img {
    transform: none;
    max-height: 40px;
    display: inline-block;
  }

  /* Footer top - use flexbox for proper stacking */
  .footer-top {
    padding: 15px;
  }

  .footer-top .container {
    padding: 0;
  }

  .footer-top .row {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
  }

  /* Each column takes full width and stacked vertically */
  .footer-top .col-lg-3,
  .footer-top .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0;
    margin-bottom: 0;
  }

  /* Link wedges - properly styled sections */
  .link-wedges {
    margin-bottom: 0;
    text-align: left;
    padding: 20px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
  }

  .link-wedges:last-child {
    border-bottom: none;
  }

  .link-wedges h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
  }

  .link-wedges h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #07a157;
    margin-top: 8px;
  }

  /* Quick links and about company lists - left aligned */
  .link-wedges  {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .link-wedges  li {
    padding: 0;
    margin: 0;
  }

  .link-wedges  li a {
    font-size: 14px;
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
  }

  .link-wedges  li a:hover {
    color: #07a157;
    padding-left: 5px;
  }

  .link-wedges  li:last-child a {
    border-bottom: none;
  }

  /* Contact info section */
  .addre {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .addre p {
    font-size: 13px;
    text-align: left;
    padding: 10px 0;
    padding-left: 0;
    margin: 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
  }

  .addre p:last-child {
    border-bottom: none;
  }

  .addre p i {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: #07a157;
    color: #fff;
    border-radius: 50%;
    margin-right: 12px;
    margin-bottom: 0;
    font-size: 12px;
  }

  .addre p a {
    color: #666;
    text-decoration: none;
    min-height: auto;
    display: inline;
  }

  .addre p a:hover {
    color: #07a157;
  }

  /* Social icons - centered with proper spacing */
  .social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    margin-top: 10px;
  }

  .social-icons li {
    margin: 0;
  }

  .social-icons li a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07a157;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .social-icons li a:hover {
    background: #058f47;
    transform: scale(1.1);
  }

  /* Google Maps iframe */
  .link-wedges iframe {
    height: 200px;
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
  }

  /* Footer bottom */
  .footer-bottom {
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .footer-bottom p {
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .footer-bottom p a {
    min-height: auto;
    display: inline;
    word-break: break-word;
  }
}

/* Portfolio page */
@media only screen and (max-width: 767px) {
  .potrfolio-1 .row {
    flex-direction: column-reverse;
  }

  .bod-2 .row {
    flex-direction: column-reverse;
  }

  .invest-2 .row {
    flex-direction: column-reverse;
  }
}

/* ==========================================================================
   UTILITY FIXES
   ========================================================================== */

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure containers don't cause overflow */
.container,
.container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent horizontal scroll */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Section overflow */
section,
.section,
.div {
  max-width: 100%;
  overflow-x: hidden;
}

/* Row overflow */
.row {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Touch-friendly links and buttons */
@media only screen and (max-width: 991px) {
  .navbar-nav .nav-item a,
  .link-wedges  li a,
  .footer-bottom p a,
  .addre p a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
@media only screen and (max-width: 991px) {

  .footer-bottom {
    text-align: center;
    padding: 15px 10px;
  }

  .footer-bottom .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-bottom p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }

  .footer-bottom p a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 5px 8px;
    text-decoration: none;
  }

  /* If you have social icons or links */
  .footer-bottom .social-links,
  .footer-bottom ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .footer-bottom ul li {
    list-style: none;
  }

}
  .form-check {
    min-height: 44px;
  }

  .form-check-input {
    min-width: 20px;
    min-height: 20px;
  }
}

/* ==========================================================================
   CAROUSEL ALIGNMENT FIXES
   ========================================================================== */

/* Brand carousel container */
.carousel-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Article row 1 - SGL banner carousel */
.article-row-1 {
  padding: 100px 0 50px;
}

.article-row-1 .carousel-wrap {
  margin-bottom: 20px;
}

.article-row-1 .owl-carousel .item {
  text-align: center;
}

.article-row-1 .owl-carousel .item img {
  width: 180px !important;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Article row 2 - Brand logos carousel */
.article-row2 {
  padding: 40px 0;
  background: #f8f8f8;
}

.article-row2 .carousel-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.article-row2 .owl-carousel {
  width: 100%;
}

.article-row2 .owl-carousel .item {
  text-align: center;
  padding: 10px;
}

.article-row2 .owl-carousel .item img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

/* OwlCarousel general fixes */
.owl-carousel {
  display: block;
  width: 100%;
}

.owl-carousel .owl-stage-outer {
  overflow: hidden;
}

.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}

.owl-carousel .owl-item {
  float: none;
  display: inline-block;
  vertical-align: middle;
}

.owl-carousel .owl-item > * {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Carousel dots and nav */
.owl-dots {
  text-align: center;
  margin-top: 15px;
}

.owl-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.owl-dot.active {
  background: #07a157;
}

/* Mobile carousel fixes */
@media only screen and (max-width: 767px) {
  .article-row-1 {
    padding: 80px 10px 40px;
  }

  .article-row-1 .owl-carousel .item img {
    width: 120px !important;
  }

  .article-row2 {
    padding: 30px 10px;
  }

  .article-row2 .owl-carousel .item img {
    max-width: 80px;
  }
}

/* Tablet carousel fixes */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .article-row-1 .owl-carousel .item img {
    width: 150px !important;
  }

  .article-row2 .owl-carousel .item img {
    max-width: 100px;
  }
}
