/* ================================================
   OlaLingo Campus - Contact Section & Footer
   Consistent branding across all pages
   ================================================ */

/* ================================================
   Contact Section (before footer)
   ================================================ */
.contact-section {
    background: linear-gradient(135deg, #f0fdf9 0%, #e6f7f5 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(1, 151, 137, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #019789;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.contact-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #282034;
    margin-bottom: 8px;
}

.contact-section-subtitle {
    font-size: 1rem;
    color: #666;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Contact Info */
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #282034;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #019789 0%, #06645b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.contact-info-value a {
    color: #019789;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-value a:hover {
    color: #06645b;
    text-decoration: underline;
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.social-link {
    width: 44px;
    height: 44px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s;
    text-decoration: none;
}

.social-link:hover {
    background: #019789;
    transform: translateY(-3px);
}

.social-link.whatsapp:hover {
    background: #25d366;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Contact Form */
.contact-form-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #282034;
    margin-bottom: 24px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.9375rem;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    transition: all 0.2s;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #019789;
    background: white;
    box-shadow: 0 0 0 4px rgba(1, 151, 137, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #019789 0%, #06645b 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1, 151, 137, 0.3);
}

.contact-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-form .btn-submit.loading .btn-text {
    display: none;
}

.contact-form .btn-submit .spinner {
    display: none;
}

.contact-form .btn-submit.loading .spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-success-message {
    display: none;
    text-align: center;
    padding: 30px;
}

.form-success-message.show {
    display: block;
}

.form-success-message .success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.form-success-message h3 {
    font-size: 1.25rem;
    color: #019789;
    margin-bottom: 8px;
}

.form-success-message p {
    color: #666;
}

/* ================================================
   Footer - OlaLingo Brand
   ================================================ */
.footer-olalingo {
    background: #282034;
    color: white;
    padding: 50px 0 30px;
}

.footer-olalingo .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 968px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Footer Brand */
.footer-brand-section {
    max-width: 280px;
}

@media (max-width: 576px) {
    .footer-brand-section {
        max-width: 100%;
    }
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

@media (max-width: 576px) {
    .footer-social {
        justify-content: center;
    }
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: #019789;
    transform: translateY(-3px);
}

/* Footer Columns */
.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #4db8ad;
}

/* Footer Contact */
.footer-contact-info {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

@media (max-width: 576px) {
    .footer-contact-info p {
        justify-content: center;
    }
}

.footer-contact-info a {
    color: #4db8ad;
    text-decoration: none;
}

.footer-contact-info a:hover {
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

@media (max-width: 576px) {
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-legal {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-location-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}
