/* ================================================================
   GENERATEPRESS FOOTER CSS - MEDICAL LUXURY 2000px FULL WIDTH
   Add to: Appearance > Customize > Additional CSS
   ================================================================ */

/* Import Modern Luxury Fonts - DM Serif Display + DM Sans */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:wght@400&family=DM+Sans:wght@400;500;600;700&display=swap');

/* Global Variables - Medical Luxury Palette */
:root {
    /* Medical Color Palette */
    --ch-bg-white: #FFFFFF;          /* Pure white background */
    --ch-navy: #0B1426;              /* Deep navy medical blue */
    --ch-teal: #2D5A87;              /* True medical teal-blue */
    --ch-teal-light: #3B6FA3;        /* Lighter teal-blue for hover */
    --ch-gold: #C9A96E;              /* Elegant gold accent */
    --ch-gold-light: #D4B68A;        /* Light gold for hover */
    --ch-text-dark: #1F2937;         /* Dark text */
    --ch-text-grey: #6B7280;         /* Medium grey */
    
    /* Typography */
    --ch-font-luxury: 'DM Serif Display', serif;
    --ch-font-body: 'DM Sans', sans-serif;
    
    /* Transitions */
    --ch-transition: 0.4s ease-in-out;
}

/* Hide Default GeneratePress Footer if needed
.site-footer {
    display: none !important;
} */

/* ================================================================
   FOOTER SECTION - MEDICAL LUXURY
   ================================================================ */
.ch-footer {
    position: relative;
    background: var(--ch-bg-white);
    border-top: 1px solid rgba(11, 20, 38, 0.08);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 0 2rem 0;
    margin-top: 6rem;
}

.ch-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 5vw, 5rem);
}

/* Footer Grid Layout */
.ch-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Column Styling */
.ch-footer-column {
    display: flex;
    flex-direction: column;
}

.ch-footer-column h3 {
    font-family: var(--ch-font-luxury);
    font-size: 1.4rem;
    color: var(--ch-navy);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.ch-footer-column p {
    font-family: var(--ch-font-body);
    font-size: 1rem;
    color: var(--ch-text-grey);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ch-footer-column p:last-child {
    margin-bottom: 0;
}

/* Footer Links */
.ch-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ch-footer-column ul li {
    margin-bottom: 0.8rem;
}

.ch-footer-column ul li:last-child {
    margin-bottom: 0;
}

.ch-footer-column a {
    font-family: var(--ch-font-body);
    font-size: 1rem;
    color: var(--ch-text-grey);
    text-decoration: none;
    transition: all var(--ch-transition);
    font-weight: 500;
}

.ch-footer-column a:hover {
    color: var(--ch-teal);
}

/* Email Link Styling */
.ch-footer-email {
    color: var(--ch-teal) !important;
    font-weight: 600;
}

.ch-footer-email:hover {
    color: var(--ch-teal-light) !important;
}

/* Footer CTA Button */
.ch-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    background: var(--ch-teal);
    border: 2px solid var(--ch-teal);
    color: white !important;
    text-decoration: none;
    font-family: var(--ch-font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all var(--ch-transition);
    margin-top: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(45, 90, 135, 0.2);
}

/* Gold shimmer effect for footer CTA */
.ch-footer-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 110, 0.3),
        transparent
    );
    transition: left 0.8s ease;
    transform: skewX(-20deg);
}

.ch-footer-cta-btn:hover {
    background: var(--ch-teal-light);
    border-color: var(--ch-teal-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 135, 0.25);
    color: white !important;
}

.ch-footer-cta-btn:hover::before {
    left: 100%;
}

/* Footer Bottom Bar */
.ch-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(11, 20, 38, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.ch-footer-copyright {
    font-family: var(--ch-font-body);
    font-size: 0.95rem;
    color: var(--ch-text-grey);
}

/* Social Icons */
.ch-footer-socials {
    display: flex;
    gap: 1rem;
}

.ch-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(45, 90, 135, 0.08);
    color: var(--ch-teal);
    border-radius: 50%;
    transition: all var(--ch-transition);
}

.ch-footer-socials a:hover {
    background: var(--ch-teal);
    color: white;
    transform: translateY(-2px);
}

.ch-footer-socials svg {
    width: 20px;
    height: 20px;
}

/* Legal Links */
.ch-footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ch-footer-legal a {
    font-family: var(--ch-font-body);
    font-size: 0.95rem;
    color: var(--ch-text-grey);
    text-decoration: none;
    transition: all var(--ch-transition);
    white-space: nowrap;
}

.ch-footer-legal a:hover {
    color: var(--ch-teal);
}

/* Large Screen Optimization - 2000px */
@media (min-width: 1400px) {
    .ch-footer-container {
        max-width: 1600px;
    }
    
    .ch-footer-grid {
        gap: 4rem;
    }
    
    .ch-footer-column h3 {
        font-size: 1.5rem;
    }
    
    .ch-footer-column p,
    .ch-footer-column a {
        font-size: 1.05rem;
    }
}

@media (min-width: 1800px) {
    .ch-footer-container {
        max-width: 1800px;
    }
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .ch-footer {
        padding: 3rem 0 1.5rem 0;
        margin-top: 4rem;
    }
    
    .ch-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .ch-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .ch-footer-legal {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .ch-footer-legal a {
        font-size: 0.9rem;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .ch-footer {
        padding: 2.5rem 0 1.5rem 0;
        margin-top: 3rem;
    }
    
    .ch-footer-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .ch-footer-column h3 {
        font-size: 1.25rem;
    }
    
    .ch-footer-cta-btn {
        margin-top: 1.2rem;
        padding: 1.1rem 2.2rem;
        font-size: 0.95rem;
    }
    
    .ch-footer-socials {
        gap: 0.8rem;
    }
    
    .ch-footer-socials a {
        width: 38px;
        height: 38px;
    }
}