/* =============================================
   Advocates & Legal Advisers - Custom Styles
   ============================================= */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: #C9A24A;
    color: #121212;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1D1D1D;
}
::-webkit-scrollbar-thumb {
    background: #C9A24A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B88B2D;
}

/* Gold decorative divider */
.gold-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C9A24A, transparent);
    margin: 0 auto;
}

.gold-divider-left {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C9A24A, transparent);
}

/* Hero overlay gradient */
.hero-gradient {
    background: linear-gradient(135deg, #121212 0%, #1D1D1D 40%, rgba(42,32,25,0.85) 70%, rgba(42,32,25,0.6) 100%);
}

/* Hero text shadow for readability */
.hero-text-shadow {
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Section label style */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A24A;
}

/* Card hover lift */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
}

/* Service card icon container */
.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #C9A24A20, #C9A24A10);
    border: 1px solid #C9A24A30;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.card-hover:hover .service-icon-box {
    background: linear-gradient(135deg, #C9A24A, #B88B2D);
    border-color: #C9A24A;
}
.card-hover:hover .service-icon-box i,
.card-hover:hover .service-icon-box svg {
    color: #121212 !important;
}

/* Stats counter animation */
.stat-counter {
    font-family: 'Montserrat', sans-serif;
}

/* Animated underline for nav links */
.nav-underline {
    position: relative;
}
.nav-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #C9A24A;
    transition: width 0.3s ease;
}
.nav-underline:hover::after,
.nav-underline.active::after {
    width: 24px;
}

/* Feature card icon circle */
.feature-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C9A24A, #B88B2D);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* About badge */
.about-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8C1F1F, #701818);
    border: 4px solid #C9A24A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(140, 31, 31, 0.4);
}

/* Advocate card image container */
.advocate-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.advocate-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(18, 18, 18, 0.8));
    pointer-events: none;
}

/* Pulse animation for floating buttons */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

#whatsapp-float::before,
#call-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

#whatsapp-float::before {
    background: #25D366;
}

#call-float::before {
    background: #8C1F1F;
}

/* Fade-up animation for scroll reveal */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero slider dots */
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-dot.active {
    background: #C9A24A;
    width: 28px;
    border-radius: 5px;
}

/* Stats section gradient */
.stats-gradient {
    background: linear-gradient(135deg, #121212 0%, #1D1D1D 50%, #2A2019 100%);
}

/* CTA section */
.cta-gradient {
    background: linear-gradient(135deg, #121212 0%, #1D1D1D 100%);
}

/* Map container */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Contact card */
.contact-card {
    background: linear-gradient(135deg, #FAF8F3, #FFFFFF);
    border: 1px solid rgba(201, 162, 74, 0.15);
}

/* Gold border accent */
.gold-border-accent {
    border-left: 3px solid #C9A24A;
    padding-left: 16px;
}

/* Hero arrow buttons */
.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.hero-arrow:hover {
    background: #C9A24A;
    border-color: #C9A24A;
    color: #121212;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-badge {
        width: 85px;
        height: 85px;
        bottom: -5px;
        right: -5px;
    }
}
