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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    display: block;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 1.8rem;
    color: #FFA500;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Contact Card */
.hero-contact-card {
    max-width: 900px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.attorney-info {
    text-align: center;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.attorney-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #FFA500;
}

.attorney-info h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.attorney-info p {
    margin-bottom: 10px;
    color: #666;
}

.phone-link {
    font-size: 1.5rem;
    color: #FFA500;
    font-weight: 700;
    display: block;
    margin-top: 10px;
}

/* Contact Form */
.contact-form-wrapper {
    color: #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.submit-btn {
    background: #FFA500;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

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

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

.services-intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
}

.intro-logo {
    width: 100px;
    height: auto;
}

.ata-badge {
    width: 80px;
    height: auto;
}

.intro-text h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.intro-text p {
    font-size: 1.2rem;
    color: #666;
}

.intro-phone {
    font-size: 1.1rem;
    color: #007BFF;
    font-weight: 600;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

/* How We Can Help Section */
.how-we-help {
    padding: 80px 0;
    background: url('images/legal-books-bg.jpg') center/cover;
    position: relative;
}

.how-we-help::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
}

.how-we-help .container {
    position: relative;
    z-index: 1;
}

.how-we-help h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.help-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.help-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.help-card.reverse {
    direction: rtl;
}

.help-card.reverse > * {
    direction: ltr;
}

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

.help-content {
    padding: 40px;
}

.help-content.blue-bg {
    background: #007BFF;
    color: white;
}

.help-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.help-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Detailed Services Section */
.detailed-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.detailed-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.service-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.service-text blockquote {
    border-left: 4px solid #007BFF;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.icon-text {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.scales-icon {
    font-size: 2rem;
}

.service-image-large img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Corporate Services Section */
.corporate-services {
    padding: 80px 0;
    background: white;
}

.corporate-service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.corporate-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.corporate-header {
    background: #FFA500;
    color: white;
    padding: 30px;
    border-radius: 10px 10px 0 0;
}

.corporate-header h2 {
    font-size: 2.2rem;
}

.corporate-text {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 0 0 10px 10px;
}

.corporate-text h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: #333;
}

.corporate-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Tax Protest Services Section */
.tax-protest-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.tax-service-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tax-service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tax-service-card.reverse {
    direction: rtl;
}

.tax-service-card.reverse > * {
    direction: ltr;
}

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

.tax-content {
    padding: 40px;
}

.tax-content.orange-bg {
    background: #FFA500;
    color: white;
}

.tax-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.tax-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: white;
}

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

.location-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.location-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #666;
}

.location-info a {
    color: #007BFF;
    transition: color 0.3s;
}

.location-info a:hover {
    color: #0056b3;
}

.location-map iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-content p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-link {
    display: inline-block;
    color: #007BFF;
    font-size: 1.2rem;
    margin: 20px 0;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #0056b3;
}

.call-now-btn {
    display: inline-block;
    background: #007BFF;
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 20px;
    transition: background 0.3s;
}

.call-now-btn:hover {
    background: #0056b3;
}

.footer-disclaimer {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-disclaimer p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.copyright {
    margin-top: 20px;
    font-size: 0.85rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-contact-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .attorney-photo {
        width: 150px;
        height: 150px;
    }

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

    .intro-card {
        flex-direction: column;
        text-align: center;
    }

    .help-card,
    .help-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .help-image {
        height: 300px;
    }

    .detailed-service {
        grid-template-columns: 1fr;
    }

    .corporate-service-layout {
        grid-template-columns: 1fr;
    }

    .tax-service-card,
    .tax-service-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .tax-image {
        height: 250px;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .section-title,
    .how-we-help h2 {
        font-size: 1.8rem;
    }

    .service-content h3,
    .help-content h3,
    .tax-content h3 {
        font-size: 1.3rem;
    }

    .footer-content h3 {
        font-size: 1.5rem;
    }

    .call-now-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Form Success Message */
.form-success {
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.form-error {
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

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

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

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