/* Page Header Styles */
.page_header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 420px; /* Add margin to account for fixed header */
}

.page_header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page_header_content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 20px; /* Add some top padding for better spacing */
}

.page_header_content .title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.page_header_content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* History Page Styles */
.history_timeline {
    margin-top: 30px;
}

.timeline_item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.timeline_year {
    background: #f15779;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    margin-right: 20px;
    min-width: 80px;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    font-size: 12px;
}

.timeline_content h5 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline_content p {
    color: #666;
    line-height: 1.6;
}

/* Foundation Page Styles */
.foundation_values {
    margin-top: 30px;
}

.value_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.value_icon {
    background: #f8f9fa;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.value_icon i {
    font-size: 24px;
    color: #007bff;
}

.value_content h5 {
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.value_content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Legal Services Page Styles */
.legal_service_item {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.legal_service_item:hover {
    transform: translateY(-5px);
}

.service_icon {
    background: #f8f9fa;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service_icon i {
    font-size: 36px;
    color: #007bff;
}

.service_content h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.service_content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.learn_more {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn_more:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Punishment Page Styles */
.punishment_info {
    margin-top: 30px;
}

.info_item {
    margin-bottom: 25px;
}

.info_item h5 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.info_item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.defense_service {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.defense_service:hover {
    transform: translateY(-5px);
}

.defense_service .service_icon {
    margin-bottom: 20px;
}

.defense_service h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.defense_service p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Service Page Styles */
.service_features .feature_list {
    list-style: none;
    padding: 0;
}

.service_features .feature_list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service_features .feature_list li i {
    margin-right: 10px;
    color: #28a745;
}

.feature_box {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.defense_category {
    transition: all 0.3s ease;
}

.defense_category:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.process_steps .step_item {
    transition: all 0.3s ease;
}

.process_steps .step_item:hover {
    transform: translateX(5px);
}

.metric_box {
    transition: all 0.3s ease;
}

.metric_box:hover {
    transform: scale(1.05);
}

.service_card {
    transition: all 0.3s ease;
}

.service_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.approach_box {
    transition: all 0.3s ease;
}

.approach_box:hover {
    transform: translateY(-3px);
}

.client_type {
    transition: all 0.3s ease;
}

.client_type:hover {
    transform: translateY(-3px);
}

.compliance_item {
    transition: all 0.3s ease;
}

.compliance_item:hover {
    transform: translateX(5px);
}

.area_item {
    transition: all 0.3s ease;
}

.area_item:hover {
    transform: translateX(5px);
}

.sidebar_widget .widget_title {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.sidebar_widget .widget_list {
    list-style: none;
    padding: 0;
}

.sidebar_widget .widget_list li {
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar_widget .widget_list li:last-child {
    border-bottom: none;
}

.sidebar_widget .widget_list li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar_widget .widget_list li a:hover {
    color: #007bff;
}

.contact_info p {
    margin-bottom: 8px;
    color: #666;
}

.contact_info p i {
    margin-right: 8px;
    color: #007bff;
}

.resource_links .btn {
    transition: all 0.3s ease;
}

.resource_links .btn:hover {
    transform: translateY(-2px);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-menu .dropdown-item {
    padding: 8px 20px;
    color: #666;
    transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
    transform: translateX(5px);
}

.dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page_header {
        margin-top: 50px; /* Reduce margin for mobile */
    }

    .footer_about {
        padding-bottom: 0;
    }
    
    .footer_visual {
        margin-top: 0 !important;
    }

    .leadership_slider {
        padding-left: 150px !important;
    }

    .about_law_title {
        border-right: none;
        border-bottom: 4px solid #DE3660;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .page_header_content .title {
        font-size: 36px;
    }
    
    .timeline_item {
        flex-direction: column;
    }
    
    .timeline_year {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .value_item {
        flex-direction: column;
        text-align: center;
    }
    
    .value_icon {
        margin: 0 auto 15px;
    }
    
    /* Service page mobile adjustments */
    .service_features .feature_list li {
        flex-direction: column;
        text-align: center;
    }
    
    .service_features .feature_list li i {
        margin: 0 0 5px 0;
    }
    
    .process_steps .step_item {
        flex-direction: column;
        text-align: center;
    }
    
    .step_number {
        margin: 0 auto 15px !important;
    }
    
    .client_type ul {
        text-align: center;
    }
    
    .sidebar_widget {
        margin-top: 30px;
    }
    
    /* Mobile dropdown adjustments */
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid #e9ecef;
    }
}
