/* Custom Elementor Widget: Corporate Footer Styles */

/* -------------------------------------------------------------
 * 1. Base Reset & Structure
 * ------------------------------------------------------------- */
.cg-corporate-footer {
    width: 100%;
    box-sizing: border-box;
    color: #cbd5e1;
    font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.cg-corporate-footer * {
    box-sizing: border-box;
}

/* -------------------------------------------------------------
 * 2. Main Footer Layout
 * ------------------------------------------------------------- */
.cg-footer-main {
    background-color: #1a243a;
    padding: 60px 0;
}

.cg-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

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

/* -------------------------------------------------------------
 * 3. Headings & Text Styling
 * ------------------------------------------------------------- */
.cg-footer-col-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cg-loc2-title {
    margin-top: 25px;
    margin-bottom: 15px;
}

.cg-footer-contact {
    font-size: 14px;
    color: #cbd5e1;
}

.cg-footer-contact p {
    margin: 0 0 10px 0;
}

.cg-footer-address {
    font-style: normal;
    white-space: pre-line;
}

.cg-footer-phone a,
.cg-footer-email a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.cg-footer-phone a:hover,
.cg-footer-email a:hover {
    color: #6DC05A;
}

/* -------------------------------------------------------------
 * 4. Links List (Columns 2 & 3)
 * ------------------------------------------------------------- */
.cg-footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cg-footer-links-list li {
    margin-bottom: 12px;
}

.cg-footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.cg-footer-links-list a:hover {
    color: #6DC05A;
    transform: translateX(3px);
}

/* -------------------------------------------------------------
 * 5. Social Media Icons
 * ------------------------------------------------------------- */
.cg-footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.cg-footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #6DC05A;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

.cg-footer-social-icon svg {
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.cg-footer-social-icon:hover {
    background-color: #154683;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(109, 192, 90, 0.15);
}

/* -------------------------------------------------------------
 * 6. Bottom Copyright Bar
 * ------------------------------------------------------------- */
.cg-footer-bottom {
    background-color: #111827;
    padding: 22px 0;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cg-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cg-footer-copyright {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.cg-footer-powered-divider {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.15);
}

.cg-footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.cg-footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cg-footer-bottom-links a:hover {
    color: #6DC05A;
}

.cg-footer-bottom-link-divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.15);
}

/* -------------------------------------------------------------
 * 7. Responsive Breakpoints
 * ------------------------------------------------------------- */
@media (max-width: 991px) {
    .cg-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .cg-footer-col-contact {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .cg-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .cg-footer-col-contact {
        grid-column: span 1;
    }
    
    .cg-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cg-footer-copyright {
        justify-content: center;
        width: 100%;
        margin-bottom: 5px;
    }
    
    .cg-footer-bottom-links {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cg-footer-main {
        padding: 45px 0;
    }
    
    .cg-footer-bottom {
        padding: 20px 0;
    }
}
