body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    /* background-color: #f0f2f5; */
    background-color: #ffffff;
    color: #1c1e21;
}

.container {
    width: 100%;
    margin: 0 auto;
    background-color: transparent; /* Changed from white */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#profile-content {
    flex-grow: 1;
}

.state-container {
    padding: 40px;
    text-align: center;
}

/* Header */
.profile-header {
    /* background-color: #007AFF; huntero blue */
    background-color: #adcee5; /* huntero purple */
    height: 125px;
    width: 100%;
}

.header-content-wrapper {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 24px; /* Increased gap */
    /* padding: 0 30px; */
    margin-top: -70px; /* Overlap effect */
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    background-color: #e0e0e0;
    flex-shrink: 0;
}

.profile-details-wrapper {
    padding-top: 70px; /* Push content down to align with bottom of header */
}

.profile-info {
    padding-bottom: 0;
}

#provider-name {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1c1e21;
}

.provider-category {
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 400;
    color: #65676b;
}

/* Main Content */
.profile-main {
    padding: 30px;
    box-sizing: border-box;
    /* REMOVED max-width and auto margins to make layout full-width */
}

#provider-bio {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 16px; /* Space below category */
    margin-bottom: 24px;
    max-width: 650px; /* For readability */
}

.book-now-btn {
    display: inline-block;
    background-color: #1a4ca3d4; /* color shceme for button */
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
}

/* Navigation */
.profile-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 30px; /* Space above nav */
    padding: 0 30px 0 0; /* Align with content */
    overflow-x: auto;
}

.nav-button {
    padding: 8px 16px;
    border: none;
    /* background-color: transparent; */
    background-color: #e9e9e9;
    font-size: 15px;
    font-weight: 600;
    /* color: #333; */
    color: #4a5d85;
    cursor: pointer;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.nav-button:hover {
    background-color: #4a5d85;
    /* border-color: #4a5d85; */
    color: #ffffff;
}

.nav-button.active {
    color: #fff;
    background-color: #4a5d85;
    /* border-color: #007AFF; */
}

/* Tab Content Styles */
.tab-content {
    display: none;
    margin-top: 80px;
}

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

/* Content Cards */
.content-card {
    background-color: #fff;
    border-radius: 8px;
    /* border: 1px solid #dcdfe3; */
    margin-bottom: 20px;
    padding: 24px;
}

.highlighted-card {
    background-color: #ffffff; /* A soft, light blue */
    border-color: #d1e0ec;
}

.highlighted-card h4,
.highlighted-card p,
.highlighted-card .day,
.highlighted-card .time {
    color: #333;
}

.profile-hero-card {
    padding: 0;
    border: none;
    background-color: transparent;
}

/* Individual Card Styles */
.content-card h4 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1c1e21;
    padding: 0; /* Padding is now on the parent card */
}

/* Content Panes */
.content-pane {
    display: none;
}

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

/* Individual Pane Styles */
.profile-gallery h4,
.business-hours h4 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #1c1e21;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 0; /* Padding is now on the parent card */
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hours-list {
    display: grid;
    gap: 12px;
    padding: 0; /* Padding is now on the parent card */
    max-width: 400px; /* Constrain width to reduce gap */
}

/* Services List */
.services-list {
    display: grid;
    gap: 16px;
}

.service-item {
    padding-bottom: 16px;
    /* border-bottom: 1px solid #e9ebee; */
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.service-price {
    font-size: 16px;
    font-weight: 600;
    color: #1c1e21;
}

.service-description {
    font-size: 14px;
    color: #65676b;
    line-height: 1.5;
}

.day-schedule {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    /* border-bottom: 1px solid #e9ebee; */
}

.day-schedule:last-child {
    border-bottom: none;
}

.day-schedule .day {
    font-weight: 600;
}

/* Footer */
.profile-footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #65676b;
    background-color: #d7e7eb42;
    /* background-color: #ffffff; */
}

.profile-footer a {
    color: #007AFF;
    text-decoration: none;
}

/* Responsive * ---------------------  */
@media (max-width: 768px) {
    .profile-main {
        padding: 15px;
    }

    .header-content-wrapper {
        flex-direction: column;
        /* align-items: center; */
        /* text-align: center; */
        gap: 15px;
        margin-top: -80px;
        /* padding: 0 15px; */
    }

    .profile-details-wrapper {
        padding-top: 0;
    }

    .profile-header {
        /* height: 120px; */
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    #provider-name {
        font-size: 24px;
    }
    
    .provider-category {
        font-size: 16px;
    }
    
    #provider-bio {
        /* text-align: center; */
    }

    .book-now-btn {
        /* width: 100%; */
    }

    .profile-nav {
        /* flex-wrap: wrap; */
        justify-content: flex-start;
    }

    .nav-button {
        /* flex-grow: 1; */
        text-align: center;
    }

    .tab-content {
        margin-top: 30px;
    }

    .content-card {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        padding: 15px;
    }
} 


/* #050465c2 or #422e77 purple color for huntero */
/* #3e4e6f for navigation color */