/* --- Header --- */
.header-v3 {
    font-family: 'Inter', sans-serif;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container-v3 {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links-v3 {
    display: flex;
    gap: 2rem;
}

.nav-links-v3 a {
    color: #6c757d;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links-v3 a:hover {
    color: #0d6efd;
}

.nav-auth-v3 {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-auth-v3 a {
    color: #343a40;
    font-weight: 500;
    text-decoration: none;
}

.btn-signup-v3 {
    background: #0d6efd;
    color: #fff !important;
    padding: 0.6rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-signup-v3:hover {
    background: #0b5ed7;
}

/* --- Mobile Navigation Toggle --- */
.pro-mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    z-index: 101;
}

.pro-hamburger {
    position: relative;
    top: 14px;
    width: 24px;
    height: 2px;
    background-color: #343a40;
    transition: all 0.2s ease-in-out;
}

.pro-hamburger::before,
.pro-hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #343a40;
    transition: all 0.2s ease-in-out;
}

.pro-hamburger::before {
    transform: translateY(-8px);
}

.pro-hamburger::after {
    transform: translateY(8px);
}

/* Active State (X) */
.pro-mobile-nav-toggle.active .pro-hamburger {
    background-color: transparent;
}

.pro-mobile-nav-toggle.active .pro-hamburger::before {
    transform: rotate(45deg);
}

.pro-mobile-nav-toggle.active .pro-hamburger::after {
    transform: rotate(-45deg);
}
    
@media (max-width: 768px) {
    .nav-container-v3 {
        padding: 0 1rem;
        position: relative;
    }
    .nav-links-v3,
    .nav-auth-v3 {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 1rem 0;
        z-index: 99;
    }
    .nav-links-v3.active,
    .nav-auth-v3.active {
        display: flex;
    }
    .nav-links-v3 a,
    .nav-auth-v3 a {
        padding: 0.75rem 1rem;
        text-align: center;
        border-bottom: 1px solid #e9ecef;
    }
    .nav-auth-v3 a:last-child {
        border-bottom: none;
    }
    .nav-auth-v3 .btn-signup-v3 {
        margin: 0.5rem auto;
        display: block;
        width: fit-content;
    }
    .pro-mobile-nav-toggle {
        display: block;
    }
}
/* General Search Form Styles */
.input-group-lg .form-select-lg {
    font-size: 1.1rem;
}
.input-group-lg .btn {
    font-size: 1.1rem;
}
.container.mt-5.mb-5 {
    max-width: 1200px;
}

/* Responsive Pro Card Styling */
.pro-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pro-card-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pro-card .search-profile-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e9ecef;
    flex-shrink: 0;
}

.pro-card .pro-details-content {
    flex-grow: 1;
    min-width: 0; /* Prevents text overflow issues in flexbox */
}

.pro-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #212529;
}

.pro-subtitle-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.pro-card .rating-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.pro-card .rating-info .fa-star {
    color: #fdcc0d;
}

.pro-card .pro-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    border: 1px solid #b7e4c7;
    color: #087f5b;
}

.pro-card .specialties-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pro-card .specialties-badges .badge {
    background-color: #eef2f7 !important;
    color: #4a5568 !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}

.badge-item.verified {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background-color: #e6f7ec;
    border: 1px solid #b7e4c7;
    color: #087f5b;
}

.badge-item.verified .badge-icon svg {
    width: 1em;
    height: 1em;
    stroke-width: 2.5;
    stroke: currentColor;
}

.pro-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pro-card-section {
    flex: 1;
    min-width: 0;
}

.pro-card-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pro-card-section-title .section-icon {
    font-size: 1.0rem;
    color: #343a40;
}

.pro-card-section-title h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-bottom: 0.4rem;
}

.pro-card-section-title h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #0d6efd;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-item {
    background-color: #f1f3f5 !important;
    color: #495057 !important;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

.pro-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pro-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    padding-top: 0.5rem;
}

.pro-socials .social-link {
    font-size: 1.3rem;
    color: #6c757d;
    transition: color 0.2s ease-in-out;
}

.pro-socials .social-link:hover {
    color: #343a40;
}

.pro-actions .btn {
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    width: 100%;
}

.pro-actions .btn-call {
    background-color: #fff;
    color: #28a745;
    border-color: #28a745;
}
.pro-actions .btn-call:hover {
    background-color: #28a745;
    color: #fff;
}

.pro-actions .btn-contact {
    background-color: #0d6efd;
    color: #fff;
}
.pro-actions .btn-contact:hover {
    background-color: #0b5ed7;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .pro-card {
        display: grid;
        grid-template-areas:
            "main actions"
            "body body";
        grid-template-columns: 1fr auto;
        align-items: start;
        gap: 1.5rem 2rem;
        padding: 2rem;
    }

    .pro-card-main {
        grid-area: main;
        gap: 1.5rem;
    }

    .pro-card .search-profile-logo {
        width: 120px;
        height: 120px;
    }
    
    .pro-card-body {
        grid-area: body;
        flex-direction: row;
        gap: 2rem;
    }

    .pro-card-section {
        min-width: 200px;
    }

    .pro-actions {
        grid-area: actions;
        flex-direction: column;
        align-items: flex-end;
        width: auto;
        gap: 1rem;
    }

    .action-buttons {
        flex-direction: row;
        gap: 0.75rem;
    }

    .pro-actions .btn {
        width: auto;
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .pro-card .card-title {
        font-size: 1.5rem;
    }

    .pro-socials {
        justify-content: flex-end;
    }
}

/* CTA Banner Styling */
.cta-banner {
    background-color: #0d6efd;
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn {
    background-color: #338dff;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out;
}

.cta-banner .btn:hover {
    background-color: #5aa4ff;
}

/* --- Footer --- */
.header-logo-img {
    height: 70px;
    width: auto;
    vertical-align: middle;
}

.footer-v3 {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 3rem 1rem 1.5rem 1rem;
    margin-top: 3rem;
}

.footer-content-v3 {
    max-width: 1300px;
    margin: 0 auto 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section-v3 h3 {
    color: #0d6efd;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section-v3 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section-v3 li {
    margin-bottom: 0.5rem;
}

.footer-section-v3 a {
    color: #6c757d;
    font-size: 0.97rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section-v3 a:hover {
    color: #0d6efd;
}

.footer-bottom-v3 {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #6c757d;
}

.legal-links-v3 a {
    color: #6c757d;
    text-decoration: none;
    margin-left: 0.5rem;
}

.legal-links-v3 a:hover {
    color: #0d6efd;
}

.social-icons-v3 {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-icons-v3 a {
    color: #6c757d;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons-v3 a:hover {
    color: #0d6efd;
}

.social-icons-v3 a[aria-label="Twitter"]:hover { color: #000000; }
.social-icons-v3 a[aria-label="Facebook"]:hover { color: #1877F2; }
.social-icons-v3 a[aria-label="Instagram"]:hover { color: #E4405F; }
.social-icons-v3 a[aria-label="LinkedIn"]:hover { color: #0A66C2; }

@media (max-width: 768px) {
    .footer-content-v3 {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-content-v3 .logo-v3 {
        justify-content: center;
        display: flex;
    }
    .social-icons-v3 {
        justify-content: center;
    }
    .footer-bottom-v3 {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
} 