/* Hero Section Styles */
.hero {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a2a3a, #2c3e50);
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.1), rgba(52, 73, 94, 0.1));
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    color: #fff;
}

.hero-badge {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge i {
    font-size: 1.4rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-highlight {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-text {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Lawyer Preview Styles */
.lawyer-preview {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.preview-item img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.preview-item:hover img {
    border-color: rgba(255, 255, 255, 0.5);
}

.preview-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

.preview-info p {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Hero Image Styles */
.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(44, 62, 80, 0.2),
        rgba(52, 73, 94, 0.4)
    );
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Expertise Badges */
.expertise-badges {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.expertise-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.expertise-badge i {
    color: #2c3e50;
    font-size: 1.4rem;
}

.expertise-badge span {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}

/* Lawyer Boxes Section */
.lawyer-boxes {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 5rem 0;
    padding: 0 2rem;
    position: relative;
}

.lawyer-boxes::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    z-index: -1;
}

.lawyer-box {
    width: 340px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lawyer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.1),
        rgba(44, 62, 80, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lawyer-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lawyer-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.lawyer-box:hover::before,
.lawyer-box:hover::after {
    opacity: 1;
}

.lawyer-box img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 2rem;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
}

.lawyer-box img::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lawyer-box:hover img {
    transform: scale(1.1) rotate(5deg);
    border-color: #3498db;
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
}

.lawyer-box:hover img::after {
    opacity: 1;
}

.lawyer-box h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.6rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.lawyer-box h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    transition: width 0.3s ease;
}

.lawyer-box:hover h3 {
    color: #3498db;
    transform: translateY(-2px);
}

.lawyer-box:hover h3::after {
    width: 80%;
}

.lawyer-box p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.7;
    padding: 0 1.5rem;
    position: relative;
}

.lawyer-box p::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 4rem;
    color: rgba(52, 152, 219, 0.1);
    font-family: serif;
}

.lawyer-box .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.lawyer-box .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.6s;
}

.lawyer-box .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.lawyer-box .cta-button:hover::before {
    left: 100%;
}

.lawyer-box .cta-button i {
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.lawyer-box .cta-button:hover i {
    transform: translateX(5px) rotate(10deg);
}

/* Lawyer Profile */
.lawyer-profile {
    display: none;
}

.lawyer-profile.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-highlight {
        justify-content: center;
    }

    .lawyer-preview {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .expertise-badges {
        position: relative;
        bottom: 0;
        margin-top: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .lawyer-preview {
        flex-direction: column;
        align-items: center;
    }

    .preview-item {
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .expertise-badges {
        padding: 1rem;
    }

    .expertise-badge {
        padding: 0.6rem 1rem;
    }

    .lawyer-boxes {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 0 1rem;
    }

    .lawyer-box {
        width: 100%;
        max-width: 340px;
        padding: 2rem;
    }

    .lawyer-box img {
        width: 160px;
        height: 160px;
    }

    .lawyer-box h3 {
        font-size: 1.4rem;
    }

    .lawyer-box p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .lawyer-box .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
} 