/**
 * Bluestron Institute Footer Styles
 * Version: 2.0.0
 * Author: Churchill Otiende
 *
 * Brand Colors:
 *   --bi-red:    #EB4110
 *   --bi-navy:   #1a1370
 *   --bi-coral:  #ef886b
 *   --bi-indigo: #201a68
 */

.cynet-footer {
    background: #0e0b3a; /* deep indigo-black */
    color: #ffffff;
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Top accent bar: red → coral */
.cynet-footer-top-accent {
    height: 6px;
    background: linear-gradient(90deg, #EB4110 0%, #ef886b 100%);
}

.cynet-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 0 20px;
}

.cynet-footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
}

/* Column headings */
.cynet-footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ef886b; /* coral */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cynet-footer-about {
    padding-right: 20px;
}

/* Text logo fallback */
.cynet-footer-logo {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.cynet-footer-logo span {
    color: #EB4110; /* red */
}

.cynet-footer-logo-img {
    margin-bottom: 20px;
}

.cynet-logo-image {
    max-width: 200px;
    height: auto;
    display: block;
}

.cynet-footer-tagline {
    font-size: 14px;
    color: #ef886b; /* coral */
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cynet-footer-description {
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.60);
    font-size: 15px;
}

/* Certification badges */
.cynet-footer-certifications {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cynet-cert-badge {
    padding: 8px 16px;
    background: rgba(235,65,16,0.12);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid rgba(235,65,16,0.35);
    color: #ef886b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nav links */
.cynet-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cynet-footer-links li {
    margin-bottom: 14px;
}

.cynet-footer-links a {
    color: rgba(255,255,255,0.60);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.cynet-footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #EB4110;
    transition: width 0.3s ease;
}

.cynet-footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.cynet-footer-links a:hover::before {
    width: 100%;
}

/* Contact items */
.cynet-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.60);
    font-size: 15px;
    line-height: 1.6;
}

.cynet-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(235,65,16,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cynet-contact-icon svg {
    width: 18px;
    height: 18px;
    fill: #EB4110;
    transition: fill 0.3s ease;
}

.cynet-contact-item:hover .cynet-contact-icon {
    background: #EB4110;
    transform: scale(1.1);
}

.cynet-contact-item:hover .cynet-contact-icon svg {
    fill: #ffffff;
}

.cynet-contact-item a {
    color: rgba(255,255,255,0.60);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cynet-contact-item a:hover {
    color: #ef886b;
}

/* Social links */
.cynet-social-links {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.cynet-social-link {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.60);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.10);
}

.cynet-social-link:hover {
    background: linear-gradient(135deg, #EB4110 0%, #ef886b 100%);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(235,65,16,0.40);
}

.cynet-social-link:hover svg {
    fill: #ffffff;
}

.cynet-social-link svg {
    fill: rgba(255,255,255,0.60);
    transition: fill 0.3s ease;
}

/* Bottom bar */
.cynet-footer-bottom {
    background: #09072a; /* darker navy-black */
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.cynet-footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,0.35);
    font-size: 14px;
}

.cynet-footer-bottom-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.cynet-footer-bottom-links a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cynet-footer-bottom-links a:hover {
    color: #ef886b;
}

/* Newsletter */
.cynet-newsletter {
    margin-top: 28px;
}

.cynet-newsletter-text {
    color: rgba(255,255,255,0.60);
    font-size: 14px;
    margin-bottom: 12px;
}

.cynet-newsletter-form {
    display: flex;
    gap: 10px;
}

.cynet-newsletter-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cynet-newsletter-input::placeholder {
    color: rgba(255,255,255,0.30);
}

.cynet-newsletter-input:focus {
    background: rgba(255,255,255,0.09);
    border-color: #EB4110;
}

.cynet-newsletter-button {
    padding: 14px 28px;
    background: linear-gradient(135deg, #EB4110 0%, #c73408 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(235,65,16,0.35);
}

.cynet-newsletter-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(235,65,16,0.50);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .cynet-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .cynet-footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .cynet-footer-container {
        padding: 40px 20px 0 20px;
    }

    .cynet-footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cynet-footer-logo {
        font-size: 28px;
    }

    .cynet-footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .cynet-footer-bottom-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .cynet-newsletter-form {
        flex-direction: column;
    }

    .cynet-newsletter-button {
        width: 100%;
    }

    .cynet-social-links {
        justify-content: center;
    }

    .cynet-footer-certifications {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cynet-footer-logo {
        font-size: 24px;
    }

    .cynet-footer-tagline {
        font-size: 12px;
    }

    .cynet-footer-description {
        font-size: 14px;
    }

    .cynet-footer-column h3 {
        font-size: 14px;
    }

    .cynet-contact-icon {
        width: 36px;
        height: 36px;
    }

    .cynet-contact-icon svg {
        width: 16px;
        height: 16px;
    }

    .cynet-social-link {
        width: 40px;
        height: 40px;
    }
}

/* Fix for themes that might have conflicting styles */
.cynet-footer * {
    box-sizing: border-box;
}

.cynet-footer ul {
    list-style: none;
}

.cynet-footer a {
    outline: none;
}

/* Print styles */
@media print {
    .cynet-footer {
        display: none;
    }
}