/* Responsive Fixes for NIBOG Website */

/* Fix for the registration banner in footer */
.newsletter {
    width: 100%;
    min-height: auto;
    padding: 30px 0;
    background-image: linear-gradient(to right, #fbc2eb 0%, #a6c1ee 51%, #fbc2eb 100%);
    background-size: 300% 100%;
}

.newsletter .heading-title {
    color: #000;
    font-family: 'Fredoka', sans-serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
}

.newsletter h2 {
    color: #34b7a7;
    font-family: 'Fredoka', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.row.top-footer {
    display: flex;
    align-items: center;
    padding: 2px 0 20px;
    flex-wrap: wrap;
}

.creative-btn {
    font-family: "fredoka", Sans-serif;
    font-size: 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    padding: 12px 30px;
    background: #6529d8;
    color: #fff;
    border-radius: 0.85em;
    position: relative;
    display: inline-block;
    text-align: center;
    margin-top: 15px;
}

/* Responsive styles */
@media (max-width: 991px) {
    .newsletter h2 {
        font-size: 28px;
    }
    
    .creative-btn {
        float: none;
        margin-top: 20px;
    }
    
    .col-lg-6.pt-4.pt-lg-0.content {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .newsletter {
        padding: 20px 0;
    }
    
    .newsletter h2 {
        font-size: 24px;
    }
    
    .creative-btn {
        padding: 10px 20px;
        font-size: 18px;
        display: inline-block;
        float: none;
    }
}

@media (max-width: 575px) {
    .newsletter .heading-title {
        font-size: 18px;
    }
    
    .newsletter h2 {
        font-size: 20px;
        word-break: break-word;
    }
    
    .creative-btn {
        width: 100%;
        margin-top: 15px;
    }
}

/* General responsive fixes */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
