
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(160, 152, 187);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);   
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.overlay-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
}

.close-btn:hover {
    color: var(--text-color);
}

.overlay-body {
    text-align: center;
}

.overlay-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

#callbackForm {
    max-width: 100%;
}

#callbackForm .form-group {
    margin-bottom: 1rem;
}

#callbackForm input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#callbackForm .cta-button {
    width: 100%;
    margin-top: 1rem;
    background-color: #f7931e;
}

#callbackForm .cta-button:hover {
    background-color: #e67e00;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Plan Strategy Call Button */
.plan-strategy-call {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    background: linear-gradient(to top, #4f46e5, #818cf8);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
}

.plan-strategy-call a {
    display: block;
    padding: 1.5rem 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
}

.plan-strategy-call:hover {
    right: -10px; /* A little effect on hover */
}
