/* ==================== PATNA LEGAL MASTER STYLESHEET ==================== */

* {
    font-family: 'Inter', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f4fa;
}

::-webkit-scrollbar-thumb {
    background: #2c4a7a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d1b33;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #2c4a7a, #1e3a5f, #0d1b33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-gold {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Background */
.hero-bg {
    background: linear-gradient(160deg, #ffffff 0%, #f0f4fa 50%, #e8eef7 100%);
    position: relative;
    overflow: hidden;
}

.form-field-error {
    min-height: 1.30rem;
    margin: 0.35rem 0 0;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 600;
}

.form-field-invalid {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

/* Gallery */
.gallery-showcase {
    background: linear-gradient(160deg, #ffffff, #f0f4fa);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 210px;
    gap: 16px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #0d1b33;
    cursor: zoom-in;
    text-align: left;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.07);
}

.gallery-card-shade {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 51, 0.08);
    transition: background 0.25s ease;
}

.gallery-card:hover .gallery-card-shade,
.gallery-card:focus-visible .gallery-card-shade {
    background: rgba(13, 27, 51, 0.3);
}

.gallery-expand {
    position: absolute;
    right: 16px;
    top: 16px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.92);
    color: #0d1b33;
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-8px);
    transition: 0.25s ease;
}

.gallery-expand svg {
    width: 18px;
    height: 18px;
}

.gallery-card:hover .gallery-expand,
.gallery-card:focus-visible .gallery-expand {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card[hidden] {
    display: none;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.gallery-page-button {
    width: 38px;
    height: 38px;
    border: 1px solid #b9c9e0;
    border-radius: 4px;
    background: #fff;
    color: #1e3a5f;
    font-weight: 800;
    transition: 0.2s ease;
}

.gallery-page-button:hover,
.gallery-page-button.is-active {
    background: #0d1b33;
    border-color: #0d1b33;
    color: #fde047;
}

.gallery-lightbox {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(4, 12, 27, 0.94);
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox-figure {
    margin: 0;
    text-align: center;
    min-width: 0;
}

.gallery-lightbox-figure img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 112px);
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: 0.2s ease;
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: #eab308;
    border-color: #eab308;
    color: #0d1b33;
}

@media (max-width: 1023px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-lightbox {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 8px;
        padding: 16px;
    }

    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
    }
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(44, 74, 122, 0.2);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Gold Line Decoration */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #eab308, #fde047);
    border-radius: 2px;
}

/* Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(44, 74, 122, 0.12);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #2c4a7a, #0d1b33);
    color: #ffffff;
}

.service-icon {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Creative Colorful Service Card Accents */
.card-accent-blue::before {
    background: linear-gradient(90deg, #2563eb, #4f46e5);
}

.card-accent-red::before {
    background: linear-gradient(90deg, #dc2626, #e11d48);
}

.card-accent-purple::before {
    background: linear-gradient(90deg, #9333ea, #db2777);
}

.card-accent-emerald::before {
    background: linear-gradient(90deg, #059669, #0d9488);
}

.card-accent-amber::before {
    background: linear-gradient(90deg, #d97706, #ea580c);
}

.card-accent-cyan::before {
    background: linear-gradient(90deg, #0891b2, #2563eb);
}

/* Button Shine */
.btn-navy {
    position: relative;
    overflow: hidden;
}

.btn-navy::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-navy:hover::after {
    transform: translateX(100%);
}

/* Scales of Justice Animation */
.scales-anim {
    animation: scales-swing 4s ease-in-out infinite;
}

@keyframes scales-swing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(3deg);
    }

    75% {
        transform: rotate(-3deg);
    }
}

/* Testimonials System */
.testimonial-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(44, 74, 122, 0.12);
}

.testimonial-carousel .testimonial-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-carousel .testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 4px;
}

@media (min-width: 768px) {
    .testimonial-carousel .testimonial-slide {
        flex-basis: 50%;
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-carousel .testimonial-slide {
        flex-basis: 33.333333%;
        min-width: 33.333333%;
    }
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(44, 74, 122, 0.15);
    color: #2c3e67;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(44, 74, 122, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.testimonial-arrow:hover {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #ffffff;
    border-color: #eab308;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 24px rgba(234, 179, 8, 0.35);
}

.testimonial-carousel .testi-prev {
    left: -8px;
}

.testimonial-carousel .testi-next {
    right: -8px;
}

@media (min-width: 768px) {
    .testimonial-carousel .testi-prev {
        left: -24px;
    }

    .testimonial-carousel .testi-next {
        right: -24px;
    }
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(234, 179, 8, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.testimonial-dot.active {
    background: #eab308;
    width: 30px;
    height: 10px;
    border-radius: 8px;
    border-color: #fde047;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.6);
}

/* Team Carousel 4-Column Slider */
.team-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 4px;
}

@media (min-width: 768px) {
    .team-carousel-wrapper {
        padding: 0 12px;
    }
}

.team-carousel {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.team-carousel .team-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: stretch;
}

/* Base Mobile: 1 Column */
.team-carousel .team-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

/* Small Screens (SM): 2 Columns */
@media (min-width: 576px) {
    .team-carousel .team-slide {
        flex: 0 0 50%;
        min-width: 50%;
    }
}

/* Medium Screens (MD): 3 Columns */
@media (min-width: 768px) {
    .team-carousel .team-slide {
        flex: 0 0 33.333333%;
        min-width: 33.333333%;
    }
}

/* Large Screens (LG): 4 Columns */
@media (min-width: 1024px) {
    .team-carousel .team-slide {
        flex: 0 0 25%;
        min-width: 25%;
    }
}

/* Team Navigation Arrows */
.team-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(44, 74, 122, 0.15);
    color: #1e293b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.team-arrow:hover {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.team-arrow.team-prev {
    left: -12px;
}

.team-arrow.team-next {
    right: -12px;
}

@media (min-width: 768px) {
    .team-arrow.team-prev {
        left: -24px;
    }

    .team-arrow.team-next {
        right: -24px;
    }
}

@media (min-width: 1280px) {
    .team-arrow.team-prev {
        left: -28px;
    }

    .team-arrow.team-next {
        right: -28px;
    }
}

/* Team Dots */
.team-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(234, 179, 8, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.team-dot.active {
    background: #eab308;
    width: 32px;
    height: 10px;
    border-radius: 8px;
    border-color: #fde047;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.5);
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Member Cards */
.member-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(44, 74, 122, 0.12);
}

/* Creative Hero Slider System - Responsive Mobile & Desktop Layout */
#home {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    margin-top: 80px;
    overflow: hidden;
    background-color: #0d1b33;
}

@media (min-width: 1536px) {
    #home {
        height: calc(100vh - 80px);
    }
}

@media (min-width: 1280px) {
    #home {
        height: calc(100vh - 80px);
    }
}

@media (max-width: 1024px) {
    #home {
        height: calc(100vh - 80px);
        margin-top: 80px;
    }
}

@media (max-width: 768px) {
    #home {
        height: 200px;
        margin-top: 80px;
    }
}

@media (max-width: 640px) {
    #home {
        height: 200px;
        margin-top: 80px;
    }
}

@media (max-width: 480px) {
    #home {
        height: 200px;
        margin-top: 80px;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 10;
}

.hero-slide.slide-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 20;
}

/* Full Visibility 100% Opacity Images (Cover) */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
}

.hero-slide.slide-active .hero-slide-bg {
    transform: none !important;
}

/* Slide Overlay - Disabled for 100% Opacity & Full Image Visibility */
.hero-slide-overlay {
    display: none !important;
}

/* Staggered entrance animations */
.hero-anim-badge,
.hero-anim-title,
.hero-anim-desc,
.hero-anim-extra,
.hero-anim-actions {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    filter: blur(6px);
}

.hero-slide.slide-active .hero-anim-badge {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition-delay: 0.15s;
}

.hero-slide.slide-active .hero-anim-title {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition-delay: 0.3s;
}

.hero-slide.slide-active .hero-anim-desc {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition-delay: 0.45s;
}

.hero-slide.slide-active .hero-anim-extra {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition-delay: 0.6s;
}

.hero-slide.slide-active .hero-anim-actions {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition-delay: 0.75s;
}

/* Slide direction controls */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(13, 27, 51, 0.65);
    border: 1px solid rgba(234, 179, 8, 0.4);
    color: #eab308;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-nav-btn:hover {
    background: linear-gradient(135deg, #fde047, #eab308);
    color: #0d1b33;
    border-color: #fde047;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.6);
}

.hero-nav-prev {
    left: 24px;
}

.hero-nav-next {
    right: 24px;
}

@media (max-width: 640px) {
    .hero-nav-btn {
        width: 36px;
        height: 36px;
        background: rgba(13, 27, 51, 0.75);
    }

    .hero-nav-btn svg,
    .hero-nav-btn i {
        width: 18px;
        height: 18px;
    }

    .hero-nav-prev {
        left: 8px;
    }

    .hero-nav-next {
        right: 8px;
    }
}

/* Progress bar timer */
.hero-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 40;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ca8a04, #eab308, #fde047);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.8);
    transition: width 0.1s linear;
}

/* Slide Indicator Dots & Thumb Pill */
.hero-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(13, 27, 51, 0.7);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
    .hero-indicators {
        bottom: 10px;
        padding: 4px 10px;
        gap: 6px;
    }

    #slideCounter {
        font-size: 10px;
    }
}

.hero-indicator-btn {
    height: 10px;
    width: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-indicator-btn.active {
    width: 38px;
    background: linear-gradient(90deg, #eab308, #fde047);
    border-color: #fde047;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.6);
}

.hero-indicator-btn:hover:not(.active) {
    background: rgba(234, 179, 8, 0.6);
}

/* Social Wave Animation */
@keyframes socialWave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.social-wave-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: socialWave 2.8s ease-in-out infinite;
    will-change: transform;
}

.social-wave-btn:nth-child(1) {
    animation-delay: 0s;
}

.social-wave-btn:nth-child(2) {
    animation-delay: 0.25s;
}

.social-wave-btn:nth-child(3) {
    animation-delay: 0.5s;
}

.social-wave-btn:nth-child(4) {
    animation-delay: 0.75s;
}

.social-wave-btn:nth-child(5) {
    animation-delay: 1.0s;
}

.social-wave-btn:hover {
    animation-play-state: paused !important;
    transform: translateY(-10px) scale(1.18) !important;
    box-shadow: 0 12px 25px rgba(234, 179, 8, 0.45) !important;
}

/* Fixed contact and scroll controls */
.floating-whatsapp {
    isolation: isolate;
}

.floating-call {
    position: fixed;
    left: 1.5rem;
    bottom: 6.5rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px 7px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
    animation: callFloat 2.8s ease-in-out infinite;
    isolation: isolate;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.floating-call::before {
    content: '';
    position: absolute;
    inset: -5px;
    z-index: -1;
    border: 2px solid rgba(20, 184, 166, 0.7);
    border-radius: inherit;
    animation: callPulse 2.4s ease-out infinite;
}

.floating-call-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #facc15;
    color: #0d1b33;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    animation: phoneRing 2.4s ease-in-out infinite;
}

.floating-call-icon svg {
    width: 18px;
    height: 18px;
}

.floating-call-label {
    white-space: nowrap;
}

.floating-call:hover {
    animation-play-state: paused;
    filter: brightness(1.1);
    transform: translateY(-3px);
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: -6px;
    z-index: -1;
    border: 2px solid rgba(34, 197, 94, 0.65);
    border-radius: 50%;
    animation: whatsappPulse 2.4s ease-out infinite;
}

.scroll-top-control.visible {
    animation: scrollTopFloat 2.6s ease-in-out infinite;
}

.scroll-top-control:hover {
    animation-play-state: paused;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.82);
        opacity: 0.9;
    }

    75%,
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@keyframes scrollTopFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes callFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes callPulse {
    0% {
        transform: scale(0.86);
        opacity: 0.9;
    }

    75%,
    100% {
        transform: scale(1.14);
        opacity: 0;
    }
}

@keyframes phoneRing {

    0%,
    84%,
    100% {
        transform: rotate(0);
    }

    88% {
        transform: rotate(-12deg);
    }

    92% {
        transform: rotate(12deg);
    }

    96% {
        transform: rotate(-8deg);
    }
}

@media (max-width: 640px) {
    .floating-call {
        left: 1rem;
        bottom: 5.75rem;
        padding: 10px 12px;
    }
}

/* Footer Text Highlight & Glow */
.footer-heading {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #facc15, #ca8a04, transparent);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}

.footer-link-highlight {
    color: #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link-highlight:hover {
    color: #facc15;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
    transform: translateX(6px);
}

.footer-icon-glow {
    transition: all 0.3s ease;
}

.footer-link-highlight:hover .footer-icon-glow {
    color: #facc15;
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.8));
}

/* Animated Legal Photo Circles Component */
@keyframes spinSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatSoft {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatSoftReverse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.spin-slow {
    animation: spinSlow 16s linear infinite;
}

.animate-float-1 {
    animation: floatSoft 4s ease-in-out infinite;
}

.animate-float-2 {
    animation: floatSoftReverse 5s ease-in-out infinite;
}

.animate-float-3 {
    animation: floatSoft 6s ease-in-out infinite;
}

.gold-circle-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gold-circle-card:hover {
    transform: scale(1.08) translateY(-6px);
    box-shadow: 0 15px 35px rgba(44, 74, 122, 0.25), 0 0 20px rgba(234, 179, 8, 0.4);
}

@keyframes spinReverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes pulseHalo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.06);
        opacity: 0.9;
    }
}

.spin-reverse-slow {
    animation: spinReverse 22s linear infinite;
}

.animate-pulse-halo {
    animation: pulseHalo 3.5s ease-in-out infinite;
}

.gold-hero-ring {
    box-shadow: 0 0 40px rgba(234, 179, 8, 0.45), inset 0 0 20px rgba(234, 179, 8, 0.3);
}

/* Shared page breadcrumb header background & creative parallax effect */
.breadcrumb-hero {
    background-color: #08101d;
    position: relative;
    box-shadow: inset 0 -20px 30px -10px rgba(8, 16, 29, 0.95);
}

.breadcrumb-hero img {
    transition: transform 12s ease-out;
}

.breadcrumb-hero:hover img {
    transform: scale(1.1);
}

/* ==================== CREATIVE ANIMATED BREADCRUMB ==================== */

.breadcrumb-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 10px 28px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.12) 0%, rgba(250, 204, 21, 0.06) 50%, rgba(234, 179, 8, 0.12) 100%);
    border: 1px solid rgba(234, 179, 8, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(234, 179, 8, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    animation: breadcrumbSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

@keyframes breadcrumbSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.breadcrumb-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(234, 179, 8, 0.08), transparent);
    animation: breadcrumbShimmer 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes breadcrumbShimmer {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

.breadcrumb-nav::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.3), transparent 40%, transparent 60%, rgba(234, 179, 8, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.breadcrumb-nav:hover::after {
    opacity: 1;
}

.breadcrumb-ol {
    display: inline-flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.breadcrumb-ol li {
    display: inline-flex;
    align-items: center;
    animation: breadcrumbItemIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateX(-12px);
}

.breadcrumb-ol li:nth-child(1) {
    animation-delay: 0.2s;
}

.breadcrumb-ol li:nth-child(2) {
    animation-delay: 0.4s;
}

.breadcrumb-ol li:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes breadcrumbItemIn {
    0% {
        opacity: 0;
        transform: translateX(-12px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.breadcrumb-link:hover {
    color: #facc15;
    background: rgba(234, 179, 8, 0.1);
    text-shadow: 0 0 20px rgba(234, 179, 8, 0.5);
    transform: translateX(3px);
}

.breadcrumb-link .breadcrumb-icon {
    width: 14px;
    height: 14px;
    color: #facc15;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(234, 179, 8, 0.5));
}

.breadcrumb-link:hover .breadcrumb-icon {
    transform: scale(1.2) rotate(-8deg);
    filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.8));
}

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
}

.breadcrumb-separator-icon {
    width: 16px;
    height: 16px;
    color: rgba(234, 179, 8, 0.4);
    transition: all 0.4s ease;
    animation: chevronPulse 2.5s ease-in-out infinite;
}

@keyframes chevronPulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateX(3px);
        opacity: 0.8;
    }
}

.breadcrumb-nav:hover .breadcrumb-separator-icon {
    animation: none;
    transform: translateX(2px);
    opacity: 0.7;
    color: #facc15;
}

.breadcrumb-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    color: #facc15;
    font-weight: 700;
    letter-spacing: 0.04em;
    position: relative;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(250, 204, 21, 0.08) 100%);
    border: 1px solid rgba(234, 179, 8, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 0 16px rgba(234, 179, 8, 0.5);
}

.breadcrumb-current::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.breadcrumb-current:hover::before {
    opacity: 1;
}

.breadcrumb-current-icon {
    width: 14px;
    height: 14px;
    animation: pageIconGlow 2s ease-in-out infinite;
}

@keyframes pageIconGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 3px rgba(234, 179, 8, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.8));
    }
}

/* Breadcrumb Gold Dot Decorations */
.breadcrumb-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(234, 179, 8, 0.3);
    border-radius: 50%;
    animation: breadcrumbDotFloat 3s ease-in-out infinite;
}

.breadcrumb-dot:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.breadcrumb-dot:nth-child(2) {
    bottom: 25%;
    right: 15%;
    animation-delay: 1s;
}

.breadcrumb-dot:nth-child(3) {
    top: 50%;
    left: 40%;
    animation-delay: 2s;
}

@keyframes breadcrumbDotFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-4px) scale(1.5);
        opacity: 0.7;
    }
}

/* Mobile Responsive Breadcrumb Section Background Transparency */
@media (max-width: 768px) {
    .breadcrumb-hero {
        background-color: transparent !important;
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .breadcrumb-nav {
        background: transparent !important;
        background-color: transparent !important;
        border: 1px solid rgba(234, 179, 8, 0.3) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        max-width: calc(100vw - 2rem);
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .breadcrumb-current {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 4px 8px;
        font-size: 0.8rem;
        max-width: 52vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .breadcrumb-link {
        background: transparent !important;
        padding: 3px 6px;
    }
}

@media (max-width: 640px) {
    #navbar .h-20 {
        height: 4.5rem;
    }

    #navbar .font-playfair.text-xl {
        font-size: 1rem;
    }

    #navbar .tracking-\[0\.25em\] {
        font-size: 0.5rem;
    }

    #mobileMenu {
        width: min(20rem, 100vw);
    }

    .floating-whatsapp {
        width: 3.25rem !important;
        height: 3.25rem !important;
        left: 1rem !important;
        bottom: 1rem !important;
    }

    .floating-whatsapp svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .scroll-top-control {
        width: 2.75rem !important;
        height: 2.75rem !important;
        right: 1rem !important;
        bottom: 1rem !important;
    }

    .floating-call {
        left: 1rem;
        bottom: 5.25rem;
    }

    input,
    select,
    textarea {
        max-width: 100%;
    }
}