.qwitch-font {
    font-family: Qwitcher Grypen !important;
    font-weight: 700;
    font-style: normal;
    font-size: 3rem;
    color: var(--primaryColor);
}

/* Designing for scroll-bar */
::-webkit-scrollbar {
    width: 0.5rem;
}

/* Track */
::-webkit-scrollbar-track {
    background: #11151c;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #fe740d;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ffcaa2;
}

.hero-image-right {
    position: absolute;
    width: 60%;
    top: -2rem;
    right: -10rem;
    z-index: -9000009 !important;
}

.service-section {
    position: relative;
    height: auto;
}

.service-bg-image {
    position: absolute;
    top: -25%;
    right: -7% !important;
    z-index: -99999999999;
}

.single-service-card-home {
    background: #fff;
    border: 1px solid #bbbbbb;
    padding: 3rem 2rem 2rem;
    border-radius: 10px;
    border-top-right-radius: 50px;
}
.single-service-card-online {
    border: 1px solid #bbbbbb;
    padding: 3rem 2rem 2rem;
    border-radius: 10px;
    border-top-left-radius: 50px;
}

.single-service-card-home img,
.single-service-card-online img {
    margin: 0 25%;
}

.highlight-section {
    position: relative;
}
.highlight-section .hightlight-wings-wrapper .img-left {
    position: absolute;
    top: -5rem;
    left: 7%;
    z-index: 9 !important;
}
.highlight-section .hightlight-wings-wrapper .img-right {
    position: absolute;
    top: -5rem;
    right: 7%;
    z-index: 9 !important;
}
.highlight-section .content h3 span {
    font-family: Qwitcher Grypen;
    font-weight: 700;
    font-style: normal;
    font-size: 3rem;
    color: var(--primaryColor);
}
.highlight-section .highlights-wrapper {
    justify-content: center;
}
.highlight-section .highlights-wrapper .highlight-img img {
    width: 100%;
    margin-bottom: 1.5rem;
}

.tutorstory-section .tutorstory-bg img {
    width: 80%;
    position: absolute;
    right: 10%;
    z-index: -999;
}
.tutorstory-section .tutorstory-character img {
    /* width: 80%; */
    position: absolute;
    right: 2%;
    z-index: -999;
}

.story-wrapper {
    position: relative;
    width: 80%;
    margin: 0 auto;
    background: #fff;
    padding: 2rem 5rem 0.5rem 5rem;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.owl-dots {
    margin-top: 0 !important;
}
.story-wrapper .heading {
    position: relative;
    display: flex;
}
.story-wrapper h3::before {
    content: "";
    position: absolute;
    width: 8rem;
    height: 1.8px;
    background: #ff3e76;
    bottom: 0.4rem;
}

.why-choose .why-choose-content .title ul li {
    list-style: none;
}
.why-choose .why-choose-content .title ul li .row .item {
    display: flex;
}
.testimonial-bg-image {
    position: absolute;
    z-index: -999;
}
.testimonial-char-image {
    position: absolute;
    z-index: -99;
    margin: 10% 27% 0;
}

.testimonial-wrapper {
    position: relative;
    width: 50%;
    margin: 20% auto 5%;
    background: #fff;
    padding: 2rem 2rem 1rem 2rem;
    border-radius: 15px;
    border: 8px solid #d9d9d9;
}

.testimonial-wrapper .testimonial-new-slider .owl-dots .owl-dot {
    margin: 0 0.2rem;
}
.testimonial-wrapper .owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primaryColor) !important;
}
.testimonial-wrapper .owl-theme .owl-dots .owl-dot span {
    border: 1px solid var(--primaryColor) !important;
}

.about-section {
    background-image: url(../img/about/about_bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 8rem;
}
.service-hero-section,
.privacy-hero-section {
    padding-top: 8rem;
}
.service-page-hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: #fff8ee;
    background-image: url(../img/services/service-bg.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.service-highlight-section {
    background: #fff8ee;
    /* margin-top: 4rem; */
}
/* .service-highlight-content {
    padding-top: 2rem;
} */
.service-highlight-content h2 {
    text-align: center;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 1rem;
    color: #fe740d;
}
.error404-section {
    background-image: url(../img/not-found/error404-bg.svg) !important;
    background-repeat: no-repeat;
    padding-top: 8rem;
    border-bottom-left-radius: 10rem !important;
}
.error404-section .image img {
    width: 50%;
}

.new-letter input {
    padding: 5px 50px 5px 20px;
    border-radius: 10px;
    border: none;
}
.newletter-btn {
    background: transparent;
    border: none;
}

.contact-hero-section {
    padding-top: 8rem;
}
.contact-hero-section .content h1 span {
    color: #ffa118;
}
.auth-hero-section {
    padding-top: 8rem;
}
.auth-hero-section .content h1 span {
    color: #ffa118;
}
.cutom-input {
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    /* height: 50px; */
    width: 100%;
    padding: 0.5rem 1rem;
}

.custom-label {
    color: rgba(0, 3, 36, 0.8);
    font-weight: 600;
}

input[type="radio"].custom-input {
    display: none;
}

input[type="radio"].custom-input + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: inline-block;
}

input[type="radio"].custom-input + label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: white;
}

input[type="radio"].custom-input:checked + label::before {
    border-color: orange;
    background-color: orange;
}

input[type="radio"].custom-input:checked + label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
}

.radio-group {
    display: flex;
    gap: 3rem;
}

.connect-us-card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    margin-top: 2rem;
    border: none;
    padding: 2rem 1rem 1rem 2rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 8px 2px 100px 0px rgba(0, 0, 0, 0.1);
}

.connect-us-card .social {
    display: flex;
}

.connect-us-card .social p {
    font-weight: 600;
    color: #fe740d;
    font-size: 1.5rem;
}

.connect-us-card .social ul {
    display: flex;
    gap: 1rem;
}

.connect-us-card .social ul li {
    list-style: none;
}

.faq-banner-section {
    padding-top: 8rem;
    padding-bottom: 3rem;
    background: #fef8ef;
    width: 100%;
}

.faq-banner-section .content h1 {
    color: #fe740d;
}
.faq-banner-section .content input {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: none;
    border-radius: 8rem;
    box-shadow: 8px 2px 100px 0px rgba(0, 0, 0, 0.1);
}

.faq-card {
    padding: 2rem;
}

.faq-card:hover {
    box-shadow: 8px 2px 100px 0px rgba(0, 0, 0, 0.08);
}

/* ======= Custom Responsiveness ======== */

@media (max-width: 1400px) {
    .hero-content-part {
        width: 50%;
        margin-left: 10%;
    }
}
@media (max-width: 1200px) {
    .banner-area {
        padding-top: 130px !important;
    }
    .hero-content-part {
        width: 50%;
        margin-left: 8%;
    }
    .banner-content .shape-icon {
        bottom: 134px;
        right: 66px;
    }
}
@media (max-width: 1024px) {
    .hero-image-right {
        top: -0.5rem !important;
    }
    .service-bg-image {
        position: absolute;
        top: -35%;
        right: -7% !important;
        z-index: -999;
    }
    .highlight-section .hightlight-wings-wrapper .img-left img,
    .highlight-section .hightlight-wings-wrapper .img-right img {
        width: 80%;
    }
    .testimonial-char-image {
        margin: 15% 20% 0;
    }
    .testimonial-wrapper {
        width: 70%;
    }
    .service-page-hero-section {
        padding-bottom: 5rem;
        background: none;
    }
}
@media (max-width: 996px) {
    .why-choose .why-choose-image {
        display: none;
    }
    .why-choose .why-choose-content {
        order: -1;
    }
    .testimonial-char-image {
        margin: 15% 15% 0;
    }
    .story-wrapper h3 {
        margin-top: 1rem;
    }
}
@media (max-width: 768px) {
    .qwitch-font {
        font-family: Qwitcher Grypen !important;
        font-size: 3rem !important;
    }

    .hero-img-part {
        order: -1 !important;
    }
    .hero-image-right {
        position: absolute;
        width: 120%;
        top: -1.5rem;
        right: -12rem;
        z-index: -9000009 !important;
    }
    .hero-content-part {
        width: 100%;
        margin-left: 5%;
        margin-top: 75%;
    }
    .service-section {
        padding-top: 0 !important;
        margin-top: 3rem !important;
    }
    .service-bg-image {
        display: none;
    }
    .banner-content p {
        font-size: 1rem !important;
        width: 85%;
    }
    .highlight-section .hightlight-wings-wrapper .img-left {
        top: -3rem;
    }
    .highlight-section .hightlight-wings-wrapper .img-right {
        top: -3rem;
        right: 2%;
    }
    .highlight-section .hightlight-wings-wrapper .img-left img,
    .highlight-section .hightlight-wings-wrapper .img-right img {
        width: 60%;
    }
    .testimonial-char-image {
        margin: 15% 10% 0;
    }
    .testimonial-wrapper {
        width: 90%;
    }
    .story-wrapper {
        width: 90%;
        margin-bottom: 2rem;
    }
    .mission-card {
        background-color: #ffe0e9 !important;
    }
    .vision-card {
        background: #ffe9c9 !important;
    }
    .mision-vision-image {
        order: 2;
    }
    .error404-section .image img {
        width: 70%;
    }
    .service-highlight-content h2 {
        width: 80%;
    }
    .contact-img {
        display: none;
    }
    .connect-us-card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .get-quote-service-card {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .service-page-hero-section .service-image {
        text-align: center;
        padding-top: 3rem;
    }
    .contact-hero-section .content h1 span {
        font: 3rem !important;
    }
    .auth-hero-section .content h1 span {
        font: 3rem !important;
    }
}
@media (max-width: 715px) {
    .highlight-section .hightlight-wings-wrapper .img-left,
    .highlight-section .hightlight-wings-wrapper .img-right {
        display: none !important;
    }
}
@media (max-width: 605px) {
    .tutorstory-section .tutorstory-bg img {
        width: 90%;
        right: 5%;
    }
}
@media (max-width: 576px) {
    .highlights-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .connect-us-card {
        width: 90%;
        margin-left: 5%;
        padding: 2rem 1rem 1rem 2rem;
    }
}
@media (max-width: 550px) {
    .hero-image-right {
        width: 120%;
        top: -1.5rem;
        right: -10rem;
    }
    .hero-content-part {
        width: 100%;
        margin-left: 5%;
        margin-top: 60%;
    }
    .banner-content h1 {
        width: 85%;
    }
    .testimonial-char-image {
        margin: 20% 5% 0;
        width: 100%;
    }
    .testimonial-wrapper {
        width: 90%;
    }
    .testimonial-section .content h2 {
        font-size: 1.2rem !important;
    }
    .tutorstory-section .tutorstory-character img {
        right: -10%;
    }
    .about-section {
        padding-top: 5rem;
    }
    .service-hero-section,
    .privacy-hero-section,
    .error404-section,
    .service-page-hero-section,
    .contact-hero-section,
    .auth-hero-section {
        padding-top: 5rem;
    }
    .error404-section .image img {
        width: 80%;
    }
    .service-page-hero-section {
        padding-bottom: 2rem;
    }
    .service-highlight-content h2 {
        width: 100%;
    }
    .radio-group {
        gap: 1rem;
    }
    .booking-card .card-body #sectionContainer .page-1 .box-container {
        gap: 2rem;
    }
    .blog-section,
    .blog-details-section {
        padding-top: 5rem !important;
    }
}
@media (max-width: 450px) {
    .hero-image-right {
        width: 100%;
        top: 1rem !important;
        right: -3rem;
    }
    .hero-content-part {
        width: 100%;
        margin-left: 5%;
        margin-top: 50%;
    }
    .banner-content h1 {
        font-size: 1.4rem !important;
    }
    .service-section .content h2 {
        font-size: 1.2rem !important;
    }
    .testimonial-char-image {
        margin: 30% 0;
        width: 100%;
    }
    .testimonial-wrapper {
        width: 100%;
        padding: 1rem !important;
        margin-top: 10rem;
    }
    .testimonial-section .content h2 {
        font-size: 1.2rem !important;
    }
    .story-wrapper {
        width: 100%;
        padding: 2rem 2rem 0.5rem 2rem;
    }
    .tutorstory-section .tutorstory-character img {
        display: none;
    }
    .why-choose .why-choose-content .title ul {
        padding-left: 0rem !important;
    }
    .why-choose .why-choose-content .title ul li .row .item {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .why-choose .why-choose-content .title ul li .row .item .content {
        padding-right: 0rem !important;
        padding-left: 0rem !important;
    }
    .tutorstory-section .tutorstory-bg img {
        height: 600px;
        width: 100%;
        right: 0%;
    }
    .connect-us-card .social {
        display: grid;
        grid-template-columns: 1fr;
    }
    .connect-us-card .social ul {
        margin-left: -1rem;
    }
    .booking-card .card-body #sectionContainer .page-1 .footer,
    .booking-card .card-body #sectionContainer .page-2 .footer {
        padding: 0 1rem;
    }
}

@media (max-width: 450px) {
    .testimonial-wrapper {
        margin-top: 9rem;
    }
}
@media (max-width: 400px) {
    .header-area-five .container {
        width: 100% !important;
    }
    .single-service-card-home,
    .single-service-card-online {
        padding: 3rem 1rem 2rem !important;
    }
    .banner-btn {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .tutorstory-section .tutorstory-bg img {
        height: 700px;
    }
    .testimonial-wrapper {
        margin-top: 7rem;
    }
    .service-page-hero-section .service-image {
        text-align: center;
        padding-top: 2rem;
    }
    h1 {
        font-size: 1.4rem !important;
    }
    h2 {
        font-size: 1.2rem !important;
    }
    h3 {
        font-size: 1.2rem !important;
    }
    h4 {
        font-size: 1rem !important;
    }
}
@media (max-width: 375px) {
    .new-letter {
        padding: 0 !important;
    }
    .new-letter input {
        padding: 5px 20px 5px 20px;
    }
    .testimonial-wrapper {
        margin-top: 6rem;
    }
    .connect-us-card {
        padding: 1rem 0rem 1rem 0.8rem;
    }
}
@media (max-width: 360px) {
}
@media (max-width: 340px) {
    .testimonial-char-image {
        margin: 35% 0;
        width: 90%;
    }
    .new-letter input {
        padding: 5px 10px 5px 10px;
    }
}
@media (max-width: 332px) {
    .new-letter input {
        padding: 5px;
    }
    .testimonial-wrapper {
        margin-top: 5rem;
    }
    .testimonial-char-image {
        margin: 40% 0;
    }
}
@media (max-width: 325px) {
    .new-letter input {
        padding: 5px 10px 5px 10px;
    }
}
@media (max-width: 310px) {
    .new-letter input {
        font-size: 0.7rem;
        padding: 5px 5px 5px 5px;
    }
}
@media (max-width: 305px) {
    .new-letter input {
        font-size: 0.8rem;
        padding: 5px 0px 5px 10px;
    }
}
@media (max-width: 289px) {
    .new-letter input {
        font-size: 0.7rem;
        padding: 5px 0px 5px 5px;
    }
}

/* New Blog Revamp */

.blog-details-section .b-details-content .content a {
    color: #fe740d !important;
}
.blog-details-section .b-details-content .image img {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    width: 100%;
    display: block;
}

/* Floating Social Share */
.floating-social-share {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.floating-social-share a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111; /* Darker black for icons */
    font-size: 20px;
    transition: all 0.3s ease;
    background: #f5f5f5; /* Light grey background */
    text-decoration: none;
}

.floating-social-share a:hover {
    transform: scale(1.1);
    background: #fe740d;
    color: white;
    box-shadow: 0 4px 12px rgba(254, 116, 13, 0.3);
}

.floating-social-share .share-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    writing-mode: horizontal-tb; /* Reset to horizontal */
    text-orientation: mixed;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .floating-social-share {
        display: none;
    }
}

/* Article Meta Card (New Design) */
.article-meta-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 10px 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meta-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-author-side {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #e9ecef;
    flex-shrink: 0;
}

.meta-author-details {
    display: flex;
    flex-direction: column;
}

.meta-author-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 4px;
}

.meta-author-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-author-name {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.meta-badge {
    background: #111;
    color: white;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    height: fit-content;
    line-height: 1;
    display: inline-block;
}

.meta-actions-side {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-actions-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    letter-spacing: 0.5px;
}

.meta-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative; /* For tooltip positioning */
}

.meta-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #fe740d;
}

.meta-action-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.meta-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fe740d;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative; /* For tooltip positioning */
}

.meta-play-btn:hover {
    background: #e56600;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(254, 116, 13, 0.3);
}

.meta-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .meta-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .meta-actions-side {
        width: 100%;
        justify-content: space-between;
    }
    .meta-bottom-row {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.sidebar-card h4,
.sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-card .see-link {
    font-size: 14px;
    color: #fe740d;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
}

/* Table of Contents */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    counter-reset: toc-counter;
}

.toc-list li {
    margin-bottom: 15px;
    counter-increment: toc-counter;
    position: relative;
}

.toc-list a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    display: block;
    transition: color 0.3s;
}

.toc-list a:before {
    content: counter(toc-counter) ". ";
    color: #555;
    margin-right: 5px;
}

.toc-list a:hover {
    color: #fe740d;
}

.toc-list a.active {
    color: #111;
    font-weight: 600;
}

.toc-wrapping-up {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    display: block;
}

.read-progress-container {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

.read-progress-bar {
    height: 100%;
    background: #fe740d;
    width: 30%; /* Static for now or dynamic via JS */
    border-radius: 2px;
}

.toc-read-time {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    letter-spacing: 0.5px;
}

/* Orange side accent for active item (simulated for title here based on design) */
.sidebar-card.toc-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 35px; /* Adjust based on title alignment */
    height: 25px;
    width: 4px;
    background: #fe740d;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    display: none; /* Only show if we want that specific accent from screenshot */
}

/* Tooltip Styles */
.meta-action-btn .tooltip-text,
.meta-play-btn .tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 6px 12px;
    position: absolute;
    z-index: 10;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.meta-action-btn .tooltip-text::after,
.meta-play-btn .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.meta-action-btn:hover .tooltip-text,
.meta-play-btn:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    bottom: 125%;
}

/* Blog Tags */
.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.blog-tag {
    background: #f0f0f0;
    color: #666;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-tag:hover {
    background: #fe740d;
    color: white;
}

/* TTS in Author Card */
.tts-inline {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.tts-inline button {
    background: #fe740d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.tts-inline button:hover {
    background: #e56600;
}

/* Author Quick Card */
.author-quick-card {
    text-align: center;
    padding: 40px 30px;
}

.author-quick-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    background: #ffedd5; /* Light orange background if transparent png */
}

.author-quick-card h5 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
    justify-content: center;
}

.author-quick-card .designation {
    color: #6c757d;
    font-size: 15px;
    margin-bottom: 25px;
}

.author-quick-card .cta-text {
    font-size: 15px;
    color: #111;
    font-weight: 500;
    margin-bottom: 20px;
}

.author-quick-card .btn-contact {
    background: #fe740d;
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.author-quick-card .btn-contact:hover {
    background: #e56600;
    color: white;
}

/* Recent Blogs List Style */
.recent-blogs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: recent-counter;
}

.recent-blogs-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 0;
    counter-increment: recent-counter;
}

.recent-blogs-list a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    display: block;
    line-height: 1.5;
    transition: color 0.3s;
}

.recent-blogs-list a:before {
    content: counter(recent-counter) ". ";
    color: #555;
    margin-right: 5px;
}

.recent-blogs-list a:hover {
    color: #fe740d;
}

/* Detailed Author Profile */
.author-profile-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.author-profile-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.author-avatar-container {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #feeceb; /* Pinkish background from screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-profile-info {
    flex: 1;
    width: 100%;
}

.author-name-social-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.author-profile-info h3 {
    font-size: 26px;
    color: #222;
    font-weight: 700;
    margin: 0;
}

.author-social-links {
    display: flex;
    gap: 15px;
}

.author-social-links a {
    color: #fe740d;
    font-size: 18px;
    transition: transform 0.3s;
    text-decoration: none;
}

.author-social-links a:hover {
    transform: translateY(-2px);
    color: #e56600;
}

.author-profile-info .designation {
    color: #fe740d;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.author-profile-info .bio-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-contact-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.contact-item i {
    color: #fe740d;
    font-size: 16px;
    width: 20px; /* fixed width for alignment */
    text-align: center;
}

.contact-item a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #fe740d;
}

@media (max-width: 768px) {
    .author-profile-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .author-name-social-row {
        flex-direction: column;
        gap: 10px;
    }

    .author-contact-row {
        align-items: center;
    }
}

/* Improved Recent Blogs */
.recent-blog-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recent-blog-item:last-child {
    border-bottom: none;
}

.recent-blog-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.recent-blog-item:hover .recent-blog-thumb img {
    transform: scale(1.1);
}

.recent-blog-info h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-blog-info h6 a {
    color: #333;
    text-decoration: none;
}

.recent-blog-info h6 a:hover {
    color: #fe740d;
}

.recent-blog-meta {
    font-size: 12px;
    color: #6c757d;
}

.blog-content h2 {
    scroll-margin-top: 100px;
}

/* =========================================
   New Blog Listing Design
   ========================================= */

/* Vertical Layout for Full Image */
.blog-listing-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column; /* Vertical stack */
    align-items: stretch;
}

.blog-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: #fe740d;
}

.blog-listing-thumb {
    width: 100%; /* Full width */
    height: 280px; /* Fixed height for consistency */
    position: relative;
    overflow: hidden;
    /* Removed min-height restriction or ensured it covers fully if distinct design wanted. keeping cover for full fill */
}

.blog-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the area */
    /* Removed transition: transform 0.6s ease; */
}

/* Removed hover zoom effect */
/* .blog-listing-card:hover .blog-listing-thumb img {
    transform: scale(1.08);
} */

.blog-listing-content {
    width: 100%; /* Full width */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-listing-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.blog-listing-meta i {
    color: #fe740d;
    margin-right: 5px;
}

.blog-listing-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-listing-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-listing-title a:hover {
    color: #fe740d;
}

.blog-listing-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #fe740d;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: gap 0.3s;
}

.blog-read-more-btn i {
    transition: transform 0.3s;
}

.blog-read-more-btn:hover {
    color: #e56600;
    gap: 12px;
}

.blog-read-more-btn:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-listing-card {
        flex-direction: column;
    }
    .blog-listing-thumb {
        width: 100%;
        height: 220px;
        min-height: auto;
    }
    .blog-listing-content {
        width: 100%;
        padding: 25px;
    }
    .blog-listing-title {
        font-size: 20px;
    }
}

/* WhatsApp Floating Button */
#whatsapp-float {
    opacity: 1;
    right: 40px;
    z-index: 99;
    width: 50px;
    bottom: 40px;
    height: 50px;
    font-size: 30px;
    transition: 0.5s;
    line-height: 50px;
    color: #ffffff;
    background-color: #25d366;
    animation: border-transform 10s linear infinite alternate forwards;
    text-decoration: none;
}

#whatsapp-float:hover {
    background-color: #06a13f;
    color: #ffffff;
}

#whatsapp-float i {
    line-height: 1;
}

/* Adjusting Back to Top to be above WhatsApp */
#backtotop {
    bottom: 105px !important;
}

/* Responsive adjustments */
@media only screen and (max-width: 767px) {
    #whatsapp-float {
        right: 10px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 25px;
        line-height: 45px;
    }
    #backtotop {
        right: 10px !important;
        bottom: 75px !important;
        width: 45px !important;
        height: 45px !important;
        line-height: 45px !important;
    }
}
