/*
 * HOMEPAGE COMPLETE VISUAL REDESIGN
 */

/* NAVY BLUE HERO OVERLAYS */
.page-header-overlay {
    background: rgba(26, 58, 82, 0.5) !important;
}

/* HERO PADDING FIX */
.hero {
    padding: 6rem 0 2rem 0 !important;
}

.hero-text {
    padding-top: 5rem !important;
}

/* PAGE HEADER PADDING FIX */
.page-header {
    padding: 6rem 0 4rem 0 !important;
}

.page-header-content {
    padding-top: 2rem !important;
}

/* SECTIONS WITH BACKGROUND IMAGE */
.mission-section.pledge-section-with-bg,
.mission-section.how-we-fight-section-with-bg {
    position: relative !important;
    overflow: hidden !important;
}

.pledge-section-with-bg .mission-section-background,
.how-we-fight-section-with-bg .mission-section-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    display: block !important;
}

.pledge-section-with-bg .mission-section-bg-image,
.how-we-fight-section-with-bg .mission-section-bg-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.5 !important;
}

.pledge-section-with-bg .mission-section-overlay,
.how-we-fight-section-with-bg .mission-section-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(5, 29, 64, 0.65) 0%, rgba(10, 42, 92, 0.6) 100%) !important;
}

.pledge-section-with-bg .container,
.how-we-fight-section-with-bg .container {
    position: relative !important;
    z-index: 2 !important;
}

/* WHO WE ARE - Full width centered content with background image overlay */
.who-we-are-preview {
    background: #051d40 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.who-we-are-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    display: block !important;
}

.who-we-are-bg-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.15 !important;
}

.who-we-are-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(5, 29, 64, 0.95) 0%, rgba(10, 42, 92, 0.9) 100%) !important;
}

.who-we-are-preview .container {
    max-width: 1200px !important;
    padding: 6rem 3rem !important;
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
}

.who-we-are-preview .container::before {
    display: none !important;
}

.who-we-are-preview .section-header,
.pledge-content {
    padding: 0 !important;
    grid-column: unset !important;
}

.who-we-are-preview .section-header {
    text-align: center !important;
    margin-bottom: 3rem !important;
}

.who-we-are-preview .section-header h2 {
    color: white !important;
    font-size: 4rem !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

.who-we-are-preview .section-subtitle {
    color: #87CEEB !important;
    font-size: 1.8rem !important;
    text-align: center !important;
    font-weight: 400 !important;
}

.pledge-content {
    padding-top: 0 !important;
}

.pledge-text {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.25rem !important;
    line-height: 1.8 !important;
    margin-bottom: 4rem !important;
    font-weight: 400 !important;
    text-align: center !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.values-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    margin-bottom: 3rem !important;
    justify-content: center !important;
}

.value-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(135, 206, 235, 0.2) !important;
    border-left: none !important;
    padding: 2.5rem 1.5rem !important;
    transition: all 0.4s ease !important;
    border-radius: 12px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.value-item::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #4A90E2 0%, #87CEEB 100%) !important;
    transition: width 0.4s ease !important;
}

.value-item:hover::after {
    width: 80% !important;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #87CEEB !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 10px 30px rgba(135, 206, 235, 0.2) !important;
}

.value-icon {
    display: flex !important;
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 1.5rem !important;
    background: linear-gradient(135deg, #4A90E2 0%, #87CEEB 100%) !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s ease !important;
}

.value-item:hover .value-icon {
    transform: scale(1.15) !important;
}

.value-icon svg {
    width: 28px !important;
    height: 28px !important;
    color: #051d40 !important;
}

.who-we-are-preview .value-item h3,
.mission-section.blue-bg .value-item h3 {
    color: white !important;
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

.who-we-are-preview .value-item p,
.mission-section.blue-bg .value-item p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.cta-section {
    text-align: center !important;
    margin-top: 3rem !important;
}

.btn-outline {
    display: inline-block !important;
    padding: 1.2rem 3rem !important;
    background: transparent !important;
    color: white !important;
    border: 2px solid #87CEEB !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
}

.btn-outline:hover {
    background: #87CEEB !important;
    color: #051d40 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(135, 206, 235, 0.4) !important;
}

/* PRACTICE AREAS - Light background with 3-column cards */
.practice-areas-preview {
    position: relative !important;
    padding: 5rem 0 !important;
}

.practice-areas-background {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

.practice-areas-bg-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.practice-areas-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(rgba(248, 249, 250, 0.75), rgba(248, 249, 250, 0.75)) !important;
    z-index: 1 !important;
}

.practice-areas-content {
    position: relative !important;
    z-index: 2 !important;
}

.practice-areas-preview .section-header h2 {
    color: #051d40 !important;
    font-size: 3rem !important;
}

.section-subtitle {
    color: #666 !important;
}

.practice-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
    margin-top: 3rem !important;
}

.practice-item {
    background: white !important;
    border-radius: 12px !important;
    padding: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    border-top: 5px solid #4A90E2 !important;
    display: grid !important;
    grid-template-rows: auto auto 1fr auto !important;
}

.practice-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
}

.practice-icon {
    width: 100% !important;
    height: 100px !important;
    background: linear-gradient(135deg, #051d40 0%, #0a2a5c 100%) !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.practice-icon svg {
    width: 50px !important;
    height: 50px !important;
    color: white !important;
}

.practice-item h3 {
    color: #051d40 !important;
    font-size: 1.35rem !important;
    padding: 2rem 2rem 1rem !important;
    margin: 0 !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.practice-item p {
    color: #666 !important;
    padding: 0 2rem 2rem !important;
    margin: 0 !important;
    line-height: 1.7 !important;
    font-size: 1.05rem !important;
}

.practice-btn {
    display: block !important;
    width: 100% !important;
    padding: 1rem !important;
    background: #f8f9fa !important;
    color: #4A90E2 !important;
    font-weight: 700 !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    align-self: end !important;
}

.practice-btn:hover {
    background: #4A90E2 !important;
    color: white !important;
}

/* WHY CHOOSE - Clean white section with 2x2 grid */
.why-choose {
    background: white !important;
    padding: 6rem 0 !important;
    position: relative !important;
}

.why-choose-split {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
}

.why-choose-image {
    position: relative !important;
    height: 450px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.why-choose-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.why-choose-text {
    padding-left: 2rem !important;
}

.why-choose .section-header h2 {
    font-size: 3.5rem !important;
    color: #051d40 !important;
    margin-bottom: 1rem !important;
    text-align: left !important;
}


.mission-statement {
    margin: 3rem 0 0 !important;
    text-align: left !important;
}

.mission-statement p {
    font-size: 1.35rem !important;
    line-height: 1.9 !important;
    color: #4a5568 !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
}

@media (max-width: 968px) {
    .why-choose-split {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .why-choose-image {
        height: 350px !important;
    }

    .why-choose-text {
        padding-left: 0 !important;
    }

    .why-choose .section-header h2 {
        font-size: 2.5rem !important;
        text-align: center !important;
    }

    .mission-statement {
        text-align: center !important;
    }
}

.benefits-grid {
    display: none !important;
}

.benefit-item {
    display: none !important;
}

.benefit-item::before {
    display: none !important;
}

.benefit-item:hover::before {
    display: none !important;
}

.benefit-item:hover {
    display: none !important;
}

.benefit-icon {
    display: flex !important;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.benefit-icon svg {
    width: 35px !important;
    height: 35px !important;
    color: white !important;
}

.benefit-item h3 {
    font-size: 1.6rem !important;
    margin: 0 0 1rem 0 !important;
    text-align: left !important;
    font-weight: 600 !important;
    color: #051d40 !important;
}

.benefit-item p {
    color: #555 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: 1.1rem !important;
}

/* FINAL CTA - Bold colored section */
.final-cta {
    background: #f8f9fa !important;
    padding: 5rem 0 !important;
    position: relative !important;
}

/* Make sure wrapper layout with images works */
.final-cta .cta-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
}

.final-cta .cta-wrapper .cta-image {
    display: block !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    height: 400px !important;
}

.final-cta .cta-wrapper .cta-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.cta-centered-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.cta-centered-layout h2 {
    color: #051d40 !important;
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
}

.cta-centered-layout p {
    color: #4a5568 !important;
    font-size: 1.3rem !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.8 !important;
}

.cta-centered-layout .cta-buttons {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.cta-centered-layout .cta-buttons .cta-secondary {
    background: white !important;
    color: #051d40 !important;
    border: 2px solid #051d40 !important;
}

.cta-centered-layout .cta-buttons .cta-secondary:hover {
    background: #051d40 !important;
    color: white !important;
    border-color: #051d40 !important;
}

@media (max-width: 968px) {
    .cta-centered-layout h2 {
        font-size: 2.5rem !important;
    }

    .cta-centered-layout .cta-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }
}

.cta-buttons {
    display: flex !important;
    gap: 1.5rem !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
}

@media (max-width: 768px) {
    .hero-layout {
        text-align: center !important;
    }

    .hero-text {
        text-align: center !important;
    }

    .hero-title {
        text-align: center !important;
    }

    .hero-subtitle {
        text-align: center !important;
    }

    .hero-cta {
        justify-content: center !important;
    }

    .cta-buttons {
        justify-content: center !important;
    }

    .hero-form {
        text-align: center !important;
    }

    .hero-form h3 {
        text-align: center !important;
    }

    .hero-form .form-subtitle {
        text-align: center !important;
    }
}

.hero-cta .cta-secondary {
    padding: 1rem 2rem !important;
    background: white !important;
    color: #051d40 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-cta .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3) !important;
}

.page-header-cta .cta-primary,
.cta-buttons .cta-primary,
.cta-section .cta-primary {
    padding: 1rem 2rem !important;
    background: #051d40 !important;
    color: white !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-header-cta .cta-primary:hover,
.cta-buttons .cta-primary:hover,
.cta-section .cta-primary:hover {
    background: #0a2a5c !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(5, 29, 64, 0.4) !important;
}

.page-header-cta .cta-secondary,
.cta-buttons .cta-secondary {
    padding: 1rem 2rem !important;
    background: white !important;
    color: #051d40 !important;
    border: 2px solid white !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-header-cta .cta-secondary:hover,
.cta-buttons .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #051d40 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3) !important;
}

/* Responsive for cta-wrapper */
@media (max-width: 768px) {
    .final-cta .cta-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .final-cta .cta-wrapper .cta-image {
        height: 300px !important;
    }

    .final-cta .cta-wrapper .cta-content h2 {
        font-size: 2rem !important;
    }
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .who-we-are-preview .container {
        grid-template-columns: 1fr !important;
    }

    .who-we-are-preview .container {
        padding: 4rem 2rem !important;
    }

    .who-we-are-preview .section-header h2 {
        font-size: 2.5rem !important;
    }

    .who-we-are-preview .section-subtitle {
        font-size: 1.3rem !important;
    }

    .pledge-text {
        font-size: 1.1rem !important;
    }

    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .practice-grid {
        grid-template-columns: 1fr !important;
    }

    .benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .benefit-item {
        text-align: center !important;
        align-items: center !important;
    }

    .benefit-icon {
        margin: 0 0 1.5rem 0 !important;
    }

    .benefit-item h3,
    .benefit-item p {
        text-align: center !important;
    }

    .cta-buttons {
        flex-direction: column !important;
    }

    .cta-primary,
    .cta-secondary {
        width: 100% !important;
    }
}
