/* Base Styles */
:root {
    --primary-color: #2c5282; /* Deep blue for trust and professionalism */
    --secondary-color: #38a169; /* Green for solutions and harmony */
    --accent-color: #4299e1; /* Lighter blue for accents */
    --light-color: #f7fafc; /* Off-white for backgrounds */
    --dark-color: #2d3748; /* Dark gray for text */
    --gray-color: #a0aec0; /* Medium gray for subtle elements */
    --font-main: 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 82, 130, 0.9), rgba(44, 82, 130, 0.7)), url('../images/hero-placeholder.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.intro {
    padding: 80px 0;
}

.intro .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.intro-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.intro-image {
    flex: 1;
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background-color: var(--gray-color);
    border-radius: 8px;
}

/* Features Section */
.features {
    background-color: #f8fafc;
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta .btn {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.cta .btn:hover {
    background-color: transparent;
    color: white;
}

.cta .btn-outline {
    background-color: transparent;
    color: white;
}

.cta .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-color);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: var(--gray-color);
}

/* Lawyer Profiles */
.lawyers {
    padding: 80px 0;
}

.lawyers h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.lawyer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lawyer-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.lawyer-image {
    height: 250px;
    background-color: var(--gray-color);
}

.lawyer-info {
    padding: 20px;
}

.lawyer-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.lawyer-info .specialty {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.lawyer-info p {
    margin-bottom: 15px;
}

.lawyer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lawyer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lawyer-contact i {
    color: var(--primary-color);
}

/* Content Pages */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-content {
    padding: 80px 0;
}

.page-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-content ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lawyer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        background-color: white;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .lawyer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
}
