/* ITI Footer Manager Pro - Frontend Styles */

/* ── Reset inside footer ── */
.iti-footer,
.iti-footer *,
.iti-footer *::before,
.iti-footer *::after {
    box-sizing: border-box !important;
}

/* ── Main wrapper ── */
.iti-footer {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
    display: block !important;
}

/* ── Container: override any theme max-width constraint ── */
.iti-footer .iti-footer-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* ── 4-column grid — force single row ── */
.iti-footer .iti-footer-row {
    display: grid !important;
    gap: 36px !important;
    align-items: flex-start !important;
    width: 100% !important;
}
.iti-footer .iti-footer-row.iti-col-4 { grid-template-columns: repeat(4, 1fr) !important; }
.iti-footer .iti-footer-row.iti-col-3 { grid-template-columns: repeat(3, 1fr) !important; }
.iti-footer .iti-footer-row.iti-col-2 { grid-template-columns: repeat(2, 1fr) !important; }
.iti-footer .iti-footer-row.iti-col-1 { grid-template-columns: 1fr !important; }

/* ── Column reset ── */
.iti-footer .iti-footer-col {
    width: 100% !important;
    min-width: 0 !important;   /* prevents overflow in grid */
    float: none !important;
    padding: 0 !important;
}

/* ── Headings ── */
.iti-footer .iti-footer-heading {
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    margin: 0 0 18px 0 !important;
    padding-bottom: 12px !important;
    position: relative !important;
    line-height: 1.3 !important;
}
.iti-footer .iti-footer-heading::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 40px !important;
    height: 3px !important;
    border-radius: 2px !important;
}

/* ── About ── */
.iti-footer .iti-footer-logo {
    margin-bottom: 14px !important;
}
.iti-footer .iti-footer-logo img {
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}
.iti-footer .iti-footer-about-text {
    margin: 0 !important;
    opacity: 0.88 !important;
    text-align: justify !important;
    line-height: inherit !important;
}

/* ── Important Links ── */
.iti-footer .iti-footer-links-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.iti-footer .iti-footer-links-list li {
    margin-bottom: 10px !important;
    padding: 0 !important;
    list-style: none !important;
}
.iti-footer .iti-footer-links-list li::before {
    display: none !important; /* remove theme bullets */
}
.iti-footer .iti-footer-links-list a {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    transition: all 0.2s !important;
    opacity: 0.88 !important;
}
.iti-footer .iti-footer-links-list a:hover {
    opacity: 1 !important;
    padding-left: 4px !important;
}
.iti-footer .iti-arrow {
    font-size: 10px !important;
    opacity: 0.75 !important;
    flex-shrink: 0 !important;
}

/* ── Contact ── */
.iti-footer .iti-footer-contact-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.iti-footer .iti-footer-contact-list li {
    list-style: none !important;
    padding: 0 !important;
}
.iti-footer .iti-footer-contact-list li::before {
    display: none !important;
}
.iti-footer .iti-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}
.iti-footer .iti-contact-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    background: rgba(255,255,255,0.12) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
}
.iti-footer .iti-contact-item a {
    text-decoration: none !important;
    word-break: break-word !important;
}

/* ── Visitor Counter ── */
.iti-footer .iti-counter-wrap {
    margin-top: 20px !important;
}
.iti-footer .iti-counter-label {
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
    opacity: 0.85 !important;
    display: block !important;
}
.iti-footer .iti-counter {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    align-items: center !important;
}
.iti-footer .iti-counter-digit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 34px !important;
    min-width: 28px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    font-family: monospace, monospace !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
    line-height: 1 !important;
}

/* ── Social Media ── */
.iti-footer .iti-social-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 44px) !important;
    gap: 10px !important;
    width: auto !important;
    max-width: none !important;
}
.iti-footer .iti-social-icon {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    transition: all 0.25s !important;
    text-decoration: none !important;
    border: 1.5px solid rgba(255,255,255,0.2) !important;
}
.iti-footer .iti-social-icon:hover {
    transform: translateY(-3px) !important;
    background: rgba(255,255,255,0.25) !important;
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
}
.iti-footer .iti-social-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Platform hover colors */
.iti-footer .iti-social-facebook:hover  { background: #1877f2 !important; border-color: #1877f2 !important; }
.iti-footer .iti-social-instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important; border-color: transparent !important; }
.iti-footer .iti-social-twitter:hover   { background: #000 !important; border-color: #000 !important; }
.iti-footer .iti-social-youtube:hover   { background: #ff0000 !important; border-color: #ff0000 !important; }
.iti-footer .iti-social-whatsapp:hover  { background: #25d366 !important; border-color: #25d366 !important; }
.iti-footer .iti-social-linkedin:hover  { background: #0077b5 !important; border-color: #0077b5 !important; }
.iti-footer .iti-social-telegram:hover  { background: #26a5e4 !important; border-color: #26a5e4 !important; }
.iti-footer .iti-social-pinterest:hover { background: #e60023 !important; border-color: #e60023 !important; }

/* ── Copyright bar ── */
.iti-footer-bottom {
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    display: block !important;
}
.iti-footer-bottom-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .iti-footer .iti-footer-row.iti-col-4 { grid-template-columns: repeat(2, 1fr) !important; }
    .iti-footer .iti-footer-row.iti-col-3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
    .iti-footer .iti-footer-row { grid-template-columns: 1fr !important; gap: 28px !important; }
    .iti-footer .iti-footer-container { padding-left: 16px !important; padding-right: 16px !important; }
}
