/* Premium Bento Grid & Glassmorphic Footer Styling */

:root {
    --footer-bg: var(--secondary, #0B1628);
    --footer-bg-gradient: #060b14;
    --footer-card-bg: rgba(19, 32, 51, 0.6); /* Translucent based on secondary-light */
    --footer-card-hover-bg: rgba(19, 32, 51, 0.8);
    --footer-border: rgba(0, 98, 230, 0.12); /* Translucent based on header primary blue */
    --footer-border-hover: rgba(77, 154, 255, 0.25); /* Translucent based on header primary light blue */
    --footer-text: rgba(203, 213, 225, 0.75); /* Slate 300 equivalent */
    --footer-text-light: rgba(248, 250, 252, 0.95); /* Slate 50 equivalent */
    --footer-gold: var(--primary-light, #4D9AFF); /* Map footer accent to header primary light blue */
    --footer-gold-dark: var(--primary, #0062E6); /* Map to header primary blue */
    --footer-gold-light: var(--primary-light, #4D9AFF); /* Map to header primary light blue */
    --footer-gold-deep: var(--primary-dark, #003FA3); /* Map to header primary dark blue */
    --footer-primary-blue: var(--primary, #0062E6);
}

/* Global Website Footer Container */
footer.site-footer-new {
    background-color: var(--footer-bg);
    background-image: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-gradient) 100%);
    position: relative;
    width: 100%;
    padding-top: 0; /* divider line sits at the very top */
    padding-bottom: 2rem; /* pb-8 */
    margin-top: auto;
    overflow: hidden;
    color: var(--footer-text);
}

/* Decorative Gradient Divider Above Footer */
.footer-gradient-divider {
    width: 100%;
    height: 4px; /* Thicker premium border */
    background: linear-gradient(90deg, #00B4B4 0%, #0062E6 35%, #F5A623 70%, #E85A19 100%) !important; /* Exact logo gradient */
    box-shadow: 0 2px 10px rgba(0, 98, 230, 0.3) !important;
    position: relative;
    z-index: 10;
}

/* Subtle Radial Glow Behind Brand Section */
.footer-radial-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 98, 230, 0.04) 0%, transparent 70%);
    border-radius: 9999px;
    filter: blur(64px);
    pointer-events: none;
    z-index: 0;
}

/* Responsive Containers */
.footer-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3.5rem; /* space between top of footer/divider and content */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --- BENTO GRID SYSTEM --- */

/* Top Bento Grid: 2 columns on desktop */
.footer-bento-grid-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .footer-bento-grid-top {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .footer-col-span-7 {
        grid-column: span 7 / span 7;
    }
    .footer-col-span-5 {
        grid-column: span 5 / span 5;
    }
}

/* Middle Bento Grid: 4 columns on desktop */
.footer-bento-grid-middle {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .footer-bento-grid-middle {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-bento-grid-middle {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Bento Card Glassmorphism Base */
footer.site-footer-new .bento-card,
footer.site-footer-new details.footer-details {
    background: var(--footer-card-bg) !important;
    border: 1px solid var(--footer-border) !important;
    border-radius: 1rem; /* rounded-2xl */
    padding: 1.5rem; /* p-6 */
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03), 0 10px 30px rgba(0, 0, 0, 0.15) !important; /* Premium glass reflection outline */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s ease !important;
    transform: translateY(0) scale(1);
    position: relative;
    overflow: hidden;
}

footer.site-footer-new .bento-card:hover,
footer.site-footer-new details.footer-details:hover {
    background: var(--footer-card-hover-bg) !important;
    border-color: rgba(0, 98, 230, 0.3) !important; /* Theme blue border hover */
    transform: translateY(-4px) scale(1.01) !important;
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(0, 98, 230, 0.10) !important; /* Premium blue glow */
}

/* Custom Interactive Radial Mouse Glow on Cards */
.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(77, 154, 255, 0.08), transparent 40%) !important;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card-glass:hover::before {
    opacity: 1;
}

/* --- CONTACT CARDS --- */

.footer-contact-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-contact-grid {
        flex-direction: row;
    }
}

footer.site-footer-new .contact-card {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 24px 28px !important;
    flex: 1;
    text-decoration: none;
}

footer.site-footer-new .contact-icon-box {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: rgba(0, 98, 230, 0.1) !important; /* Blue background */
    color: var(--primary-light) !important;
    transition: background 0.3s ease, color 0.3s ease !important;
}

footer.site-footer-new .contact-card:hover .contact-icon-box {
    background: var(--primary) !important;
    color: #ffffff !important;
}

/* --- ACCORDIONS & LISTS --- */

/* Hide HTML5 details disclosure triangles */
footer.site-footer-new details > summary {
    list-style: none;
    outline: none;
}
footer.site-footer-new details > summary::-webkit-details-marker {
    display: none;
}

/* Accordion Headings Underlines */
footer.site-footer-new h3 {
    color: var(--footer-gold);
    font-size: 15px; /* Scaled from 13px */
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

footer.site-footer-new h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--footer-gold), transparent);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

footer.site-footer-new details.footer-details:hover h3::after {
    width: 48px;
    background: linear-gradient(90deg, var(--footer-gold), var(--primary-light)) !important;
}

/* Accordion details links */
footer.site-footer-new details.footer-details ul.footer-links {
    margin-top: 0 !important; /* unified style replacing inline margin-top: 0 */
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important; /* reduced gap for tighter lists */
}

footer.site-footer-new details.footer-details ul.footer-links li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    list-style: none !important;
}

footer.site-footer-new details.footer-details ul.footer-links li a {
    font-size: 14px !important; /* Scaled from 13px */
    line-height: 1.3 !important; /* compact line height */
    color: rgba(203, 213, 225, 0.7);
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 2px 0 !important; /* tighter link padding */
    transition: padding-left 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding-right 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.25s ease !important;
    transform: translate3d(0, 0, 0) !important;
}

footer.site-footer-new details.footer-details ul.footer-links li a::before {
    content: '→' !important;
    position: absolute !important;
    left: -12px !important;
    opacity: 0 !important;
    color: var(--primary-light) !important; /* Blue hover arrow */
    font-weight: bold !important;
    background: transparent !important; /* override global line bg */
    height: auto !important; /* override global line height */
    width: auto !important; /* override global line width */
    transition: left 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.25s ease !important;
}

footer.site-footer-new details.footer-details ul.footer-links li a:hover,
footer.site-footer-new details.footer-details ul.footer-links li a:focus-visible {
    padding-left: 14px !important;
    color: var(--primary-light) !important; /* Theme blue hover/focus for links */
}

footer.site-footer-new details.footer-details ul.footer-links li a:hover::before,
footer.site-footer-new details.footer-details ul.footer-links li a:focus-visible::before {
    left: 0 !important;
    opacity: 1 !important;
    width: auto !important; /* override global hover width: 14px */
}

/* Accessibility Focus Indicator */
footer.site-footer-new details.footer-details ul.footer-links li a:focus-visible {
    outline: 1px dashed var(--primary-light) !important;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Accordion Headers SVG/Icons on mobile */
.footer-chevron-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--footer-gold);
    transition: all 0.3s ease;
}

.footer-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Rotate Chevron when details block is open */
.footer-details[open] .footer-chevron {
    transform: rotate(180deg);
}

/* Hover/active states */
.footer-details summary:hover .footer-chevron-box {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    border-color: rgba(0, 98, 230, 0.3);
}

@media (min-width: 768px) {
    /* Disable pointer events on desktop to keep accordions expanded always */
    footer.site-footer-new details.footer-details summary {
        pointer-events: none;
    }
    .footer-chevron-box {
        display: none !important;
    }
}

/* --- REVIEWS, SOCIALS & CONNECT --- */

.footer-rating-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Star Glow Drop Shadow */
.stars-glow {
    color: var(--footer-gold);
}
.stars-glow i {
    filter: drop-shadow(0 0 3px rgba(77, 154, 255, 0.6));
    transition: transform 0.3s ease !important;
}
.stars-glow i:hover {
    transform: scale(1.2);
}

/* Flat Premium Circular Social Media Buttons */
footer.site-footer-new .social-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

footer.site-footer-new .social-links-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--footer-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.9rem;
    text-decoration: none;
}

footer.site-footer-new .social-links-row a:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    transform: translateY(-2px) scale(1.05) !important;
}

footer.site-footer-new .social-links-row a:active {
    transform: translateY(0) scale(0.95) !important;
}

/* Social link brand glows and default colors */
footer.site-footer-new a[aria-label="Facebook"] {
    color: #1877F2 !important;
    border-color: rgba(24, 119, 242, 0.25) !important;
    background: rgba(24, 119, 242, 0.05) !important;
}
footer.site-footer-new a[aria-label="Facebook"]:hover {
    border-color: rgba(24, 119, 242, 0.5) !important;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.35) !important;
    background: rgba(24, 119, 242, 0.15) !important;
}

footer.site-footer-new a[aria-label="Instagram"] {
    color: #E4405F !important;
    border-color: rgba(228, 64, 95, 0.25) !important;
    background: rgba(228, 64, 95, 0.05) !important;
}
footer.site-footer-new a[aria-label="Instagram"]:hover {
    border-color: rgba(228, 64, 95, 0.5) !important;
    box-shadow: 0 0 15px rgba(228, 64, 95, 0.35) !important;
    background: rgba(228, 64, 95, 0.15) !important;
}

footer.site-footer-new a[aria-label="X (Twitter)"] {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}
footer.site-footer-new a[aria-label="X (Twitter)"]:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

footer.site-footer-new a[aria-label="LinkedIn"] {
    color: #0A66C2 !important;
    border-color: rgba(10, 102, 194, 0.25) !important;
    background: rgba(10, 102, 194, 0.05) !important;
}
footer.site-footer-new a[aria-label="LinkedIn"]:hover {
    border-color: rgba(10, 102, 194, 0.5) !important;
    box-shadow: 0 0 15px rgba(10, 102, 194, 0.35) !important;
    background: rgba(10, 102, 194, 0.15) !important;
}

footer.site-footer-new a[aria-label="Pinterest"] {
    color: #BD081C !important;
    border-color: rgba(189, 8, 28, 0.25) !important;
    background: rgba(189, 8, 28, 0.05) !important;
}
footer.site-footer-new a[aria-label="Pinterest"]:hover {
    border-color: rgba(189, 8, 28, 0.5) !important;
    box-shadow: 0 0 15px rgba(189, 8, 28, 0.35) !important;
    background: rgba(189, 8, 28, 0.15) !important;
}

footer.site-footer-new a[aria-label="Medium"] {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}
footer.site-footer-new a[aria-label="Medium"]:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Gold Gradient Buttons with sweeping animation */
.cool-gradient-bg {
    background: linear-gradient(135deg, var(--footer-gold-dark) 0%, var(--footer-gold-light) 50%, var(--footer-gold-deep) 100%) !important;
    color: #0b1628 !important; /* Premium dark blue text for high legibility */
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, box-shadow 0.3s ease !important;
    transform: translateY(0) scale(1);
}
.cool-gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
}
.cool-gradient-bg:hover {
    opacity: 0.95 !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 0 18px rgba(0, 98, 230, 0.35) !important;
}
.cool-gradient-bg:hover::after {
    left: 150%;
}
.cool-gradient-bg:active {
    transform: translateY(0) scale(0.98) !important;
}

/* WhatsApp Brand Button */
.whatsapp-brand-bg {
    background: #25D366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, box-shadow 0.3s ease !important;
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2) !important;
}
.whatsapp-brand-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
}
.whatsapp-brand-bg:hover {
    opacity: 0.95 !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.45) !important;
}
.whatsapp-brand-bg:hover::after {
    left: 150%;
}
.whatsapp-brand-bg:active {
    transform: translateY(0) scale(0.98) !important;
}

/* --- FLAG MICRO-ANIMATIONS --- */
/* Flag icons grid */
.flag-grid {
    display: grid !important;
    grid-template-columns: repeat(10, 1fr) !important;
    gap: 6px !important; /* smaller gap to fit small screens */
    width: 100% !important;
    margin-top: 1rem;
    align-items: center;
    justify-items: center; /* Center-align each flag inside its grid cell */
}

.flag-grid img {
    width: 100% !important;
    height: auto !important;
    max-width: 32px !important;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, border-color 0.2s ease !important;
    cursor: pointer;
    object-fit: contain;
}

.flag-grid img:hover {
    transform: scale(1.15) translateY(-2px);
    border-color: var(--footer-gold) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* --- BACK TO TOP BUTTON --- */
#back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--footer-text);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: all 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#back-to-top:hover {
    color: var(--primary-light) !important;
    border-color: rgba(77, 154, 255, 0.4) !important; /* Theme blue highlight border */
    box-shadow: 0 0 15px rgba(77, 154, 255, 0.25) !important; /* Theme blue shadow glow */
    transform: scale(1.1);
}

#back-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

#back-to-top:hover svg {
    transform: translateY(-2px);
}

/* --- UTILITY CLASSES --- */
.w-full { width: 100%; }
.h-px { height: 1px; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.gap-2 { gap: 0.5rem; }
.gap-6 { gap: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mb-8 { margin-bottom: 2rem; }
.pb-6 { padding-bottom: 1.5rem; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.font-normal { font-weight: 400; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1; }
.text-2xl { font-size: 1.5rem; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }

.text-on-surface-variant-80 {
    color: rgba(203, 213, 225, 0.8);
}
.text-on-surface-variant-60 {
    color: rgba(203, 213, 225, 0.6);
}
.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}
.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Copyright Row styling */
.footer-copyright-row {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
    width: 100%;
    text-align: center;
}

.footer-copyright-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
}

.footer-copyright-text a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copyright-text a:hover {
    color: var(--footer-gold);
}

/* Accordion Column Directory Subheadings */
footer.site-footer-new .footer-subheading {
    font-size: 12px !important; /* Scaled from 11px */
    font-weight: 700 !important;
    color: var(--footer-gold);
    text-transform: uppercase;
    letter-spacing: 0.12em; /* Adjusted letter spacing */
    margin-top: 10px !important;
    margin-bottom: 4px !important;
    opacity: 0.85;
    padding-left: 2px;
    text-align: left;
}

/* First subheading immediately following details summary gets a 15px margin-top */
footer.site-footer-new details.footer-details summary + .footer-subheading {
    margin-top: 15px !important;
}

/* Font Awesome Icon Helper Fallbacks for Footer */
.fa-phone-volume::before {
    content: "\f2a0";
}
.fa-envelope-open-text::before {
    content: "\f658";
}
.fa-map-location-dot::before {
    content: "\f5a0";
}
.fa-star::before {
    content: "\f005";
}
.fa-star-half-stroke::before {
    content: "\f5c0";
}
.fa-pinterest::before {
    content: "\f0d2";
}
.fa-pinterest-p::before {
    content: "\f231";
}

/* Ensure all footer description paragraphs are justified */
footer.site-footer-new p {
    text-align: justify !important;
}

/* Scaled font utilities for footer text readability */
footer.site-footer-new .text-sm {
    font-size: 14.5px !important;
}
footer.site-footer-new .text-xs {
    font-size: 13px !important;
}

/* Copyright and Legal Links Layout */
footer.site-footer-new .footer-copyright-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* vertical space between legal links and copyright text */
}

.footer-legal-links-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-legal-links-row a {
    font-size: 13px !important;
    color: rgba(203, 213, 225, 0.55) !important;
    text-decoration: none;
    transition: color 0.25s ease !important;
}

.footer-legal-links-row a:hover {
    color: var(--primary-light) !important;
}

.footer-legal-links-row .separator {
    color: rgba(203, 213, 225, 0.3);
    font-size: 10px;
}

/* Accreditations Grid */
.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 0.75rem;
    align-items: center;
    justify-items: center;
    width: 100%;
}

.accreditation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.55;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    cursor: default;
    width: 100%;
    text-align: center;
}

.accreditation-item i {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, color 0.3s ease !important;
}

.accreditation-item span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(203, 213, 225, 0.65);
    white-space: nowrap;
    transition: color 0.3s ease !important;
}

/* Hover effects matching corporate branding colors */
.accreditation-item:hover {
    opacity: 1;
}

.accreditation-item:hover span {
    color: #ffffff;
}

.accreditation-item[title*="Google"]:hover i {
    color: #4285F4 !important; /* Google Blue */
    transform: scale(1.15) translateY(-2px);
}

.accreditation-item[title*="Meta"]:hover i {
    color: #0668E1 !important; /* Meta Blue */
    transform: scale(1.15) translateY(-2px);
}

.accreditation-item[title*="HubSpot"]:hover i {
    color: #FF7A59 !important; /* HubSpot Orange */
    transform: scale(1.15) translateY(-2px);
}

.accreditation-item[title*="SSL"]:hover i {
    color: #10B981 !important; /* SSL Green */
    transform: scale(1.15) translateY(-2px);
}

/* Additional Font Awesome Icon Fallbacks */
.fa-google::before {
    content: "\f1a0";
}
.fa-meta::before {
    content: "\e49b";
}
.fa-hubspot::before {
    content: "\f3b2";
}
.fa-shield-halved::before {
    content: "\f3ed";
}

/* Arattai Brand Button (Navy & Yellow Scheme) */
.arattai-brand-bg {
    background: linear-gradient(135deg, #0B2B5C 0%, #174280 100%) !important; /* Navy Blue matching the Arattai logo outline */
    color: #ffffff !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(242, 201, 76, 0.25) !important; /* Yellow border highlight */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(242, 201, 76, 0.1) !important; /* Yellow glow */
}

.arattai-brand-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
}

.arattai-brand-bg:hover {
    opacity: 0.95 !important;
    border-color: rgba(242, 201, 76, 0.6) !important; /* Brighter yellow border on hover */
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 0 18px rgba(242, 201, 76, 0.35) !important; /* Strong yellow glow shadow */
}

.arattai-brand-bg:hover::after {
    left: 150%;
}

.arattai-brand-bg:active {
    transform: translateY(0) scale(0.98) !important;
}

/* Arattai Button Logo Icon styling */
.arattai-btn-icon {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain !important;
    border-radius: 4px !important;
    margin-right: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Small border around logo to stand out */
}

/* Copyright text styles */
.footer-copyright-text {
    font-size: 13px !important;
    color: rgba(203, 213, 225, 0.55) !important; /* accessible slate-gray */
    line-height: 1.5 !important;
}

.footer-copyright-text a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease !important;
}

.footer-copyright-text a:hover {
    color: var(--primary-light) !important;
}
