
/* Block 1 */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8) 0%, rgba(52, 58, 64, 0.9) 100%);
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    left: 0;
}

.hero-content {
    z-index: 3;
    color: white;
    width: 100%;
    padding: 2rem 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 400;
}

.hero-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107 0%, #ff8500 100%);
    color: #212529;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
    color: #212529;
    background: linear-gradient(135deg, #ffcd39 0%, #ff9500 100%);
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-banner {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .hero-banner {
        min-height: 450px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Block 2 */
.legal-expertise {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.legal-expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

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

.expertise-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.expertise-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a6c7d;
    margin-bottom: 2.5rem;
}

.expertise-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 0.2rem;
}

.expertise-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.expertise-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.expertise-cta::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.expertise-cta:hover::after {
    transform: translateX(3px);
}

.expertise-visual {
    position: relative;
}

.visual-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 400px;
}

.visual-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.main-image {
    grid-row: 1 / 3;
}

.secondary-image {
    grid-row: 1;
}

.accent-card {
    grid-row: 2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

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

.visual-item:hover .expertise-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.visual-item:hover .image-overlay {
    transform: translateY(0);
}

.overlay-text {
    font-weight: 600;
    font-size: 0.9rem;
}

.image-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.image-badge i {
    color: #27ae60;
}

.accent-content {
    text-align: center;
}

.accent-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.accent-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.accent-text {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .legal-expertise {
        padding: 60px 0;
    }
    
    .expertise-title {
        font-size: 2rem;
    }
    
    .visual-grid {
        height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .expertise-stats {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .visual-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 150px 120px;
        height: auto;
    }
    
    .main-image {
        grid-row: 1;
    }
    
    .secondary-image {
        grid-row: 2;
    }
    
    .accent-card {
        grid-row: 3;
        padding: 1rem;
    }
    
    .accent-title {
        font-size: 1rem;
    }
    
    .accent-text {
        font-size: 0.8rem;
    }
}

/* Block 3 */
.success-stories {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.stories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.story-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.featured-story {
    grid-row: span 2;
}

.story-image-container {
    position: relative;
    overflow: hidden;
}

.featured-story .story-image-container {
    height: 300px;
}

.story-card:not(.featured-story) .story-image-container {
    height: 200px;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-card:hover .story-image {
    transform: scale(1.1);
}

.story-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.story-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-story .story-title {
    font-size: 1.8rem;
}

.story-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.story-metrics {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.story-outcome {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #28a745;
}

.story-outcome i {
    font-size: 1.2rem;
}

.testimonial-section {
    margin-bottom: 60px;
}

.testimonial-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
    margin-bottom: 30px;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.author-case {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
}

.author-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px;
    border-radius: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-button {
    background: white;
    color: #667eea;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #667eea;
}

.cta-stats {
    display: flex;
    gap: 40px;
}

.stat-box {
    text-align: center;
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.stat-description {
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 1200px) {
    .stories-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .featured-story {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .success-stories {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-story {
        grid-column: span 1;
    }
    
    .story-content {
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .cta-stats {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .story-metrics {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Block 4 */
.order-form-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.order-form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.form-wrapper {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.form-header {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: white;
    border-radius: 50% 50% 0 0;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
}

.header-icon i {
    font-size: 32px;
    color: white;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-content {
    padding: 60px 40px;
}

.consultation-form {
    position: relative;
}

.form-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.input-group {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 15px;
}

.form-input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #0d6efd;
    background: white;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
    transform: translateY(-2px);
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    transition: color 0.3s ease;
    z-index: 2;
    margin-top: 15px;
}

.form-input:focus + .input-icon {
    color: #0d6efd;
}

.form-features {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    padding: 30px;
    background: #f8f9ff;
    border-radius: 16px;
    border: 1px solid #e3e8ff;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    line-height: 1.3;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.submit-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 ease;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.4);
}

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

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.form-sidebar {
    padding: 20px;
}

.urgency-indicator {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
}

.indicator-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.indicator-title {
    font-weight: 700;
    font-size: 16px;
}

.indicator-text {
    margin: 0 0 15px;
    opacity: 0.9;
    font-size: 14px;
}

.emergency-number {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.emergency-number:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: scale(1.05);
}

.trust-elements {
    margin-bottom: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.trust-badge {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.trust-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.recent-activity {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 25px;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.activity-header i {
    color: #28a745;
    font-size: 18px;
}

.activity-title {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

.activity-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.stat-label {
    color: #6c757d;
    font-size: 14px;
}

.stat-value {
    font-weight: 700;
    color: #0d6efd;
    font-size: 16px;
}

@media (max-width: 991px) {
    .form-content {
        padding: 40px 30px;
    }
    
    .form-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-header {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .order-form-section {
        padding: 60px 0;
    }
    
    .form-content {
        padding: 30px 20px;
    }
    
    .form-header {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
}
