:root {
    --primary: #184858;
    --primary-light: #2a6a7f;
    --primary-dark: #0d2c38;
    --accent: #c5a23f;
    --accent-light: #d6b55f;
    --accent-dark: #a88a2f;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --section-bg: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    font-family: 'Source Serif Pro', serif;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Rounded Sections */
.rounded-section {
    border-radius: 20px;
    overflow: hidden;
}

.rounded-top {
    border-radius: 20px 20px 0 0 !important;
}

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(24, 72, 88, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 72, 88, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(197, 162, 63, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 162, 63, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    font-size: 3rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-family: 'Source Serif Pro', serif;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 2px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from { 
        opacity: 0;
        transform: translateX(-30px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from { 
        opacity: 0;
        transform: translateX(30px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delayed {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.6s both;
}

.animate-slide-left {
    animation: slideLeft 0.8s ease-out both;
}

.animate-slide-right {
    animation: slideRight 0.8s ease-out both;
}

.animate-card {
    animation: slideUp 0.8s ease-out both;
}

/* Header & Navigation */
.header-transparent .navbar {
    background: transparent !important;
    box-shadow: none !important;
    padding: 25px 0;
    transition: all 0.4s ease;
}

.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1) !important;
    padding: 15px 0;
    transition: all 0.4s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: white !important;
    font-family: 'Playfair Display', serif;
}

.brand-main {
    font-weight: 700;
    color: white;
}

.brand-sub {
    font-weight: 400;
    color: var(--accent-light);
    font-size: 1.4rem;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 10px;
    position: relative;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Dropdown Styles */
.navbar .dropdown-menu {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 0;
    margin-top: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
}

.mega-dropdown {
    width: 100vw;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 30px 0 !important;
}

.dropdown-section {
    padding: 20px;
}

.dropdown-section h6 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

.dropdown-item {
    padding: 10px 15px;
    color: var(--text-dark);
    border-radius: 8px;
    margin: 5px 0;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    transform: translateX(5px);
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: 9999;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    transition: right 0.4s ease;
    overflow-y: auto;
    padding: 30px;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu-header h4 {
    color: white;
    font-family: 'Playfair Display', serif;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-nav .nav-link {
    display: block;
    padding: 15px 0;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.mobile-nav .nav-link:hover {
    color: var(--accent-light);
    padding-left: 10px;
}

.mobile-dropdown-menu {
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-menu.show {
    max-height: 300px;
}

.mobile-dropdown-menu .dropdown-item {
    color: rgba(255,255,255,0.8);
    padding: 10px 0;
    border: none;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 200px 0 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Playfair Display', serif;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    font-family: 'Source Serif Pro', serif;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    opacity: 0.7;
}

/* Stats Section */
.stats-section {
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.stats-container {
    background: white;
    padding: 50px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(20px);
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-right: 20px;
    margin-top: 5px;
}

.feature-item h5 {
    margin-bottom: 8px;
    color: var(--primary);
}

.about-image {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Practice Areas */
.practice-section {
    background: white;
}

.practice-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.practice-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: height 0.3s ease;
    z-index: 0;
}

.practice-card:hover:before {
    height: 100%;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    color: white;
}

.practice-card:hover h4,
.practice-card:hover p {
    color: white;
    position: relative;
    z-index: 1;
}

.practice-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.practice-card:hover .practice-icon {
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.practice-link {
    color: var(--accent);
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.practice-card:hover .practice-link {
    color: white;
}

/* Why Choose Us */
.why-choose-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.excellence-list {
    list-style: none;
    padding: 0;
}

.excellence-list li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.excellence-list i {
    color: var(--accent-light);
    margin-right: 15px;
}

.network-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.network-item {
    text-align: center;
}

.network-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.network-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Team Section */
.team-section {
    background: white;
}

.team-card {
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 30px 25px;
    text-align: center;
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.team-position {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.team-bio {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.team-contact {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-contact a {
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.team-contact a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card {
    background: white;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.testimonial-rating {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    font-family: 'Source Serif Pro', serif;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--accent);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 5px;
    color: var(--primary);
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 25px;
}

.testimonial-prev,
.testimonial-next {
    background: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title:after {
    background: var(--accent);
}

.contact-info {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-form {
    background: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.form-control {
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    margin-bottom: 0;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(24, 72, 88, 0.15);
}

.map-container {
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a232e 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.footer-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-links h5, 
.footer-contact h5,
.footer-newsletter h5 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.footer-links h5:after,
.footer-contact h5:after,
.footer-newsletter h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 8px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    font-family: 'Inter', sans-serif;
}

.footer-contact i {
    color: var(--accent);
    margin-right: 15px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    margin-top: 25px;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(197, 162, 63, 0.3);
}

/* Newsletter */
.footer-newsletter {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 12px 0 0 12px;
    border-right: none;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--accent);
    box-shadow: none;
    color: white;
}

.btn-newsletter {
    background: var(--accent);
    color: white;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
    border: 1px solid var(--accent);
}

.btn-newsletter:hover {
    background: var(--accent-dark);
    transform: none;
}

.form-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-family: 'Inter', sans-serif;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(24, 72, 88, 0.3);
    border: 2px solid white;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(24, 72, 88, 0.4);
}

/* Color Transition Sections */
.color-transition {
    background: linear-gradient(180deg, var(--section-bg) 0%, #f8f9fa 100%);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-text {
        margin-bottom: 40px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
    }
    
    .network-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 180px 0 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-container {
        padding: 40px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .practice-card, 
    .team-card {
        margin-bottom: 30px;
    }
    
    .testimonial-card {
        padding: 40px 30px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mobile-menu-panel {
        width: 90%;
    }
    
    .testimonial-controls {
        flex-wrap: wrap;
    }
    
    .footer-newsletter {
        margin-top: 30px;
    }
}
/* Dropdown Hover Fix */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-menu {
    display: none;
}

.navbar .dropdown-menu.show {
    display: block;
}

/* Practice Area Detail Pages */
.practice-detail-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.practice-detail-content {
    padding: 80px 0;
}

.service-feature {
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.process-steps {
    counter-reset: step-counter;
}

.process-step {
    position: relative;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border-left: 4px solid var(--accent);
}

.process-step:before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 20px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}