.lead  {
  font-weight: inherit;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.w-18 {
  width:18px;
}

.imgb {
  display: flex !important; /* Use flexbox for horizontal alignment */
}

.imgb img {
  max-width: 80px; /* Set maximum width for images */
  width: 100%; /* Allow images to scale responsively */
  height: auto; /* Maintain aspect ratio */
  margin: auto;
}

#linksinput #url, #linksinput #urls {
  font-size: 16px;
}

.sclogo {
  max-width: 100px !important;
}

.row-forwho ul {
  list-style: none; /* Remove the default bullet */
  margin-bottom: 2em;
}

.row-forwho ul li {
  margin-bottom: 1em;
}

.row-forwho ul li i {
  margin-right: 8px;
  color: #0088ff; /* Adjust the icon color */
  margin-left: -25px;
}


.fw-600 {
  font-weight: 600;
}

#imgamzlogo {
  max-width:24px;
  margin-right:6px;
}

.grecaptcha-badge { 
  visibility: hidden;
}

#output-result, #shortenform, #supportedapps {
    /* width: 80%;  */
    margin: auto;
}

.supportedapp {
    display: block;
    float: left;
    margin: 0.4em;
    zoom: 0.45;
    opacity: 0.8;
}

.supportedapp:hover {
  opacity: 1;
}

@media (max-width:767px){

    #explanation .container {
        padding: 0 2em;
    }
    
    #supportedapps h6 {
      font-size: 1em
    }

}   

.shortener-box h2 {
    margin-top:.5em;
    font-size: 1.38rem !important;
}



/* Custom styles for small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    /* Your styles here */
    .shortener-box-div  {
        padding:0;
    }
  }
  
  /* Custom styles for medium devices (tablets, 768px and up) */
  @media (min-width: 768px) {
    /* Your styles here */
    .main-shortenbtn button {
      border-radius: 0 8px 8px 0;
    }
  }


.isus .foran {
  display: none;
}

.foran {
  display: initial;
}

.isus .forlog {
  display: initial;
}

.forlog {
  display: none;
}

/* Hello bar */
#hello-bar {
  background: linear-gradient(to right, #ff7e5f, #feb47b);
  border: none;
  color: white;
  font-weight: bold;
  padding: 10px;  /* Adjust padding to make the bar thinner */
  position: relative;
}
#hello-bar .close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}


/* Adjusted styles */
.table tbody tr:not(:first-child) td:first-child {
  position: sticky;
  left: 0;
  background-color: white;
  width: 200px; /* Adjust this value to set the width of the first column */
}

/* Optional: Add a border to the right side of the first column */
.table tbody tr:not(:first-child) td:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background-color: #ddd;
}

.small-badge {
  zoom: .8;
  position: absolute;
  margin-left: 7px;
  margin-top: 6px;
}

/* home page registration box styles */
.regbox ul {
  list-style-type: none;
  padding: .5em 0 1.5em 0;
  margin-bottom: 0;
}

.regbox ul li {
  position: relative;
  padding-left: 1.5em;
}

.regbox ul li i {
  position: absolute;
  left: 0;
}

.regbox i.fas.fa-lock {
  color: lightgray;
}

.color-gray {
  color: gray;
}

.bg-lightgray {
  background-color: #f1f1f1 !important;
}

#extensions img {
  max-width: 270px;
}

@media (min-width: 768px) {
  .regbox ul {
    padding: 0 0 0 1em;
  }

  .regbox h3 {
    padding-left:.5em !important;
  }
}

@media (max-width: 767px) {
  #hero h1 {
    font-size: 2.2em;
    margin-bottom: 1rem !important;
  }
  #hero .underh1 {
    font-size: 1rem !important;
    margin-bottom: 1em !important;
  }
  #hero h2 {
    font-size: 1.145em !important;
  }
}

.bg-primary-soft {
  background-color: rgba(0, 123, 255, 0.1);
}

.bg-success-soft {
  background-color: rgba(40, 167, 69, 0.1);
}

.gradient-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0099ff 100%);
}

/* Info icon styling for tooltips */
.fa-info-circle[data-bs-toggle="tooltip"] {
  cursor: help;
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.fa-info-circle[data-bs-toggle="tooltip"]:hover {
  opacity: 1;
}

/* Ensure input and button have same height in link generator */
.shortener-box-div .input-group-lg .form-control,
.shortener-box-div .input-group-lg .btn {
  height: 48px;
  line-height: 1.5;
}

.shortener-box-div .input-group {
  display: flex;
  align-items: stretch;
}

/* Prevent button from moving on hover */
.shortener-box-div .btn-primary:hover {
  transform: none !important;
}

.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card.highlight {
  border-left: 4px solid #0d6efd;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
}

.feature-list li i {
  margin-top: 4px;
  margin-right: 8px;
  flex-shrink: 0;
}

.feature-list2 {
  list-style: none;
  padding-left: 1em;
}

.feature-list2 li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}

.feature-list2 li i {
  position: absolute;
  left: 0;
  top: 4px;
}

.clip-text {
  background: linear-gradient(to right, #0d6efd, #0099ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-header[data-bs-toggle="collapse"] {
  cursor: pointer;
}

.card-header[data-bs-toggle="collapse"]::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  float: right;
  transition: transform 0.2s ease;
margin-bottom: -1em;
  margin-top: -1.5em;
}

.card-header[data-bs-toggle="collapse"][aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.ribbon-wrapper {
  width: 120px;
  height: 120px;
  overflow: hidden;
  position: absolute;
  right: -10px;
  top: -10px;
  z-index: 5;
}

.ribbon {
  font: bold 15px sans-serif;
  color: #fff;
  text-align: center;
  transform: rotate(45deg);
  position: relative;
  padding: 7px 0;
  top: 15px;
  left: 30px;
  width: 120px;
  background-color: #28a745;
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
}

.ribbon-top-right {
  top: -10px;
  right: -10px;
}

.brand-logos img {
  height: 30px;
  object-fit: contain;
}

.zoom-12 {
zoom: 1.2;
}

.zoom-15 {
zoom:1.5;
}

.zoom-07 {
zoom: 0.7;
}

.stat-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animation for hero section */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
      transform: translatey(0px);
  }
  50% {
      transform: translatey(-20px);
  }
  100% {
      transform: translatey(0px);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .comparison-table .row {
      margin-bottom: 10px;
  }
  
  .stat-box {
      width: 40px;
      height: 40px;
  }
  
  .hero-image {
      max-height: 250px;
  }
  
  .d-flex.justify-content-center.align-items-center.mb-4.py-2 {
      flex-wrap: wrap;
  }
  
  .badge.me-3 {
      margin-bottom: 5px;
  }
}

/* Additional hover effects */
.btn-primary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Testimonial styles */
.testimonial-avatar img {
  border: 3px solid #f8f9fa;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.mt-2p {
  margin-top: 2px;
}

#wwith h5 {
  font-size: 1em;
}

#main-menu .btn-outline-primary {
  border-bottom: 1px solid #0088ff;
}

.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:hover:focus {
  border-radius: 0;
}

.dropdown-menu li {
  margin-right: 0 !important;
}

/* Fix line breaks in alert messages */
.custom-alert,
.custom-alert.alert {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
}

/* Ensure icon stays inline */
.custom-alert::before {
  flex-shrink: 0;
  display: inline-flex !important;
}

.custom-alert br,
.alert br {
  display: block;
  content: "";
  margin-bottom: 0.5rem;
}

/* Fix burger menu positioning on home page for mobile */
header .navbar.navbar-expand-lg {
  display: flex !important;
  /* flex-wrap: wrap !important; */
  align-items: center !important;
  justify-content: space-between !important;
}

/* Prevent logo from taking full width on mobile - override Bootstrap col-md-3 */
header .navbar.navbar-expand-lg > a.col-md-3:first-child,
header .navbar.navbar-expand-lg > a:first-child {
  flex: 0 1 auto !important;
  max-width: none !important;
  width: auto !important;
  padding-right: 15px !important;
}

/* Keep burger menu on the same line - override any margin/positioning */
header .navbar.navbar-expand-lg > button.navbar-toggler {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  position: relative !important;
}

/* Ensure collapsed menu wraps to next line */
header .navbar.navbar-expand-lg > .navbar-collapse {
  flex-basis: 100% !important;
  order: 3 !important;
}