/* Contact CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 2rem 0;
    color: white;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: visible;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 11;
}

.contact-cta-section h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    margin-bottom: 0.75rem;
    color: white;
}

.contact-cta-section p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    color: white;
    font-weight: var(--font-medium);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-cta-section .cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    letter-spacing: var(--tracking-wide);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 180px;
    text-align: center;
}

.contact-cta-section .cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-cta-section .cta-button.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.contact-cta-section .cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Main Footer */
.main-footer {
    background: var(--color-secondary-dark);
    background-image: url('../../images/Background.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    color: white;
    padding: 2rem 0 0;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.main-footer .container {
    position: relative;
    z-index: 2;
}

.main-footer .container,
.contact-cta-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 3fr;
    gap: 0 2rem;
    margin-bottom: 1.5rem;
    width: 100%;
    align-items: start;
    padding: 0 2rem;
}

.footer-section h4 {
    color: #1e3a8a;
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: 1rem;
    letter-spacing: var(--tracking-wide);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 55px;
    height: 55px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}

.footer-company-info h3 {
    color: #1e293b;
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.footer-company-info p {
    color: #334155;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

.footer-description {
    color: #334155;
    line-height: var(--leading-snug);
    font-size: var(--text-sm);
    margin-top: 0.5rem;
    font-weight: 500;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
    font-weight: 500;
}

.footer-links a:hover {
    color: #1e3a8a;
}

.contact-details {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-item {
    padding: 0.5rem 0.6rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border-left: 3px solid #2563eb;
    flex: 1 1 45% !important;
    min-width: 0;
    max-width: 48%;
    backdrop-filter: blur(10px);
}

.contact-item strong {
    color: #1e3a8a;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    line-height: 1.2;
}

.contact-item a {
    color: #1e293b;
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.75rem;
    line-height: 1.2;
    display: block;
    word-break: break-all;
    font-weight: 500;
}

.contact-item a[href^="mailto:"] {
    font-size: 0.7rem;
}

.contact-item a:hover {
    color: #2563eb;
}

.contact-person {
    display: block;
    color: #64748b;
    font-size: 0.65rem;
    margin-top: 0.125rem;
    font-style: italic;
    line-height: 1.2;
}

.footer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem;
    height: auto;
}

.footer-stat {
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 55px;
    backdrop-filter: blur(10px);
}

.footer-stat:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-stat .stat-number {
    display: block;
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: #1e3a8a;
    font-family: var(--font-mono);
    margin-bottom: 0.125rem;
    line-height: 1;
}

.footer-stat .stat-label {
    font-size: 0.65rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    line-height: 1.1;
    text-align: center;
    hyphens: auto;
    word-break: break-word;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.3);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 2rem;
}

.footer-bottom p {
    color: #334155;
    font-size: var(--text-sm);
    margin: 0;
    font-weight: 500;
}

.footer-bottom-links span {
    color: #475569;
    font-size: var(--text-sm);
    font-weight: 500;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .main-footer .container,
    .contact-cta-section .container {
        padding: 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .contact-details {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-footer .container,
    .contact-cta-section .container {
        padding: 0;
    }

    .contact-cta-section {
        padding: 1.5rem 0;
    }

    .contact-cta-section h2 {
        font-size: var(--text-3xl);
        margin-bottom: 0.75rem;
    }

    .contact-cta-section p {
        font-size: var(--text-base);
        margin-bottom: 1rem;
        padding: 0 1rem;
        font-weight: var(--font-medium);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
        gap: 0.75rem;
    }

    .contact-cta-section .cta-button {
        padding: 12px 20px;
        font-size: var(--text-sm);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-details {
        flex-direction: column;
    }

    .contact-item {
        min-width: 100%;
    }

    .footer-stats {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.4rem;
        height: auto;
    }

    .footer-stat {
        padding: 0.4rem;
        min-height: 50px;
    }

    .footer-stat .stat-number {
        font-size: var(--text-lg);
    }

    .footer-stat .stat-label {
        font-size: 0.65rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-stats {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 0.5rem;
        height: auto;
    }

    .footer-stat {
        min-height: 50px;
    }
}