/* =========================================
   footer.css — Bajarangisoft Footer Styles
   ========================================= */

/* -----------------------------------------
   CSS Variables
----------------------------------------- */
:root {
    --ft-accent:        #5b21fa;
    --ft-accent-hover:  #4318d4;
    --ft-accent-light:  rgba(91, 33, 250, 0.08);
    --ft-accent-border: rgba(91, 33, 250, 0.25);
    --ft-text-dark:     #1a1a2e;
    --ft-text-muted:    #5a5a72;
    --ft-text-subtle:   #8888a0;
    --ft-border:        rgba(0, 0, 0, 0.07);
    --ft-border-light:  #d0d0df;
    --ft-font-body:     "Jost", sans-serif;
    --ft-font-display:  "Jost", sans-serif;
    --ft-transition:    0.22s ease;
}

/* -----------------------------------------
   Footer Base
----------------------------------------- */

/* Outer full-width background wrapper — applied to a div OUTSIDE .container */
.ft-footer-bg {
    position: relative;
    overflow: hidden;
    background:
            radial-gradient(ellipse 65% 50% at 5%  30%,  rgba(200, 185, 255, 0.28) 0%, transparent 65%),
            radial-gradient(ellipse 55% 45% at 95% 25%,  rgba(162, 210, 255, 0.22) 0%, transparent 60%),
            radial-gradient(ellipse 50% 40% at 80% 95%,  rgba(255, 190, 140, 0.18) 0%, transparent 60%),
            radial-gradient(ellipse 45% 35% at 15% 90%,  rgba(180, 240, 210, 0.14) 0%, transparent 55%),
            linear-gradient(180deg,
            #ffffff    0%,
            #ffffff    4%,
            #fdfcff    8%,
            #f8f5ff   18%,
            #f2eeff   35%,
            #eef3ff   55%,
            #f5f0ff   75%,
            #fdf0f8   90%,
            #fff5ee  100%
            );
}

/* Decorative orb — top right */
.ft-footer-bg::before {
    content: '';
    position: absolute;
    top: 60px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(180, 155, 255, 0.18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

/* Decorative orb — bottom left */
.ft-footer-bg::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -60px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(162, 210, 255, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

/* Inner container footer — no background needed here */
.site-footer {
    font-family: var(--ft-font-body);
    color: var(--ft-text-dark);
    position: relative;
    z-index: 1;
}

/* -----------------------------------------
   Top Section — Brand + Newsletter
----------------------------------------- */
.ft-top {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--ft-border);
    padding: 52px 0 0;
}

.ft-top-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 15px;
    flex-wrap: wrap;
}

/* Brand block */
.ft-brand {
    max-width: 420px;
}

.ft-brand .ft-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.ft-brand .ft-logo img {
    display: block;
    width: 200px;
    height: auto;
}

.ft-brand p {
    font-size: 1.125rem;
    color: var(--ft-text-muted);
    line-height: 1.75;
    margin: 0 0 20px;
}

/* Social icons */
.ft-socials {
    display: flex;
    gap: 10px;
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

.ft-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--ft-accent-border);
    background: var(--ft-accent-light);
    color: var(--ft-accent);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background var(--ft-transition), color var(--ft-transition), border-color var(--ft-transition), transform var(--ft-transition);
}

.ft-socials a:hover {
    background: var(--ft-accent);
    color: #fff;
    border-color: var(--ft-accent);
    transform: translateY(-2px);
}

/* Newsletter block */
.ft-newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
    max-width: 390px;
}

.ft-newsletter h6 {
    font-family: var(--ft-font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--ft-text-dark);
    margin: 0;
}

.ft-newsletter p {
    font-size: 1.125rem;
    color: var(--ft-text-muted);
    margin: 0;
    line-height: 1.6;
}

.ft-nl-form {
    display: flex;
    margin-top: 4px;
}

.ft-nl-form input[type="email"] {
    flex: 1;
    border: 1px solid var(--ft-accent-border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-family: var(--ft-font-body);
    background: rgba(255, 255, 255, 0.88);
    color: var(--ft-text-dark);
    outline: none;
    transition: border-color var(--ft-transition);
}

.ft-nl-form input[type="email"]::placeholder {
    color: #aaa;
}

.ft-nl-form input[type="email"]:focus {
    border-color: var(--ft-accent);
    background: #fff;
}

.ft-nl-form button {
    background: rgb(86 58 255);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--ft-font-body);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(91, 33, 250, 0.35);
    transition: background var(--ft-transition), box-shadow var(--ft-transition), transform var(--ft-transition);
}

/*.ft-nl-form button:hover {*/
/*    background: linear-gradient(135deg, #4318d4 0%, #6d28d9 100%);*/
/*    box-shadow: 0 6px 20px rgba(91, 33, 250, 0.50);*/
/*    transform: translateX(1px);*/
/*}*/

.ft-nl-form button:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(91, 33, 250, 0.30);
}

/* -----------------------------------------
   Middle Section — 5-Column Links Grid
----------------------------------------- */
.ft-cols {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 44px 0;
}

.ft-col-heading {
    font-family: var(--ft-font-display);
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ft-text-dark);
    margin: 0 0 18px;
}

.ft-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ft-col-list li a {
    font-size: 16.5px;
    color: var(--ft-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 0;
    border-radius: 4px;
    transition: color var(--ft-transition), gap var(--ft-transition), padding-left var(--ft-transition);
    position: relative;
}

.ft-col-list li a .ft-link-arrow {
    font-size: 14px;
    color: var(--ft-accent);
    font-style: normal;
    line-height: 1;
    transition: transform var(--ft-transition);
    flex-shrink: 0;
}

.ft-col-list li a:hover {
    color: var(--ft-accent);
    padding-left: 4px;
}

.ft-col-list li a:hover .ft-link-arrow {
    transform: translateX(3px);
}

/* -----------------------------------------
   Locations Column
----------------------------------------- */
.ft-locations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ft-loc {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.ft-loc-flag {
    font-size: 18px;
    line-height: 1.4;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.ft-loc-info strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--ft-text-dark);
    display: block;
    margin-bottom: 4px;
}

.ft-loc-info p {
    font-size: 13.5px;
    color: var(--ft-text-muted);
    margin: 0;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* -----------------------------------------
   Watermark Wordmark
----------------------------------------- */
.ft-wordmark {
    font-family: var(--ft-font-display);
    font-weight: 800;
    font-size: clamp(48px, 10vw, 140px);
    line-height: 1;
    letter-spacing: 0px;
    color: rgba(91, 33, 250, 0.10);
    text-align: center;
    padding: 0 0 6px;
    pointer-events: none;
    user-select: none;
    position: relative;
    z-index: 0;
}

/* -----------------------------------------
   Bottom Bar
----------------------------------------- */
.ft-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--ft-border);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ft-copyright {
    font-size: 17.5px;
    color: var(--ft-text-subtle);
    margin: 0;
}

.ft-copyright a {
    color: var(--ft-accent);
    text-decoration: none;
    transition: color var(--ft-transition);
}

.ft-copyright a:hover {
    color: var(--ft-accent-hover);
    text-decoration: underline;
}

.ft-bottom-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ft-bottom-links li a {
    font-size: 17.5px;
    color: var(--ft-text-subtle);
    text-decoration: none;
    padding: 0 14px;
    border-right: 1px solid var(--ft-border-light);
    transition: color var(--ft-transition);
    line-height: 1;
}

.ft-bottom-links li:last-child a {
    border-right: none;
}

.ft-bottom-links li a:hover {
    color: var(--ft-accent);
}

/* -----------------------------------------
   Responsive — Tablet
----------------------------------------- */
@media (max-width: 1024px) {
    .ft-cols {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .site-footer {
        padding: 10px 0px 10px;
    }
}

/* -----------------------------------------
   Responsive — Mobile
----------------------------------------- */
@media (max-width: 768px) {
    .ft-top,
    .ft-cols,
    .ft-bottom {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ft-top-inner {
        flex-direction: column;
    }

    .ft-brand,
    .ft-newsletter {
        max-width: 100%;
        min-width: unset;
    }

    .ft-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .ft-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-bottom-links {
        gap: 4px;
    }

    .ft-wordmark {
        padding-left: 24px;
        padding-right: 24px;
        letter-spacing: -2px;
    }
}

@media (max-width: 480px) {
    .ft-cols {
        grid-template-columns: 1fr;
    }
}