/* Custom Properties */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2d5aa0;
    --accent-color: #c53030;
    --warrior-color: #d4af37;
    --warrior-dark: #b8860b;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --warning-color: #d69e2e;
    --error-color: #e53e3e;
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

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

.btn {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline-light {
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
}

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

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand {
    text-align: left;
}

.firm-name {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

.firm-subtitle {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
    font-weight: 400;
}

.navbar-nav .nav-link {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.paycheck-warrior-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, var(--warrior-color), var(--warrior-dark));
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.paycheck-warrior-badge i {
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 2rem;
    color: var(--bg-white);
}

.contact-card h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.contact-card p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-card i {
    margin-right: 0.5rem;
    width: 20px;
    color: var(--bg-white);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.warrior-intro {
    margin-bottom: 3rem;
}

.warrior-philosophy,
.professional-leadership,
.academic-achievements,
.professional-recognition,
.alternative-dispute-resolution {
    background: linear-gradient(45deg, var(--warrior-color), var(--warrior-dark));
    color: var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 5px solid var(--primary-color);
}

.warrior-philosophy h4,
.professional-leadership h4,
.academic-achievements h4,
.professional-recognition h4,
.alternative-dispute-resolution h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.warrior-philosophy h4::before {
    content: '⚔️';
    margin-right: 0.5rem;
}

.professional-leadership h4::before {
    content: '🏛️';
    margin-right: 0.5rem;
}

.academic-achievements h4::before {
    content: '🎓';
    margin-right: 0.5rem;
}

.professional-recognition h4::before {
    content: '🏆';
    margin-right: 0.5rem;
}

.alternative-dispute-resolution h4::before {
    content: '⚖️';
    margin-right: 0.5rem;
}

.warrior-philosophy p,
.professional-leadership p,
.academic-achievements p,
.professional-recognition p,
.alternative-dispute-resolution p {
    margin: 0.5rem 0;
    font-weight: 600;
    line-height: 1.6;
}

.professional-recognition p:first-of-type {
    background-color: rgba(26, 54, 93, 0.1);
    padding: 1rem;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 1rem;
}

.professional-leadership strong,
.academic-achievements strong,
.professional-recognition strong {
    color: var(--primary-color);
    font-weight: 700;
}

.warrior-stats {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.stat-item {
    margin-bottom: 2rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--warrior-color);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--warrior-color);
}

.warrior-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, var(--warrior-color), var(--warrior-dark));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.warrior-badge i {
    margin-right: 0.5rem;
}

/* Practice Areas */
.practice-areas {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.practice-item {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.practice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.practice-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.practice-item h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.practice-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Client Portal */
.client-portal {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.portal-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

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

.portal-card h4 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.portal-card p {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.security-notice {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
    margin-top: 2rem;
}

.security-notice h5 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.contact-info {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    height: 100%;
}

.contact-info h4 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
    width: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

.contact-form {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-form h4 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.25);
}

.form-check-label {
    font-weight: 400;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f2439 100%);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

.footer-warrior-brand h4 {
    color: var(--warrior-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.footer-warrior-brand p {
    color: var(--warrior-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-content h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-content p {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.8);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.5rem;
    width: 20px;
    color: var(--bg-white);
}

.footer-links h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: var(--bg-white);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .about,
    .practice-areas,
    .client-portal,
    .contact {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
    
    .footer-links {
        margin-top: 2rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .firm-name {
        font-size: 1.4rem;
    }
    
    .firm-subtitle {
        font-size: 0.8rem;
    }
    
    .portal-card,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-4 {
    padding: 1.5rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--bg-white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert {
    border-radius: 4px;
    border: none;
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: var(--success-color);
    color: var(--bg-white);
}

.alert-danger {
    background-color: var(--error-color);
    color: var(--bg-white);
}

/* Print Styles */
@media print {
    .header,
    .hero-buttons,
    .contact-form,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: var(--text-dark);
        padding: 2rem 0;
    }
    
    .hero-title,
    .section-title {
        color: var(--text-dark);
    }
}