/* =============================================
   DOTSUN FOOTER CSS
   ============================================= */

/* ---- FOOTER CTA ---- */
.footer-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255,255,255,0.06);
    transform: skewX(-15deg);
    pointer-events: none;
}

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

.footer-cta-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-cta-text p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin: 0;
}

.footer-cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.footer-cta-actions .btn-primary {
    background: var(--white);
    color: var(--primary-color) !important;
    border-color: var(--white);
}

.footer-cta-actions .btn-primary:hover {
    background: var(--dark-bg);
    border-color: var(--dark-bg);
    color: var(--white) !important;
}

.footer-cta-actions .btn-outline {
    border-color: rgba(255,255,255,0.6);
    color: var(--white);
}

.footer-cta-actions .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

/* ---- FOOTER MAIN ---- */
.footer-main {
    background-color: var(--dark-bg);
    padding: 70px 0 40px;
    border-top: none;
}

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

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---- FOOTER COLUMNS ---- */
.footer-col {}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
    display: inline-block;
}

.footer-logo-text span {
    color: var(--primary-color);
}

.footer-logo-text {
    color: var(--white);
}

.footer-desc {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-certifications {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 12px;
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.cert-badge i {
    color: var(--primary-color);
    font-size: 12px;
}

.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-social .social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
    text-decoration: none;
    border-radius: 2px;
}

.footer-social .social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social .social-whatsapp:hover { background: #25D366; border-color: #25D366; }
.footer-social .social-facebook:hover  { background: #1877F2; border-color: #1877F2; }
.footer-social .social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; }
.footer-social .social-linkedin:hover  { background: #0A66C2; border-color: #0A66C2; }
.footer-social .social-youtube:hover   { background: #FF0000; border-color: #FF0000; }

/* ---- FOOTER WIDGET TITLE ---- */
.footer-widget-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 24px;
    padding-bottom: 14px;
    position: relative;
    font-family: var(--font-heading);
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary-color);
}

/* ---- FOOTER NAV LIST ---- */
.footer-nav-list {
    list-style: none;
}

.footer-nav-list li {
    margin-bottom: 2px;
}

.footer-nav-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition);
}

.footer-nav-list li a::before {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.footer-nav-list li a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.footer-nav-list li a:hover::before {
    width: 12px;
}

/* ---- FOOTER CONTACT ---- */
.footer-contact-list {
    list-style: none;
    margin-bottom: 28px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-contact-list li i {
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-list li span,
.footer-contact-list li a {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-list li a:hover {
    color: var(--primary-color);
}

/* High Contrast Footer Contact Items */
.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-item i {
    color: #eb7024 !important;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
    color: rgba(255,255,255,0.75) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-contact-item a:hover {
    color: #eb7024 !important;
}

/* ---- NEWSLETTER ---- */
.footer-newsletter h5 {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    font-family: var(--font-heading);
}

.newsletter-input-wrap {
    display: flex;
    height: 46px;
}

.newsletter-input-wrap input[type="email"] {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-right: none;
    color: var(--white);
    padding: 10px 16px;
    font-size: 13px;
    height: 100%;
    border-radius: 0;
}

.newsletter-input-wrap input[type="email"]::placeholder {
    color: rgba(255,255,255,0.3);
}

.newsletter-input-wrap input[type="email"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: none;
}

.newsletter-input-wrap button {
    width: 46px;
    height: 100%;
    background: var(--primary-color);
    border: none;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0;
    border-radius: 0;
}

.newsletter-input-wrap button:hover {
    background: var(--primary-dark);
}

/* ---- FOOTER BOTTOM ---- */
.footer-bottom {
    background-color: var(--dark-bg-2);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-copyright p {
    color: rgba(255,255,255,0.75) !important;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.footer-copyright a {
    color: #eb7024 !important;
    font-weight: 700;
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom-links ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links a,
.footer-bottom-links ul li a {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover,
.footer-bottom-links ul li a:hover {
    color: var(--primary-color);
}

.footer-payment-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-payment-icons img {
    height: 22px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.footer-payment-icons img:hover {
    opacity: 1;
    filter: none;
}

/* ---- RIGHT SIDE COLLAPSIBLE SOCIAL BAR (puffin-sports.com style) ---- */
.dotsun-side-social-wrap {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.side-social-inner-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: #111528;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: -6px 0 25px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid #eb7024;
}

.side-social-toggle-btn {
    background: #eb7024;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 10px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease;
    z-index: 2;
}

.side-social-toggle-btn:hover {
    background: #c95e15;
}

.side-social-toggle-btn .toggle-arrow {
    font-size: 13px;
    transition: transform 0.4s ease;
    display: block;
}

.dotsun-side-social-wrap.is-badge-mode .side-social-toggle-btn .toggle-arrow {
    transform: rotate(180deg);
}

.side-social-toggle-btn .toggle-vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    display: none;
    padding: 10px 4px;
}

/* Badge Mode: Hide icons, show vertical #DOTSUN.GROUP badge */
.dotsun-side-social-wrap.is-badge-mode .side-social-toggle-btn {
    padding: 16px 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.dotsun-side-social-wrap.is-badge-mode .side-social-toggle-btn .toggle-vertical-text {
    display: block;
}

.dotsun-side-social-wrap.is-badge-mode .side-social-icons-box {
    max-height: 0;
    opacity: 0;
    padding: 0;
    overflow: hidden;
}

/* Default Mode: Social icons are ALWAYS VISIBLE */
.side-social-icons-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 6px;
    max-height: 500px;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-social-link {
    position: relative;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.side-social-link:hover {
    background: #eb7024;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(235, 112, 36, 0.4);
}

.side-social-tooltip {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: #111528;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    border-right: 2px solid #eb7024;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.side-social-link:hover .side-social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

/* Mobile Display: Desktop style social bar sticky at BOTTOM CENTER on mobile */
@media (max-width: 768px) {
    .dotsun-side-social-wrap {
        display: flex !important;
        position: fixed !important;
        bottom: 12px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        top: auto !important;
        z-index: 99999 !important;
    }

    .side-social-inner-box {
        flex-direction: row !important;
        border-radius: 12px !important;
        border-left: none !important;
        border-top: 3px solid #eb7024 !important;
        background: #111528 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    }

    .side-social-icons-box {
        flex-direction: row !important;
        padding: 6px 10px !important;
        gap: 6px !important;
        max-height: none !important;
        opacity: 1 !important;
    }

    .side-social-toggle-btn {
        display: none !important;
    }

    .side-social-tooltip {
        display: none !important;
    }

    .whatsapp-float {
        display: none !important;
    }
}



