/* Modern Hover Effects - Clean & Professional */

/* Navigation Hover Effects */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c5a47e, #8b7355);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Top Header Links */
.left-info a, .right-info a {
    transition: all 0.3s ease;
}

.left-info a:hover, .right-info a:hover {
    transform: translateY(-2px);
}

/* Button Hover Effects */
.default-btn-one, .default-btn-two, .heder-btn a {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.default-btn-one::before, .default-btn-two::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.default-btn-one:hover::before, .default-btn-two:hover::before {
    width: 300px;
    height: 300px;
}

.default-btn-one:hover, .default-btn-two:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Law Card Hover Effects */
.low-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.low-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 164, 126, 0.1), transparent);
    transition: left 0.6s ease;
}

.low-card:hover::before {
    left: 100%;
}

.low-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.low-card i {
    transition: all 0.4s ease;
}

.low-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 164, 126, 0.9), rgba(139, 115, 85, 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-card img {
    transition: transform 0.6s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-text {
    transition: all 0.4s ease;
}

.service-card:hover .service-text {
    transform: translateY(-5px);
}

.service-text i {
    transition: all 0.4s ease;
}

.service-card:hover .service-text i {
    transform: scale(1.15) rotate(10deg);
}

/* Choose Card Hover Effects */
.choose-card {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.choose-card:hover {
    transform: translateX(10px);
    border-left-color: #c5a47e;
    background: rgba(197, 164, 126, 0.05);
}

.choose-card i {
    transition: all 0.4s ease;
}

.choose-card:hover i {
    transform: scale(1.2) rotate(360deg);
}

/* Fun Facts Hover Effects */
.signle-fun-fact {
    transition: all 0.4s ease;
    cursor: pointer;
}

.signle-fun-fact:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.signle-fun-fact i {
    transition: all 0.4s ease;
}

.signle-fun-fact:hover i {
    transform: scale(1.2) rotateY(180deg);
}

/* Testimonials Card Hover Effects */
.testimonials-slider-item {
    transition: all 0.4s ease;
}

.testimonials-slider-item:hover {
    transform: scale(1.02);
}

.testimonials-img {
    position: relative;
    overflow: hidden;
}

.testimonials-img img {
    transition: transform 0.6s ease;
}

.testimonials-slider-item:hover .testimonials-img img {
    transform: scale(1.1);
}

/* Attorney Card Hover Effects */
.attorney-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.attorney-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(197, 164, 126, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.attorney-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.attorney-card img {
    transition: transform 0.6s ease;
}

.attorney-card:hover img {
    transform: scale(1.08);
}

.attorney-card-text ul li a {
    transition: all 0.3s ease;
}

.attorney-card-text ul li a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Contact Card Hover Effects */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Input Hover Effects */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(197, 164, 126, 0.2);
}

/* Video Button Pulse Effect */
.video-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 164, 126, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(197, 164, 126, 0);
    }
}

.video-btn:hover {
    animation: none;
    transform: scale(1.15);
}

/* Partner Logo Hover Effects */
.partner-slider-item {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.partner-slider-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Footer Link Star Alignment */
.footer-text li a {
    display: inline-flex;
    align-items: center;
    word-break: break-word;
}

.footer-text li a i {
    margin-right: 5px;
    flex-shrink: 0;
}

.footer-text a::before {
    display: none;
}

/* Footer Responsive */
@media (max-width: 767px) {
    .footer-text li a {
        font-size: 14px;
    }
    .footer-widget {
        margin-bottom: 30px;
    }
}

/* Footer Social Icons */
.footer-socials li a, .attorney-card-text ul li a {
    transition: all 0.3s ease;
}

.footer-socials li a:hover {
    transform: translateY(-5px) rotate(360deg);
}

/* Go Top Button */
.go-top {
    transition: all 0.3s ease;
}

.go-top:hover {
    transform: translateY(-5px) scale(1.1);
}

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

/* Image Hover Effects */
.about-image img {
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05) rotate(2deg);
}

/* Slider Content Animation Enhancement */
.slider-content span {
    transition: all 0.3s ease;
}

.slider-content:hover span {
    transform: translateX(5px);
}

/* Rating Stars Hover */
.rating i {
    transition: all 0.2s ease;
}

.rating:hover i {
    transform: scale(1.2);
}

.rating i:hover {
    transform: scale(1.4);
}

/* Search Box Hover */
.search-box {
    transition: all 0.3s ease;
}

.search-box:hover {
    transform: rotate(90deg) scale(1.2);
}

/* Case Study Hover Enhancement */
.img-text {
    transition: all 0.3s ease;
}

.testimonials-slider-item:hover .img-text {
    transform: translateY(-5px);
}

.img-text a {
    transition: all 0.3s ease;
}

.img-text a:hover {
    transform: translateX(10px);
}

/* Preloader Fade */
.preloader {
    transition: opacity 0.5s ease;
}

/* Section Title Animation */
.section-title span {
    position: relative;
    transition: all 0.3s ease;
}

.section-title:hover span {
    letter-spacing: 2px;
}
