/* ========================================
   FOOTER STYLES
   ======================================== */

/* Main Footer Section */
.footer {
    background-color: #ffffff;
    padding: 80px 0px 32px 0px;
    border-top: 1px solid #e9e9e9;
}

/* Footer Logo */
.footer-logo {
    width: 100%;
    max-width: 15.625rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    max-width: 15.625rem;
    height: auto;
}

/* Social Links */
.footer .social-links {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer .social-links li {
    margin: 0;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer .social-links a:hover {
    background-color: #f85757;
    transform: translateY(-2px);
}

.footer .social-links i {
    font-size: 16px;
}

/* Reviews Section */
.reviews-footer {
    margin-top: 1rem;
}

.reviews-footer .grw-container {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.reviews-footer .grw-reviews-wrap {
    background: transparent !important;
}

/* Google Reviews Specific */
.reviews-footer .grw-google-badge {
    padding: 0 !important;
    margin: 0 !important;
}

.reviews-footer .grw-google-badge-score {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #000000 !important;
}

.reviews-footer .grw-google-powered {
    font-size: 13px !important;
    color: #666666 !important;
}

/* Subscribe Form Section */
.subscribe-form {
    padding-left: 3rem;
}

/* Simplified heading styles using new heading system variables */
.subscribe-form h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--heading-margin-bottom);
    color: var(--heading-color-primary);
    text-align: left;
}

/* MailChimp Form Styles */
.subscribe-form .mc4wp-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.subscribe-form .mc4wp-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.subscribe-form input[type="email"] {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    background-color: #f8f9fa;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23999999" stroke-width="2"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m22 7-10 5L2 7"/></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 20px;
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: #000000;
    background-color: #ffffff;
}

.subscribe-form input[type="email"]::placeholder {
    color: #999999;
}

.subscribe-form .mc4wp-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
}

.subscribe-form .mc4wp-checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.subscribe-form .mc4wp-checkbox label {
    line-height: 1.5;
    cursor: pointer;
}

.subscribe-form .mc4wp-checkbox a {
    color: #000000;
    text-decoration: underline;
}

.subscribe-form .mc4wp-checkbox a:hover {
    color: #333333;
}

.subscribe-form button[type="submit"],
.subscribe-form input[type="submit"] {
    background-color: #1a1a3e;
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    letter-spacing: 0.5px;
}

.subscribe-form button[type="submit"]:hover,
.subscribe-form input[type="submit"]:hover {
    background-color: #2a2a4e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 26, 62, 0.2);
}

/* Legal Links */
.legal-links {
    margin-top: 40px;
    width: 100%;
    text-align: center;
    list-style: none;
}

.legal-links li {
    display: inline-block;
    padding: 0px 5px;
    margin: 0px;
    line-height: 1;
    border-right: 1px solid var(--color-text-primary);
}

.legal-links li:last-child {
    border: 0px;
}

.legal-links li a {
    color: var(--link-footer);
    text-decoration: none;
    line-height: 1;
}

.legal-links li:hover a {
    color: var(--link-footer-hover);
    text-decoration: none !important;
}

/* Typography and Overrides */
.footer {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.footer p,
.footer span {
    color: #333333;
}

/* Override any conflicting styles from other CSS files */
.footer .grw-google-name {
    font-weight: 600 !important;
    color: #000000 !important;
}

.footer .grw-google-rating {
    color: #fbbc04 !important;
}

/* Ensure proper spacing between sections */
.footer .row {
    align-items: flex-start;
}

.footer .col-lg-6:first-child {
    padding-right: 2rem;
}

.footer .col-lg-6:last-child {
    padding-left: 2rem;
}

/* Mobile Responsive Styles Moved */
/* All mobile footer styles (max-width: 991px and max-width: 767px) */
/* have been moved to mobile-consolidated.css for better organization */