/* consult.css */

/* Float Animation for Hero Icon */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Tab Buttons */
.tab-btn {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #6b7280;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, #146c94, #19a7ce);
    color: white;
    border-color: #146c94;
    box-shadow: 0 6px 15px rgba(20, 108, 148, 0.3);
}

.tab-btn i {
    font-size: 1.25rem;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Items */
.service-item {
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: default;
}

.service-item:hover {
    background: white;
    border-color: #146c94;
    box-shadow: 0 4px 12px rgba(20, 108, 148, 0.15);
    transform: translateX(-5px);
}

.service-item span {
    color: #374151;
    font-weight: 500;
    line-height: 1.6;
}

/* Consult Button */
.consult-btn {
    background: linear-gradient(135deg, #146c94, #19a7ce);
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    padding: 1rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(20, 108, 148, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.consult-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(20, 108, 148, 0.4);
}

.consult-btn:active {
    transform: translateY(-1px);
}

/* Client Logos */
.client-logo-wrapper {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.client-logo-wrapper:hover {
    border-color: #146c94;
    box-shadow: 0 8px 20px rgba(20, 108, 148, 0.15);
    transform: translateY(-5px);
}

.client-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-wrapper:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Modal Styles */
#consultModal.show,
#successModal.show,
#termsModal.show,
#pricingModal.show {
    display: flex !important;
}

#consultModal.show #consultModalContent,
#successModal.show #successModalContent,
#termsModal.show > div:nth-child(2),
#pricingModal.show > div:nth-child(2) {
    transform: scale(1);
    opacity: 1;
}

/* Radio and Checkbox Labels */
.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #374151;
}

.radio-label:hover,
.checkbox-label:hover {
    background: #eff6ff;
    border-color: #146c94;
}

.radio-label input:checked ~ span,
.checkbox-label input:checked ~ span {
    color: #146c94;
    font-weight: 600;
}

.radio-label input:checked,
.checkbox-label input:checked {
    accent-color: #146c94;
}

/* Info Links */
.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-link:hover {
    background: #eff6ff;
    border-color: #146c94;
    color: #146c94;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 108, 148, 0.15);
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    right: 50%;
    margin: -10px -10px 0 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .tab-btn i {
        font-size: 1rem;
    }

    .service-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .service-item i {
        margin: 0 0 0.5rem 0 !important;
    }

    .client-logo-wrapper {
        min-height: 100px;
    }

    .consult-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Form Input Focus */
input:focus,
select:focus,
textarea:focus {
    border-color: #146c94 !important;
    box-shadow: 0 0 0 4px rgba(20, 108, 148, 0.1) !important;
}

/* Select Arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: left 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-left: 2.5rem;
}

/* Active nav indicator */
nav a[href="consult"] {
    position: relative;
}

nav a[href="consult"]::after
{
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #146c94, #19a7ce);
    border-radius: 3px 3px 0 0;
}
