/* =========================================================
   ALLIED INDIA DEFENCE
   AWWWARDS STYLE FOOTER
   Uses existing ROOT variables / fonts
========================================================= */


/* =========================================================
   MAIN
========================================================= */

.aid-footer {
    position: relative;
    overflow: hidden;

    background:
        var(--color-navy, #071522);

    color:
        var(--color-white, #fff);

    isolation: isolate;
}


/* =========================================================
   TECHNICAL GRID
========================================================= */

.aid-footer__grid {
    position: absolute;
    inset: 0;

    z-index: -3;

    opacity: .32;

    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:
        80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            rgba(0,0,0,.7) 45%,
            transparent 100%
        );
}


/* =========================================================
   LIGHT / GLOW
========================================================= */

.aid-footer__glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(100px);

    z-index: -2;
}


.aid-footer__glow--one {
    width: 500px;
    height: 500px;

    top: -300px;
    right: -150px;

    background:
        var(--color-orange, #f47a20);

    opacity: .07;
}


.aid-footer__glow--two {
    width: 400px;
    height: 400px;

    bottom: -250px;
    left: -150px;

    background:
        var(--color-green, #16834b);

    opacity: .045;
}


/* =========================================================
   TOP
========================================================= */

.aid-footer__top {
    padding-top: 75px;
}


.aid-footer__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    color:
        rgba(255,255,255,.4);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .2em;
}


.aid-footer__line {
    display: block;

    width: 42px;
    height: 1px;

    background:
        var(--color-orange, #f47a20);
}


.aid-footer__top-row {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    padding-top: 35px;
}


.aid-footer__brand {
    max-width: 500px;
}


/* =========================================================
   LOGO
========================================================= */

/* =========================================================
   PREMIUM LOGO PLATE
========================================================= */

.aid-footer__logo-wrap {
    position: relative;

    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 14px 20px 11px;

    background:
        rgba(255, 255, 255, 0.96);

    border:
        1px solid rgba(255, 255, 255, 0.7);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18);

    overflow: hidden;

    clip-path:
        polygon(
            0 0,
            calc(100% - 12px) 0,
            100% 12px,
            100% 100%,
            0 100%
        );

    transform: translateZ(0);
}


/* small orange technical line */

.aid-footer__logo-wrap::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 55px;
    height: 2px;

    background:
        var(--color-orange, #f47a20);
}


/* small green technical line */

.aid-footer__logo-wrap::after {
    content: "";

    position: absolute;

    bottom: 0;
    right: 0;

    width: 38px;
    height: 2px;

    background:
        var(--color-green, #16834b);
}


/* LOGO */

.aid-footer__logo {
    display: block;

    width: 285px;

    line-height: 0;

    text-decoration: none;
}


.aid-footer__logo img {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    object-fit: contain;

    transform-origin: center center;
    background: white;
    padding: 15px;

    /* IMPORTANT:
       No filter.
       Original logo colours remain untouched.
    */
}


/* Technical micro label */

.aid-footer__logo-code {
    display: block;

    margin-top: 7px;
    padding-left: 2px;

    color: #65717b;

    font-family:
        var(--font-tech,
        "Rajdhani",
        sans-serif);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: .22em;

    text-transform: uppercase;
}


/* Desktop */

@media (min-width: 1200px) {

    .aid-footer__logo-wrap {
        padding:
            16px 24px 12px;
    }

    .aid-footer__logo {
        width: 320px;
    }

}


/* Tablet */

@media (max-width: 991.98px) {

    .aid-footer__logo {
        width: 275px;
    }

}


/* Mobile */

@media (max-width: 767.98px) {

    .aid-footer__logo-wrap {
        padding:
            12px 16px 10px;
    }

    .aid-footer__logo {
        width: 225px;
    }

    .aid-footer__logo-code {
        font-size: 6px;
        letter-spacing: .16em;
    }

}


/* =========================================================
   STATEMENT
========================================================= */

.aid-footer__statement {
    max-width: 420px;

    margin:
        28px 0 0;

    color:
        rgba(255,255,255,.55);

    font-family:
        var(--font-body, "Manrope", sans-serif);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   COORDINATES
========================================================= */

.aid-footer__coordinates {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    color:
        rgba(255,255,255,.7);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: .15em;
}


.aid-footer__coordinates small {
    margin-top: 7px;

    color:
        rgba(255,255,255,.3);

    font-size: 9px;

    letter-spacing: .2em;
}


.coordinate-separator {
    color:
        var(--color-orange, #f47a20);

    margin: 0 5px;
}


/* =========================================================
   MANIFESTO
========================================================= */

.aid-footer__manifesto {
    position: relative;

    display: grid;

    grid-template-columns:
        60px
        1fr;

    align-items: end;

    gap: 25px;

    padding:
        95px 0 65px;
}


.aid-footer__manifesto-number {
    padding-bottom: 17px;

    color:
        var(--color-orange, #f47a20);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .15em;
}


.aid-footer__manifesto h2 {
    max-width: 1050px;

    margin: 0;

    font-family:
        var(--font-display,
        "Space Grotesk",
        sans-serif);

    font-size:
        clamp(54px, 8vw, 130px);

    font-weight: 600;

    line-height: .88;

    letter-spacing: -.055em;

    text-transform: uppercase;

    color:
        var(--color-white, #fff);
}


.aid-footer__manifesto h2 span {
    display: block;

    color:
        transparent;

    -webkit-text-stroke:
        1px rgba(255,255,255,.35);

    text-stroke:
        1px rgba(255,255,255,.35);
}


.aid-footer__manifesto-line {
    position: absolute;

    right: 0;
    bottom: 35px;

    width: 35%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.2)
        );
}


/* =========================================================
   CONTENT
========================================================= */

.aid-footer__content {
    display: grid;

    grid-template-columns:
        .7fr
        1fr
        1.5fr;

    gap: 90px;

    padding:
        55px 0 65px;

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


/* =========================================================
   GROUP TITLE
========================================================= */

.aid-footer__group-title {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 27px;

    color:
        rgba(255,255,255,.85);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .18em;
}


.aid-footer__group-title span {
    color:
        var(--color-orange, #f47a20);

    font-size: 10px;
}


/* =========================================================
   LINKS
========================================================= */

.aid-footer__group ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.aid-footer__group li {
    margin: 0;
    padding: 0;
}


.aid-footer__group a {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 9px 0;

    color:
        rgba(255,255,255,.52);

    text-decoration: none;

    font-family:
        var(--font-body, "Manrope", sans-serif);

    font-size: 13px;

    border-bottom:
        1px solid rgba(255,255,255,.055);

    transition:
        color .35s ease,
        padding .35s ease;
}


.aid-footer__group a i {
    font-style: normal;

    color:
        var(--color-orange, #f47a20);

    opacity: 0;

    transform:
        translate(-8px, 5px);

    transition:
        opacity .35s ease,
        transform .35s ease;
}


.aid-footer__group a:hover {
    padding-left: 8px;

    color:
        #fff;
}


.aid-footer__group a:hover i {
    opacity: 1;

    transform:
        translate(0,0);
}


/* =========================================================
   CONTACT
========================================================= */

.aid-footer__contact {
    max-width: 600px;
}


.aid-contact-block {
    display: grid;

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

    gap: 20px;
}


.aid-contact-item {
    display: flex;

    gap: 14px;

    min-height: 105px;

    padding:
        18px;

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

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

    transition:
        background .35s ease,
        border-color .35s ease,
        transform .35s ease;
}


.aid-contact-item:hover {
    background:
        rgba(255,255,255,.05);

    border-color:
        rgba(244,122,32,.35);

    transform:
        translateY(-4px);
}


.aid-contact-icon {
    display: flex;

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

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border:
        1px solid rgba(244,122,32,.45);

    color:
        var(--color-orange, #f47a20);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 11px;
}


.aid-contact-item small {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,.3);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .16em;
}


.aid-contact-item a,
.aid-contact-item span {
    display: block;

    color:
        rgba(255,255,255,.72);

    text-decoration: none;

    font-family:
        var(--font-body, "Manrope", sans-serif);

    font-size: 12px;

    line-height: 1.65;

    transition:
        color .3s ease;
}


.aid-contact-item a:hover {
    color:
        var(--color-orange, #f47a20);
}


/* =========================================================
   CONTACT STRIP
========================================================= */

.aid-footer__contact-strip {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        1.4fr
        100px;

    align-items: stretch;

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

    border-bottom:
        1px solid rgba(255,255,255,.1);
}


.aid-footer__contact-strip-item {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-height: 95px;

    padding:
        20px 25px;

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


.strip-label {
    margin-bottom: 8px;

    color:
        rgba(255,255,255,.3);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .18em;
}


.aid-footer__contact-strip-item strong {
    color:
        rgba(255,255,255,.75);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 12px;

    letter-spacing: .1em;
}


.aid-footer__contact-strip-mark {
    display: flex;

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

    flex-direction: column;

    color:
        rgba(255,255,255,.12);

    font-family:
        var(--font-display,
        "Space Grotesk",
        sans-serif);

    font-size: 24px;
    font-weight: 700;
}


.aid-footer__contact-strip-mark span {
    color:
        var(--color-orange, #f47a20);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 8px;

    letter-spacing: .15em;
}


/* =========================================================
   BOTTOM
========================================================= */

.aid-footer__bottom {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 25px;

    min-height: 82px;
}


.aid-footer__copyright {
    display: flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(255,255,255,.36);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .13em;
}


.copyright-symbol {
    color:
        var(--color-orange, #f47a20);

    font-size: 13px;
}


.aid-footer__legal {
    display: flex;

    align-items: center;

    gap: 12px;
}


.aid-footer__legal a,
.aid-footer__legal span {
    color:
        rgba(255,255,255,.34);

    text-decoration: none;

    font-family:
        var(--font-body, "Manrope", sans-serif);

    font-size: 10px;

    transition:
        color .3s ease;
}


.aid-footer__legal a:hover {
    color:
        #fff;
}


.aid-footer__designer {
    display: flex;

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

    gap: 7px;

    color:
        rgba(255,255,255,.25);

    font-family:
        var(--font-tech, "Rajdhani", sans-serif);

    font-size: 8px;

    letter-spacing: .14em;
}


.aid-footer__designer a {
    color:
        rgba(255,255,255,.6);

    text-decoration: none;

    transition:
        color .3s ease;
}


.aid-footer__designer a:hover {
    color:
        var(--color-orange, #f47a20);
}


/* =========================================================
   CORNER TECH MARKS
========================================================= */

.aid-footer__corner {
    position: absolute;

    width: 75px;
    height: 75px;

    opacity: .4;

    pointer-events: none;
}


.aid-footer__corner--tl {
    top: 25px;
    left: 25px;

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

    border-left:
        1px solid rgba(255,255,255,.15);
}


.aid-footer__corner--br {
    right: 25px;
    bottom: 25px;

    border-right:
        1px solid rgba(255,255,255,.15);

    border-bottom:
        1px solid rgba(255,255,255,.15);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .aid-footer__top {
        padding-top: 60px;
    }


    .aid-footer__content {
        grid-template-columns:
            1fr 1fr;

        gap: 55px 45px;
    }


    .aid-footer__contact {
        grid-column:
            1 / -1;
    }


    .aid-contact-block {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .aid-footer__contact-strip {
        grid-template-columns:
            1fr 1fr;
    }


    .aid-footer__contact-strip-item:nth-child(2) {
        border-right: none;
    }


    .aid-footer__contact-strip-mark {
        display: none;
    }


    .aid-footer__bottom {
        grid-template-columns:
            1fr 1fr;
    }


    .aid-footer__legal {
        justify-content: flex-end;
    }


    .aid-footer__designer {
        grid-column:
            1 / -1;

        justify-content:
            flex-start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .aid-footer__top {
        padding-top: 48px;
    }


    .aid-footer__top-row {
        flex-direction: column;

        align-items: flex-start;

        padding-top: 30px;

        gap: 25px;
    }


    .aid-footer__coordinates {
        align-items: flex-start;
    }


    /* .aid-footer__logo img {
        max-width: 195px;
    } */


    .aid-footer__statement {
        font-size: 12px;

        margin-top: 22px;
    }


    .aid-footer__manifesto {
        grid-template-columns:
            35px 1fr;

        gap: 10px;

        padding:
            70px 0 50px;
    }


    .aid-footer__manifesto h2 {
        font-size:
            clamp(42px, 14vw, 72px);
    }


    .aid-footer__manifesto-line {
        width: 55%;

        bottom: 25px;
    }


    .aid-footer__content {
        display: flex;

        flex-direction: column;

        gap: 0;

        padding:
            40px 0;
    }


    .aid-footer__group,
    .aid-footer__contact {
        padding:
            24px 0;

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


    .aid-footer__group:first-child {
        border-top:
            1px solid rgba(255,255,255,.08);
    }


    .aid-contact-block {
        display: flex;

        flex-direction: column;

        gap: 10px;
    }


    .aid-contact-item {
        min-height: auto;
    }


    .aid-footer__contact-strip {
        display: flex;

        flex-direction: column;
    }


    .aid-footer__contact-strip-item {
        min-height: 72px;

        border-right: none;

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


    .aid-footer__bottom {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        padding:
            25px 0 30px;
    }


    .aid-footer__legal {
        flex-wrap: wrap;

        justify-content:
            flex-start;
    }


    .aid-footer__designer {
        justify-content:
            flex-start;

        flex-wrap: wrap;
    }


    .aid-footer__corner {
        width: 40px;
        height: 40px;
    }


    .aid-footer__corner--tl {
        top: 15px;
        left: 15px;
    }


    .aid-footer__corner--br {
        right: 15px;
        bottom: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .aid-footer__eyebrow {
        font-size: 8px;
    }


    .aid-footer__manifesto h2 {
        font-size: 40px;
    }


    /* .aid-footer__logo img {
        max-width: 175px;
    } */

}


/* =========================================
   FOOTER CONTACT — ALIGNMENT IMPROVEMENT
========================================= */

.aid-footer__content {
    grid-template-columns:
        minmax(140px, 0.75fr)
        minmax(190px, 1fr)
        minmax(0, 1.65fr);

    gap: clamp(28px, 4vw, 58px);
    align-items: start;
}

.aid-footer__contact {
    min-width: 0;
}

.aid-footer__contact .aid-footer__group-title {
    margin-bottom: 24px;
}

/* Three balanced contact cards */
.aid-contact-block {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.aid-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    min-width: 0;
    min-height: 145px;
    padding: 16px 13px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.025);

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.aid-contact-item:hover {
    border-color: rgba(244, 122, 32, 0.4);
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(-3px);
}

/* Consistent icon alignment */
.aid-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-top: 1px;

    border: 1px solid rgba(244, 122, 32, 0.45);
    color: var(--color-orange, #f47a20);
    font-family: var(--font-tech, "Rajdhani", sans-serif);
    font-size: 12px;
}

.aid-contact-item__content {
    flex: 1 1 auto;
    min-width: 0;
}

.aid-contact-item__content small {
    display: block;
    margin-bottom: 9px;

    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-tech, "Rajdhani", sans-serif);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
}

.aid-contact-item__content a,
.aid-contact-item__content address {
    display: block;
    margin: 0;

    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-body, "Manrope", sans-serif);
    font-size: 11px;
    font-style: normal;
    line-height: 1.75;

    overflow-wrap: anywhere;
    word-break: normal;
    text-decoration: none;
}

.aid-contact-item__content a {
    transition: color 0.25s ease;
}

.aid-contact-item__content a:hover {
    color: var(--color-orange, #f47a20);
}

.aid-contact-item__content .aid-contact-directions {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 12px;
    color: var(--color-orange, #f47a20);

    font-family: var(--font-tech, "Rajdhani", sans-serif);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Tablet */
@media (max-width: 1100px) {
    .aid-footer__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 30px;
    }

    .aid-footer__contact {
        grid-column: 1 / -1;
    }

    .aid-contact-block {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aid-contact-item {
        min-height: 125px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .aid-footer__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 38px 0;
    }

    .aid-footer__contact {
        grid-column: auto;
    }

    .aid-contact-block {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .aid-contact-item {
        min-height: 0;
        padding: 17px 15px;
        gap: 13px;
    }

    .aid-contact-item__content a,
    .aid-contact-item__content address {
        font-size: 12px;
        line-height: 1.8;
    }
}


/* Footer contact cards: balanced content alignment */
.aid-contact-block {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}

.aid-contact-item {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 172px;
    padding: 17px 16px;
    gap: 13px;
}

.aid-contact-item__content {
    width: 100%;
    min-width: 0;
}

.aid-contact-item__content small {
    margin-bottom: 8px;
}

.aid-contact-item__content a,
.aid-contact-item__content address {
    font-size: 11px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.aid-contact-item__content .aid-contact-directions {
    margin-top: 10px;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .aid-contact-item {
        min-height: 160px;
        padding: 15px 13px;
    }
}

@media (max-width: 767.98px) {
    .aid-contact-block {
        grid-template-columns: minmax(0, 1fr);
    }

    .aid-contact-item {
        flex-direction: row;
        align-items: flex-start;
        min-height: 0;
        padding: 17px 15px;
        gap: 13px;
    }

    .aid-contact-item__content {
        width: auto;
    }
}
