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

.hero-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero-banner:hover .hero-background-image {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 110, 253, 0.8) 0%,
        rgba(108, 117, 125, 0.9) 50%,
        rgba(33, 37, 41, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: white;
}

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

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-btn {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.hero-cta-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .hero-banner {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 50vh;
        min-height: 450px;
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-cta-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
}

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

.legal-expertise-showcase::before {
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23dee2e6" opacity="0.5"/><circle cx="80" cy="40" r="1.5" fill="%23dee2e6" opacity="0.3"/><circle cx="40" cy="80" r="1" fill="%23dee2e6" opacity="0.4"/></svg>');
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.legal-expertise-showcase .container {
    position: relative;
    z-index: 2;
}

.expertise-badge {
    display: inline-block;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

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

.expertise-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.expertise-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
}

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

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

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

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.expertise-visual {
    position: relative;
}

.main-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.main-expertise-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.main-expertise-image:hover {
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #007bff;
}

.floating-badge i {
    font-size: 1.1rem;
}

.secondary-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.secondary-image-item:hover .secondary-image {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .expertise-title {
        font-size: 2rem;
    }
    
    .expertise-stats {
        grid-template-columns: 1fr;
    }
    
    .main-expertise-image {
        height: 300px;
    }
    
    .secondary-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .legal-expertise-showcase {
        padding: 3rem 0;
    }
    
    .expertise-title {
        font-size: 1.8rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .floating-badge {
        position: static;
        margin-bottom: 1rem;
        display: inline-flex;
    }
}

/* Block 3 */
.advanced-services-grid {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
}

.advanced-services-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e3f2fd 50%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.primary-card {
    grid-column: 1 / -1;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.primary-card .service-title,
.primary-card .service-description {
    color: white;
}

.card-visual {
    position: relative;
    margin-bottom: 1.5rem;
}

.primary-card .card-visual {
    margin-bottom: 0;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.primary-card .service-image {
    height: 300px;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #667eea;
    backdrop-filter: blur(10px);
}

.primary-card .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    color: #4ade80;
    font-size: 0.875rem;
}

.service-action-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.service-highlight {
    margin-top: 1rem;
}

.highlight-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-metrics {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

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

.metric-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

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

.tech-stack {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: #e0e7ff;
    color: #5b21b6;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.program-info {
    margin-top: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

.info-item i {
    color: #667eea;
}

.coverage-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.coverage-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

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

.section-cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cta-primary-btn,
.cta-secondary-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.cta-primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-primary-btn:hover,
.cta-secondary-btn:hover {
    transform: translateY(-2px);
}

.cta-primary-btn:hover {
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.cta-secondary-btn:hover {
    background: white;
    color: #1e293b;
}

@media (max-width: 992px) {
    .primary-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .section-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-primary-btn,
    .cta-secondary-btn {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-cta {
        padding: 2rem;
    }
    
    .cta-actions {
        gap: 0.75rem;
    }
}

/* Block 4 */
.order-consultation-form {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.order-consultation-form::before {
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff"><path d="M0,20 Q500,80 1000,20 L1000,0 L0,0 Z"></path></svg>') no-repeat center top;
    background-size: cover;
    height: 80px;
    width: 100%;
    display: block;
    top: 0;
    left: 0;
}

.form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    text-align: center;
    padding: 3rem 2rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.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 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.header-icon i {
    font-size: 2rem;
    color: white;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.form-subtitle {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 0;
    min-height: 600px;
}

.consultation-form {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.input-group {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.1rem;
    z-index: 2;
}

.form-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: #2c3e50;
}

.benefit-icon {
    color: #28a745;
    font-size: 1.1rem;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

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

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

.form-privacy {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    justify-content: center;
}

.form-privacy i {
    color: #28a745;
}

.form-visual {
    background: linear-gradient(45deg, #667eea, #764ba2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.visual-stats {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.stat-card.highlight {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

@media (max-width: 968px) {
    .form-container {
        grid-template-columns: 1fr;
    }
    
    .form-visual {
        height: 300px;
        order: -1;
    }
    
    .visual-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .order-consultation-form {
        padding: 3rem 0;
    }
    
    .form-wrapper {
        margin: 0 1rem;
        border-radius: 16px;
    }
    
    .consultation-form {
        padding: 2rem;
    }
    
    .form-header {
        padding: 2rem 1rem 1rem;
    }
    
    .form-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .visual-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .submit-btn {
        font-size: 1rem;
        padding: 1rem;
    }
}
