/*==================================================
  FOOTER
  SVFutureTechAI Theme
===================================================*/

/*---------------------------------
  Footer Variables
----------------------------------*/

.sv-footer {

    background: #0f172a;
    color: #cbd5e1;
    margin-top: 80px;
    position: relative;
}

.sv-footer a {

    color: inherit;
    transition: .25s ease;
}

.sv-footer a:hover {

    color: var(--sv-white);
}

/*---------------------------------
  Main Footer
----------------------------------*/

.sv-footer-top {

    padding: 70px 0;
}

.sv-footer .sv-container {

    display: grid;
    grid-template-columns: 2fr repeat(4,1fr);
    gap: 40px;
}

/*---------------------------------
  Brand
----------------------------------*/

.sv-footer-brand {

    max-width: 340px;
}

.sv-footer-logo {

    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.sv-footer-logo img {

    height: 42px;
    width: auto;
}

.sv-footer-logo span {

    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.sv-footer-description {

    color: #94a3b8;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/*---------------------------------
  Social Icons
----------------------------------*/

.sv-social {

    display: flex;
    gap: 12px;
}

.sv-social a {

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    transition: .3s;
}

.sv-social a:hover {

    background: var(--sv-primary);

    transform: translateY(-3px);
}

.sv-social svg,
.sv-social i {

    font-size: 18px;
    color: #fff;
}

/*---------------------------------
  Footer Columns
----------------------------------*/

.sv-footer-column h3 {

    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

.sv-footer-column ul {

    padding: 0;
    margin: 0;
    list-style: none;
}

.sv-footer-column li {

    margin-bottom: 12px;
}

.sv-footer-column a {

    color: #94a3b8;
    font-size: 15px;
}

.sv-footer-column a:hover {

    color: var(--sv-white);

    padding-left: 6px;
}

/*---------------------------------
  Newsletter
----------------------------------*/

.sv-footer-newsletter{

display:flex;
flex-direction:column;
gap:20px;

}

.sv-footer-newsletter-form{

display:flex;

width:100%;

margin-top:10px;

}

.sv-footer-newsletter-form input{

flex:1;

height:54px;

padding:0 10px;

border-radius:12px 0 0 12px;

border:none;

}

.sv-footer-newsletter-form button{

height:54px;

padding:0 28px;

border:none;

background:#5b5bf7;

color:#fff;

border-radius:0 12px 12px 0;

cursor:pointer;

}

.sv-footer-benefits{

display:flex;

flex-wrap:wrap;

gap:18px;

margin-top:16px;

}

.sv-footer-benefits span{

display:flex;

align-items:center;

gap:8px;

font-size:14px;

color:#d8dbe8;

}

/*---------------------------------
  Divider
----------------------------------*/

.sv-footer-divider {

    height: 1px;

    background: rgba(255,255,255,.08);
}

/*---------------------------------
  Bottom Footer
----------------------------------*/

.sv-footer-bottom{

border-top:1px solid rgba(255,255,255,.08);

padding:22px 0;

}

.sv-footer-bottom-wrapper{

display:flex;

justify-content:space-between;

align-items:center;

gap:30px;

flex-wrap:wrap;

}

.sv-footer-copy{

font-size:14px;

}

.sv-footer-bottom-links{

display:flex;

gap:24px;

flex-wrap:wrap;

}

.sv-footer-bottom-links a{

color:#b9c3d4;

text-decoration:none;

}

.sv-footer-made{

white-space:nowrap;

}

.sv-footer-copyright {

    font-size: 14px;

    color: #94a3b8;
}

/* ==========================================================
   Premium footer override for region and component footers
========================================================== */

.sv-site-footer,
.sv-footer {
    position: relative;
    overflow: hidden;
    margin-top: 72px;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .22), transparent 30%),
        linear-gradient(135deg, #071329 0%, #0f172a 52%, #07111f 100%);
    color: #dbe5f5;
}

.sv-site-footer::before,
.sv-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 72%);
}

.sv-site-footer > *,
.sv-footer > * {
    position: relative;
    z-index: 1;
}

.sv-site-footer .sv-container,
.sv-footer .sv-container {
    max-width: 1440px;
}

.sv-site-footer .sv-footer-top,
.sv-footer .sv-footer-top {
    padding: 58px 0 32px;
}

.sv-site-footer .sv-footer-columns,
.sv-footer-top > .sv-container {
     display: grid;
    grid-template-columns:
        minmax(280px,1.5fr)
        minmax(150px,1fr)
        minmax(150px,1fr)
        minmax(150px,1fr)
        minmax(150px,1fr)
        minmax(320px,1.6fr);
    gap: clamp(26px,4vw,40px);
    align-items: start;
    margin-top:20px;
}

.sv-footer-brand,
.sv-site-footer .sv-footer-column:first-child {
    max-width: 370px;
}

.sv-footer-logo img,
.sv-site-footer img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.sv-footer-description,
.sv-site-footer p {
    color: #b7c4d7;
    font-size: 15px;
    line-height: 1.8;
}

.sv-footer-column h2,
.sv-footer-column h3,
.sv-footer-title,
.sv-site-footer h2,
.sv-site-footer h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: 0;
}

.sv-footer-column ul,
.sv-footer-links__list,
.sv-site-footer ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sv-footer-column li,
.sv-site-footer li {
    margin: 0;
}

.sv-footer-column a,
.sv-footer-links__link,
.sv-site-footer a {
    color: #b7c4d7;
    font-size: 15px;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.sv-footer-column a:hover,
.sv-footer-column a:focus-visible,
.sv-footer-links__link:hover,
.sv-footer-links__link:focus-visible,
.sv-site-footer a:hover,
.sv-site-footer a:focus-visible {
    color: #ffffff;
    transform: translateX(4px);
}

.sv-social,
.sv-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.sv-social a,
.sv-footer-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
}

.sv-social a:hover,
.sv-social a:focus-visible,
.sv-footer-social a:hover,
.sv-footer-social a:focus-visible {
    background: var(--sv-primary);
    border-color: var(--sv-primary);
    transform: translateY(-2px);
}

/*
.sv-footer-newsletter {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
}*/

.sv-newsletter-form {
    display: flex;
    gap: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
}

.sv-newsletter-form .sv-form-group {
    flex: 1;
}

.sv-newsletter-form input {
    width: 100%;
    min-width: 0;
    height: 50px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    color: #07133b;
}

.sv-newsletter-form button,
.sv-newsletter-form .sv-btn {
    height: 50px;
    border-radius: 0;
}

.sv-newsletter-note {
    margin-top: 14px;
    color: #93a4bc;
    font-size: 13px;
}

.sv-footer-divider,
.sv-site-footer .sv-footer-bottom,
.sv-footer .sv-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.sv-site-footer .sv-footer-bottom,
.sv-footer .sv-footer-bottom {
    margin-top: 34px;
    padding: 24px 0;
}

.sv-footer-bottom__inner,
.sv-site-footer .sv-footer-bottom .sv-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sv-footer-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
}

.sv-footer-copyright,
.sv-footer-powered {
    margin: 0;
    color: #a8b7cc;
    font-size: 14px;
}

@media (max-width: 1023px) {
    .sv-site-footer .sv-footer-columns,
    sv-footer-top > .sv-container{
        grid-template-columns:
        1fr
        1fr
        1fr;
    }

    .sv-footer-brand,
    .sv-site-footer .sv-footer-column:first-child {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .sv-site-footer .sv-footer-columns,
    .sv-footer-top > .sv-container {
        grid-template-columns: 1fr;
    }

    .sv-footer-bottom__inner,
    .sv-site-footer .sv-footer-bottom .sv-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .sv-newsletter-form {
        display: grid;
        border-radius: 10px;
    }

    .sv-newsletter-form button,
    .sv-newsletter-form .sv-btn {
        width: 100%;
    }
}

.sv-footer-links {

    display: flex;

    gap: 22px;

    flex-wrap: wrap;
}

.sv-footer-links a {

    font-size: 14px;

    color: #94a3b8;
}

.sv-footer-links a:hover {

    color: #fff;
}

/*---------------------------------
  Footer Badge
----------------------------------*/

.sv-footer-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    border-radius: 30px;

    background: rgba(255,255,255,.06);

    color: #fff;

    font-size: 13px;

    margin-top: 20px;
}

/*---------------------------------
  Back To Top
----------------------------------*/

.sv-scroll-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 52px;

    height: 52px;

    border-radius: 50%;

    background: var(--sv-primary);

    color: #fff;

    display: flex;

    justify-content: center;

    align-items: center;

    box-shadow: var(--sv-shadow);

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transition: .3s;

    z-index: 999;
}

.sv-scroll-top.active {

    opacity: 1;

    visibility: visible;
}

.sv-scroll-top:hover {

    transform: translateY(-5px);
}

/*---------------------------------
  Tablet
----------------------------------*/

@media (max-width:1200px){

.sv-footer .sv-container{

grid-template-columns:repeat(2,1fr);

}

}

/*---------------------------------
  Mobile
----------------------------------*/

@media (max-width:768px){

.sv-footer-top{

padding:50px 0;

}

.sv-footer .sv-container{

grid-template-columns:1fr;

gap:35px;

}

.sv-footer-bottom .sv-container{

flex-direction:column;

text-align:center;

}

.sv-footer-links{

justify-content:center;

}

.sv-newsletter-form{

flex-direction:column;

}

.sv-newsletter-form button{

width:100%;

}

}

/* Final footer layout guard: keep newer component footer rules after legacy media rules. */
.sv-footer-top > .sv-container {
    display: grid;
    grid-template-columns:
        minmax(280px,1.5fr)
        minmax(150px,1fr)
        minmax(150px,1fr)
        minmax(150px,1fr)
        minmax(150px,1fr)
        minmax(320px,1.6fr);
    gap: clamp(26px,4vw,40px);
    align-items: start;
}

.sv-footer-bottom .sv-container,
.sv-footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 1023px) {
    sv-footer-top > .sv-container{
        grid-template-columns:
        1fr
        1fr
        1fr;
    }
}

@media (max-width: 640px) {
    .sv-footer-top > .sv-container {
        grid-template-columns: 1fr;
    }

    .sv-footer-bottom .sv-container,
    .sv-footer-bottom__inner {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }
}
