/* assets/css/footer.css - styles for the site footer, responsive and matching provided reference image */

:root {
    --footer-bg: #23282b;
    --footer-text: #c7ced1;
    --footer-muted: #97a0a5;
    --accent: #69B979;
    --checkbox-color:#f97316;
}

.siteFooter {
    background: var(--footer-bg);
    color: var(--footer-text);
}

.siteFooter a {
    color: var(--footer-text);
    text-decoration: none;
}

.siteFooter a:hover {
    color: white;
}

.siteFooter-inner {
    padding-top: 48px;
    padding-bottom: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.footer-col h4 {
    color: white;
    margin: 0 0 12px 0;
    font-size: 1rem;
}

/* Left Column Styles */
.footer-left .footer-logo img {
    height: 36px;
    margin-bottom: 8px;
}

.footer-social {
    margin: 12px 0;
}

.footer-social.flex-col {
    display: flex;
    flex-direction: column;
}

/* .footer-social b {
    color: white;
    font-size: 0.95rem;
} */

.footer-social .flex {
    display: flex;
}

.footer-social .items-center {
    align-items: center;
}

.footer-social .gap-2 {
    gap: 8px;
}

.social-link {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: var(--footer-text);
    transition: background 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.footer-contact p {
    margin: 8px 0;
    color: var(--footer-muted);
    font-size: 0.92rem;
    /* line-height: 1.6; */
}

.footer-contact a {
    color: var(--footer-text);
    font-size: 0.92rem;
}

.footer-contact a:hover {
    color: white;
}

/* Center Column Styles */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--footer-muted);
}


.footer-links a {
    color: var(--footer-text);
    opacity: 0.9;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: white;
}

/* Right Column - Newsletter Styles */
.footer-right .newsletter-desc {
    color: var(--footer-muted);
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Newsletter input and join button (rounded white input + green joined button) */
.footer-newsletter {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    align-items: center;
    max-width: 420px;
}

.footer-newsletter input[type="email"] {
    flex: 1;
    padding: 13px 16px;
    border-radius: 8px 0 0 8px;
    border: 0;
    height: 48px;
    background: #ffffff;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    outline: none;
    font-size: 0.95rem;
}

.footer-newsletter input::placeholder {
    color: #9ca3af;
}

.footer-newsletter input:focus {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.footer-newsletter .newsletter-join {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 20px;
    height: 48px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(105, 185, 121, 0.2);
    transition: background 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-newsletter .newsletter-join:hover {
    background: #5aa869;
}

.footer-newsletter .newsletter-join:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Newsletter Legal/Checkbox */
.newsletter-legal {
    display: block;
    color: var(--footer-muted);
    font-size: 0.85rem;
    margin-top: 12px;
    line-height: 1.6;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.newsletter-legal input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent);
    border: 1px solid var(--footer-muted);
}

.newsletter-legal input[type="checkbox"]:checked {
    background-color: var(--checkbox-color);
    border-color: var(--checkbox-color);
}

.newsletter-legal a {
    color: var(--footer-text);
    text-decoration: underline;
}

.newsletter-legal a:hover {
    color: white;
}

/* Error and Success Messages */
.text-red-500 {
    color: #ef4444;
}

.text-yellow-500 {
    color: #eab308;
}

.text-sm {
    font-size: 0.875rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

/* Captcha Styles */
.capt input {
    color: black;
}

/* Utility Classes */
.mb-4 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.opacity-50 {
    opacity: 0.5;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 20px;
    text-align: center;
    color: var(--footer-muted);
    font-size: 0.85rem;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 1rem;
}

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

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .siteFooter-inner {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .footer-social .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-newsletter {
        max-width: 100%;
    }
    
    .newsletter-legal {
        font-size: 0.8rem;
    }
    
}