/* Global Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #111;
}
.newsletter {
  text-align: center;
  padding: 20px;
}

.newsletter-form {
     display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 10px;
    gap: 10px;
    flex-direction: column;

}

.newsletter-input {
  padding: 10px;
  font-size: 16px;
  width: 100%;
     max-width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.newsletter-input:focus {
  border-color: #007BFF; /* Change border color on focus */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.subscribe-btn {
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007BFF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #0056b3;
}

.footer {
    background: linear-gradient(to bottom, #1a1a1a, #111);
    color: #fff;
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ffd700, #ff8c00);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

/* Footer Left Section */
.footer-left {
    flex: 1;
    min-width: 280px;
}

.footer-left .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-left .logo:hover {
    transform: translateX(5px);
}

.footer-left .logo img {
    max-width: 40px;
    height: auto;
    filter: brightness(1.2);
}

.footer-left .logo h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(45deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-left p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.footer-left p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, #ff8c00, transparent);
}

.footer-left .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-left .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-left .social-icons a:hover {
    background: #ff8c00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

/* Footer Center Section */
.footer-center {
    flex: 1;
    min-width: 200px;
}

.footer-center h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-center h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ff8c00, transparent);
}

.footer-center ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-center ul li {
    margin: 0;
}

.footer-center ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.footer-center ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff8c00;
    transition: width 0.3s ease;
}

.footer-center ul li a:hover {
    color: #ff8c00;
}

.footer-center ul li a:hover::before {
    width: 100%;
}

/* Footer Right Section */
.footer-right {
    flex: 1;
    min-width: 280px;
}

.footer-right .newsletter h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-right .newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ff8c00, transparent);
}

.footer-right .newsletter p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff8c00;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.subscribe-btn {
    padding: 12px 25px;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.subscribe-btn:hover::before {
    left: 100%;
}

/* Footer Bottom Section */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 10px;
    position: relative;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff8c00;
    transition: width 0.3s ease;
}

.footer-bottom a:hover {
    color: #ff8c00;
}

.footer-bottom a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left .logo {
        justify-content: center;
    }

    .footer-left p::before {
        display: none;
    }

    .footer-center ul {
        justify-content: center;
        gap: 15px;
    }

    .footer-center h4::after,
    .footer-right .newsletter h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-left .logo h3 {
        font-size: 1.2rem;
    }

    .footer-center h4,
    .footer-right .newsletter h4 {
        font-size: 1.1rem;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .footer-center ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}
