/* ATB Investigations Landing Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

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

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

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
}

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

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

/* Header Styles */
.main-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;
}

.header-top {
    background: #C62B26;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.header-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.header-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-cta {
    font-weight: 600;
}

.phone-cta a, .phone-cta strong {
    color: #fff;
    text-decoration: none;
}

.main-nav {
    padding: 15px 0;
    background: #fff;
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: center !important;
    margin-left: 100px !important;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
}

.logo img {
    width: 150px !important;
    height: 60px !important;
    border-radius: 8px;
    margin-left: 50px;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    color: #C62B26;
    margin-bottom: -5px;
}

.tagline {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover {
    color: #C62B26;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 20px;
    color: #333;
    display: block;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #C62B26;
}

.cta-button a {
    background: #C62B26;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button a:hover {
    background: #a02319;
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(198, 43, 38, 0.95), rgba(0, 0, 0, 0.8)), url('../images/Los_Angeles_private_investigator_1.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0 80px;
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-content .tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #C62B26;
    color: #fff;
}

.btn-primary:hover {
    background: #a02319;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(198, 43, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #C62B26;
}

/* Service Sections */
.service-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.service-section:nth-child(even) {
    background: #f8f9fa;
}

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

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

.service-text h3 {
    color: #C62B26;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
}

.service-features li:before {
    content: "✓";
    color: #C62B26;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

/* Stats Section */
.stats-section {
    background: #C62B26;
    color: #fff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    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: #C62B26;
}

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

/* Footer */
.main-footer {
    background: #000;
    color: #fff;
}

.footer-cta {
    background: #C62B26;
    padding: 60px 0;
    text-align: center;
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.footer-content {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #C62B26;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info a {
    color: #C62B26;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-legal a:hover {
    color: #fff;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #C62B26;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #a02319;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        margin-left: 0 !important;
        flex: 1;
        justify-content: center !important;
    }

    .logo img {
        margin-left: 0 !important;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-content,
    .contact-content,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .service-section {
        padding: 60px 0;
    }
    
    .service-text h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* ===========================
   THANK YOU PAGE
   =========================== */

.thank-you-section {
    padding: 160px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(198, 43, 38, 0.05) 0%, #fff 50%, rgba(198, 43, 38, 0.03) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(198, 43, 38, 0.15);
    border: 1px solid rgba(198, 43, 38, 0.1);
}

.thank-you-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thank-you-icon svg {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #C62B26, #a02319);
    border-radius: 50%;
    padding: 20px;
    stroke: #fff;
}

.thank-you-content h1 {
    font-size: 2.8rem;
    color: #C62B26;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -1px;
}

.thank-you-content h2 {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 25px;
    font-weight: 400;
}

.thank-you-content > p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
    padding: 0 10px;
}

.thank-you-info {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid #eee;
}

.thank-you-info h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.thank-you-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-align: left;
}

.thank-you-info ul li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.thank-you-info ul li:before {
    content: "✓";
    color: #fff;
    font-weight: bold;
    position: absolute;
    left: 0;
    background: #C62B26;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.thank-you-urgent {
    background: linear-gradient(135deg, #C62B26, #a02319);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.thank-you-urgent h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.thank-you-urgent p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 0.95rem;
}

.thank-you-urgent .btn-primary {
    background: #fff;
    color: #C62B26;
    font-weight: 600;
    padding: 14px 30px;
}

.thank-you-urgent .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.thank-you-return {
    margin-top: 15px;
}

.thank-you-return a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.thank-you-return a:hover {
    color: #C62B26;
}

@media (max-width: 768px) {
    .thank-you-section {
        padding: 140px 15px 60px;
    }

    .thank-you-content {
        padding: 40px 25px;
    }

    .thank-you-content h1 {
        font-size: 2rem;
    }

    .thank-you-content h2 {
        font-size: 1.1rem;
    }

    .thank-you-icon svg {
        width: 80px;
        height: 80px;
        padding: 15px;
    }

    .thank-you-info,
    .thank-you-urgent {
        padding: 20px;
    }

    .thank-you-info ul li {
        font-size: 0.9rem;
    }
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials-section {
    background: #1a1a1a;
    padding: 80px 0;
    overflow: hidden;
}

.testimonials-section .container {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-section h3 {
    color: #C62B26;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.testimonials-section h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.testimonials-intro {
    color: #aaa;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Testimonials Wrapper - handles overflow */
.testimonials-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Gradient fade on edges */
.testimonials-wrapper::before,
.testimonials-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #1a1a1a, transparent);
}

.testimonials-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #1a1a1a, transparent);
}

/* Testimonials Track - the moving container */
.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scrollTestimonials 40s linear infinite;
    width: max-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

/* Keyframes for scrolling animation */
@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Individual Testimonial Card */
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    min-width: 380px;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Star Rating */
.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars span {
    color: #C62B26;
    font-size: 1.3rem;
    margin-right: 3px;
}

/* Testimonial Text */
.testimonial-text {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: #C62B26;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #C62B26;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: #C62B26;
    font-size: 1.1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
    margin-top: 3px;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        min-width: 320px;
        max-width: 320px;
        padding: 25px;
    }

    .testimonials-wrapper::before,
    .testimonials-wrapper::after {
        width: 50px;
    }

    .testimonials-track {
        gap: 20px;
        animation-duration: 35s;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 50px 0;
    }

    .testimonials-section .container {
        margin-bottom: 30px;
    }

    .testimonials-section h2 {
        font-size: 1.75rem;
    }

    .testimonials-intro {
        font-size: 1rem;
        padding: 0 15px;
    }

    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-stars span {
        font-size: 1.1rem;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .testimonials-track {
        animation-duration: 30s;
    }
}