/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #334155;
    overflow-x: hidden;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1e293b;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

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

.nav-icon {
    width: 32px;
    height: 32px;
    color: #1e293b;
}

.brand-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.brand-tagline {
    font-size: 0.75rem;
    color: #64748b;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #64748b;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #1e293b;
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    background: #1e293b;
    color: white;
    border-radius: 0.375rem;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: #334155;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%231e293b" width="1920" height="1080"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('8-min.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    color: white;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: #1e293b;
}

.btn-primary:hover {
    background: #f1f5f9;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    width: 100%;
    background: #1e293b;
    color: white;
}

.btn-submit:hover {
    background: #334155;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-gray {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: #64748b;
    max-width: 42rem;
    margin: 1rem auto 0;
}

/* About Section */
.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.text-content {
    color: #64748b;
    margin-bottom: 1rem;
}

.emphasis {
    font-style: italic;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.stat-icon {
    width: 32px;
    height: 32px;
    color: #1e293b;
    margin: 0 auto 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Practice Areas */
.practice-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .practice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.practice-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s;
}

.practice-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.practice-icon {
    width: 40px;
    height: 40px;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.practice-card h3 {
    margin-bottom: 0.75rem;
}

.practice-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Services Info */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon {
    width: 32px;
    height: 32px;
    color: #1e293b;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Our Story */
.story-container {
    max-width: 56rem;
    margin: 0 auto;
}

.story-section {
    margin-bottom: 3rem;
}

.story-section:last-child {
    margin-bottom: 0;
}

.story-section h2 {
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-wrapper {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e293b;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon-wrapper {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: #1e293b;
}

.info-card h3 {
    margin-bottom: 0.25rem;
}

.info-card p {
    color: #64748b;
    margin: 0;
}

.info-card-highlight {
    background: #1e293b;
    color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.info-card-highlight h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.info-card-highlight p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.highlight-contacts {
    font-size: 0.875rem;
}

.highlight-contacts p {
    margin: 0.25rem 0;
    color: #cbd5e1;
}

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

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-icon {
    width: 32px;
    height: 32px;
    color: white;
    flex-shrink: 0;
}

.footer-name {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.75rem;
    color: #94a3b8;
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #94a3b8;
    transition: color 0.3s;
}

.social-link:hover {
    color: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: #94a3b8;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px;
    }
    
    .hero-text {
        font-size: 1rem;
    }
}

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