/* Practice Area Pages Custom Styles */

/* Practice Area Details Section */
.practice-area-details {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.practice-area-details-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.practice-area-details-img {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.practice-area-details-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.practice-area-details-img:hover img {
    transform: scale(1.05);
}

.practice-area-details-text {
    padding: 40px;
}

.practice-area-details-text h2 {
    color: #262B3E;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.practice-area-details-text h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #C89D66;
}

.practice-area-details-text h3 {
    color: #262B3E;
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    position: relative;
}

.practice-area-details-text h3:before {
    content: '▶';
    color: #C89D66;
    margin-right: 10px;
}

.practice-area-details-text h4 {
    color: #262B3E;
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    position: relative;
}

.practice-area-details-text h4:before {
    content: '•';
    color: #C89D66;
    font-size: 24px;
    margin-right: 10px;
}

.practice-area-details-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.practice-area-details-text ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.practice-area-details-text ul li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
}

.practice-area-details-text ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #C89D66;
    font-weight: bold;
    font-size: 16px;
}

.practice-area-details-contact {
    background: linear-gradient(135deg, #C89D66, #B8860B);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.practice-area-details-contact h4 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.practice-area-details-contact p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

/* Sidebar Styles */
.practice-area-details-sidebar {
    position: sticky;
    top: 100px;
}

.practice-area-details-sidebar-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.practice-area-details-sidebar-item h4 {
    background: #262B3E;
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.practice-area-details-sidebar-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.practice-area-details-sidebar-item ul li {
    border-bottom: 1px solid #f0f0f0;
}

.practice-area-details-sidebar-item ul li:last-child {
    border-bottom: none;
}

.practice-area-details-sidebar-item ul li a {
    display: block;
    padding: 15px 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.practice-area-details-sidebar-item ul li a:hover,
.practice-area-details-sidebar-item ul li a.color-active {
    background-color: #C89D66;
    color: white;
    padding-left: 30px;
}

.practice-area-details-sidebar-item ul li a:before {
    content: '→';
    position: absolute;
    right: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.practice-area-details-sidebar-item ul li a:hover:before,
.practice-area-details-sidebar-item ul li a.color-active:before {
    opacity: 1;
    right: 15px;
}

.contact-info {
    padding: 20px;
}

.contact-info p {
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    color: #C89D66;
    margin-right: 10px;
    width: 20px;
}

/* Practice Area Icons */
.practice-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #C89D66, #B8860B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

/* Statistics Section */
.practice-stats {
    background: #262B3E;
    color: white;
    padding: 60px 0;
    margin: 60px 0;
}

.practice-stats .stat-item {
    text-align: center;
    padding: 20px;
}

.practice-stats .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #C89D66;
    display: block;
    margin-bottom: 10px;
}

.practice-stats .stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
.practice-testimonials {
    background: #f8f9fa;
    padding: 80px 0;
}

.testimonial-item {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-item:before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 80px;
    color: #C89D66;
    line-height: 1;
}

.testimonial-text {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author-info h5 {
    color: #262B3E;
    margin: 0 0 5px 0;
    font-size: 18px;
}

.testimonial-author-info p {
    color: #C89D66;
    margin: 0;
    font-size: 14px;
}

/* FAQ Section */
.practice-faq {
    background: white;
    padding: 80px 0;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #C89D66;
    color: white;
}

.faq-question h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    margin: 0;
    line-height: 1.8;
}

/* Why Choose Us Section Enhancement */
.provide {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.provide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23C89D66" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23C89D66" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23C89D66" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23C89D66" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23C89D66" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.provide .container-fluid {
    position: relative;
    z-index: 2;
}

.provide-img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.provide-img:hover {
    transform: translateY(-10px);
}

.provide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.provide-img:hover img {
    transform: scale(1.05);
}

.provide-content {
    padding: 60px 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    margin-left: -50px;
    z-index: 3;
}

.provide-content .sec-title h2 {
    color: #262B3E;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.provide-content .sec-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #C89D66, #B8860B);
    border-radius: 2px;
}

.provide-content .sec-title h3 {
    color: #666;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

.provide-content .sec-title p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.provide-content-list {
    margin-top: 30px;
}

.provide-content-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.provide-content-list-item:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left-color: #C89D66;
    transform: translateX(10px);
}

.provide-content-list-item i {
    color: #C89D66;
    font-size: 20px;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 157, 102, 0.1);
    border-radius: 50%;
}

.provide-content-list-item h4 {
    color: #262B3E;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.provide-content-list-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Us Animation */
.provide-content-list-item {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInFromLeft 0.6s ease forwards;
}

.provide-content-list-item:nth-child(1) { animation-delay: 0.1s; }
.provide-content-list-item:nth-child(2) { animation-delay: 0.2s; }
.provide-content-list-item:nth-child(3) { animation-delay: 0.3s; }
.provide-content-list-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .practice-area-details-text {
        padding: 20px;
    }
    
    .practice-area-details-text h2 {
        font-size: 24px;
    }
    
    .practice-area-details-text h3 {
        font-size: 20px;
    }
    
    .practice-area-details-sidebar {
        position: static;
        margin-top: 30px;
    }
    
    .practice-stats .stat-number {
        font-size: 36px;
    }
    
    .testimonial-item {
        padding: 20px;
    }
    
    .provide {
        padding: 60px 0;
    }
    
    .provide-content {
        margin-left: 0;
        padding: 40px 20px;
    }
    
    .provide-content .sec-title h2 {
        font-size: 28px;
    }
    
    .provide-content .sec-title h3 {
        font-size: 20px;
    }
    
    .provide-content-list-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .provide-content-list-item h4 {
        font-size: 18px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

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

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

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