/* Custom Footer Styles */
footer {
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.footer-logo img {
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.03);
}

.social-icons .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons .social-icon:hover {
    background: var(--bs-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-links li a {
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
    color: #b3b3b3 !important;
}

.footer-links li a:hover {
    color: #fff !important;
    padding-left: 10px;
}

.footer-links li a i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.contact-info i {
    color: var(--bs-primary);
    font-size: 1.2rem;
    min-width: 24px;
}

.contact-info h6 {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-info a {
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--bs-primary) !important;
}

.newsletter .form-control {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    height: 48px;
}

.newsletter .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.newsletter .btn {
    height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .footer-logo {
        text-align: center;
    }
    
    .social-icons {
        text-align: center;
    }
    
    .social-icons ul {
        justify-content: center;
    }
}

/* Animation for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer .col-md-6,
footer .col-lg-4,
footer .col-lg-3,
footer .col-lg-2 {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

footer .col-md-6:nth-child(1) { animation-delay: 0.1s; }
footer .col-md-6:nth-child(2) { animation-delay: 0.2s; }
footer .col-lg-4 { animation-delay: 0.3s; }
footer .col-lg-3 { animation-delay: 0.4s; }
footer .col-lg-2 { animation-delay: 0.5s; }
/* === Hero Title Responsive Fix === */
#main-banner h1 {
  font-size: 2.2rem;   /* desktop size */
  line-height: 1.2;
  word-break: keep-all; /* prevents breaking single letters */
}

@media (max-width: 768px) {
  #main-banner h1 {
    font-size: 1.6rem;  /* tablets */
  }
}

@media (max-width: 480px) {
  #main-banner h1 {
    font-size: 1.3rem;  /* phones */
  }
}
