/* =========================================
   SOLAR VEEDU - MODERN FOOTER
========================================= */

.sv-modern-footer {
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 184, 92, 0.10), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(255, 184, 0, 0.10), transparent 28%),
        #071a28;
    color: #ffffff;
    margin-top: 90px;
    position: relative;
}

.sv-modern-footer * {
    box-sizing: border-box;
}

.sv-footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* TOP CTA BOX */

.sv-footer-cta {
    background: linear-gradient(135deg, #0d3043, #0a2434);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 25px;
    padding: 32px 38px;
    position: relative;
    top: -50px;
    margin-bottom: -10px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.sv-cta-small {
    color: #ffb800;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.sv-footer-cta h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 7px;
}

.sv-footer-cta p {
    color: #afbec8;
    margin: 0;
    font-size: 15px;
}

.sv-cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.sv-cta-btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;

    transition: all 0.3s ease;
}

.sv-site-btn {
    background: #ffb800;
    color: #071a28 !important;
}

.sv-site-btn:hover {
    background: #ffc62e;
    transform: translateY(-2px);
}

.sv-whatsapp-btn {
    background: #20b15a;
    color: #ffffff !important;
}

.sv-whatsapp-btn:hover {
    background: #189d4d;
    color: #ffffff !important;
    transform: translateY(-2px);
}


/* MAIN FOOTER */

.sv-footer-main {
    padding: 25px 0 50px;
}

.sv-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 45px;
}


/* LOGO & BRAND */

.sv-footer-logo {
    max-width: 185px;
    height: auto;
    margin-bottom: 18px;
}

.sv-footer-description {
    color: #aab9c3;
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
    margin-bottom: 22px;
}


/* HEADINGS */

.sv-footer-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 22px;
    padding-bottom: 11px;
    position: relative;
}

.sv-footer-title:after {
    content: "";
    position: absolute;
    width: 35px;
    height: 3px;
    left: 0;
    bottom: 0;
    background: #ffb800;
    border-radius: 10px;
}


/* LINKS */

.sv-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sv-footer-links li {
    margin-bottom: 12px;
}

.sv-footer-links a {
    color: #aab9c3;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sv-footer-links a:before {
    content: "›";
    color: #ffb800;
    margin-right: 8px;
    font-size: 18px;
}

.sv-footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}


/* SOCIAL ICONS */

.sv-footer-social {
    display: flex;
    gap: 10px;
}

.sv-footer-social a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);

    color: #ffffff;
    font-size: 16px;

    text-decoration: none;
    transition: all 0.3s ease;
}

.sv-footer-social a:hover {
    background: #ffb800;
    color: #071a28;
    transform: translateY(-3px);
}
/* Facebook original color */
.sv-footer-social .sv-facebook {
    background: #1877F2;
    color: #ffffff;
    border-color: #1877F2;
}

.sv-footer-social .sv-facebook:hover {
    background: #0d65d9;
    color: #ffffff;
}


/* Instagram original gradient */
.sv-footer-social .sv-instagram {
    background: radial-gradient(
        circle at 30% 107%,
        #fdf497 0%,
        #fdf497 5%,
        #fd5949 45%,
        #d6249f 60%,
        #285AEB 90%
    );
    color: #ffffff;
    border: none;
}

.sv-footer-social .sv-instagram:hover {
    transform: translateY(-3px) scale(1.05);
    color: #ffffff;
}
/* Make social media icons clearly visible */
.sv-footer-social a i {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-family: FontAwesome !important;
    font-style: normal !important;
}

/* CONTACT */

.sv-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.sv-contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 10px;

    background: rgba(255,184,0,0.10);
    color: #ffb800;
}

.sv-contact-content {
    color: #aab9c3;
    font-size: 14px;
    line-height: 1.6;
}

.sv-contact-content strong {
    color: #ffffff;
    display: block;
    font-size: 13px;
}

.sv-contact-content a {
    color: #aab9c3;
    text-decoration: none;
}

.sv-contact-content a:hover {
    color: #ffb800;
}


/* COPYRIGHT */

.sv-footer-bottom-wrap {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.sv-footer-bottom {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sv-footer-copy {
    margin: 0;
    color: #8fa2ae;
    font-size: 13px;
}

.sv-footer-copy span {
    color: #ffb800;
}

.sv-footer-bottom-links {
    display: flex;
    gap: 20px;
}

.sv-footer-bottom-links a {
    color: #8fa2ae;
    font-size: 13px;
    text-decoration: none;
}

.sv-footer-bottom-links a:hover {
    color: #ffffff;
}


/* RESPONSIVE TABLET */

@media (max-width: 991px) {

    .sv-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sv-footer-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* RESPONSIVE MOBILE */

@media (max-width: 600px) {

    .sv-modern-footer {
        margin-top: 70px;
    }

    .sv-footer-container {
        width: calc(100% - 28px);
    }

    .sv-footer-cta {
        top: -38px;
        padding: 25px 20px;
        border-radius: 20px;
    }

    .sv-footer-cta h2 {
        font-size: 22px;
        line-height: 1.35;
    }

    .sv-cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .sv-cta-btn {
        width: 100%;
    }

    .sv-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .sv-footer-main {
        padding-top: 10px;
        padding-bottom: 35px;
    }

    .sv-footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 22px 0;
    }

    .sv-footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}
/* Floating Facebook + Instagram buttons */
.sv-floating-social {
    position: fixed;
    left: 25px;
    right: auto;
    bottom: 160px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    z-index: 999999;
}

.sv-floating-social a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: all 0.25s ease;
}
/* Smooth floating movement */
.sv-floating-social a {
    animation: svSocialFloat 2.5s ease-in-out infinite;
}

.sv-floating-social a:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes svSocialFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.sv-floating-social a:hover {
    transform: translateY(-3px) scale(1.05);
}

.sv-floating-social svg {
    width: 24px;
    height: 24px;
}

/* Facebook */
.sv-float-facebook {
    background: #1877F2;
    color: #fff;
}

/* Instagram */
.sv-float-instagram {
    background: linear-gradient(
        45deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );
    color: #fff;
}

/* Mobile */
@media (max-width: 767px) {
   .sv-floating-social {
    left: 15px;
    right: auto;
    bottom: 120px;
}

    .sv-floating-social a {
        width: 48px;
        height: 48px;
    }

    .sv-floating-social svg {
        width: 21px;
        height: 21px;
    }
}
/* FORCE floating social buttons on mobile */
@media (max-width: 767px) {

    .sv-floating-social {
        position: fixed !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        left: 12px !important;
        right: auto !important;
        bottom: 110px !important;

        flex-direction: column !important;
        gap: 10px !important;

        z-index: 2147483000 !important;
    }

    .sv-floating-social a {
        width: 46px !important;
        height: 46px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .sv-floating-social svg {
        width: 21px !important;
        height: 21px !important;
    }
}
/* Footer Contact Us - 2 column layout */
.sv-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    align-items: start;
}

.sv-contact-grid .sv-contact-item {
    margin-bottom: 0;
}

/* Mobile - back to single column */
@media (max-width: 767px) {
    .sv-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
/* Give Contact Us more width */
.sv-footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 2fr !important;
    gap: 40px !important;
}

/* Contact section - clean 2 columns */
.sv-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    column-gap: 30px;
    row-gap: 16px;
    align-items: start;
}

/* Prevent text from breaking badly */
.sv-contact-content,
.sv-contact-content a {
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal;
}

/* Keep each item aligned */
.sv-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}