/* Newsletter Section Styles */
.newsletter-section {
    background: linear-gradient(135deg, #4299e1 0%, #2b6cb0 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
@media(max-width: 767.5px){
    .newsletter-section{
        padding: 50px 0;
    }
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
@media(max-width: 767.5px){
    .newsletter-title{  
        font-size: 25px;
    }
    .newsletter-description{
        font-size: 16px;
    }
}
@media(max-width: 543.5px){
    .newsletter-title{
        font-size: 20px;
    }
    .newsletter-description{
        font-size: 15px;
    }
    
}
.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-button {
    background: #2d3748;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #1a202c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
.footer {
    background: #2d3748;
    color: white;
    padding: 80px 0 0;
    position: relative;
}

@media(max-width: 767.5px){
    .footer{
        padding: 50px 0;
    }
}
@media (max-width:991px){
    .footer{
        padding: 30px 0px 0px;
    }
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-column {
    margin-bottom: 40px;
}

.footer-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #4299e1;
    transition: width 0.3s ease;
}

.footer-column:hover .footer-title::after {
    width: 75px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    margin-right: 5px;
    transform: translateX(-10px);
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(10px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: white; */
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4299e1;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-text a{
    color: #fff9;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-button {
        width: 100%;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 991.5px){
    .footer-about{
        text-align: center;
    }
    .footer-social{
        justify-content: center;
    }
    .footer-about .footer-title::after{
        display: none;
    }
    .footer-about .footer-title{
        padding: 0;
        font-size: 25px;
    }
    .footer-column, .footer-bottom-text{
        margin-bottom: 0;
    }
    .footer-about{
        margin-bottom: 40px;
    }
}


/* Footer Dropdown Styles */
.footer-column .footer-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    margin-bottom: 1.5rem;
}

.footer-dropdown-icon {
    display: none;
    transition: transform 0.3s ease;
}

.footer-links {
    display: block;
    max-height: 1000px;
    opacity: 1;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 991.5px) {
    .footer-column .footer-title {
        padding: 15px 0;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-dropdown-icon {
        display: block;
        width: 24px;
        height: 24px;
        position: relative;
    }

    .footer-dropdown-icon::before,
    .footer-dropdown-icon::after {
        content: '';
        position: absolute;
        background-color: white;
        transition: transform 0.3s ease;
    }

    .footer-dropdown-icon::before {
        width: 2px;
        height: 12px;
        top: 6px;
        left: 11px;
    }

    .footer-dropdown-icon::after {
        width: 12px;
        height: 2px;
        top: 11px;
        left: 6px;
    }

    .footer-column.active .footer-dropdown-icon::before {
        transform: rotate(90deg);
    }

    .footer-links {
        max-height: 0;
        opacity: 0;
        padding-left: 15px;
    }

    .footer-column.active .footer-links {
        max-height: 1000px;
        opacity: 1;
        padding: 15px 0;
    }

    .footer-links li {
        margin-bottom: 10px;
        text-align: left;
    }

    .footer-links li:last-child {
        margin-bottom: 0;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
    }

    .footer-column .footer-title::after {
        display: none;
    }

    .footer-links a:hover {
        transform: translateX(5px);
    }
    .footer-about .footer-title{
        padding: 0;
        margin-bottom: 20px;
        border-bottom: 0;
        justify-content: center;
    }
    .footer-about .footer-title .footer-dropdown-icon{
        display: none;
    }
}

/* Animation for smooth height transition */
@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 1000px;
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        max-height: 1000px;
        opacity: 1;
    }
    to {
        max-height: 0;
        opacity: 0;
    }
}