/* LendingTree-Style Professional Photo Sections */

/* Remove old cheesy photos */
.lifestyle-photo-1,
.lifestyle-photo-2,
.lifestyle-photo-3 {
    display: none !important;
}

/* Hero Section with Professional Photo */
.hero-with-photo {
    position: relative;
    background: linear-gradient(135deg, #E8F5F2 0%, #F0F9FF 100%);
    padding: 80px 0;
}

.hero-photo-container {
    position: relative;
    max-width: 600px;
    margin-left: auto;
}

.hero-photo-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

/* Green circular arc overlay */
.hero-photo-container::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 8px solid #10b981;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
}

.hero-photo-container::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 0;
    opacity: 0.1;
}

/* Professional Section with Photo */
.professional-section {
    background: #FFFFFF;
    padding: 80px 0;
    position: relative;
}

.professional-section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.professional-photo-wrapper {
    position: relative;
}

.professional-photo-wrapper img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Green arc graphic overlay */
.professional-photo-wrapper::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border: 6px solid #10b981;
    border-radius: 50%;
    top: -30px;
    right: -30px;
    z-index: -1;
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
}

/* Dark Teal Section (like LendingTree founder section) */
.dark-teal-section {
    background: linear-gradient(135deg, #0F6B5E 0%, #0A5048 100%);
    padding: 80px 0;
    color: #FFFFFF;
}

.dark-teal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.dark-teal-photo {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.dark-teal-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.dark-teal-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #E8F5F2;
    margin-bottom: 32px;
}

.btn-white-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-white-outline:hover {
    background: #FFFFFF;
    color: #0F6B5E;
}

/* Team Photo Section */
.team-section {
    background: #F9FAFB;
    padding: 80px 0;
}

.team-photo {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    margin: 40px auto;
    display: block;
}

/* Floating UI Elements Overlay (like LendingTree) */
.ui-overlay {
    position: absolute;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.ui-overlay-top-right {
    top: 20px;
    right: 20px;
}

.ui-overlay-bottom-left {
    bottom: 20px;
    left: 20px;
}

.ui-overlay h4 {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ui-overlay-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ui-overlay-option input[type="radio"] {
    accent-color: #10b981;
}

.ui-overlay-option label {
    font-size: 14px;
    color: #1A1A1A;
}

/* Responsive */
@media (max-width: 768px) {
    .professional-section-content,
    .dark-teal-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-photo-container,
    .professional-photo-wrapper img,
    .dark-teal-photo,
    .team-photo {
        max-width: 100%;
    }
}
