﻿/* ===== CSS VARIABLES ===== */
/*manage in site.css*/

/* ===== BASE FOOTER STYLES ===== */
.modern-footer {
    background: var(--dark);
    color: var(--light-gray);
    padding: 0 0 1rem;
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
    opacity: 0.99;
}

    .modern-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 90% 10%, rgba(156, 124, 90, 0.05) 0%, transparent 20%), radial-gradient(circle at 10% 90%, rgba(248, 244, 233, 0.03) 0%, transparent 20%);
        pointer-events: none;
        max-width: 100vw !important;
    }

.footer-container {
    max-width: 100vw;
    margin: 0 auto;
    /*padding: 0 1.5rem;*/
    position: relative;
    z-index: 1;
}


/* Hexagram Section */
.hexagram-section {
    margin-bottom: 3rem;
    padding:0 var(--space-xs);
}

/* ===== LAYOUT ===== */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    padding: 1rem;
}

/* ===== TYPOGRAPHY ===== */
.footer-heading {
    color: var(--soft-warm-white);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--primary-light);
    position: relative;
}

    .footer-heading::after {
        content: "";
        position: absolute;
        bottom: -1px;
        right: 0;
        width: 10%;
        height: 1px;
        background: var(--accent);
    }

.footer-about-text {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    margin: 2rem 0 1.5rem;
    border-top: 1px solid var(--primary-light);
    border-bottom: 1px solid var(--primary-light);
    font-size: 0.9rem;
}

.footer-highlight {
    color: var(--rich-gold);
}

/* ===== SOCIAL LINKS ===== */
.footer-social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

    .footer-social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary);
        color: var(--light-gray);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-social-links a:hover {
            background: var(--accent);
            color: var(--dark);
            transform: translateY(-3px);
        }

/* ===== DECORATIVE ELEMENTS ===== */
.yin-yang-symbol {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.8;
    transition: var(--transition);
}

    .yin-yang-symbol:hover {
        opacity: 1;
        transform: rotate(180deg);
    }

/* ===== ENHANCED CONTACT ICONS ===== */
.modern-footer .comm-contact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

.modern-footer .comm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--light-gray);
    border-radius: 12px;
    padding: var(--space-md);
    min-width: 80px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--primary-light);
    position: relative;
    overflow: hidden;
    background: rgba(44, 62, 44, 0.1);
}

    .modern-footer .comm-item::before,
    .hexagram-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, var(--warm-gold) 0%, var(--rich-gold) 100%);
        opacity: 0;
        transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 0;
    }
.hexagram-item::before {
    border-radius: 14px;
}
    .modern-footer .comm-item:hover, .hexagram-item:hover {
        color: var(--dark);
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 8px 20px rgba(156, 124, 90, 0.4);
        border-color: transparent;
        border-radius:14px;
    }

        .modern-footer .comm-item:hover::before,
        .hexagram-item:hover::before {
            opacity: 1;
        }

    .modern-footer .comm-item .content-wrapper,
    .hexagram-item .content-wrapper {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .modern-footer .comm-item:hover .content-wrapper,
    .hexagram-item:hover .content-wrapper {
        transform: translateY(-2px);
    }

    .modern-footer .comm-item .bi,
    .modern-footer .comm-item .eitaa-icon img {
        font-size: 1.8rem;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Fix for eitaa icon - make it match other icons */
    .modern-footer .comm-item .eitaa-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 1.8rem;
        margin-bottom: 0;
        transition: var(--transition);
        filter: brightness(0) saturate(100%) invert(88%) sepia(5%) saturate(400%) hue-rotate(360deg) brightness(105%) contrast(85%);
    }

    .modern-footer .comm-item:hover .eitaa-icon {
        filter: brightness(0) saturate(100%) invert(10%) sepia(0%) saturate(500%) hue-rotate(0deg) brightness(90%) contrast(80%);
    }

    .modern-footer .comm-item .eitaa-icon img {
        width: 1.8rem;
        height: 1.8rem;
        object-fit: contain;
    }

    .modern-footer .comm-item:hover .bi,
    .modern-footer .comm-item:hover .eitaa-icon img {
        transform: scale(1.2) rotate(5deg);
    }

    .modern-footer .comm-item span {
        font-size: 0.9rem;
        text-align: center;
        margin-top: var(--space-xs);
        transition: all 0.3s ease;
        font-weight: var(--font-medium);
    }

    .modern-footer .comm-item:hover span {
        transform: translateY(2px);
        font-weight: var(--font-semibold);
    }

    /* Phone Number Specific */
    .modern-footer .comm-item.comm-tel {
        min-width: 120px;
        padding: var(--space-md) var(--space-sm);
    }

    .modern-footer .comm-item .phone-text {
        font-size: 0.85rem;
        font-weight: 500;
        margin-top: 0.4rem;
        line-height: 1.2;
    }

/* Add a subtle pulse animation on hover */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 8px 20px rgba(156, 124, 90, 0.4);
    }

    50% {
        box-shadow: 0 8px 25px rgba(156, 124, 90, 0.6);
    }

    100% {
        box-shadow: 0 8px 20px rgba(156, 124, 90, 0.4);
    }
}

.modern-footer .comm-item:hover,
.hexagram-item:hover {
    animation: pulse-glow 2s infinite;
}

/* Add a border animation effect */
.modern-footer .comm-item::after,
.hexagram-item::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--warm-gold);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-footer .comm-item:hover::after,
.hexagram-item:hover::after {
    opacity: 0.6;
}
/* ===== TRUST BADGES ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: nowrap;
}

.footer-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 80px;
    background: transparent;
    border-radius: 0px;
    padding: 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .footer-badge img {
        transition: var(--transition);
    }

        .footer-badge img:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(156, 124, 90, 0.3);
        }

    .footer-badge a,
    .footer-badge div {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .footer-badge img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* ZarinPal Specific */
#zarinpal iframe,
#zarinpal div {
    width: 100% !important;
    height: 100% !important;
}

#zarinpal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== DISCLAIMER ===== */
.exclude-liability {
    background: var(--primary);
    padding: 1.2rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.exclude-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    cursor: pointer;
}

    .exclude-title i {
        font-size: 1.2rem;
    }

.footer-read-more-btn {
    background: none;
    border: none;
    color: var(--accent);
    margin-right: auto;
    font-size: 0.9rem;
    cursor: pointer;
}

.exclude-content {
    display: none;
}

    .exclude-content p {
        line-height: 1.8;
        font-size: 0.9rem;
    }

.exclude-liability.active .exclude-content {
    display: block;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Large Devices (992px and down) */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column:last-child {
        grid-column: span 2;
    }


    .modern-footer .comm-contact {
        gap: 0.8rem;
    }

    .modern-footer .comm-item {
        padding: 0.8rem;
        min-width: 70px;
    }

        .modern-footer .comm-item .bi {
            font-size: 1.6rem;
        }

        .modern-footer .comm-item .eitaa-icon {
            height: 1.6rem;
        }

            .modern-footer .comm-item .eitaa-icon img {
                width: 1.6rem;
                height: 1.6rem;
            }

        .modern-footer .comm-item span {
            font-size: 0.85rem;
        }

        .modern-footer .comm-item.comm-tel {
            min-width: 110px;
            padding: 0.8rem 0.6rem;
        }

        .modern-footer .comm-item .phone-text {
            font-size: 0.8rem;
        }

    .trust-badges {
        gap: 1.2rem;
    }

    .footer-badge {
        height: 70px;
        width: 70px;
    }
}

/* Medium Devices (767px and down) */
@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column:last-child {
        grid-column: span 1;
    }

    .modern-footer .comm-contact {
        gap: 0.6rem;
    }

    .modern-footer .comm-item {
        padding: 0.7rem;
        min-width: 65px;
    }

        .modern-footer .comm-item .bi {
            font-size: 1.5rem;
        }

        .modern-footer .comm-item .eitaa-icon {
            height: 1.5rem;
        }

            .modern-footer .comm-item .eitaa-icon img {
                width: 1.5rem;
                height: 1.5rem;
            }

        .modern-footer .comm-item span {
            font-size: 0.8rem;
        }

        .modern-footer .comm-item.comm-tel {
            min-width: 100px;
            padding: 0.7rem 0.5rem;
        }

        .modern-footer .comm-item .phone-text {
            font-size: 0.75rem;
        }

    .trust-badges {
        gap: 1rem;
    }

    .footer-badge {
        height: 65px;
        width: 65px;
        padding: 6px;
    }
}

/* Small Devices (567px and down) */
@media (max-width: 567px) {
    .modern-footer {
        padding: 0 0 1rem;
    }


    .modern-footer .comm-contact {
        gap: 0.5rem;
    }

    .modern-footer .comm-item {
        padding: 0.6rem;
        min-width: 60px;
    }

        .modern-footer .comm-item .bi {
            font-size: 1.4rem;
        }

        .modern-footer .comm-item .eitaa-icon {
            height: 1.4rem;
        }

            .modern-footer .comm-item .eitaa-icon img {
                width: 1.4rem;
                height: 1.4rem;
            }

        .modern-footer .comm-item.comm-tel {
            min-width: 90px;
            padding: 0.6rem 0.4rem;
        }

        .modern-footer .comm-item .phone-text {
            font-size: 0.7rem;
        }

    .trust-badges {
        gap: 0.8rem;
    }

    .footer-badge {
        height: 60px;
        width: 60px;
        padding: 5px;
    }
}

/* Extra Small Devices (414px and down) */
@media (max-width: 414px) {
    .footer-heading {
        font-size: 1.1rem;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .modern-footer .comm-contact {
        gap: 0.4rem;
    }

    .modern-footer .comm-item {
        padding: 0.5rem;
        min-width: 55px;
    }

        .modern-footer .comm-item .bi {
            font-size: 1.3rem;
        }

        .modern-footer .comm-item .eitaa-icon {
            height: 1.3rem;
        }

            .modern-footer .comm-item .eitaa-icon img {
                width: 1.3rem;
                height: 1.3rem;
            }

        .modern-footer .comm-item span {
            font-size: 0.75rem;
        }

        .modern-footer .comm-item.comm-tel {
            min-width: 85px;
            padding: 0.5rem 0.3rem;
        }

        .modern-footer .comm-item .phone-text {
            font-size: 0.65rem;
        }

    .trust-badges {
        gap: 0.6rem;
    }

    .footer-badge {
        height: 55px;
        width: 55px;
        padding: 4px;
    }
}

/* ===== ENHANCED INSPIRATION SECTION ===== */
.footer-inspiration-section {
    text-align: center;
    margin: var(--space-lg) 0;
    padding: var(--space-2xl) var(--space-lg);
    border-bottom: none;
    /*background: linear-gradient(135deg, rgba(74, 120, 101, 0.15) 0%, rgba(248, 244, 233, 0.1) 50%, rgba(212, 180, 120, 0.15) 100%);*/
    border-radius: 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .footer-inspiration-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--warm-gold), transparent);
        transform: scaleX(0.4);
        transform-origin: center;
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1;
    }

    .footer-inspiration-section::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--warm-gold), transparent);
        transform: scaleX(0.2);
        transform-origin: center;
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
        z-index: 1;
    }

    /* Add a pseudo-element for the gradient overlay */
    .footer-inspiration-section .hover-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(74, 120, 101, 0.2) 0%, rgba(248, 244, 233, 0.15) 50%, rgba(212, 180, 120, 0.2) 100%);
        opacity: 0;
        transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        pointer-events: none;
        z-index: 0;
    }

    /* Enhanced hover effect */
    .footer-inspiration-section:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

        .footer-inspiration-section:hover::before,
        .footer-inspiration-section:hover::after {
            transform: scaleX(1);
        }

        .footer-inspiration-section:hover .hover-overlay {
            opacity: 0.1;
        }
    .footer-inspiration-section h2 {
        /*color: var(--rich-gold);*/ /* Soft warm gold - represents spiritual light */
        /*font-size: 2.2rem;
        margin-bottom: 0rem;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        position: relative;
        display: inline-block;*/
        font-size: var(--text-3xl);
        font-weight: var(--font-bold);
        color: var(--pale-gold);
        margin: 0 auto var(--space-md) auto;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
        line-height: var(--leading-display);
        letter-spacing: var(--tracking-wide);
        /* font-family: var(--font-display); */
        background: linear-gradient(135deg, var(--warm-gold) 0%, var(--rich-gold) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }


    .footer-inspiration-section p {
        max-width: 700px;
        margin: 1rem auto 0;
        line-height: 1.8;
        font-size: 1.4rem;
        color: var(--soft-warm-white); /* Soft warm white */
        font-weight: 300;
        position: relative;
        z-index: 2;
    }

    /* Add subtle animation on hover */
    /*.footer-inspiration-section:hover {
        background: linear-gradient(135deg, rgba(74, 120, 101, 0.2) 0%, rgba(248, 244, 233, 0.15) 50%, rgba(212, 180, 120, 0.2) 100%);
        transform: translateY(-2px);
        transition: all 0.4s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }*/

/* Responsive adjustments for inspiration section */
@media (max-width: 992px) {
    .footer-inspiration-section {
        padding: 2rem 1.2rem;
    }

        .footer-inspiration-section h2 {
            font-size: 2rem;
        }

        .footer-inspiration-section p {
            font-size: 1.3rem;
        }
}

@media (max-width: 767px) {
    .footer-inspiration-section {
        padding: 1.8rem 1rem;
        margin-bottom: 2.5rem;
    }

        .footer-inspiration-section h2 {
            font-size: 1.8rem;
        }

        .footer-inspiration-section p {
            font-size: 1.2rem;
        }
}

@media (max-width: 567px) {
    .footer-inspiration-section {
        padding: 1.5rem 0.8rem;
    }

        .footer-inspiration-section h2 {
            font-size: 1.6rem;
        }

        .footer-inspiration-section p {
            font-size: 1.1rem;
        }
}