/* Call-to-Action Section - FIXED TEXT VISIBILITY */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        #018a42 0%, 
        #0242a4 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CTA Content - TEXT VISIBLE */
.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* CTA Text Styles - TEXT VISIBLE */
.cta-text {
    max-width: 600px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-badge i {
    color: #FFD700;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* CTA Features - TEXT VISIBLE */
.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item i {
    color: #4CD964;
}

/* CTA Buttons - TEXT VISIBLE */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
    justify-content: center;
}

.cta-btn-primary {
    background: white;
    color: #0242a4;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-5px);
}

/* CTA Assurance - TEXT VISIBLE */
.cta-assurance {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-assurance i {
    color: #4CD964;
}

/* CTA Visual - Card */
.cta-visual {
    position: relative;
}

.cta-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    color: #0A1E3C;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(2, 66, 164, 0.1);
}

.advisor-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #018a42, #0242a4);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.profile-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #0A1E3C;
}

.profile-info p {
    font-size: 0.9rem;
    color: #5D6D7E;
}

.availability-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(76, 217, 100, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #018a42;
}

.dot {
    width: 8px;
    height: 8px;
    background: #4CD964;
    border-radius: 50%;
}

/* Card Content - TEXT VISIBLE */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(1, 138, 66, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.method-item:hover {
    background: rgba(1, 138, 66, 0.1);
    transform: translateX(5px);
}

.method-item i {
    color: #0242a4;
    font-size: 1.2rem;
    width: 30px;
}

.method-item h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #0A1E3C;
}

.method-item p {
    font-size: 0.85rem;
    color: #5D6D7E;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #018a42;
    font-weight: 500;
}

/* Simple Entrance Animation */
.cta-content {
    animation: fadeIn 0.8s ease-out;
}

.cta-card {
    animation: slideInRight 0.8s ease-out 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hover Animations */
.cta-btn-primary,
.cta-btn-secondary,
.feature-item,
.method-item {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pulsing dot animation */
.dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Star twinkle */
.cta-badge i {
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .cta-text {
        max-width: 100%;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-assurance {
        justify-content: center;
    }
    
    .cta-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-description {
        font-size: 1.05rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .availability-badge {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        justify-content: center;
    }
    
    .cta-card {
        padding: 25px 20px;
    }
    
    .advisor-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .method-item {
        padding: 12px;
    }
}

/* Force Text Visibility - IMPORTANT FIX */
.cta-title,
.cta-description,
.cta-badge,
.feature-item span,
.cta-btn,
.cta-assurance span,
.profile-info h4,
.profile-info p,
.method-item h5,
.method-item p,
.response-time span,
.availability-badge span {
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
}

/* Ensure all text is visible */
.cta-content,
.cta-text,
.cta-visual,
.cta-card {
    opacity: 1 !important;
    visibility: visible !important;
}

/* --- NEW SCROLL ANIMATIONS --- */

/* Initial state for scroll reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Active state triggered by JS */
.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for a professional feel */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- ATTRACTIVE VISUAL EFFECTS --- */

/* Floating effect for the card */
.cta-card {
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Shine effect on the primary button */
.cta-btn-primary {
    position: relative;
    overflow: hidden;
}

.cta-btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
    animation: btnShine 4s infinite;
}

@keyframes btnShine {
    0% { left: -60%; }
    15% { left: 120%; }
    100% { left: 120%; }
}

/* Enhanced hover for feature items */
.feature-item:hover {
    background: white !important;
    color: #0242a4 !important;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


