/* Custom Landing Page Overrides */

/* Typography and Colours */
body {
    color: #1a1a1a;
}

.text-dark-hero {
    color: #071E3D !important; /* Very dark navy / almost black */
    text-shadow: 0 1px 15px rgba(255,255,255,0.8);
}

.lp-header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lp-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.lp-phone:hover {
    background-color: #fff;
    color: #000;
}

/* Form Styles */
.lead-form-wrapper {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: -80px auto 40px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .lead-form-wrapper {
        margin: 20px 15px;
    }
}

.lead-form h3 {
    color: #071E3D; /* Dark Navy instead of black */
    text-align: center;
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #071E3D; /* Dark Navy instead of dark gray */
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(7, 30, 61, 0.2);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: #071E3D;
}

.btn-primary {
    background-color: #071E3D; /* Dark Navy */
    color: #fff;
    border: none;
    padding: 14px;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #333;
}

.form-footer {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 15px;
}

/* Hero CTA buttons */
.hero-ctas-lp {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-lp {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-lp-primary {
    background-color: #071E3D;
    color: #fff !important;
    border: 1px solid #071E3D;
}
.btn-lp-primary:hover {
    background-color: transparent;
    color: #071E3D !important;
}

.btn-lp-outline {
    border: 2px solid #071E3D;
    color: #071E3D !important;
}
.btn-lp-outline:hover {
    background-color: #071E3D;
    color: #fff !important;
}

.theme_slider_4 .swiper-slide .slider {
    height: 700px !important;
    min-height: 700px !important;
    position: relative;
}
.slide_content_wrapper {
    height: 100% !important;
    min-height: 100% !important;
}
.theme_slider_4 .swiper-slide .slider .slide_content .slide_content_wrapper .slide_content_inner {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 100px !important;
    padding-bottom: 195px !important;
    max-width: 1000px !important; /* Increased width to prevent 3-line wrap */
    width: 100%;
    position: relative;
    z-index: 20;
}
.theme_slider_4 .swiper-slide .slider .slide_content .slide_content_wrapper .slide_content_inner h4 {
    display: block;
    margin-bottom: 0;
}
.theme_slider_4 .swiper-slide .slider .slide_content .slide_content_wrapper .slide_content_inner p {
    min-height: 85px; /* Lock paragraph height across all slides */
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}
.theme_slider_4 .swiper-slide .slider .slide_content .slide_content_wrapper .slide_content_inner span.link_text {
    display: block;
    margin-bottom: 10px;
    position: relative;
    z-index: 30;
}
.theme_slider_4 .swiper-slide .slider .slide_content .slide_content_wrapper .slide_content_inner h4 a {
    white-space: nowrap; /* Force exactly 2 lines based on <br> */
}
@media (min-width: 1400px) {
    .theme_slider_4 .swiper-slide .slider .slide_content .slide_content_wrapper .slide_content_inner {
        padding-top: 215px !important;
        padding-bottom: 205px !important;
    }
}

.lead-form .btn-primary:hover {
    background: #FFD27F; /* Lighter gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 169, 109, 0.3);
}

/* intl-tel-input overrides for the form */
.iti {
    width: 100%;
}
.lead-form .iti__tel-input {
    padding-left: 95px !important; /* Make room for the separate dial code and flag */
}
.iti__country-list {
    color: #333; /* Ensure dropdown text is dark */
}

/* Fix native background image path for local viewing so white text is visible */
.funfacts.bg_1 {
    background: url("hl26/bg-1.jpg") no-repeat center center !important;
    background-size: cover !important;
    padding: 80px 0;
}


/* ----------------------------------- */
/* Services Styles (Modified for Single List) */
/* ----------------------------------- */
.services-list-container {
    padding: 20px 40px 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(7, 30, 61, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.category-items {
    display: flex;
    flex-direction: column;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: transparent;
}

.service-card:hover {
    background-color: #f8f9fa; /* Very light gray to distinguish from pure white */
    padding-left: 30px;
    padding-right: 30px;
    z-index: 2;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C5A059; /* Champagne Gold border */
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::after {
    width: 100%;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-name {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #071E3D;
    text-transform: uppercase;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.service-card:hover .service-name {
    letter-spacing: 0.5px;
}

.service-arrow {
    width: 36px;
    height: 36px;
    fill: #C5A059;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #071E3D;
    border-radius: 50%;
    padding: 8px;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

/* The popup icon/image on hover */
.service-hover-card {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%) scale(0.9) rotate(0deg);
    width: 340px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 40px rgba(7, 30, 61, 0.3), 0 20px 50px rgba(7, 30, 61, 0.6); /* Premium Navy Shine */ border: 1px solid rgba(7, 30, 61, 0.1);
    z-index: 10;
}

.service-hover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-hover-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1) rotate(-12deg);
    box-shadow: 0 0 120px 80px rgba(7, 30, 61, 0.6), 0 20px 60px rgba(7, 30, 61, 0.9); /* Massive navy blue glow coming from behind */
}

.service-card:hover .service-hover-card img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .service-card:hover {
        padding-left: 20px;
        padding-right: 20px;
    }
    .service-hover-card {
        display: none;
    }
    .service-name {
        font-size: 1.1rem;
    }
    .service-arrow {
        opacity: 1;
        transform: none;
    }
} /* Added missing closing bracket */

/* Swiper Testimonial constraints to match the Hendricks website exactly */
.swiper_testimonial {
    max-width: 820px;
    margin: 0 auto;
}
.swiper_testimonial .testimonial-block p,
.testimonial-text {
    font-size: 1.15rem; /* exact text size as in Hendricks */
    font-weight: 400;
    line-height: 1.8;
    color: #071E3D !important; /* Update to Navy Blue for light background */
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
}

.author-name {
    color: #071E3D !important;
}

.author-role {
    color: #666 !important;
}

/* 
===============================================
  Hendricks Law Premium Footer
===============================================
*/
.footer-warm {
    position: relative;
    z-index: 2000;
    background-color: #0a1628; /* Solid lower color matches Taina Vale structure */
    overflow: hidden;
    padding-bottom: 40px;
}

.footer-hero {
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
    /* Perceptually uniform Oklab transition with Ease-Out-Sine to guarantee absolute smoothness */
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #ced1d6 10.6%,
        #a1a7af 21.1%,
        #79818d 31.7%,
        #56606e 42.2%,
        #3a4555 52.8%,
        #253041 63.3%,
        #162133 73.9%,
        #0d192b 84.4%,
        #0a1628 95%,
        #0a1628 100%
    );
}

.footer-watermark {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 230px;
    font-family: 'Oranienbaum', serif;
    font-weight: 900;
    color: #0a1628 !important;
    opacity: 1;
    z-index: 1;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    line-height: 1;
    letter-spacing: -3px;
}

.footer-badge {
    position: absolute;
    top: 60%;
    z-index: 2;
    background-color: #111827; /* Dark charcoal */
    border-radius: 50px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-left {
    left: 15%;
    top: 62%;
}

.badge-right {
    right: 15%;
    top: 78%;
}

.badge-icon {
    width: 24px;
    height: 24px;
    background-color: #1f2937 !important; /* Dark grey instead of gold */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-icon svg, .badge-icon svg path {
    width: 12px;
    height: 12px;
    fill: #9ca3af !important; /* Light silver instead of navy/gold */
}

.footer-badge span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.footer-nav-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 60px;
    gap: 40px;
    background: transparent;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.col-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8fa7d9 !important; /* Pastel indigo to match reference screenshot */
    font-weight: 700;
    margin-bottom: 20px;
}

.col-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.col-links li {
    margin: 0;
    padding: 0;
}

.col-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #ffffff !important; /* White text to match reference screenshot */
    text-decoration: none;
    line-height: 2;
    font-weight: 500;
    transition: all 0.25s ease;
}

.col-links a:hover {
    color: #ffffff !important;
    padding-left: 4px; /* Subtle hover glide */
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
}

.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

.social-btn svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.footer-copyright {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 991px) {
    .footer-hero {
        height: 180px !important;
        overflow: visible !important;
        background: linear-gradient(
            180deg,
            #ffffff 0%,
            #ced1d6 10.6%,
            #a1a7af 21.1%,
            #79818d 31.7%,
            #56606e 42.2%,
            #3a4555 52.8%,
            #253041 63.3%,
            #162133 73.9%,
            #0d192b 84.4%,
            #0a1628 95%,
            #0a1628 100%
        ) !important;
    }
    .footer-watermark {
        font-size: 90px !important;
        top: 76% !important;
        color: #0a1628 !important;
        opacity: 0.9 !important;
    }
    .footer-nav-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 40px 32px;
    }
    .badge-left { left: 10%; top: 68%; }
    .badge-right { right: 10%; top: 84%; }
}

@media (max-width: 767px) {
    .footer-hero {
        height: 180px !important;
        overflow: visible !important;
        background: linear-gradient(
            180deg,
            #ffffff 0%,
            #ced1d6 10.6%,
            #a1a7af 21.1%,
            #79818d 31.7%,
            #56606e 42.2%,
            #3a4555 52.8%,
            #253041 63.3%,
            #162133 73.9%,
            #0d192b 84.4%,
            #0a1628 95%,
            #0a1628 100%
        ) !important;
    }
    .footer-watermark {
        font-size: 70px !important;
        top: 76% !important;
        color: #0a1628 !important;
        opacity: 0.9 !important;
    }
    .footer-nav-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 40px 20px;
    }
    .footer-badge {
        padding: 6px 12px !important;
    }
    .footer-badge span {
        font-size: 11px !important;
    }
    .badge-left { left: 5% !important; top: 65% !important; }
    .badge-right { right: 5% !important; top: 85% !important; }
}

/* Custom spacing overrides for scheduling section */
.calendly-section {
    padding-bottom: 0px !important;
}
.calendly-wrapper {
    padding-bottom: 10px !important;
}

/* =========================================
   PREMIUM EFFECTS ($5k Aesthetic Upgrades)
   ========================================= */

/* 1. Custom Cursor Removed */

/* 2. Glassmorphism Lead Capture Form */
.lead-form-wrapper {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 60px rgba(7, 30, 61, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px !important;
    overflow: hidden;
}

/* 3. Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 50;
    color: #fff;
    opacity: 0.8;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* 4. Light & Elegant Testimonial Section */
.testimonials-carousel {
    background-color: #F0F4F8 !important; /* Extremely light cool gray, fully within brand palette */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(197, 160, 89, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(7, 30, 61, 0.03) 0%, transparent 50%) !important;
}

.testimonials-carousel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22 opacity=%220.015%22/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 0;
}

.testimonial-card {
    background: #ffffff !important;
    border: 1px solid rgba(7, 30, 61, 0.05);
    box-shadow: 0 15px 35px rgba(7, 30, 61, 0.04);
    border-radius: 12px;
}

/* 5. Fun Facts Floating HUD Aesthetic */
.funfacts.bg_1 {
    position: relative;
    background: url("hl26/bg-1.jpg") no-repeat center center !important;
    background-size: cover !important;
    background-attachment: fixed !important; /* Parallax effect */
    padding: 100px 0;
}

.funfacts.bg_1::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7, 30, 61, 0.85); /* Deep navy overlay */
}

.funfacts_inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.funfact2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 20px;
}

.funfact2:last-child {
    border-right: none;
}

.funfact_content p {
    color: #a1a7af;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.funfact_content h2 {
    color: #C5A059; /* Champagne Gold */
    font-size: 3.5rem;
    font-weight: 300;
    font-family: 'Oranienbaum', serif;
    margin: 0;
}

.funfact_content span {
    color: #C5A059;
    font-size: 2rem;
    font-weight: 300;
    margin-left: 5px;
}

@media (max-width: 991px) {
    .funfacts_inner {
        flex-direction: column;
        gap: 40px;
    }
    .funfact2 {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 40px;
    }
    .funfact2:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #C5A059; /* Champagne Gold */
    color: #fff !important;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-sticky-cta:hover {
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.6);
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }
}

/* Mobile Adjustments for Services Card */
@media (max-width: 768px) {
    .services-list-container {
        padding: 20px 20px 40px 20px;
        border-radius: 16px;
    }
}

/* Fix Hero Scroll Indicator Overlap on smaller screens */
@media (max-width: 991px) {
    .hero-scroll-indicator {
        display: none !important;
    }
}


