/* =========================================================
                    FOOTER BRAND COLORS
========================================================= */

:root {

    --ray-footer-background: #eee0cd;

    --ray-footer-text: #4b3328;

    --ray-footer-hover: #9c6d45;

    --ray-footer-border: rgba(75, 51, 40, 0.18);

    --ray-footer-light-background: rgba(255, 255, 255, 0.26);

    --ray-footer-white: #ffffff;

}


/* =========================================================
                    MAIN FOOTER CONTAINER
========================================================= */

.ray-footer {

    width: 100%;

    color: var(--ray-footer-text);

    background-color: var(--ray-footer-background);

    border-top: 1px solid var(--ray-footer-border);

    font-family: "Poppins", sans-serif;

}


/* =========================================================
                    FOOTER TOP SECTION
========================================================= */

.footer-top {

    max-width: 1500px;

    margin: 0 auto;

    padding: 75px 5% 60px;

    display: grid;

    grid-template-columns:
        minmax(250px, 1.5fr)
        repeat(3, minmax(150px, 0.8fr))
        minmax(250px, 1.3fr);

    gap: 50px;

    align-items: start;

}


/* =========================================================
                    FOOTER BRAND SECTION
========================================================= */

.footer-brand {

    max-width: 330px;

}


.footer-logo-link {

    display: inline-block;

    color: inherit;

    text-decoration: none;

}


/* =========================================================
                    CODED FOOTER LOGO
========================================================= */

.footer-ray-logo {

    width: 245px;

    display: flex;

    flex-direction: column;

    align-items: center;

    color: var(--ray-footer-text);

    text-align: center;

}


/* =========================================================
                    FOOTER URDU LOGO TEXT
========================================================= */

.footer-logo-top {

    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

}


.footer-urdu-text {

    font-family: "Noto Nastaliq Urdu", serif;

    font-size: 37px;

    font-weight: 700;

    line-height: 1;

    transform: translateY(-4px);

}


/* =========================================================
                    FOOTER DECORATIVE LEAVES
========================================================= */

.footer-logo-leaf {

    display: inline-block;

    font-family: Georgia, serif;

    font-size: 24px;

    opacity: 0.85;

}


.footer-leaf-left {

    transform: rotate(-20deg);

}


.footer-leaf-right {

    transform: scaleX(-1) rotate(-20deg);

}


/* =========================================================
                    FOOTER STUDIO NAME
========================================================= */

.footer-studio-row {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

}


.footer-studio-text {

    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    font-weight: 700;

    letter-spacing: 7px;

    line-height: 1;

}


/* =========================================================
                    FOOTER LOGO LINES
========================================================= */

.footer-logo-line {

    width: 38px;

    height: 1px;

    display: block;

    background-color: var(--ray-footer-text);

    opacity: 0.7;

}


/* =========================================================
                    FOOTER LOGO TAGLINE
========================================================= */

.footer-logo-tagline {

    margin-top: 8px;

    font-size: 7px;

    font-weight: 500;

    letter-spacing: 1.6px;

    white-space: nowrap;

    opacity: 0.85;

}


/* =========================================================
                    BRAND DESCRIPTION
========================================================= */

.footer-brand-description {

    margin-top: 25px;

    color: rgba(75, 51, 40, 0.78);

    font-size: 13px;

    line-height: 1.9;

}


/* =========================================================
                    SOCIAL MEDIA ICONS
========================================================= */

.footer-social-icons {

    margin-top: 24px;

    display: flex;

    align-items: center;

    gap: 10px;

}


.footer-social-icons a {

    width: 38px;

    height: 38px;

    border: 1px solid var(--ray-footer-border);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--ray-footer-text);

    background-color: transparent;

    font-size: 15px;

    text-decoration: none;

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

}


.footer-social-icons a:hover {

    color: var(--ray-footer-white);

    background-color: var(--ray-footer-text);

    border-color: var(--ray-footer-text);

    transform: translateY(-3px);

}


/* =========================================================
                    FOOTER COLUMN HEADINGS
========================================================= */

.footer-heading {

    position: relative;

    margin-bottom: 24px;

    padding-bottom: 10px;

    color: var(--ray-footer-text);

    font-family: "Cormorant Garamond", serif;

    font-size: 23px;

    font-weight: 700;

    letter-spacing: 0.4px;

}


.footer-heading::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 38px;

    height: 1px;

    background-color: var(--ray-footer-hover);

}


/* =========================================================
                    FOOTER LINKS LIST
========================================================= */

.footer-links {

    list-style: none;

}


.footer-links li {

    margin-bottom: 12px;

}


.footer-links a {

    position: relative;

    display: inline-block;

    color: rgba(75, 51, 40, 0.78);

    font-size: 13px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;

}


.footer-links a:hover {

    color: var(--ray-footer-hover);

    transform: translateX(4px);

}


/* =========================================================
                    NEWSLETTER DESCRIPTION
========================================================= */

.newsletter-description {

    margin-bottom: 21px;

    color: rgba(75, 51, 40, 0.78);

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
                    NEWSLETTER FORM
========================================================= */

.newsletter-form {

    width: 100%;

}


.newsletter-input-wrapper {

    width: 100%;

    height: 49px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background-color: var(--ray-footer-light-background);

    border: 1px solid var(--ray-footer-border);

}


.newsletter-input-wrapper input {

    flex: 1;

    min-width: 0;

    height: 100%;

    padding: 0 16px;

    border: none;

    outline: none;

    color: var(--ray-footer-text);

    background-color: transparent;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

}


.newsletter-input-wrapper input::placeholder {

    color: rgba(75, 51, 40, 0.58);

}


.newsletter-input-wrapper button {

    width: 50px;

    height: 100%;

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--ray-footer-white);

    background-color: var(--ray-footer-text);

    font-size: 15px;

    cursor: pointer;

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

}


.newsletter-input-wrapper button:hover {

    background-color: var(--ray-footer-hover);

}


/* =========================================================
                    FOOTER CONTACT DETAILS
========================================================= */

.footer-contact-details {

    margin-top: 24px;

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.footer-contact-details p {

    display: flex;

    align-items: center;

    gap: 11px;

    color: rgba(75, 51, 40, 0.8);

    font-size: 12px;

}


.footer-contact-details i {

    width: 16px;

    color: var(--ray-footer-hover);

    text-align: center;

}


.footer-contact-details a {

    color: inherit;

    text-decoration: none;

    transition: color 0.3s ease;

}


.footer-contact-details a:hover {

    color: var(--ray-footer-hover);

}


/* =========================================================
                    FOOTER BOTTOM SECTION
========================================================= */

.footer-bottom {

    min-height: 74px;

    padding: 18px 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border-top: 1px solid var(--ray-footer-border);

    background-color: rgba(75, 51, 40, 0.035);

}


/* =========================================================
                    COPYRIGHT TEXT
========================================================= */

.footer-copyright {

    color: rgba(75, 51, 40, 0.72);

    font-size: 12px;

}


/* =========================================================
                    PAYMENT METHODS
========================================================= */

.footer-payment-methods {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--ray-footer-text);

}


.footer-payment-methods span {

    margin-right: 4px;

    color: rgba(75, 51, 40, 0.7);

    font-size: 11px;

}


.footer-payment-methods i {

    font-size: 24px;

}


/* =========================================================
                    HIDDEN ACCESSIBILITY LABEL
========================================================= */

.visually-hidden {

    position: absolute;

    width: 1px;

    height: 1px;

    padding: 0;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;

}


/* =========================================================
                    LARGE TABLET DESIGN
========================================================= */

@media screen and (max-width: 1250px) {

    .footer-top {

        grid-template-columns:
            minmax(250px, 1.4fr)
            repeat(3, minmax(150px, 1fr));

    }


    .footer-newsletter {

        grid-column: 1 / -1;

        max-width: 560px;

    }

}


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

@media screen and (max-width: 900px) {

    .footer-top {

        padding-top: 60px;

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

        gap: 45px 35px;

    }


    .footer-brand {

        max-width: 100%;

    }


    .footer-newsletter {

        grid-column: auto;

    }

}


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

@media screen and (max-width: 600px) {

    .footer-top {

        padding: 50px 20px 40px;

        grid-template-columns: 1fr;

        gap: 38px;

    }


    .footer-brand {

        max-width: 100%;

    }


    .footer-ray-logo {

        width: 220px;

        align-items: center;

    }


    .footer-bottom {

        padding: 22px 20px;

        flex-direction: column;

        text-align: center;

    }


    .footer-payment-methods {

        flex-wrap: wrap;

        justify-content: center;

    }


    .footer-payment-methods span {

        width: 100%;

        margin-right: 0;

    }

}