/* Additional CSS for new structure */

/* IT Services Section */
.it-services {
    margin: 25px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #00dbde;
}

.it-services h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.services-list li {
    color: #b0b0b0;
    font-size: 14px;
    padding: 4px 0;
    position: relative;
    padding-left: 15px;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00dbde;
    font-weight: bold;
}

/* Service Divider Line */
.service-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 219, 222, 0.3), transparent);
    margin: 25px 0;
    width: 100%;
}

/* Legal Links Container */
.legal-links-container {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.legal-link {
    flex: 1;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-link:hover {
    color: #00dbde;
    background: rgba(0, 219, 222, 0.1);
    border-color: rgba(0, 219, 222, 0.3);
    transform: translateY(-2px);
}

/* Improved Newsletter Form */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00dbde, #fc00ff);
}

.footer-newsletter p {
    color: #b0b0b0;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

.input-group {
    display: flex;
    position: relative;
    gap: 0;
}

.input-group input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 0; /* Prevents overflow */
}

.input-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(0, 219, 222, 0.3);
}

.btn-subscribe {
    background: linear-gradient(90deg, #00dbde, #fc00ff);
    border: none;
    color: white;
    padding: 14px 25px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 120px;
}

.btn-subscribe:hover {
    background: linear-gradient(90deg, #00c8cb, #e600e6);
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 219, 222, 0.3);
}

/* Contact Info Alignment Fix */
.footer-contact-info {
    margin-top: 20px;
}

.footer-contact-info p {
    color: #b0b0b0;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-info i {
    color: #00dbde;
    margin-right: 10px;
    min-width: 20px;
    margin-top: 3px;
}

/* Responsive Improvements */
@media (max-width: 991px) {
    .legal-row {
        flex-direction: column;
        gap: 10px;
    }

    .legal-link {
        width: 100%;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group input {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .btn-subscribe {
        border-radius: 8px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-newsletter {
        padding: 20px 15px;
    }

    .legal-links-container {
        padding: 15px;
    }

    .it-services {
        padding: 12px;
    }
}

@media (max-width: 575px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .input-group {
        flex-direction: row;
    }

    .input-group input {
        border-radius: 8px 0 0 8px;
        margin-bottom: 0;
    }

    .btn-subscribe {
        border-radius: 0 8px 8px 0;
        width: auto;
    }
}

/* Footer Layout Specific Styles */

/* Company Header */
.footer-header {
    margin-bottom: 20px;
}

.footer-company-name {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00dbde, #fc00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
}

.company-description p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 219, 222, 0.3), transparent);
    margin: 25px 0;
    width: 100%;
}

.middle-divider {
    margin: 30px 0 20px;
}

/* Address Section */
.address-section {
    margin-top: 20px;
}

.address-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-details p {
    color: #b0b0b0;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-details {
    margin-top: 15px;
}

.contact-details p {
    color: #b0b0b0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.contact-details i {
    color: #00dbde;
    margin-right: 10px;
    min-width: 20px;
}

/* Middle Column Layout */
.middle-column .row {
    margin: 0 -10px;
}

.middle-column .col-4 {
    padding: 0 10px;
}

/* Legal & Security Section */
.legal-security-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.legal-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.legal-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #00dbde;
}

.legal-separator {
    color: #00dbde;
    font-weight: bold;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(0, 219, 222, 0.3);
}

.btn-subscribe {
    background: linear-gradient(90deg, #00dbde, #fc00ff);
    border: none;
    color: white;
    padding: 14px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 120px;
}

.btn-subscribe:hover {
    background: linear-gradient(90deg, #00c8cb, #e600e6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 219, 222, 0.3);
}

/* Responsive Design for this layout */
@media (max-width: 1199px) {
    .middle-column .col-4 {
        width: 100%;
        margin-bottom: 20px;
    }

    .legal-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .legal-separator {
        display: none;
    }
}

@media (max-width: 991px) {
    .footer-company-name {
        font-size: 24px;
    }

    .middle-column .row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .middle-column .col-4 {
        flex: 0 0 calc(33.333% - 20px);
    }

    .input-group {
        flex-direction: column;
    }

    .btn-subscribe {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-company-name {
        font-size: 22px;
        text-align: center;
    }

    .middle-column .col-4 {
        flex: 0 0 calc(50% - 15px);
    }

    .legal-security-section {
        padding: 15px;
    }

    .newsletter-section {
        padding: 20px 15px;
    }
}

@media (max-width: 575px) {
    .middle-column .col-4 {
        flex: 0 0 100%;
    }

    .input-group {
        flex-direction: column;
    }

    .btn-subscribe {
        width: 100%;
    }

    .footer-bottom .row > div {
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-payment {
        text-align: center !important;
    }
}