/* Modern Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, rgb(19, 59, 114), rgb(7, 41, 88)) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0 0 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 15px 0;
    margin-bottom: 50px;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.practice-area-card {
    background: linear-gradient(135deg, white, var(--light-bg));
}

.practice-area-card .card-title {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Team Cards */
.team-card {
    position: relative;
    overflow: hidden;
    border: none;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.team-card .card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card .card-subtitle {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card .card-body {
    padding: 1.5rem;
}

.team-card .card-text {
    color: #666;
    margin-bottom: 1rem;
}

.team-card ul li {
    margin-bottom: 0.5rem;
}

.team-card .team-image-square {
    width: 200px;
    height: 200px;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    margin: 1.5rem 0 1.5rem 0.5rem;
    flex-shrink: 0;
}

.team-card .team-image-square img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.team-card .col {
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.team-card .expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding-left: 0;
    margin-bottom: 0;
}

.team-card .expertise-list li {
    flex: 1 1 45%;
    min-width: 120px;
    list-style: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
    color: white;
    padding: 4rem 0 2rem;
}

footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.form-control {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 0.8rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Icons */
.fas {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Object Fit Cover */
.object-fit-cover {
    object-fit: cover;
} 