/* Home Footer Styles */
.home-footer {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background-color: #2a2a2a;
}

.home-footer-top {
    background-color: #1a1a1a;
    padding: 40px 0;
}

.home-footer-middle {
    padding: 60px 0 40px;
    background-color: #ffffff;
}

.home-footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
}

.footer-contact-box {
    margin-bottom: 30px;
}

.footer-contact-card {
    text-align: center;
    padding: 20px;
    height: 100%;
}

.footer-contact-card .icon {
    font-size: 36px;
    color: #1ebd40;
    margin-bottom: 15px;
}

.contact-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-info {
    color: #ffffff;
    margin-bottom: 15px;
}

.btn-contact {
    display: inline-block;
    padding: 8px 20px;
    background-color: #1ebd40;
    color: #1a1a1a;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #1ebd40;
    color: #ffffff;
    text-decoration: none;
}

.footer-logo-img {
    max-width: 180px;
    margin-bottom: 30px;
}

.footer-about-text {
    color: #000000;
    line-height: 1.6;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #115797;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #1ebd40;
}

.footer-menu {
    list-style: none;
    padding-left: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #000000;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #1ebd40;
    text-decoration: none;
}

.newsletter-text {
    color: #000000;
    margin-bottom: 15px;
}

.newsletter-form .form-group {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
}
.emailbox {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #3a3a3a; /* Dark border */
    background-color: #2a2a2a2a; /* Dark background */
    color: #000000; /* White text */
    border-radius: 4px 0 0 4px; /* Rounded left corners */
    transition: all 0.3s ease;
}

.emailbox:focus {
    border-color: #f8b739;
    background-color: #1ebd4015;
    outline: none;
}

/* To match with your subscribe button */
.btn-subscribe {
    border-radius: 0 4px 4px 0; /* Rounded right corners */
    border-left: none; /* Remove double border */
}

.btn-subscribe {
    background-color: #1ebd40;
    color: #1a1a1a;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #1ebd40;
    color: #ffffff;
}

.footer-social {
    margin-top: 30px;
}

.social-links {
    list-style: none;
    padding-left: 0;
    display: flex;
}

.social-links li {
    margin-right: 15px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #1ebd40;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.copyright-text {
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    
}

@media (max-width: 991px) {
    .footer-widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .footer-contact-box {
        margin-bottom: 30px;
    }
    
    .home-footer-middle {
        padding: 40px 0 20px;
    }
}


/* Top Scroll Button start */
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px; /* Changed from left to right */
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
}

/* Back to Top Button */
#totop {
  position: fixed;
  bottom: 110px; /* Positioned above WhatsApp button */
  right: 45px; /* Same right position as WhatsApp */
  width: 50px;
  height: 50px;
  background: linear-gradient(90deg, #115797, #115697a1);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998; /* Lower than WhatsApp button */
  transform: translateY(20px);
}

#totop i {
  font-size: 24px;
  transition: transform 0.3s ease;
}

#totop.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Hover Effects */
.whatsapp-float:hover,
#totop:hover {
  transform: scale(1.1);
}

.whatsapp-float:hover {
  background-color: #115797;
  animation: none;
  color: white;
}

#totop:hover {
  background: linear-gradient(90deg, #388e3c, #4caf50);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

#totop:hover i {
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
  
  #totop {
    width: 45px;
    height: 45px;
    bottom: 80px;
    right: 20px;
  }
  
  #totop i {
    font-size: 20px;
  }
}
/* WhatsApp Floating Button End */
/* First footer section End*/