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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

/* Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo a {
    font-size: 28px;
    font-weight: 700;
    color: #1e40af;
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1e40af;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1e40af;
}

.cta-button {
    background: #1e40af;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #1d4ed8;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: white;
    color: #1e40af;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
}

.hero-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 60px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.hero-placeholder .placeholder-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.hero-placeholder p {
    font-size: 18px;
    opacity: 0.9;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #1e40af;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Preview */
.about-preview {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 20px;
}

.btn-link {
    color: #1e40af;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #1d4ed8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e40af;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 20px;
}

.service-link {
    color: #1e40af;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link:hover {
    color: #1d4ed8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

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

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 100px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #f9fafb;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f9fafb;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #1e40af;
}

.contact-item {
    margin-bottom: 20px;
    color: #d1d5db;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design - See detailed mobile styles below */

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Placeholder Styles */
.placeholder-image,
.placeholder-avatar {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.placeholder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 30px;
    font-size: 36px;
    font-weight: 700;
    color: #6b7280;
}

/* Additional Styles for About Page */
.firm-overview {
    padding: 80px 0;
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.our-values {
    padding: 80px 0;
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e40af;
}

.our-team {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.member-info {
    padding: 30px;
}

.member-credentials {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.qualification,
.position {
    background: #eff6ff;
    color: #1e40af;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.member-experience {
    color: #059669;
    font-weight: 600;
    margin-bottom: 20px;
}

.member-specialties {
    margin-top: 25px;
}

.member-specialties h4 {
    color: #1e40af;
    margin-bottom: 15px;
}

.member-specialties ul {
    list-style: none;
    padding: 0;
}

.member-specialties ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
}

.member-specialties ul li:before {
    content: "✓";
    color: #059669;
    font-weight: bold;
    margin-right: 10px;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1e40af;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 8px;
    color: #1e40af;
}

.contact-text p {
    color: #6b7280;
    margin-bottom: 5px;
}

.contact-text a {
    color: #1e40af;
    text-decoration: none;
}

.contact-note {
    font-size: 14px;
    color: #9ca3af;
}

.map-placeholder {
    background: #f8fafc;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 30px;
}

.map-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.consultation-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

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

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-note {
    margin-top: 30px;
    padding: 20px;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.form-note p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #92400e;
}

.emergency-contact {
    background: #dc2626;
    color: white;
    padding: 40px 0;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.emergency-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.emergency-phone {
    display: inline-block;
    background: white;
    color: #dc2626;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 10px;
}

.emergency-available {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    opacity: 0.9;
}

/* Practice Areas Styles */
.practice-areas {
    padding: 80px 0;
}

.practice-intro {
    text-align: center;
    margin-bottom: 60px;
    font-size: 18px;
    color: #6b7280;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.practice-grid {
    display: grid;
    gap: 40px;
}

.practice-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
}

.practice-header {
    background: #1e40af;
    color: white;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.practice-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.practice-content {
    padding: 30px;
}

.practice-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #1e40af;
}

.practice-subareas h3 {
    color: #374151;
    margin: 25px 0 15px;
    font-size: 18px;
}

.practice-subareas ul {
    list-style: none;
    padding: 0;
}

.practice-subareas ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
}

.practice-description {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f3f4f6;
}

.approach-section {
    padding: 80px 0;
    background: #f8fafc;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.approach-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.approach-number {
    font-size: 48px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 20px;
    opacity: 0.3;
}

.approach-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e40af;
}

/* Privacy Policy Styles */
.privacy-content {
    padding: 80px 0;
    background: #ffffff;
}

.policy-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.policy-wrapper h2 {
    color: #1e40af;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-wrapper h2:first-child {
    margin-top: 0;
}

.policy-wrapper h3 {
    color: #374151;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-wrapper p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-wrapper ul {
    margin: 15px 0 15px 30px;
    color: #6b7280;
    line-height: 1.8;
}

.policy-wrapper ul li {
    margin-bottom: 8px;
}

.contact-info-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #1e40af;
}

.contact-info-box p {
    margin-bottom: 0;
}

.contact-info-box a {
    color: #1e40af;
    text-decoration: none;
}

.contact-info-box a:hover {
    text-decoration: underline;
}

/* Improved Mobile Responsiveness */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .overview-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .policy-wrapper {
        padding: 25px 20px;
    }

    .policy-wrapper h2 {
        font-size: 24px;
    }

    .policy-wrapper h3 {
        font-size: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nav-container {
        height: 70px;
    }

    .nav-logo a {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .service-card h3,
    .value-card h3 {
        font-size: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cta-section,
    .emergency-contact {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}
