/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

h2 {
    font-size: 2rem;
    color: #4a90c2;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
}

.mobile-nav {
    display: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a90c2, #5b9bd5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-text h1 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.brand-text p {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0;
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4a90c2;
}

/* Mobile Navigation Styles */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
}

.hamburger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.mobile-menu-toggle:checked + .mobile-menu-button .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle:checked + .mobile-menu-button .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle:checked + .mobile-menu-button .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav Links */
.mobile-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:checked ~ .mobile-nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafb 0%, #e9f2f7 100%);
}

.hero-content {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background: #4a90c2;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #3a7aa2;
}

.hero-profile {
    flex-shrink: 0;
}

.profile-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4a90c2, #5b9bd5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(74, 144, 194, 0.3);
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.initials {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.credentials {
    background: #f8fafb;
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

.credentials h3 {
    color: #4a90c2;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.credentials h3:first-child {
    margin-top: 0;
}

.credentials p {
    margin-bottom: 0.5rem;
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background: #f8fafb;
}

.experience-timeline {
    max-width: 900px;
}

.experience-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.experience-header h3 {
    color: #4a90c2;
    margin-bottom: 0;
    flex: 1;
}

.experience-meta {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
}

.experience-meta .location {
    display: block;
    font-weight: 500;
}

.experience-meta .dates {
    display: block;
    color: #888;
}

.role {
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.experience-details {
    list-style: none;
    padding-left: 0;
}

.experience-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.experience-details li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #4a90c2;
    font-weight: bold;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8fafb;
}

/* Practice Areas List */
.services-list {
    max-width: 600px;
    margin: 0 auto;
}

.practice-areas {
    list-style: none;
    padding: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.practice-areas li {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e1e8ed;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.practice-areas li:last-child {
    border-bottom: none;
}

.practice-areas li:hover {
    background-color: #f8fafb;
    color: #4a90c2;
}

/* Legacy Service Cards (kept for future use) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    color: #4a90c2;
    margin-bottom: 1rem;
}

/* Page Hero Section (for experience page) */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8fafb 0%, #e9f2f7 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method h3 {
    color: #4a90c2;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-method p {
    margin-bottom: 0.25rem;
}

/* Contact Form */
.contact-form {
    /* background: white; */
    background-color: #f8fafb;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-form h3 {
    color: #4a90c2;
    margin-bottom: 1.5rem;
}

/* Form Disclaimers */
.form-disclaimers {
    margin-bottom: 2rem;
}

.disclaimer-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer-box h4 {
    color: #856404;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-box p {
    color: #856404;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

.disclaimer-box strong {
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

/* Checkbox styling */
.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0;
    margin-top: 0.2rem;
    transform: scale(1.2);
    accent-color: #4a90c2;
}

.checkbox-label span:not(.checkmark) {
    flex: 1;
    color: #666;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90c2;
}

.submit-button {
    background: #4a90c2;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: #3a7aa2;
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease-out;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message-content {
    padding: 1.5rem;
}

.message-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.message-content p {
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.submission-id {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.1);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem !important;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand .logo-circle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.footer-brand h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0;
}

.footer-brand p {
    color: #ccc;
    font-size: 0.8rem;
    margin-bottom: 0;
}

.footer-info {
    max-width: 600px;
}

.footer-info p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.8rem !important;
    color: #999 !important;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .nav {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Other responsive styles */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
        justify-content: center;
    }
    
    .hero-text {
        order: unset;
    }
    
    .hero-profile {
        order: unset;
        align-self: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .experience-meta {
        text-align: left;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }
    
    .practice-areas li {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .page-hero {
        padding: 100px 0 50px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 769px) {
    /* Ensure desktop nav is shown and mobile nav is hidden */
    .desktop-nav {
        display: flex !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-text h2 {
        font-size: 1.75rem;
    }
    
    .profile-circle {
        width: 100px;
        height: 100px;
    }
    
    .initials {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .experience-item,
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .practice-areas li {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
}

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

/* Additional utility classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
} 