/*
 * Yashaswi Group Brand Footer & Icon Refinement
 * Purpose: replace black footer treatment with dark maroon brand treatment
 * and align generic website icons with Yashaswi Group brand colours.
 */
:root {
    --yg-brand-maroon: #7c2834;
    --yg-brand-maroon-dark: #5a1e27;
    --yg-brand-maroon-deep: #321018;
    --yg-brand-maroon-soft: #fff5f6;
    --yg-brand-gold: #e4ab00;
    --yg-brand-gold-light: #ffca38;
    --yg-brand-cream: #fff8e7;
}

/* Footer: dark maroon instead of black/navy */
.site-footer,
footer.site-footer {
    background: var(--yg-brand-maroon-deep) !important;
    color: #fff !important;
}

.site-footer .footer-main {
    background:
        radial-gradient(circle at 8% 12%, rgba(228, 171, 0, 0.20), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(124, 40, 52, 0.65), transparent 34%),
        linear-gradient(135deg, var(--yg-brand-maroon-dark) 0%, var(--yg-brand-maroon-deep) 58%, #260b12 100%) !important;
    border-top: 4px solid var(--yg-brand-gold) !important;
}

.site-footer .footer-logo {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22)) !important;
}

.site-footer .footer-tagline {
    color: #fff !important;
}

.site-footer .footer-desc,
.site-footer .footer-links li,
.site-footer .footer-contact li,
.site-footer .footer-links a,
.site-footer .footer-contact a {
    color: rgba(255, 255, 255, 0.82) !important;
}

.site-footer h6 {
    color: var(--yg-brand-gold-light) !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover,
.site-footer .footer-bottom a:hover {
    color: var(--yg-brand-gold-light) !important;
}

.site-footer .footer-contact i {
    color: var(--yg-brand-gold-light) !important;
}

.site-footer .footer-social a {
    background: rgba(228, 171, 0, 0.12) !important;
    color: var(--yg-brand-gold-light) !important;
    border: 1px solid rgba(228, 171, 0, 0.35) !important;
}

.site-footer .footer-social a:hover {
    background: var(--yg-brand-gold) !important;
    color: var(--yg-brand-maroon-deep) !important;
    border-color: var(--yg-brand-gold) !important;
    transform: translateY(-2px);
}

.site-footer .footer-bottom {
    background: var(--yg-brand-gold) !important;
    color: var(--yg-brand-maroon-deep) !important;
}

.site-footer .footer-bottom a,
.site-footer .footer-bottom span,
.site-footer .footer-bottom p {
    color: var(--yg-brand-maroon-deep) !important;
}

/* Top/header micro icons: brand aligned */
.site-topbar i,
.site-navbar .navbar-toggler,
.site-navbar .navbar-toggler-icon {
    color: var(--yg-brand-gold-light) !important;
}

.site-navbar .navbar-toggler {
    border-color: rgba(124, 40, 52, 0.25) !important;
}

/* Generic brand icon tokens across designed pages */
.stat-icon,
.amenities-stat-item i,
.amenities-feature-icon,
.hero-card-icon,
.about-strength-card > i,
.about-company-card i,
.contact-quick-grid i,
.pd-summary-item i,
.pd-amenity-item i,
.empty-projects i,
.projects-empty-state i,
.location-empty-card i {
    background: linear-gradient(135deg, var(--yg-brand-maroon), var(--yg-brand-maroon-dark)) !important;
    color: var(--yg-brand-gold-light) !important;
}

/* Check/list/detail icons: use maroon + gold instead of mixed green/blue/orange */
.about-promise-box i,
.amenities-check-grid i,
.amenities-value-card i,
.advisor-card p i,
.specialist-card i,
.expertise-list i,
.md-quote-box i,
.md-check-list i,
.pd-trust-list i,
.projects-filter-tabs .nav-link i,
.project-location i,
.location-mini-points i,
.location-check-item i,
.seo-mini-list i,
.site-breadcrumb .breadcrumb-home-icon {
    color: var(--yg-brand-maroon) !important;
}

/* Icon cards and tabs should feel part of one Yashaswi palette */
.why-card-top,
.stat-green .stat-icon,
.stat-orange .stat-icon,
.stat-blue .stat-icon,
.stat-gold .stat-icon,
.stat-green i,
.stat-gold i,
.stat-blue i,
.stat-orange i {
    background: linear-gradient(135deg, var(--yg-brand-maroon), var(--yg-brand-maroon-dark)) !important;
    color: var(--yg-brand-gold-light) !important;
}

.home-stat-item h3,
.stat-green h3,
.stat-orange h3,
.stat-blue h3,
.stat-gold h3 {
    color: var(--yg-brand-maroon) !important;
}

.why-card h3,
.project-location i,
.projects-filter-tabs .nav-link.active,
.site-breadcrumb a:hover {
    color: var(--yg-brand-maroon) !important;
}

.projects-filter-tabs .nav-link.active {
    border-color: rgba(124, 40, 52, 0.22) !important;
    background: var(--yg-brand-maroon-soft) !important;
}

/* Status badges and small icon-led indicators */
.status-completed,
.status-ongoing,
.project-status-badge,
.pd-status-badge,
.location-project-card .badge {
    background: var(--yg-brand-maroon) !important;
    color: #fff !important;
}

.caption-arrow {
    background: var(--yg-brand-gold) !important;
    color: var(--yg-brand-maroon-deep) !important;
}

/* Preserve recognizable WhatsApp brand color for conversion/action clarity */
.whatsapp-float,
.whatsapp-float i,
a[href*="wa.me"] i.bi-whatsapp,
.btn-whatsapp,
.btn-whatsapp i {
    color: #fff !important;
}

@media (max-width: 767px) {
    .site-footer .footer-main {
        border-top-width: 3px !important;
    }

    .site-footer .footer-social a {
        width: 38px;
        height: 38px;
    }
}

/*
 * 14 Aug 2026 - Uniform Yashaswi Brand Icon System
 * UI/UX objective: remove the visually noisy multi-colour icon treatment and
 * standardise icon containers to Yashaswi dark maroon with gold icon glyphs.
 * This keeps the approved layout/structure unchanged while making the interface
 * cleaner, more premium and brand-consistent.
 */
:root {
    --yg-brand-icon-bg: linear-gradient(145deg, #7c2834 0%, #651f2a 58%, #46131d 100%);
    --yg-brand-icon-bg-soft: linear-gradient(145deg, rgba(124, 40, 52, 0.96) 0%, rgba(90, 30, 39, 0.98) 100%);
    --yg-brand-icon-glyph: #ffca38;
    --yg-brand-text-maroon: #7c2834;
    --yg-brand-text-navy: #14243f;
}

/* Homepage statistics: match the clean approved treatment, no mixed green/orange/blue circles. */
body.home-redesign-body .home-stats-card .home-stat-item .stat-icon,
body .home-stats-card .home-stat-item.stat-green .stat-icon,
body .home-stats-card .home-stat-item.stat-orange .stat-icon,
body .home-stats-card .home-stat-item.stat-blue .stat-icon,
body .home-stats-card .home-stat-item.stat-gold .stat-icon {
    background: var(--yg-brand-icon-bg) !important;
    color: var(--yg-brand-icon-glyph) !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(124, 40, 52, 0.20) !important;
}

body.home-redesign-body .home-stats-card .home-stat-item .stat-icon i,
body .home-stats-card .home-stat-item .stat-icon .bi,
body .home-stats-card .home-stat-item .stat-icon svg {
    color: var(--yg-brand-icon-glyph) !important;
    fill: var(--yg-brand-icon-glyph) !important;
}

body.home-redesign-body .home-stat-item h3,
body .home-stats-card .home-stat-item h3,
body .home-stats-card .home-stat-item.stat-green h3,
body .home-stats-card .home-stat-item.stat-orange h3,
body .home-stats-card .home-stat-item.stat-blue h3,
body .home-stats-card .home-stat-item.stat-gold h3 {
    color: var(--yg-brand-text-maroon) !important;
}

body.home-redesign-body .home-stat-item p,
body .home-stats-card .home-stat-item p {
    color: var(--yg-brand-text-navy) !important;
}

/* Inner-page statistics: keep every number/icon treatment aligned with the same Yashaswi palette. */
body.site-redesign-body .about-stat-icon,
body.site-redesign-body .about-stat-item.stat-green .about-stat-icon,
body.site-redesign-body .about-stat-item.stat-orange .about-stat-icon,
body.site-redesign-body .about-stat-item.stat-blue .about-stat-icon,
body.site-redesign-body .about-stat-item.stat-gold .about-stat-icon,
body.site-redesign-body .amenities-stat-item i,
body.site-redesign-body .amenities-stat-item.stat-green i,
body.site-redesign-body .amenities-stat-item.stat-orange i,
body.site-redesign-body .amenities-stat-item.stat-blue i,
body.site-redesign-body .amenities-stat-item.stat-gold i,
body.site-redesign-body .projects-hero-stats .hero-stat-item i {
    background: var(--yg-brand-icon-bg) !important;
    color: var(--yg-brand-icon-glyph) !important;
    border-color: rgba(255, 202, 56, 0.25) !important;
    box-shadow: 0 10px 24px rgba(124, 40, 52, 0.18) !important;
}

body.site-redesign-body .about-stat-icon i,
body.site-redesign-body .amenities-stat-item i::before,
body.site-redesign-body .projects-hero-stats .hero-stat-item i::before {
    color: var(--yg-brand-icon-glyph) !important;
}

body.site-redesign-body .about-stat-item h3,
body.site-redesign-body .about-stat-item.stat-green h3,
body.site-redesign-body .about-stat-item.stat-orange h3,
body.site-redesign-body .about-stat-item.stat-blue h3,
body.site-redesign-body .about-stat-item.stat-gold h3,
body.site-redesign-body .amenities-stat-item h3,
body.site-redesign-body .amenities-stat-item.stat-green h3,
body.site-redesign-body .amenities-stat-item.stat-orange h3,
body.site-redesign-body .amenities-stat-item.stat-blue h3,
body.site-redesign-body .amenities-stat-item.stat-gold h3,
body.site-redesign-body .projects-hero-stats .hero-stat-item strong {
    color: var(--yg-brand-text-maroon) !important;
}

/* Card/header icon blocks across all redesigned pages. */
body .why-card-top,
body .about-trust-icon,
body .about-vision-icon,
body .about-md-icon,
body .amenities-feature-icon,
body .amenities-grid-icon,
body .hero-card-icon,
body .value-icon,
body .advisor-icon,
body .panel-icon,
body .office-icon,
body .branch-icon,
body .md-value-icon,
body .pd-doc-icon,
body .pd-summary-item i,
body .pd-amenity-item i,
body .contact-quick-grid i,
body .projects-empty-state i,
body .empty-projects i,
body .location-empty-card i {
    background: var(--yg-brand-icon-bg) !important;
    color: var(--yg-brand-icon-glyph) !important;
    border-color: rgba(255, 202, 56, 0.22) !important;
}

body .why-card-top i,
body .about-trust-icon i,
body .about-vision-icon i,
body .about-md-icon i,
body .amenities-feature-icon i,
body .amenities-grid-icon i,
body .hero-card-icon i,
body .value-icon i,
body .advisor-icon i,
body .panel-icon i,
body .office-icon i,
body .branch-icon i,
body .md-value-icon i,
body .pd-doc-icon i,
body .pd-summary-item i::before,
body .pd-amenity-item i::before,
body .contact-quick-grid i::before,
body .projects-empty-state i::before,
body .empty-projects i::before,
body .location-empty-card i::before {
    color: var(--yg-brand-icon-glyph) !important;
}

/* Inline/support icons: use brand maroon instead of mixed blue/green/orange. */
body .about-promise-box i,
body .about-strength-card > i,
body .amenities-check-grid i,
body .amenities-value-card i,
body .advisor-card p i,
body .specialist-card i,
body .expertise-list i,
body .md-quote-box i,
body .md-check-list i,
body .pd-trust-list i,
body .projects-filter-tabs .nav-link i,
body .project-location i,
body .project-card-meta i,
body .location-mini-points i,
body .location-check-item i,
body .location-project-meta i,
body .seo-mini-list i,
body .seo-kicker i,
body .site-breadcrumb .breadcrumb-home-icon,
body .caption-arrow i,
body .footer-contact i {
    color: var(--yg-brand-text-maroon) !important;
}

/* Accent pills and navigation indicators should use brand maroon/gold, not separate section colours. */
body .caption-arrow,
body .project-status-badge,
body .pd-status-badge,
body .location-status-pill,
body .status-completed,
body .status-ongoing,
body .status-upcoming {
    background: var(--yg-brand-text-maroon) !important;
    color: #fff !important;
}

body .caption-arrow i {
    color: var(--yg-brand-icon-glyph) !important;
}

/* Footer contact icons should remain gold on dark maroon footer for contrast. */
.site-footer .footer-contact i,
.site-footer .footer-social a i {
    color: var(--yg-brand-icon-glyph) !important;
}

/* Preserve action semantics: WhatsApp remains recognizable, and button icons inherit their button text colour. */
a[href*="wa.me"] i.bi-whatsapp,
.btn-whatsapp i,
.cta-whatsapp-btn i,
.whatsapp-float i {
    color: #fff !important;
}

.btn i,
button i,
a.btn i {
    color: inherit;
}


/*
 * 14 Aug 2026 - About page strength-card icon visibility fix
 * UI note: These cards already use the preferred dark maroon icon container.
 * The glyph must remain gold for clear contrast and the same premium Yashaswi
 * brand treatment used in the clean statistics reference.
 */
body.site-redesign-body .about-strength-card > i,
body .about-redesign .about-strength-card > i {
    background: var(--yg-brand-icon-bg) !important;
    color: var(--yg-brand-icon-glyph) !important;
    border: 0 !important;
    box-shadow: 0 12px 26px rgba(124, 40, 52, 0.20) !important;
    opacity: 1 !important;
}

body.site-redesign-body .about-strength-card > i::before,
body .about-redesign .about-strength-card > i::before {
    color: var(--yg-brand-icon-glyph) !important;
    opacity: 1 !important;
}

body.site-redesign-body .about-strength-card:hover > i,
body .about-redesign .about-strength-card:hover > i {
    background: linear-gradient(145deg, #8a2c3a 0%, #681f2a 58%, #46131d 100%) !important;
    color: var(--yg-brand-icon-glyph) !important;
}

/*
 * 14 Aug 2026 - About page MD message + final CTA visual correction
 * UI/UX note: The two large green gradient bands looked heavy and visually merged.
 * Keep the HTML/structure unchanged, but make this area compact, premium and
 * brand-aligned using Yashaswi maroon + gold.
 */
body.site-redesign-body .about-md-link-section,
body .about-redesign .about-md-link-section {
    padding: 54px 0 34px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%) !important;
}

body.site-redesign-body .about-md-link-card,
body .about-redesign .about-md-link-card {
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    padding: clamp(24px, 3vw, 34px) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 96% 8%, rgba(255, 202, 56, 0.22), transparent 26%),
        linear-gradient(135deg, #fffaf0 0%, #ffffff 56%, #fff5f6 100%) !important;
    border: 1px solid rgba(124, 40, 52, 0.14) !important;
    color: var(--yg-brand-text-navy) !important;
    box-shadow: 0 18px 45px rgba(50, 16, 24, 0.10) !important;
}

body.site-redesign-body .about-md-link-card::before,
body .about-redesign .about-md-link-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7px;
    background: linear-gradient(180deg, var(--yg-brand-gold-light), var(--yg-brand-maroon));
}

body.site-redesign-body .about-md-icon,
body .about-redesign .about-md-icon {
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 72px !important;
    border-radius: 22px !important;
    background: var(--yg-brand-icon-bg) !important;
    color: var(--yg-brand-icon-glyph) !important;
    box-shadow: 0 14px 28px rgba(124, 40, 52, 0.22) !important;
}

body.site-redesign-body .about-md-icon i,
body.site-redesign-body .about-md-icon i::before,
body .about-redesign .about-md-icon i,
body .about-redesign .about-md-icon i::before {
    color: var(--yg-brand-icon-glyph) !important;
    opacity: 1 !important;
}

body.site-redesign-body .about-md-link-card span,
body .about-redesign .about-md-link-card span {
    color: var(--yg-brand-maroon) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 8px !important;
}

body.site-redesign-body .about-md-link-card h2,
body .about-redesign .about-md-link-card h2 {
    color: var(--yg-brand-text-navy) !important;
    font-size: clamp(1.65rem, 2.5vw, 2.35rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.035em !important;
    max-width: 760px !important;
    margin: 0 0 8px !important;
}

body.site-redesign-body .about-md-link-card p,
body .about-redesign .about-md-link-card p {
    color: #5f6b7c !important;
    max-width: 760px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

body.site-redesign-body .about-md-btn,
body .about-redesign .about-md-btn {
    flex: 0 0 auto !important;
    background: linear-gradient(135deg, var(--yg-brand-maroon), var(--yg-brand-maroon-dark)) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 202, 56, 0.34) !important;
    box-shadow: 0 16px 32px rgba(124, 40, 52, 0.22) !important;
}

body.site-redesign-body .about-md-btn i,
body .about-redesign .about-md-btn i {
    color: var(--yg-brand-gold-light) !important;
}

body.site-redesign-body .about-md-btn:hover,
body .about-redesign .about-md-btn:hover {
    background: linear-gradient(135deg, var(--yg-brand-gold-light), var(--yg-brand-gold)) !important;
    color: var(--yg-brand-maroon-deep) !important;
    border-color: var(--yg-brand-gold) !important;
}

body.site-redesign-body .about-md-btn:hover i,
body .about-redesign .about-md-btn:hover i {
    color: var(--yg-brand-maroon-deep) !important;
}

body.site-redesign-body .about-final-cta,
body .about-redesign .about-final-cta {
    padding: 34px 0 72px !important;
    background: #fffaf0 !important;
}

body.site-redesign-body .about-final-cta-inner,
body .about-redesign .about-final-cta-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 28px !important;
    padding: clamp(30px, 4vw, 44px) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 8% 14%, rgba(255, 202, 56, 0.24), transparent 28%),
        radial-gradient(circle at 94% 26%, rgba(228, 171, 0, 0.16), transparent 28%),
        linear-gradient(135deg, var(--yg-brand-maroon-dark) 0%, var(--yg-brand-maroon-deep) 68%, #240b11 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 22px 50px rgba(50, 16, 24, 0.20) !important;
}

body.site-redesign-body .about-final-cta span,
body .about-redesign .about-final-cta span {
    color: var(--yg-brand-gold-light) !important;
    letter-spacing: 0.11em !important;
}

body.site-redesign-body .about-final-cta h2,
body .about-redesign .about-final-cta h2 {
    color: #ffffff !important;
    font-size: clamp(1.85rem, 3vw, 2.85rem) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.035em !important;
    max-width: 820px !important;
}

body.site-redesign-body .about-final-cta-inner .d-flex,
body .about-redesign .about-final-cta-inner .d-flex {
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    min-width: 300px !important;
}

body.site-redesign-body .about-cta-call,
body .about-redesign .about-cta-call {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 202, 56, 0.30) !important;
    box-shadow: none !important;
}

body.site-redesign-body .about-cta-call i,
body .about-redesign .about-cta-call i {
    color: var(--yg-brand-gold-light) !important;
}

body.site-redesign-body .about-cta-call:hover,
body .about-redesign .about-cta-call:hover {
    background: #ffffff !important;
    color: var(--yg-brand-maroon-deep) !important;
    border-color: #ffffff !important;
}

body.site-redesign-body .about-cta-enquire,
body .about-redesign .about-cta-enquire {
    background: linear-gradient(135deg, var(--yg-brand-gold-light), var(--yg-brand-gold)) !important;
    color: var(--yg-brand-maroon-deep) !important;
    border-color: transparent !important;
    box-shadow: 0 16px 32px rgba(228, 171, 0, 0.26) !important;
}

body.site-redesign-body .about-cta-enquire i,
body .about-redesign .about-cta-enquire i {
    color: var(--yg-brand-maroon-deep) !important;
}

body.site-redesign-body .about-cta-enquire:hover,
body .about-redesign .about-cta-enquire:hover {
    background: #ffffff !important;
    color: var(--yg-brand-maroon-deep) !important;
}

@media (max-width: 991px) {
    body.site-redesign-body .about-md-link-card,
    body .about-redesign .about-md-link-card {
        align-items: flex-start !important;
    }

    body.site-redesign-body .about-final-cta-inner,
    body .about-redesign .about-final-cta-inner {
        grid-template-columns: 1fr !important;
    }

    body.site-redesign-body .about-final-cta-inner .d-flex,
    body .about-redesign .about-final-cta-inner .d-flex {
        justify-content: flex-start !important;
        min-width: 0 !important;
    }
}

@media (max-width: 767px) {
    body.site-redesign-body .about-md-link-section,
    body .about-redesign .about-md-link-section {
        padding: 38px 0 24px !important;
    }

    body.site-redesign-body .about-md-link-card,
    body .about-redesign .about-md-link-card {
        padding: 24px 22px !important;
        border-radius: 22px !important;
    }

    body.site-redesign-body .about-md-icon,
    body .about-redesign .about-md-icon {
        width: 62px !important;
        height: 62px !important;
        flex-basis: 62px !important;
        font-size: 1.6rem !important;
    }

    body.site-redesign-body .about-md-link-card h2,
    body .about-redesign .about-md-link-card h2 {
        font-size: clamp(1.45rem, 7vw, 2rem) !important;
    }

    body.site-redesign-body .about-final-cta,
    body .about-redesign .about-final-cta {
        padding: 24px 0 52px !important;
    }

    body.site-redesign-body .about-final-cta-inner,
    body .about-redesign .about-final-cta-inner {
        padding: 28px 22px !important;
        border-radius: 22px !important;
    }

    body.site-redesign-body .about-final-cta h2,
    body .about-redesign .about-final-cta h2 {
        font-size: clamp(1.55rem, 8vw, 2.2rem) !important;
    }

    body.site-redesign-body .about-final-cta-inner .d-flex,
    body .about-redesign .about-final-cta-inner .d-flex,
    body.site-redesign-body .about-md-btn,
    body .about-redesign .about-md-btn,
    body.site-redesign-body .about-cta-call,
    body .about-redesign .about-cta-call,
    body.site-redesign-body .about-cta-enquire,
    body .about-redesign .about-cta-enquire {
        width: 100% !important;
    }
}
