/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Slabo+27px&display=swap');

/* Custom styles for Purdy, Lammers & Schiavone law firm website */
html {
    background-color: #004AAD;
}

/* Typography */
body {
    font-family: 'Roboto', sans-serif;
    
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Slabo 27px', serif;
}

p {
    font-family: 'Roboto', sans-serif;
}

.navbar-brand {
    font-weight: bold;
    color: #004AAD !important;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    transition: opacity 0.2s ease;
}

.navbar-brand img:hover {
    opacity: 0.8;
}

/* Custom navbar styling */
.navbar-custom {
    background-color: #004AAD !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus {
    color: #e9ecef !important;
    background-color: rgba(0, 74, 173, 0.1);
    border-radius: 4px;
}

.navbar-custom .navbar-nav .nav-link.active {
    color: white !important;
    background-color: transparent !important;
    font-weight: 600;
}

.navbar-custom .dropdown-item {
    color: #004AAD !important;
}

.navbar-custom .dropdown-item:hover {
    background-color: #004AAD;
    color: white !important;
}

.navbar-custom .dropdown-item.active {
    background-color: transparent !important;
    color: #004AAD !important;
    font-weight: 600;
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Main navigation hover effects */
.navbar-custom .navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover {
    border-bottom: 3px solid white;
}

/* Dropdown item hover effects */
.navbar-custom .dropdown-item {
    position: relative;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    margin: 0;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.navbar-custom .dropdown-item:hover {
    background-color: white !important;
    color: #004AAD !important;
    border-top: 3px solid #004AAD;
    border-bottom: 3px solid #004AAD;
}

.navbar-custom .dropdown-menu {
    padding: 0 !important;
    border: none;
}

.hero-section {
    min-height: 35vh;
}

.hero-image {
    height: 45vh;
    overflow: hidden;
}

.hero-image img {
    object-fit: cover;
    object-position: center;
    height: 100%;
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    color: black !important;
}

.hero-content p {
    color: black;
}

.hero-content .btn {
    background-color: #004AAD;
    border-color: #004AAD;
    color: white;
}

.hero-content .btn:hover {
    background-color: #004AAD;
    border-color: #004AAD;
    color: white;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Contact Section Styles */
.contact-info-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 74, 173, 0.15) !important;
}

.contact-info-card .contact-icon {
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info-card .card-body {
    position: relative;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #004AAD, #0066cc);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

/* Office Hours Styles */
.office-hours-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.office-hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.office-hours-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #004AAD, #0066cc);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.office-hours-card:hover::after {
    transform: scaleX(1);
}

.office-hours-section {
    padding: 2rem;
    margin-top: 2rem;
}

/* Enhanced contact links */
.contact-info-card a {
    transition: all 0.3s ease;
    position: relative;
}

.contact-info-card a:hover {
    color: #0066cc !important;
    transform: scale(1.05);
}

/* Justice Image Container */
.justice-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
    min-height: 400px;
}

.justice-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.justice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.8), rgba(0, 102, 204, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.justice-image-container:hover .justice-overlay {
    opacity: 1;
}

.justice-image-container:hover img {
    transform: scale(1.05);
}

.justice-text h4 {
    font-family: 'Slabo 27px', serif;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.justice-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Reception Image Styles */
.reception-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.reception-image-container img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.reception-image-container:hover img {
    transform: scale(1.05);
}

.reception-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.reception-image-container:hover::after {
    opacity: 1;
}

/* Biography Page Styles */
.portrait-container img {
    max-width: 300px;
    transition: transform 0.3s ease;
}

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

.biography-content {
    padding-left: 2rem;
}

.legacy-section {
    position: relative;
}

.legacy-section::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #004AAD, #0066cc);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #004AAD, #0066cc);
}

.timeline-item {
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 74, 173, 0.3);
}

.timeline-content {
    margin-left: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Team Cards Vertical Centering */
.card .row {
    align-items: center;
    min-height: 200px;
}

.card .col-md-4 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .col-md-8 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Vision Mission Values Page Styles */
.hero-image-container img {
    transition: transform 0.3s ease;
}

.hero-image-container:hover img {
    transform: scale(1.02);
}

.vmv-card {
    transition: all 0.3s ease;
    min-height: 300px;
}

.vmv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 74, 173, 0.15) !important;
}

.vmv-icon {
    transition: transform 0.3s ease;
}

.vmv-icon i {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.vmv-card:hover .vmv-icon {
    transform: scale(1.1);
}

.vmv-card:hover .vmv-icon i {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.values-card {
    transition: all 0.3s ease;
}

.values-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.3) !important;
}

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

.values-icon i {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.values-card:hover .values-icon i {
    transform: scale(1.2);
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .contact-info-card {
        margin-bottom: 1.5rem;
    }
    
    .office-hours-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .contact-icon i {
        font-size: 2rem !important;
    }
    
    .reception-image-container {
        margin-bottom: 2rem;
    }
    
    .biography-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
    
    /* Reset vertical centering on mobile for better stacking */
    .card .row {
        min-height: auto;
    }
    
    .card .col-md-4,
    .card .col-md-8 {
        display: block;
    }
}

.practice-area-item {
    transition: transform 0.2s;
}

.practice-area-item:hover {
    transform: translateY(-2px);
}

.footer {
    background-color: #004AAD;
    color: white;
    margin-top: 3rem;
}

.text-primary-custom {
    color: #004AAD !important;
}

.btn-primary-custom {
    background-color: #004AAD;
    border-color: #004AAD;
    color: white;
}

.btn-primary-custom:hover {
    background-color: #003d8a;
    border-color: #003d8a;
    color: white;
}

.bg-primary-custom {
    background-color: #004AAD !important;
}

/* Dropdown submenu styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 0 !important;
    border: none;
    display: none !important;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
}

.dropdown-submenu > .dropdown-item::after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > .dropdown-item::after {
    border-left-color: #fff;
}

/* Hover functionality for main dropdowns */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-nav .dropdown .dropdown-menu {
    margin-top: 0;
}

/* Ensure dropdown toggle links are clickable */
.navbar-nav .dropdown .dropdown-toggle {
    pointer-events: auto;
}

/* Mobile responsive adjustments for dropdowns */
@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: rgba(0,0,0,.125);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .dropdown-submenu > .dropdown-item::after {
        display: none;
    }
    
    /* Disable hover on mobile, use click instead */
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: none;
    }
}

/* Modern Practice Areas Section */
.practice-areas-section {
    background: linear-gradient(135deg, #004AAD 0%, #0066cc 50%, #0080ff 100%);
    position: relative;
    overflow: hidden;
}

.practice-areas-section::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="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="80" cy="30" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.practice-areas-section .container {
    position: relative;
    z-index: 2;
}

/* Modern Practice Cards */
.modern-practice-card {
    height: 100%;
    perspective: 1000px;
    cursor: pointer;
}

.practice-card-inner {
    position: relative;
    width: 100%;
    height: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.practice-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #004AAD, #0066cc, #0080ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.modern-practice-card:hover .practice-card-inner {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 74, 173, 0.25),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.modern-practice-card:hover .practice-card-inner::before {
    transform: scaleX(1);
}

/* Practice Card Icons */
.practice-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #004AAD, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
}

.practice-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #0080ff, #004AAD);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-practice-card:hover .practice-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.4);
}

.modern-practice-card:hover .practice-icon-wrapper::before {
    opacity: 1;
}

.practice-icon-wrapper i {
    font-size: 2.2rem;
    color: white;
    transition: all 0.4s ease;
}

.modern-practice-card:hover .practice-icon-wrapper i {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Practice Card Typography */
.practice-card-title {
    color: #004AAD;
    font-family: 'Slabo 27px', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.modern-practice-card:hover .practice-card-title {
    color: #0066cc;
    transform: translateY(-2px);
}

.practice-card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.modern-practice-card:hover .practice-card-description {
    color: #555;
}

/* Practice Card Overlay */
.practice-card-overlay {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #004AAD, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8) rotate(-90deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.3);
}

.modern-practice-card:hover .practice-card-overlay {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.practice-card-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.practice-card-link:hover {
    color: white;
    transform: scale(1.1);
}

/* Modern Button Styling */
.btn-modern-primary {
    background: linear-gradient(135deg, #004AAD, #0066cc);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-modern-primary::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.6s ease;
}

.btn-modern-primary:hover {
    background: linear-gradient(135deg, #0066cc, #0080ff);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.4);
    color: white;
}

.btn-modern-primary:hover::before {
    left: 100%;
}

.btn-modern-primary:active {
    transform: translateY(-1px);
}

/* Responsive Design for Practice Areas */
@media (max-width: 768px) {
    .practice-card-inner {
        height: 280px;
        padding: 1.5rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .practice-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .practice-icon-wrapper i {
        font-size: 1.8rem;
    }
    
    .practice-card-title {
        font-size: 1.2rem;
    }
    
    .practice-card-description {
        font-size: 0.9rem;
    }
    
    .modern-practice-card:hover .practice-card-inner {
        transform: translateY(-8px) scale(1.01);
    }
}

@media (max-width: 576px) {
    .practice-areas-section {
        padding: 3rem 0;
    }
    
    .practice-card-inner {
        height: 260px;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .practice-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .practice-icon-wrapper i {
        font-size: 1.6rem;
    }
    
    .practice-card-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .practice-card-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Practice Areas Page Specific Styles */

/* Hero Section */
.practice-areas-hero-section {
    background: linear-gradient(135deg, #004AAD 0%, #0066cc 50%, #0080ff 100%);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.practice-areas-hero-section::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="heroGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="30" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23heroGrain)"/></svg>');
    opacity: 0.6;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-icon-wrapper {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: heroIconFloat 3s ease-in-out infinite;
}

.hero-icon-wrapper i {
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

@keyframes heroIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 150px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    font-family: 'Slabo 27px', serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

/* Practice Areas Content */
.practice-areas-content {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.modern-practice-detail-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 
        0 15px 35px rgba(0, 74, 173, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 74, 173, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modern-practice-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #004AAD, #0066cc, #0080ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.modern-practice-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 74, 173, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
}

.modern-practice-detail-card:hover::before {
    transform: scaleX(1);
}

.practice-detail-header {
    display: flex;
    align-items: center;
    padding: 2rem 2rem 1rem;
    gap: 1.5rem;
}

.practice-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #004AAD, #0066cc);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
}

.practice-detail-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.modern-practice-detail-card:hover .practice-detail-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.4);
}

.modern-practice-detail-card:hover .practice-detail-icon i {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.practice-detail-title-wrapper {
    flex: 1;
}

.practice-detail-title {
    color: #004AAD;
    font-family: 'Slabo 27px', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.practice-detail-subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.modern-practice-detail-card:hover .practice-detail-title {
    color: #0066cc;
}

.practice-detail-content {
    padding: 0 2rem 2rem;
}

.practice-detail-description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.practice-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 74, 173, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 74, 173, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(0, 74, 173, 0.1);
    border-color: rgba(0, 74, 173, 0.2);
    transform: translateX(5px);
}

.service-item i {
    color: #004AAD;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.service-item span {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Modern CTA Section */
.modern-cta-section {
    background: unset;
}


.modern-cta-card {
    background: linear-gradient(135deg, #004AAD 0%, #0066cc 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.3);
}

.cta-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: ctaIconPulse 2s ease-in-out infinite;
}

.cta-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes ctaIconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

.cta-title {
    color: white;
    font-family: 'Slabo 27px', serif;
    font-size: 2.2rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.btn-modern-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-modern-secondary::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.6s ease;
}

.btn-modern-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-modern-secondary:hover::before {
    left: 100%;
}

/* Responsive Design for Practice Areas Page */
@media (max-width: 768px) {
    .practice-areas-hero-section {
        min-height: 50vh;
        padding: 3rem 0;
    }
    
    .hero-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .hero-icon-wrapper i {
        font-size: 2.5rem;
    }
    
    .stat-item {
        padding: 1rem;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .practice-detail-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .practice-detail-icon {
        width: 70px;
        height: 70px;
        border-radius: 15px;
    }
    
    .practice-detail-icon i {
        font-size: 1.8rem;
    }
    
    .practice-detail-title {
        font-size: 1.5rem;
    }
    
    .practice-detail-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .practice-services-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .practice-areas-hero-section {
        min-height: 40vh;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 0.75rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .modern-practice-detail-card {
        border-radius: 15px;
    }
    
    .practice-detail-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    .practice-detail-content {
        padding: 0 1rem 1rem;
    }
    
    .practice-detail-description {
        font-size: 1rem;
    }
    
    .service-item {
        padding: 0.5rem 0.75rem;
    }
}

/* Team Page Specific Styles */

/* Team Hero Section */
.team-hero-section {
    background: linear-gradient(135deg, #004AAD 0%, #0066cc 50%, #0080ff 100%);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.team-hero-section::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="teamHeroGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="30" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23teamHeroGrain)"/></svg>');
    opacity: 0.6;
}

.team-hero-content {
    position: relative;
    z-index: 2;
}

.team-hero-icon-wrapper {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: teamHeroIconFloat 3s ease-in-out infinite;
}

.team-hero-icon-wrapper i {
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

@keyframes teamHeroIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.team-hero-stats {
    margin-top: 3rem;
}

.team-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 150px;
}

.team-stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.team-stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    font-family: 'Slabo 27px', serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.team-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

/* Team Members Section */
.team-members-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.modern-team-card {
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card-inner {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0, 74, 173, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 74, 173, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #004AAD, #0066cc, #0080ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.modern-team-card:hover .team-card-inner {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 74, 173, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
}

.modern-team-card:hover .team-card-inner::before {
    transform: scaleX(1);
}

/* Team Member Image */
.team-member-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    width: 100%;
}

.team-member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

.team-member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.8), rgba(0, 102, 204, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.modern-team-card:hover .team-member-overlay {
    opacity: 1;
}

.modern-team-card:hover .team-member-image {
    transform: scale(1.1);
}

.team-member-social {
    display: flex;
    gap: 1rem;
}

.team-social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.modern-team-card:hover .team-social-link {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.team-social-link:hover {
    background: white;
    color: #004AAD;
    transform: scale(1.1);
}

.team-social-link i {
    font-size: 1.2rem;
}

/* Team Member Content */
.team-member-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-member-header {
    margin-bottom: 1.5rem;
}

.team-member-name {
    color: #004AAD;
    font-family: 'Slabo 27px', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.team-member-position {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.modern-team-card:hover .team-member-name {
    color: #0066cc;
}

.team-member-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

.team-member-action {
    margin-top: auto;
}

.btn-modern-team {
    background: linear-gradient(135deg, #004AAD, #0066cc);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.btn-modern-team::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.6s ease;
}

.btn-modern-team:hover {
    background: linear-gradient(135deg, #0066cc, #0080ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
    color: white;
    text-decoration: none;
}

.btn-modern-team:hover::before {
    left: 100%;
}

/* Legal Assistants Section */
.modern-legal-assistants-card {
    background: linear-gradient(135deg, #004AAD, #0066cc);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-legal-assistants-card::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="assistantsPattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.04)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23assistantsPattern)"/></svg>');
}

.legal-assistants-content {
    position: relative;
    z-index: 2;
}

.legal-assistants-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: assistantsIconPulse 2s ease-in-out infinite;
}

.legal-assistants-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes assistantsIconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

.legal-assistants-title {
    color: white;
    font-family: 'Slabo 27px', serif;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.legal-assistants-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design for Team Page */
@media (max-width: 768px) {
    .team-hero-section {
        min-height: 50vh;
        padding: 3rem 0;
    }
    
    .team-hero-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .team-hero-icon-wrapper i {
        font-size: 2.5rem;
    }
    
    .team-stat-item {
        padding: 1rem;
        min-width: 120px;
    }
    
    .team-stat-number {
        font-size: 2rem;
    }
    
    .team-member-image-wrapper {
        aspect-ratio: 4 / 5;
    }
    
    .team-member-content {
        padding: 1.5rem;
    }
    
    .team-member-name {
        font-size: 1.3rem;
    }
    
    .modern-legal-assistants-card {
        padding: 2rem 1.5rem;
    }
    
    .legal-assistants-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .team-hero-section {
        min-height: 40vh;
    }
    
    .team-hero-stats {
        margin-top: 2rem;
    }
    
    .team-stat-item {
        padding: 0.75rem;
        min-width: 100px;
    }
    
    .team-stat-number {
        font-size: 1.5rem;
    }
    
    .team-stat-label {
        font-size: 0.8rem;
    }
    
    .team-card-inner {
        border-radius: 15px;
    }
    
    .team-member-image-wrapper {
        aspect-ratio: 4 / 5;
    }
    
    .team-member-content {
        padding: 1rem;
    }
    
    .team-member-name {
        font-size: 1.2rem;
    }
    
    .team-member-description {
        font-size: 0.95rem;
    }
    
    .modern-legal-assistants-card {
        border-radius: 20px;
        padding: 1.5rem 1rem;
    }
    
    .legal-assistants-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .legal-assistants-icon-wrapper i {
        font-size: 2rem;
    }
    
    .legal-assistants-title {
        font-size: 1.4rem;
    }
    
    .legal-assistants-description {
        font-size: 1rem;
    }
}

/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #004AAD 0%, #0066cc 50%, #0080ff 100%) !important;
    position: relative;
    overflow: hidden;
    min-height: 60vh !important;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.contact-hero-section::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="contactHeroGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="30" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23contactHeroGrain)"/></svg>');
    opacity: 0.6;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

/* Ensure contact hero elements are visible */
.contact-hero-section h1,
.contact-hero-section p,
.contact-hero-section .contact-stat-item {
    position: relative;
    z-index: 3;
}

.contact-hero-icon-wrapper {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: contactHeroIconFloat 3s ease-in-out infinite;
}

.contact-hero-icon-wrapper i {
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

@keyframes contactHeroIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.contact-hero-stats {
    margin-top: 3rem;
}

.contact-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 150px;
}

.contact-stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    font-family: 'Slabo 27px', serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

/* Contact Content Section */
.contact-content-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Contact Form */
.modern-contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 15px 35px rgba(0, 74, 173, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 74, 173, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modern-contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #004AAD, #0066cc, #0080ff);
    border-radius: 20px 20px 0 0;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-title {
    color: #004AAD;
    font-family: 'Slabo 27px', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modern-contact-form .form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-input {
    border: 2px solid rgba(0, 74, 173, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(0, 74, 173, 0.02);
}

.modern-input:focus {
    border-color: #004AAD;
    box-shadow: 0 0 0 0.2rem rgba(0, 74, 173, 0.15);
    background: white;
}

.modern-input::placeholder {
    color: #999;
    font-style: italic;
}

/* Contact Information */
.modern-contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 15px 35px rgba(0, 74, 173, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 74, 173, 0.1);
    position: relative;
    min-height: auto;
}

.modern-contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #004AAD, #0066cc, #0080ff);
    border-radius: 20px 20px 0 0;
}

.contact-info-title {
    color: #004AAD;
    font-family: 'Slabo 27px', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-subtitle {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 74, 173, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #004AAD, #0066cc);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
}

.contact-info-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-info-content h6 {
    color: #004AAD;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-content p {
    color: #555;
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-info-content a {
    color: #004AAD;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-content a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Office Location Styling */
.office-location {
    background: rgba(0, 74, 173, 0.02);
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 74, 173, 0.1);
}

.office-contact-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 74, 173, 0.1);
}

.office-contact-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.office-contact-details strong {
    color: #004AAD;
    font-weight: 600;
}

/* Simple Contact Info Styling */
.contact-info-simple {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 74, 173, 0.1);
}

.contact-info-simple:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-info-simple h6 {
    color: #004AAD;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-simple p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-info-simple a {
    color: #004AAD;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-simple a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Emergency Contact Card */
.modern-emergency-contact-card {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-emergency-contact-card::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="emergencyPattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.04)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23emergencyPattern)"/></svg>');
}

.emergency-contact-content {
    position: relative;
    z-index: 2;
}

.emergency-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: emergencyIconPulse 2s ease-in-out infinite;
}

.emergency-icon-wrapper i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes emergencyIconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}

.emergency-title {
    color: white;
    font-family: 'Slabo 27px', serif;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.emergency-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-emergency {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-emergency:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-hero-section {
        min-height: 50vh;
        padding: 3rem 0;
    }
    
    .contact-hero-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .contact-hero-icon-wrapper i {
        font-size: 2.5rem;
    }
    
    .contact-stat-item {
        padding: 1rem;
        min-width: 120px;
    }
    
    .contact-stat-number {
        font-size: 2rem;
    }
    
    .modern-contact-form-card {
        padding: 2rem;
    }
    
    .contact-form-title {
        font-size: 1.6rem;
    }
    
    .modern-contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-info-title {
        font-size: 1.3rem;
    }
    
    .modern-emergency-contact-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-hero-section {
        min-height: 40vh;
    }
    
    .contact-hero-stats {
        margin-top: 2rem;
    }
    
    .contact-stat-item {
        padding: 0.75rem;
        min-width: 100px;
    }
    
    .contact-stat-number {
        font-size: 1.5rem;
    }
    
    .contact-stat-label {
        font-size: 0.8rem;
    }
    
    .modern-contact-form-card {
        border-radius: 15px;
        padding: 1.5rem;
    }
    
    .contact-form-title {
        font-size: 1.4rem;
    }
    
    .contact-form-subtitle {
        font-size: 1rem;
    }
    
    .modern-contact-info-card {
        border-radius: 15px;
        padding: 1rem;
    }
    
    .contact-info-item {
        padding: 1rem 0;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    .contact-info-icon i {
        font-size: 1rem;
    }
    
    .modern-emergency-contact-card {
        border-radius: 15px;
        padding: 1rem;
    }
    
    .emergency-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .emergency-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .emergency-title {
        font-size: 1.1rem;
    }
    
    .emergency-description {
        font-size: 0.9rem;
    }
}

/* Modern Attorney Page Styles */
.attorney-profile-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.modern-attorney-card {
    background: white;
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 74, 173, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 74, 173, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modern-attorney-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #004AAD, #0066cc, #0080ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.modern-attorney-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 74, 173, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.1);
}

.modern-attorney-card:hover::before {
    transform: scaleX(1);
}

.attorney-photo-container {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.attorney-photo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.attorney-photo {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    border: 6px solid white;
    box-shadow: 
        0 15px 35px rgba(0, 74, 173, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.attorney-photo-wrapper::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, #004AAD, #0066cc, #0080ff);
    border-radius: 25px;
    z-index: 1;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.modern-attorney-card:hover .attorney-photo {
    transform: scale(1.05);
    box-shadow: 
        0 20px 45px rgba(0, 74, 173, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.modern-attorney-card:hover .attorney-photo-wrapper::before {
    opacity: 1;
    transform: scale(1);
}

.attorney-name {
    color: #004AAD;
    font-family: 'Slabo 27px', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.attorney-title {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    position: relative;
}

.attorney-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #004AAD, #0066cc);
    border-radius: 2px;
}

.modern-contact-section {
    background: rgba(0, 74, 173, 0.02);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-section-title {
    color: #004AAD;
    font-family: 'Slabo 27px', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 74, 173, 0.1);
    transition: all 0.3s ease;
}

.modern-contact-item:last-child {
    border-bottom: none;
}

.modern-contact-item:hover {
    background: rgba(0, 74, 173, 0.05);
    border-radius: 10px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #004AAD, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item-icon i {
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-contact-item:hover .contact-item-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.3);
}

.contact-item-content {
    flex: 1;
}

.contact-item-label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.contact-item-value {
    color: #666;
    font-size: 0.95rem;
}

.contact-item-value a {
    color: #004AAD;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item-value a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.modern-practice-areas-section {
    background: rgba(0, 74, 173, 0.02);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.practice-area-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid rgba(0, 74, 173, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.practice-area-badge:hover {
    background: rgba(0, 74, 173, 0.05);
    border-color: rgba(0, 74, 173, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.1);
}

.practice-area-badge i {
    color: #28a745;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.practice-area-badge span {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.modern-biography-card {
    background: white;
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 74, 173, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 74, 173, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modern-biography-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #004AAD, #0066cc, #0080ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.modern-biography-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 74, 173, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.1);
}

.modern-biography-card:hover::before {
    transform: scaleX(1);
}

.biography-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.02), rgba(0, 102, 204, 0.01));
}

.biography-title {
    color: #004AAD;
    font-family: 'Slabo 27px', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.biography-title i {
    font-size: 1.8rem;
    color: #0066cc;
}

.biography-content {
    padding: 1rem 2rem 2rem;
    line-height: 1.8;
}

.biography-content p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.biography-content p:first-child::first-letter {
    float: left;
    font-family: 'Slabo 27px', serif;
    font-size: 4rem;
    line-height: 3rem;
    padding-right: 0.5rem;
    padding-top: 0.2rem;
    color: #004AAD;
    font-weight: 600;
}

.modern-action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid #004AAD;
    border-radius: 50px;
    color: #004AAD;
    font-weight: 600;
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-modern-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 74, 173, 0.1), transparent);
    transition: left 0.6s ease;
}

.btn-modern-outline:hover {
    background: #004AAD;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 74, 173, 0.3);
}

.btn-modern-outline:hover::before {
    left: 100%;
}

.btn-modern-filled {
    background: linear-gradient(135deg, #004AAD, #0066cc);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-modern-filled::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.6s ease;
}

.btn-modern-filled:hover {
    background: linear-gradient(135deg, #0066cc, #0080ff);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.4);
    color: white;
}

.btn-modern-filled:hover::before {
    left: 100%;
}

/* Responsive Design for Attorney Pages */
@media (max-width: 768px) {
    .attorney-photo {
        width: 240px;
        height: 300px;
    }
    
    .attorney-name {
        font-size: 1.5rem;
    }
    
    .biography-title {
        font-size: 1.6rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .biography-content p:first-child::first-letter {
        font-size: 3rem;
        line-height: 2.5rem;
    }
    
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-action-buttons {
        flex-direction: column;
    }
    
    .btn-modern-outline,
    .btn-modern-filled {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .attorney-photo {
        width: 200px;
        height: 250px;
    }
    
    .attorney-name {
        font-size: 1.3rem;
    }
    
    .attorney-title {
        font-size: 1rem;
    }
    
    .modern-attorney-card,
    .modern-biography-card {
        border-radius: 20px;
        margin-bottom: 1.5rem;
    }
    
    .attorney-photo-container,
    .biography-header,
    .biography-content {
        padding: 1.5rem;
    }
    
    .biography-content p:first-child::first-letter {
        font-size: 2.5rem;
        line-height: 2rem;
    }
}

/* Values Hero Section Responsive Styles */
.values-hero-section {
    min-height: 80vh;
}

@media (max-width: 991.98px) {
    .values-hero-section {
        min-height: auto;
    }
    
    .values-hero-section .container-fluid .row {
        flex-direction: column;
    }
    
    .values-hero-section .col-lg-6:first-child {
        min-height: 50vh;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .values-hero-section .col-lg-6:last-child {
        min-height: auto;
        padding: 3rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .values-hero-section .col-lg-6:first-child {
        min-height: 40vh;
    }
    
    .values-hero-section .col-lg-6:last-child {
        padding: 2rem 1rem;
    }
    
    .values-hero-section .col-lg-5 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .values-hero-section .col-lg-6:first-child {
        min-height: 30vh;
    }
    
    .values-hero-section .display-5 {
        font-size: 2rem;
    }
    
    .values-hero-section .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Index Hero Section Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section .container-fluid .row {
        flex-direction: column;
    }
    
    .hero-section .col-lg-6:first-child {
        order: 1;
    }
    
    .hero-section .col-lg-6:last-child {
        order: 2;
        padding: 3rem 2rem !important;
    }
    
    .hero-image {
        height: 50vh !important;
        max-height: 400px;
    }
    
    .hero-image img {
        height: 100% !important;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 767.98px) {
    .hero-section .col-lg-6:last-child {
        padding: 2.5rem 1.5rem !important;
    }
    
    .hero-image {
        height: 40vh !important;
        max-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section .col-lg-6:last-child {
        padding: 2rem 1rem !important;
    }
    
    .hero-image {
        height: 35vh !important;
        max-height: 250px;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-content p {
        margin-bottom: 1.5rem !important;
    }
    
    .hero-content .btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

/* Office Locations Mobile Centering */
@media (max-width: 767.98px) {
    .contact-info-card .col-md-10 h5 {
        text-align: center;
        margin-bottom: 1.5rem !important;
    }
    
    .contact-info-card .col-md-6 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .contact-info-card .row[style*="min-height"] {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .contact-info-card .col-md-2 {
        margin-bottom: 1rem !important;
    }
    
    .contact-info-card .col-md-10 {
        text-align: center;
    }
    
    .contact-info-card .col-md-6 p {
        margin-bottom: 1rem !important;
    }
}

/* Office Hours Desktop Centering */
.office-hours-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.office-hours-list .row {
    width: 100%;
    justify-content: center;
}

.office-hours-card {
    max-width: 500px;
    width: 100%;
}

/* History Portrait Images */
.history-portrait-large {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .history-portrait-large {
        min-height: 350px;
    }
}

@media (max-width: 767.98px) {
    .history-portrait-large {
        min-height: 300px;
    }
}