/* =========================================================
   DEHRADUN PUBLIC SCHOOL - FOOTER
========================================================= */

:root {
    --dps-footer-bg: #062333;
    --dps-footer-bg-dark: #041a27;
    --dps-footer-border: rgba(255, 255, 255, 0.13);
    --dps-footer-text: #d7e0e5;
    --dps-footer-muted: #9daeb7;
    --dps-footer-gold: #d7a94d;
    --dps-footer-white: #ffffff;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.dps-footer {
    width: 100%;
    background: var(--dps-footer-bg);
    color: var(--dps-footer-text);
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.dps-footer-main {
    padding: 42px 0 36px;
    background:
        linear-gradient(
            180deg,
            #082a3d 0%,
            #062333 100%
        );
}

.dps-footer-main .dps-container {
    width: min(100% - 90px, 1440px);
    margin: 0 auto;
}


/* =========================================================
   FOOTER GRID
========================================================= */

.dps-footer-grid {
    display: grid;
    grid-template-columns:
        1.55fr
        0.75fr
        1.35fr
        1.15fr;

    gap: 55px;
    align-items: start;
}


/* =========================================================
   SCHOOL BRAND
========================================================= */

.dps-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: #fff;
    text-decoration: none;
}

.dps-footer-emblem {
    width: 43px;
    height: 52px;

    border: 2px solid var(--dps-footer-gold);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--dps-footer-gold);

    clip-path: polygon(
        50% 0,
        100% 14%,
        91% 72%,
        50% 100%,
        9% 72%,
        0 14%
    );
}

.dps-footer-emblem span {
    font-size: 20px;
}

.dps-footer-logo-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: #fff;
}

.dps-footer-logo-subtitle {
    margin-top: 3px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 9px;

    letter-spacing: 1px;
    color: #d5dde1;
}

.dps-footer-logo-tagline {
    margin-top: 5px;

    font-size: 6px;
    letter-spacing: 1.4px;

    color: #aab8bf;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.dps-footer-description {
    max-width: 330px;

    margin: 22px 0 21px;

    color: var(--dps-footer-muted);

    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   SOCIAL
========================================================= */

.dps-footer-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dps-footer-socials a {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;

    color: #fff;
    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.dps-footer-socials a:hover {
    background: var(--dps-footer-gold);
    border-color: var(--dps-footer-gold);
    color: #09283a;
}


/* =========================================================
   FOOTER COLUMN
========================================================= */

.dps-footer-column h3 {
    margin: 2px 0 20px;

    color: #fff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
    font-weight: 500;
}

.dps-footer-column ul {
    padding: 0;
    margin: 0;

    list-style: none;
}

.dps-footer-column li {
    margin-bottom: 10px;
}

.dps-footer-column li a {
    color: var(--dps-footer-muted);
    text-decoration: none;

    font-size: 11px;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.dps-footer-column li a:hover {
    color: var(--dps-footer-gold);
    padding-left: 4px;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.dps-footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-bottom: 15px;
}

.dps-contact-icon {
    width: 18px;
    flex: 0 0 18px;

    color: var(--dps-footer-gold);

    font-size: 15px;
    text-align: center;
}

.dps-footer-contact-item p {
    padding: 0;
    margin: 0;

    color: var(--dps-footer-muted);

    font-size: 11px;
    line-height: 1.7;
}

.dps-footer-contact-item a {
    color: var(--dps-footer-muted);
    text-decoration: none;

    font-size: 11px;

    transition: color 0.2s ease;
}

.dps-footer-contact-item a:hover {
    color: var(--dps-footer-gold);
}


/* =========================================================
   WORKING HOURS
========================================================= */

.dps-working-days {
    margin: 0 0 17px;

    color: var(--dps-footer-muted);

    font-size: 11px;
    line-height: 1.6;
}

.dps-working-days span {
    color: #fff;
}


/* =========================================================
   MAP
========================================================= */

.dps-footer-map {
    width: 100%;
    max-width: 220px;

    overflow: hidden;

    border-radius: 2px;

    background: #fff;
}


/*
   Temporary map visual.
   Later we can replace this with actual Google Maps/static image.
*/

.dps-map-placeholder {
    height: 100px;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            30deg,
            transparent 47%,
            rgba(150, 150, 150, 0.3) 48%,
            rgba(150, 150, 150, 0.3) 51%,
            transparent 52%
        ),
        linear-gradient(
            145deg,
            transparent 45%,
            rgba(150, 150, 150, 0.22) 46%,
            rgba(150, 150, 150, 0.22) 50%,
            transparent 51%
        ),
        #e9edf0;
}

.dps-map-grid {
    position: absolute;
    inset: 0;

    opacity: 0.35;

    background-image:
        linear-gradient(
            90deg,
            transparent 48%,
            #ffffff 49%,
            #ffffff 51%,
            transparent 52%
        ),
        linear-gradient(
            0deg,
            transparent 48%,
            #ffffff 49%,
            #ffffff 51%,
            transparent 52%
        );

    background-size: 45px 45px;
}

.dps-map-pin {
    position: absolute;

    left: 48%;
    top: 43%;

    width: 30px;
    height: 30px;

    border-radius: 50% 50% 50% 0;

    background: #d84a3a;

    transform: rotate(-45deg);

    display: flex;
    align-items: center;
    justify-content: center;
}

.dps-map-pin span {
    color: #fff;
    font-size: 12px;

    transform: rotate(45deg);
}

.dps-map-label {
    position: absolute;

    left: 54%;
    top: 27%;

    padding: 4px 7px;

    background: #fff;

    color: #444;

    font-size: 7px;
    line-height: 1.3;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   GET DIRECTIONS
========================================================= */

.dps-directions-btn {
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #253a46;
    background: #fff;

    text-decoration: none;

    font-size: 10px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.dps-directions-btn:hover {
    background: var(--dps-footer-gold);
    color: #09283a;
}


/* =========================================================
   BOTTOM FOOTER
========================================================= */

.dps-footer-bottom {
    border-top: 1px solid var(--dps-footer-border);
    background: var(--dps-footer-bg-dark);
}

.dps-footer-bottom .dps-container {
    width: min(100% - 90px, 1440px);
    margin: 0 auto;
}

.dps-footer-bottom-inner {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.dps-footer-bottom p {
    margin: 0;

    color: #93a5ae;

    font-size: 9px;
}

.dps-footer-legal {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dps-footer-legal a,
.dps-footer-legal span {
    color: #93a5ae;

    font-size: 9px;
    text-decoration: none;
}

.dps-footer-legal a:hover {
    color: var(--dps-footer-gold);
}

.dps-footer-motto {
    color: #d3dce0;

    font-size: 8px;
    letter-spacing: 0.8px;

    white-space: nowrap;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1200px) {

    .dps-footer-main .dps-container,
    .dps-footer-bottom .dps-container {
        width: min(100% - 50px, 1440px);
    }

    .dps-footer-grid {
        grid-template-columns:
            1.4fr
            0.75fr
            1.25fr
            1fr;

        gap: 35px;
    }

    .dps-footer-description {
        max-width: 290px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .dps-footer-main {
        padding: 38px 0 35px;
    }

    .dps-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px 45px;
    }

    .dps-footer-brand {
        grid-column: span 2;
    }

    .dps-footer-description {
        max-width: 500px;
    }

    .dps-footer-bottom-inner {
        padding: 14px 0;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .dps-footer-bottom p {
        width: 100%;
    }

    .dps-footer-motto {
        width: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .dps-footer-main .dps-container,
    .dps-footer-bottom .dps-container {
        width: calc(100% - 32px);
    }

    .dps-footer-main {
        padding: 35px 0 28px;
    }

    .dps-footer-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .dps-footer-brand {
        width: 100%;
    }

    .dps-footer-logo-title {
        font-size: 18px;
    }

    .dps-footer-description {
        max-width: 100%;
        margin-top: 18px;

        font-size: 11px;
        line-height: 1.75;
    }

    .dps-footer-socials {
        gap: 12px;
    }

    .dps-footer-column {
        width: 100%;

        padding-top: 24px;

        border-top: 1px solid var(--dps-footer-border);
    }

    .dps-footer-column h3 {
        margin-bottom: 15px;
    }

    .dps-footer-column li {
        margin-bottom: 9px;
    }

    .dps-footer-map {
        max-width: 100%;
        width: 100%;
    }

    .dps-map-placeholder {
        height: 140px;
    }

    .dps-footer-bottom-inner {
        display: flex;
        flex-direction: column;

        gap: 12px;

        padding: 18px 0;
    }

    .dps-footer-bottom p {
        width: 100%;
        line-height: 1.6;
    }

    .dps-footer-legal {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 7px;
    }

    .dps-footer-motto {
        width: 100%;

        white-space: normal;

        line-height: 1.5;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .dps-footer-main .dps-container,
    .dps-footer-bottom .dps-container {
        width: calc(100% - 24px);
    }

    .dps-footer-emblem {
        width: 38px;
        height: 47px;
    }

    .dps-footer-logo-title {
        font-size: 16px;
    }

    .dps-footer-logo-subtitle {
        font-size: 8px;
    }

    .dps-footer-description {
        font-size: 10.5px;
    }

}








.dps-footer-developed {
    color: #93a5ae;
    font-size: 8px;
    white-space: nowrap;
}

.dps-footer-developed a {
    color: var(--dps-footer-gold);
    text-decoration: none;
    font-weight: 600;
}

.dps-footer-developed a:hover {
    color: #fff;
}@media (max-width: 600px) {

    .dps-footer-developed {
        width: 100%;
        text-align: center;
        white-space: normal;
        line-height: 1.5;
    }

}