
:root {
    --dark-orange: #f24b22;
    --light-orange: #f8d5b1;
    --white: #fff;
    --text-dark: #333;
    --gray: #777;
    --border: #e5e5e5;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #fafafa;
}

.header {
    padding: 20px;
    text-align: center;
    background: var(--dark-orange);
    color: var(--white);
}

.filter-box {
    background: var(--light-orange);
    padding: 30px;
    text-align: center;
    background-color: #0D2338;
    color: #e5e5e5;
}

.filter-box h3 {
    margin: 0;
    font-size: 24px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

select, .btn {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 14px;
}

.btn {
    background: var(--dark-orange);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.card-container {
    padding: 120px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-3px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-body h4 {
    margin: 0;
    color: var(--dark-orange);
    font-size: 25px;
}

.subtitlea {
    color: var(--gray);
    /*margin: 5px 0;*/
    padding-top: 15px;
    text-align: left;
    margin-left: -20px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 0px;
}

.info {
    display: flex;
    justify-content: left;
    margin: 10px 0;
    font-size: 16px;
    color: var(--text-dark);
}

.tags span {
    display: inline-block;
    background: var(--light-orange);
    padding: 4px 10px;
    border-radius: 5px;
    margin-right: 5px;
    font-size: 12px;
}

.hire-btn {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background: var(--dark-orange);
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}
/*============================== author page design*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #fafafa;
    color: #222;
}

/* MAIN LAYOUT */
.expert-header {
    display: grid;
    justify-content: center;
    padding: 40px;
    gap: 30px;
    background: white;
}

.expert-photo img {
    width: 230px;
    border-radius: 10px;
}

.hire-btn {
    background: #f24b22;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 12px;
}

.hire-btn:hover {
    background: #f24b22;
}

.rating-row {
    margin: 10px 0;
    font-size: 18px;
}

.star {
    color: #f24b22;
    font-size: 22px;
}

.stats-grid {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.stat {
    background: #fff6ef;
    padding: 10px;
    border-radius: 6px;
}

.details-section {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    background: white;
    gap: 20px;
}

.detail-block h3 {
    margin-bottom: 8px;
}

.tag {
    display: inline-block;
    background: #eee;
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 6px;
}

.show-all {
    background: #f24b22;
    color: white;
}

.reviews-section {
    padding: 40px;
}

.review-bars .bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-line {
    flex: 1;
    background: #eee;
    height: 8px;
    border-radius: 5px;
}

.bar-line > div {
    background: #f24b22;
    height: 100%;
    border-radius: 5px;
}

.review-card {
    background: white;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
}

.review-header {
    display: flex;
    justify-content: space-between;
}

.positive {
    color: #008f00;
    font-weight: bold;
}

.review-user {
    display: block;
    margin-top: 10px;
    color: #666;
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    right: 20px;
    top: 120px;
    width: 300px;
}

.side-card {
    background: #f24b22;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.side-photo {
    border-radius: 50%;
    width: 90px;
    margin-bottom: 15px;
}

.input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    margin: 8px 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .expert-header {
        flex-direction: column;
        text-align: center;
    }

    .sidebar {
        position: static;
        width: 100%;
        margin-top: 40px;
    }
}


/*author 2 section  page design==============*/
:root {
    --orange-dark: #f24b22;
    --orange-light: #ff7a1a;
    --text-dark: #1a1a1a;
    --bg-light: #ffffff;
    --gray: #777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.expert-header {
    padding: 40px 5%;
    background: var(--bg-light);
}

.expert-header-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-left: 100px;
}

/* LEFT SECTION */
.expert-info-left {
    border: 1px solid #ff4400;
    padding: 20px;
    border-radius: 10px;

}
.expert-left h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.expert-top-row {
    display: flex;
    gap: 25px;
}

.expert-photo {
    width: 220px;
    height: 220px;
    border-radius: 10px;
    object-fit: cover;
}

.expert-stats {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star {
    font-size: 24px;
    color: #f24b22;
}

.rating-number {
    font-size: 22px;
    font-weight: bold;
}

.reviews-link {
    font-size: 14px;
    color: #f24b22;
    text-decoration: none;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.icon {
    width: 20px;
    opacity: 0.8;
}

.stat-label {
    color: var(--gray);
}

.stat-value {
    font-weight: bold;
}

.online-status {
    font-size: 12px;
    color: var(--gray);
    margin-top: 10px;
}

/* RIGHT SECTION */
.hire-btn {
    background: #f24b22;
    color: white;
    padding: 12px 26px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    font-weight: bold;
}

.hire-btn:hover {
    background: var(--orange-light);
}

.expert-right {
    max-width: 450px;
}

.expert-desc {
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 15px;
    max-height: 155px;
    overflow: hidden;
    transition: 0.3s;
}

.read-more {
    margin-top: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #f24b22;
    font-size: 15px;
    font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .expert-header-container {
        flex-direction: column;
    }
    .expert-right {
        max-width: 100%;
    }
    .expert-photo {
        width: 180px;
        height: 180px;
    }
}
/*authpr page 2 more design========*/
:root {
    --orange-dark: #cc5500;
    --orange-light: #ff7a1a;
    --gray: #666;
    --light-gray: #e6e6e6;
    --bg-white: #fff;
    --text-dark: #111;
}

.expert-details-section {
    padding: 40px 5%;
    /*border-top: 1px double red;*/
}

/* GRID LAYOUT */
.expert-details-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* LEFT MAIN CONTENT */
.info-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.info-box h3 {
    font-weight: bold;
    margin-bottom: 6px;
}

.info-block {
    margin-top: 25px;
}

.tag-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tag {
    padding: 6px 14px;
    background: #f0f0f0;
    border-radius: 16px;
    font-size: 14px;
}

.tag-orange {
    background: #f24b22;
    color: white;
}

/* REVIEWS */
.reviews-title {
    font-size: 28px;
    margin-top: 40px;
    font-weight: bold;
}

.rating-filter-row {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 10px;
}

.rate-item {
    margin: 6px 0;
    font-size: 15px;
}

.rate-item input {
    margin-right: 6px;
}

.rate-item .count {
    margin-left: 4px;
}

.bar {
    background: #ddd;
    height: 6px;
    border-radius: 10px;
    margin-top: 5px;
    width: 200px;
}

.bar span {
    display: block;
    height: 6px;
    background: #f24b22;
    border-radius: 10px;
}

.sort-dropdown {
    font-weight: bold;
    cursor: pointer;
}

/* REVIEW CARDS */
.review-card {
    background: #f5f5f5;
    padding: 18px;
    border-radius: 10px;
    margin: 20px 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #f24b22;
}

.positive {
    margin-left: auto;
    font-weight: bold;
    color: #f24b22;
}

.review-text {
    margin: 10px 0;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--gray);
}

.smile {
    margin-left: auto;
    font-size: 20px;
    color: var(--orange-dark);
}

/* SIDEBAR */
.expert-sidebar {
    background: #0C2238;
    padding: 25px;
    border-radius: 14px;
    color: white;
    max-width: 330px;
    max-height: 500px;
}

.side-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px auto;
}

.side-title {
    text-align: center;
    font-size: 20px;
}

.side-subtitle {
    text-align: center;
    margin-bottom: 20px;
}

.help-form select,
.help-form input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    margin-bottom: 12px;
}

.hire-btn-orange {
    width: 100%;
    background: #f24b22;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.hire-btn-orange:hover {
    background: #f24b22;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .expert-details-container {
        flex-direction: column;
    }
    .expert-sidebar {
        max-width: 100%;
    }
}